From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 29 17:11:04 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34F9106564A for ; Sun, 29 Jan 2012 17:11:04 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from outrelay03.libero.it (outrelay03.libero.it [212.52.84.103]) by mx1.freebsd.org (Postfix) with ESMTP id 853D88FC13 for ; Sun, 29 Jan 2012 17:11:04 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B020C.4F257DA6.0133,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail68 (172.31.0.31) by outrelay03.libero.it (8.5.140) (authenticated as barbara.xxx1975@libero.it) id 4F200111007384D1; Sun, 29 Jan 2012 18:11:02 +0100 Message-ID: <7437262.19339411327857062810.JavaMail.defaultUser@defaultHost> Date: Sun, 29 Jan 2012 18:11:02 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 79.40.53.72 Cc: freebsd-multimedia@freebsd.org Subject: Re: last mplayer and h264 videos X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 17:11:05 -0000 > >On Sat, Jan 21, 2012 at 19:07, Barbara wrote: > >> BTW, I've just checked that the patch that should solve the problem as posted >> in ffmpeg mailing list should be included in our version of mplayer, so >> probably the symptoms are similar or equal, the cause is not. > >This patch has been fixed in ffmpeg ages ago (Feb 2011). It should be >included in the ffmpeg build we use in mplayer. Do you know whether >anyone had this problem with ffmpeg h264 after the fix date? > >I couldn't find a single h264 file on my hard drive that shows the >same problem when played. Maybe someone else on the list has >encountered it? > >RIggs > I've found the problem, at least for me, as it seems I'm the only one experiencing this. The problem is OCFLAGS. Building the port WITHOUT_OCFLAGS results in mplayer reproducing the example video with no problem. Picking the first cc command from the build output, the *different* (omitting the same for both) flags are: WITHOUT_OCFLAGS: -O2 -pipe -fno-strict-aliasing -march=prescott -O WITH_OCFLAGS: -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant- decls -Werror-implicit-function-declaration -O4 -pipe -march=i486 - mtune=generic -ffast-math Barbara From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 29 17:15:46 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08EF1065677 for ; Sun, 29 Jan 2012 17:15:46 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from outrelay01.libero.it (outrelay01.libero.it [212.52.84.101]) by mx1.freebsd.org (Postfix) with ESMTP id 35C1E8FC16 for ; Sun, 29 Jan 2012 17:15:45 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B020B.4F257EC0.009A,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail68 (172.31.0.31) by outrelay01.libero.it (8.5.140) (authenticated as barbara.xxx1975@libero.it) id 4F20014A0075F996; Sun, 29 Jan 2012 18:15:44 +0100 Message-ID: <11058496.19340821327857344416.JavaMail.defaultUser@defaultHost> Date: Sun, 29 Jan 2012 18:15:44 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 79.40.53.72 Cc: freebsd-multimedia@freebsd.org Subject: Re: last mplayer and h264 videos X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 17:15:46 -0000 >Picking the first cc command from the build output, the *different* (omitting the same for both) flags are: >WITHOUT_OCFLAGS: -O2 -pipe -fno-strict-aliasing -march=prescott -O >WITH_OCFLAGS: -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant- decls -Werror-implicit-function-declaration -O4 -pipe -march=i486 - mtune=generic -ffast-math Ok, "-pipe" exists in both. Barbara From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 29 18:38:50 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23FFA1065673 for ; Sun, 29 Jan 2012 18:38:50 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id D738F8FC0A for ; Sun, 29 Jan 2012 18:38:49 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 542781E00213; Sun, 29 Jan 2012 19:22:05 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q0TIIjUj094324 for ; Sun, 29 Jan 2012 19:18:45 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q0TIIjUr094323 for multimedia@freebsd.org; Sun, 29 Jan 2012 19:18:45 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 29 Jan 2012 19:18:45 +0100 To: multimedia@freebsd.org Message-ID: <20120129181845.GA93548@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Fixing dependent ports for libxine 1.2.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 18:38:50 -0000 Hi! libxine 1.2.0 is finally released and I found a lot of ports no longer build with it. :( I now have patches for most (and one of them, multimedia/konverter is maintained by this list and a few other are unmaintained; the other maintainers I just emailed off-list.) The update for the libxine port itself is here: http://people.freebsd.org/~nox/tmp/libxine-1.2.0.patch The patches for ports that depend on it are here: http://people.freebsd.org/~nox/tmp/libxine-1.2.0-ports-001.patch Some notes: - multimedia/konverter seems to have long delays and redraw problems, was this also true with the old libxine? It's also still for kde3 and there are better alternatives (avidemux?) so I guess it's not that big of a loss... - multimedia/phonon-xine refuses to use libxine 1.2.0 (recommends a downgrade of libxine), and seems to be no longer developed(?), so I guess we'll just have to leave it. - multimedia/kaffeine runs after patching x11/kdelibs4's FindXine.cmake (thanx rakuco for that fix), but it only shows a green window at least with mp4 or ts files. (avi files and audio still work.) It seems the kaffeine developers have found this too and are now switching away from libxine in their git repo - so I guess we'll have a broken kaffeine at least until they release a new version. - And some fixes I have only build-tested so far, help wanted... Thanx, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 29 21:47:59 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607681065676 for ; Sun, 29 Jan 2012 21:47:59 +0000 (UTC) (envelope-from mjt@mjt.homeunix.net) Received: from firewall.mjt.homeunix.net (110-174-110-9.static.tpgi.com.au [110.174.110.9]) by mx1.freebsd.org (Postfix) with ESMTP id EC8798FC12 for ; Sun, 29 Jan 2012 21:47:40 +0000 (UTC) Received: from mjt.homeunix.net (spyder.mjt.homeunix.net [192.168.250.1]) by firewall.mjt.homeunix.net (Postfix) with ESMTP id F3E4E4062 for ; Mon, 30 Jan 2012 08:29:46 +1100 (EST) Received: from daemon2.mjt.homeunix.net (daemon2.mjt.homeunix.net [192.168.42.198]) by mjt.homeunix.net (Postfix) with ESMTP id 12B052E8F8 for ; Mon, 30 Jan 2012 08:28:43 +1100 (EST) From: Murray T To: multimedia@FreeBSD.org Date: Mon, 30 Jan 2012 08:28:42 +1100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_KobJPWtXLp4AG/o" Message-Id: <201201300828.42937.mjt@mjt.homeunix.net> X-Mailman-Approved-At: Sun, 29 Jan 2012 22:46:33 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Build Failed: DVDStyler requires the wxSVG library with FFMPEG support X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 21:47:59 -0000 --Boundary-00=_KobJPWtXLp4AG/o Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi multimedia maintainer, The system was upgraded from 8.0 to 8.2p3 via freebsd-upgrade new ports tree fetched by portsnap fetch/extract Xorg rebuilt - KDE3.5 rebuilt then built k3b (works ok) and then went ot build dvdstyler to make my DVD image/menu files and I get this build failure The wxsvg header file that the config system looks for seems to be present, but the lib appears to not have the ffmpeg hooks. ffmpeg installed without error. cheers Murray T daemon2# uname -a FreeBSD daemon2.mjt.homeunix.net 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 daemon2# make clean ===> Cleaning for dvdstyler-2.0.1_1,2 daemon2# make ===> ===> The default DVD device is /dev/cd0 ===> Define WITH_DVD_DEVICE if you want to change the default ===> For example, 'make WITH_DVD_DEVICE="/dev/somedevice"' ===> Vulnerability check disabled, database not found ===> License GPLv2 accepted by the user ===> Extracting for dvdstyler-2.0.1_1,2 => SHA256 Checksum OK for DVDStyler-2.0.1.tar.bz2. ===> Patching for dvdstyler-2.0.1_1,2 ===> Applying FreeBSD patches for dvdstyler-2.0.1_1,2 ===> dvdstyler-2.0.1_1,2 depends on executable: dvdauthor - found ===> dvdstyler-2.0.1_1,2 depends on executable: mplex - found ===> dvdstyler-2.0.1_1,2 depends on executable: growisofs - found ===> dvdstyler-2.0.1_1,2 depends on executable: xmlto - found ===> dvdstyler-2.0.1_1,2 depends on executable: zip - found ===> dvdstyler-2.0.1_1,2 depends on executable: gmake - found ===> dvdstyler-2.0.1_1,2 depends on executable: pkg-config - found ===> dvdstyler-2.0.1_1,2 depends on executable: update-desktop-database - found ===> dvdstyler-2.0.1_1,2 depends on executable: cdrecord - found ===> dvdstyler-2.0.1_1,2 depends on shared library: avformat.1 - found ===> dvdstyler-2.0.1_1,2 depends on shared library: exif - found ===> dvdstyler-2.0.1_1,2 depends on shared library: intl - found ===> dvdstyler-2.0.1_1,2 depends on shared library: wx_base-2.8 - found ===> dvdstyler-2.0.1_1,2 depends on shared library: wxsvg - found ===> dvdstyler-2.0.1_1,2 depends on shared library: glib-2.0.0 - found ===> Configuring for dvdstyler-2.0.1_1,2 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for install location... /usr/local checking whether ln -s works... yes checking for ranlib... ranlib checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for wx-config... /usr/local/bin/wxgtk2-2.8-config checking for wxWindows version >= 2.8.7... yes (version 2.8.12) checking for wxSVG... yes checking for wxSVG library with FFMPEG support... no configure: error: DVDStyler requires the wxSVG library with FFMPEG support. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/multimedia/dvdstyler/work/DVDStyler-2.0.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 daemon2# ls /var/db/pkg/ GraphicsMagick-1.1.15_3,1 kdeartwork-3.5.10_5 php52-imap-5.2.17 ImageMagick-6.6.6.10 kdebase-3.5.10_9 php52-json-5.2.17 ORBit2-2.14.19 kdebase-kompmgr-3.5.10_3 php52-mbstring-5.2.17 OpenEXR-1.6.1_3 kdeedu-3.5.10_4 php52-mysql-5.2.17 R-2.11.1 kdegames-3.5.10_3 php52-pcre-5.2.17 WebCalendar-devel-1.2.3 kdegraphics-3.5.10_9 php52-pdo-5.2.17 aalib-1.4.r5_5 kdegraphics-kamera-3.5.10_3 php52-pdo_mysql-5.2.17 akode-2.0.2_1,1 kdegraphics-kooka-3.5.10_3 php52-pdo_sqlite-5.2.17 akode-plugins-ffmpeg-2.0.2_1,1 kdegraphics-kuickshow-3.5.10_3 php52-posix-5.2.17 akode-plugins-mpc-2.0.2,1 kdehier-1.0_11 php52-session-5.2.17 akode-plugins-mpeg-2.0.2,1 kdelibs-3.5.10_8 php52-simplexml-5.2.17 akode-plugins-oss-2.0.2,1 kdemultimedia-3.5.10_5 php52-spl-5.2.17 akode-plugins-resampler-2.0.2,1 kdenetwork-3.5.10_3 php52-sqlite-5.2.17 akode-plugins-xiph-2.0.2_3,1 kdenetwork-kopete-0.12.8_5 php52-tokenizer-5.2.17 amspsfnt-1.0_5 kdepim-3.5.10_10 php52-xml-5.2.17 apache-2.2.16 kdesdk-3.5.10_7 php52-xmlreader-5.2.17 apache-ant-1.7.1 kdetoys-3.5.10_3 php52-xmlwriter-5.2.17 appres-1.0.3 kdeutils-3.5.10_9 php52-zlib-5.2.17 apr-devrandom-1.4.5.1.3.12_1 kdevelop-3.5.4_5 pilot-link-0.12.5,1 apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 kdewebdev-3.5.10_8,2 pixman-0.24.0 arts-1.5.10_5,1 kio_p7zip-0.3.1_5 pkg-config-0.25_1 artswrapper-1.5.3 koffice-1.6.3_15,2 pkgdb.db aspell-0.60.6.1 kpdftool-0.22_5 png-1.4.8 atk-2.0.1 ktorrent-2.2.8_5 policykit-0.9_6 autoconf-2.13.000227_6 lacheck-1.26 polkit-0.99 autoconf-2.68 lame-3.98.4 poppler-0.14.5 autoconf-wrapper-20101119 lapack-3.2.1_1 poppler-data-0.4.4 automake-1.11.1 latex-mk-2.1_2 poppler-qt-0.14.5 automake-1.4.6_6 latex2rtf-2.0.0 popt-1.16 automake-wrapper-20101119 lcms-1.19_1,1 portaudio-18.1_2 autotools-20101016 libFS-1.0.2 portmaster-3.11 bash-4.1.11 libFS-1.0.3 porttree-0.3.r52 bdftopcf-1.0.3 libGL-7.4.4 portupgrade-2.4.9.3,2 bibcursed-2.0.1 libGLU-7.4.4 postgresql-client-9.1.2 bigreqsproto-1.1.1 libICE-1.0.7,1 postgresql-libpqxx-2.6.9_2 binutils-2.21 libIDL-0.8.14_1 postgresql-server-9.1.2 bison-2.4.3,1 libSM-1.2.0,1 printproto-1.0.5 bitmap-1.0.5 libX11-1.4.4,1 pth-2.0.7 bitstream-vera-1.10_5 libXScrnSaver-1.2.1 py26-setuptools-0.6c11 blas-1.0_4 libXTrap-1.0.0 py26-simplejson-2.1.2 boehm-gc-7.1 libXau-1.0.6 py27-networkx-1.5 boost-jam-1.45.0 libXaw-1.0.8,1 python26-2.6.6 boost-libs-1.45.0_1 libXcomposite-0.4.3,1 python27-2.7.2_3 boost-python-libs-1.45.0 libXcursor-1.1.12 qca-tls-1.0_7 ca_root_nss-3.12.11_1 libXdamage-1.1.3 qmake-3.3.8_1 cairo-1.10.2_2,1 libXdmcp-1.1.0 qt-copy-3.3.8_13 cclient-2007e,1 libXevie-1.0.2 qt4-corelib-4.7.1 cdparanoia-3.9.8_9 libXevie-1.0.3 qt4-gui-4.7.1 cdrdao-1.2.3_1 libXext-1.3.0_1,1 qt4-moc-4.7.1 cdrtools-3.00_1 libXfixes-5.0 qt4-qmake-4.7.1 celt-0.7.0_1 libXfont-1.4.4,1 qt4-rcc-4.7.1 cm-super-0.3.4_3 libXfontcache-1.0.5 qt4-uic-4.7.1 cmake-2.8.6_1 libXft-2.1.14 qt4-xml-4.7.1 cmpsfont-1.0_6 libXi-1.4.3,1 rabbitmq-2.2.0 cnd-0.7 libXinerama-1.1.1,1 rabbitmq-c-devel-0.0.1_1 compat7x-i386-7.2.702000.200906.1 libXmu-1.1.0,1 randrproto-1.3.2 compositeproto-0.4.2 libXp-1.0.1,1 recode-3.6_8 consolekit-0.4.3 libXpm-3.5.9 recordproto-1.14.1 coreutils-7.5_1 libXrandr-1.3.2 renderproto-0.11.1 cups-client-1.5.0 libXrender-0.9.6 resourceproto-1.2.0 cups-image-1.5.0 libXres-1.0.4 rpm-3.0.6_15 curl-7.21.3_2 libXres-1.0.5 rpm2cpio-1.3_1 cutils-1.6 libXt-1.0.9 ruby-1.8.7.352_2,1 cyrus-sasl-2.1.25_1 libXtst-1.1.0 ruby-1.9.3.0,1 damageproto-1.2.1 libXtst-1.2.0 ruby18-bdb-0.6.6 db41-4.1.25_4 libXv-1.0.6,1 samba34-libsmbclient-3.4.14 db42-4.2.52_5 libXvMC-1.0.6 sane-backends-1.0.22 dbus-1.4.14_1 libXxf86dga-1.1.2 sane-frontends-1.0.14_7 dbus-glib-0.94 libXxf86misc-1.0.2 schroedinger-1.0.10 dbus-qt3-0.70_5 libXxf86misc-1.0.3 scrnsaverproto-1.2.1 dconf-0.5.1_3 libXxf86vm-1.1.1 sdl-1.2.14_2,2 desktop-file-utils-0.18 libao-1.1.0_1 sdl_gfx-2.0.22 diablo-jdk-1.6.0.07.02_9 libart_lgpl-2.3.21,1 sessreg-1.0.7 dirac-1.0.2 libass-0.10.0 setxkbmap-1.2.0 dmidecode-2.11 libassuan-2.0.2 shared-mime-info-0.90 dmxproto-2.3 libaudiofile-0.2.7 shc-3.8.7 docbook-1.4 libcheck-0.9.8 smproxy-1.0.5 docbook-4.1_4 libcsv-3.0.0 speex-1.2.r1_3,1 docbook-4.2 libdmx-1.1.1 sqlite3-3.7.9_1 docbook-4.3 libdrm-2.4.12_1 sscalc-1.0 docbook-4.4_2 libdvdcss-1.2.10_1 subversion-1.7.2 docbook-4.5_2 libdvdread-4.1.4.r1219 sudo-1.7.4.5 docbook-5.0_1 libevent-1.4.14b_2 sugarcrm-5.5.1 docbook-sk-4.1.2_4 libexecinfo-1.1_3 svgalib-1.4.3_6 docbook-xml-4.2_1 libexif-0.6.20 t1lib-5.1.2_1,1 docbook-xml-4.3 libffi-3.0.9 taglib-1.7 docbook-xml-4.4_1 libfontenc-1.1.0 talloc-2.0.7 docbook-xml-4.5 libfpx-1.2.0.12_1 tcl-8.4.19_3,1 docbook-xsl-1.76.1 libgcrypt-1.5.0 tcl-8.5.11 doxygen-1.7.2 libgee-0.6.0 tcl-modules-8.5.11 dri-7.4.4,2 libglut-7.4.4 tcl-modules-8.5.9 dri2proto-2.3 libgpg-error-1.10 teTeX-base-3.0_22 dvd+rw-tools-7.1 libgphoto2-2.4.11_1 teTeX-texmf-3.0_8 dvdauthor-0.6.18_1 libgsf-1.14.19 tesseract-2.04_1 dvdstyler-1.5.1.2_6,2 libiconv-1.13.1_1 tex-texmflocal-1.9 dvdstyler-1.8.1,2 libidn-1.22 texi2html-1.82,1 dvipsk-tetex-5.95a_5 libiodbc-3.52.7 texinfo-4.13.20110529_1 eggdbus-0.6_1 libkate-0.3.7_1 tgif-4.2.2 en-freebsd-doc-20090913 libksba-1.2.0 tidy-lib-090315.c_1 en-openoffice.org-GB-3.2.1 liblqr-1-0.4.1_2 tiff-4.0.0_2 enca-1.13 libltdl-2.4_1 tk-8.5.11 encodings-1.0.4,1 libmad-0.15.1b_2 tk-wrapper-1.1_1 erlang-r13b04_2,1 libmng-1.0.10_2 tmake-1.7_5 evieext-1.1.0 libmspack-0.2_1 trapproto-3.4.3 evieext-1.1.1 libnotify-0.7.3_1 twm-1.0.7 expat-2.0.1_2 libogg-1.2.1,4 unrar-3.93,5 faad2-2.7_3,1 liboldX-1.0.1 unzip-6.0_1 ffmpeg-0.7.8_1,1 libpaper-1.1.24 v4l_compat-1.0.20110720 fftw3-3.3_1 libpciaccess-0.12.1 vala-0.10.1 firefox-9.0.1,1 libpthread-stubs-0.3_3 videoproto-2.3.1 fixesproto-5.0 libsamplerate-0.1.8_2 vim-7.3.81 flac-1.2.1_2 libsigsegv-2.10 vorbis-tools-1.4.0_1,3 flex-2.5.35_4 libsndfile-1.0.25 w3m-0.5.3 font-adobe-100dpi-1.0.3 libthai-0.1.5_4 wget-1.12_2 font-adobe-75dpi-1.0.3 libtheora-1.1.1_2 win32-codecs-20110131,1 font-adobe-utopia-100dpi-1.0.4 libtool-2.4_1 wv2-0.4.2_2 font-adobe-utopia-75dpi-1.0.4 libungif-4.1.4_5 wxgtk2-2.8.12 font-adobe-utopia-type1-1.0.4 libutempter-1.1.5_1 wxgtk2-common-2.6.4_5 font-alias-1.0.3 libvolume_id-0.81.1 wxgtk2-common-2.8.12 font-amsfonts-3.02_1 libvorbis-1.3.2,3 wxgtk2-contrib-common-2.8.10_4 font-arabic-misc-1.0.3 libvpx-0.9.5 wxgtk2-unicode-2.8.10_4 font-bh-100dpi-1.0.3 libvpx-0.9.7 wxgtk2-unicode-contrib-2.8.10_4 font-bh-75dpi-1.0.3 libwmf-0.2.8.4_6 wxsvg-1.1.5 font-bh-lucidatypewriter-100dpi-1.0.3 libwpd-0.8.14_3 x11perf-1.5.1 font-bh-lucidatypewriter-75dpi-1.0.3 libwpd-0.9.0 x11perf-1.5.4 font-bh-ttf-1.0.3 libwps-0.2.0 x264-0.110.1820 font-bh-type1-1.0.3 libwww-5.4.0_4 x264-0.119.2113 font-bitstream-100dpi-1.0.3 libxcb-1.7 xauth-1.0.6 font-bitstream-75dpi-1.0.3 libxkbfile-1.0.7 xbacklight-1.1.2 font-bitstream-type1-1.0.3 libxkbui-1.0.2_1 xbitmaps-1.1.1 font-cronyx-cyrillic-1.0.3 libxml2-2.7.8_1 xcalc-1.0.4.1_1 font-cursor-misc-1.0.3 libxslt-1.1.26_3 xcb-2.4_2 font-daewoo-misc-1.0.3 libyaml-0.1.4_1 xcb-proto-1.6 font-dec-misc-1.0.3 links-2.4,1 xcb-util-0.3.6,1 font-ibm-type1-1.0.3 linux-f10-atk-1.24.0 xclock-1.0.5 font-isas-misc-1.0.3 linux-f10-cairo-1.8.0_1 xcmiscproto-1.2.1 font-jis-misc-1.0.3 linux-f10-expat-2.0.1 xcmsdb-1.0.3 font-micro-misc-1.0.3 linux-f10-fontconfig-2.6.0 xcursor-themes-1.0.3 font-misc-cyrillic-1.0.3 linux-f10-gtk2-2.14.7_3 xcursorgen-1.0.4 font-misc-ethiopic-1.0.3 linux-f10-jpeg-6b xdg-utils-1.0.2_5 font-misc-meltho-1.0.3 linux-f10-pango-1.28.3 xdpyinfo-1.2.0 font-misc-misc-1.1.2 linux-f10-png-1.2.37_1 xdriinfo-1.0.3 font-mutt-misc-1.0.3 linux-f10-tiff-3.8.2 xdvik-tetex-22.84.16_3 font-schumacher-misc-1.1.2 linux-f10-xorg-libs-7.4_1 xev-1.1.0 font-screen-cyrillic-1.0.4 linux-realplayer-10.0.9.809.20070726_2 xextproto-7.2.0 font-sony-misc-1.0.3 linux_base-f10-10_4 xf86-input-keyboard-1.5.0 font-sun-misc-1.0.3 lsof-4.84A,5 xf86-input-mouse-1.6.0 font-util-1.2.0 luit-1.1.0 xf86-video-ati-6.13.0 font-winitzki-cyrillic-1.0.3 lynx-2.8.8d3 xf86-video-intel-2.7.1_3 font-xfree86-type1-1.0.4 lzo2-2.06 xf86-video-mach64-6.8.2_1 fontcacheproto-0.1.3 m4-1.4.16,1 xf86-video-openchrome-0.2.904_3 fontconfig-2.8.0_1,1 mDNSResponder-333.10 xf86-video-r128-6.8.1 fontsproto-2.1.0 makedepend-1.0.3,1 xf86-video-radeonhd-1.3.0_4 fontsproto-2.1.1 mencoder-1.0.r20101106 xf86-video-vesa-2.3.0_1 freebsd-games-5.1.1_7 mime-support-3.48.1 xf86bigfontproto-1.2.0 freetype2-2.4.4 mjpegtools-2.0.0_1 xf86dga-1.0.2_1 freetype2-2.4.7 mkfontdir-1.0.6 xf86dgaproto-2.1 frei0r-1.3_1 mkfontscale-1.0.9 xf86driproto-2.1.1 fribidi-0.19.2_1 mpc-0.8.2 xf86miscproto-0.9.3 fsmgenerator-1.0.b.7_1 mpfr-3.0.0 xf86vidmodeproto-2.3.1 gamin-0.1.10_4 mpgtx-1.3.1_2 xgamma-1.0.4 gawk-4.0.0 mplayer-1.0.r20110329_3 xgc-1.0.2 gcc-4.4.5.20100803 mplayer-skins-1.1.2_6 xgc-1.0.3 gcc-4.5.3.20110106 mysql-client-5.1.60 xhost-1.0.4 gccmakedep-1.0.2 mysql-server-5.1.60 xineramaproto-1.2.1 gconf2-2.32.0_2 nas-1.9.3 xinit-1.3.1 gd-2.0.35_7,1 nasm-2.09.04,1 xinput-1.5.3 gdb-6.6_2 neon29-0.29.5 xkbcomp-1.2.3 gdbm-1.9.1 net-snmp-5.7.1_3 xkbevd-1.1.2 gdk-pixbuf-2.23.5_1 netpbm-10.26.64_4 xkbutils-1.0.1_2 getopt-1.1.4_2 nettle-2.4 xkbutils-1.0.3 gettext-0.18.1.1 nspr-4.8.9 xkeyboard-config-2.1 ghostscript8-8.71_8 nvidia-driver-285.05.09 xkill-1.0.3 gio-fam-backend-2.28.8 nvidia-settings-285.05.09 xlsatoms-1.1.0 glib-1.2.10_13 nvidia-xconfig-285.05.09 xlsclients-1.1.2 glib-2.28.8_2 open-motif-2.3.3 xmessage-1.0.3 glproto-1.4.12 opencv-core-2.3.1_2 xmlcatmgr-2.2 gmake-3.82 openjpeg-1.3_2 xmlcharent-0.3_2 gmp-5.0.2 openldap-client-2.4.23 xmlto-0.0.24 gnome_subr-1.0 openslp-1.2.1_3 xmodmap-1.0.5 gnomehier-2.3_12 orc-0.4.11 xorg-7.5.1 gnupg-2.0.18_1 orc-0.4.14_1 xorg-apps-7.5.1 gnutls-2.12.14 ortp-0.13.0_1 xorg-cf-files-1.0.4 gobject-introspection-0.10.8 p11-kit-0.9 xorg-docs-1.6,1 gocr-0.49 p5-Archive-Zip-1.30 xorg-drivers-7.5.1 gpac-libgpac-0.4.5_4,1 p5-Compress-Raw-Zlib-2.030 xorg-fonts-100dpi-7.5.1 gperf-3.0.3 p5-Compress-Zlib-2.015 xorg-fonts-7.5.1 gpgme-1.3.1 p5-IO-Compress-Base-2.015 xorg-fonts-75dpi-7.5 graphviz-2.28.0 p5-IO-Compress-Zlib-2.015_1 xorg-fonts-75dpi-7.5.1 gsfonts-8.11_5 p5-Locale-gettext-1.05_3 xorg-fonts-cyrillic-7.5 gstreamer-0.10.30 p5-Tk-804.030 xorg-fonts-cyrillic-7.5.1 gstreamer-plugins-0.10.30,3 p5-Unicode-Map8-0.13 xorg-fonts-miscbitmaps-7.5.1 gtar-1.26 p5-Unicode-String-2.09 xorg-fonts-truetype-7.5 gtk-1.2.10_22 p5-XML-Parser-2.41 xorg-fonts-truetype-7.5.1 gtk-2.24.6 p5-type1inst-0.6.1_5 xorg-fonts-type1-7.5 gtk-update-icon-cache-2.24.6 p7zip-9.13_1 xorg-fonts-type1-7.5.1 hal-0.5.14_17 pam_kde-1.0 xorg-libraries-7.5.1 help2man-1.40.4 pango-1.28.4 xorg-macros-1.15.0 hicolor-icon-theme-0.12 patch-2.6.1 xorg-server-1.7.7_3,1 iceauth-1.0.5 pciids-20111217 xpr-1.0.3 icu-4.6 pcre-8.21 xprop-1.2.1 ilbc-r3951 pdflib-7.0.4 xproto-7.0.22 ilmbase-1.0.1_1 pecl-pdflib-2.1.8 xrandr-1.3.5 imake-1.0.4,1 perl-5.10.1_6 xrdb-1.0.6_1 imlib-1.9.15_12 php5-curl-5.3.3 xrefresh-1.0.4 inputproto-2.0.2 php5-gd-5.3.3 xsane-0.998 intltool-0.41.1 php5-imap-5.3.3 xset-1.2.2_1 iso8879-1986_2 php5-mbstring-5.3.3 xsetmode-1.0.0 jackit-0.118.0_3 php5-mysql-5.3.3 xsetroot-1.1.0 jasper-1.900.1_10 php5-posix-5.3.3 xterm-276_1 javavmwrapper-2.3.5 php5-session-5.3.3 xtrans-1.2.6 jbig2dec-0.11 php5-xml-5.3.3 xtrap-1.0.2 jbigkit-1.6 php5-zlib-5.3.3 xvid-1.2.2_1,1 jdk-1.6.0.3p4_15 php52-5.2.17 xvinfo-1.1.1 joomla15-1.5.22 php52-ctype-5.2.17 xwd-1.0.4 jpeg-8_3 php52-curl-5.2.17 xwininfo-1.1.2 k3b-1.0.5_11 php52-dom-5.2.17 xwud-1.0.3 kbproto-1.0.5 php52-extensions-1.3_1 xz-5.0.0 kde-3.5.10_7 php52-filter-5.2.17 yasm-1.1.0 kde-xdg-env-1.0_3,1 php52-gd-5.2.17 yaws-1.88_1 kdeaccessibility-3.5.10_4 php52-hash-5.2.17 zip-3.0 kdeadmin-3.5.10_3 php52-iconv-5.2.17 zoneinfo-2011.n --Boundary-00=_KobJPWtXLp4AG/o-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 30 11:07:42 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB9D106564A for ; Mon, 30 Jan 2012 11:07:42 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B6E9D8FC21 for ; Mon, 30 Jan 2012 11:07:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0UB7gIg005474 for ; Mon, 30 Jan 2012 11:07:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0UB7frG005472 for freebsd-multimedia@FreeBSD.org; Mon, 30 Jan 2012 11:07:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jan 2012 11:07:41 GMT Message-Id: <201201301107.q0UB7frG005472@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 11:07:42 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161871 multimedia [patch] multimedia/mjpegtools plist incorrect with QUI o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o ports/158987 multimedia multimedia/py-kaa-multimedia: fix build error for grap o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o kern/156726 multimedia [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o kern/153920 multimedia [sound] [patch] Replace the GPL'd sound/maestro3 heade o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 77 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 2 03:08:43 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DE41065670 for ; Thu, 2 Feb 2012 03:08:43 +0000 (UTC) (envelope-from jason@wohlford.org) Received: from montgomery.al (wohlfordcompany.com [184.106.215.246]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC008FC08 for ; Thu, 2 Feb 2012 03:08:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wohlford.org; s=mail; t=1328151021; bh=2esDoXC5yFXwN5mjLrgQF/KumR7M0jUA7SBV4dTqpRY=; h=From:Content-Type:Content-Transfer-Encoding:Subject:Date: Message-Id:To:Mime-Version; b=KWwfEb9FzE6qSzIwV7WKCPqboHMIFfGftPZMvIYE1by+6lGsNm3wdeQvkOBaGHUH0 rx2D/g125NJCrgJ/amvJ8cA2hlnleS1Isic9gpQmsv3eGlkn1HAKbPoFZRj5Wp22Zg LdlNY+ek1sZLZqV7GBlY4HFNmo3N3ko7sWzv7HWg= From: Jason Wohlford Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 1 Feb 2012 20:50:19 -0600 Message-Id: To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: Problems Compiling Mythtv X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 03:08:43 -0000 Can't seem to compile mythtv. I'm getting: /usr/local/lib/libmythtv-0.24.so: undefined reference to = `posix_fadvise@FBSD_1.3' Any suggestions?=20 --=20 Jason Wohlford @wohlford From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 2 09:23:57 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 440AA106568D for ; Thu, 2 Feb 2012 09:23:57 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id ACBD68FC0A for ; Thu, 2 Feb 2012 09:23:56 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1F9EEA; Thu, 2 Feb 2012 10:09:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 02 Feb 2012 10:08:33 +0100 From: Bernhard Froehlich To: Jason Wohlford In-Reply-To: References: Message-ID: X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.7.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B020C.4F2A5292.0065,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-multimedia@freebsd.org Subject: Re: Problems Compiling Mythtv X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 09:23:57 -0000 On 02.02.2012 03:50, Jason Wohlford wrote: > Can't seem to compile mythtv. I'm getting: > > /usr/local/lib/libmythtv-0.24.so: undefined reference to > `posix_fadvise@FBSD_1.3' > > Any suggestions? I think that is yet another bug in mythtv library path ordering that cause to prefer installed mythtv 0.24 libraries in system path over the ones from the local compile directories. There is also a PR for that but I did not have time to look at the problem yet. Please deinstall the mythtv ports first and then install the new ones again. That should work just fine. -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 2 14:47:20 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FC37106566B for ; Thu, 2 Feb 2012 14:47:20 +0000 (UTC) (envelope-from jason@wohlford.org) Received: from montgomery.al (wohlfordcompany.com [184.106.215.246]) by mx1.freebsd.org (Postfix) with ESMTP id 61B0B8FC0C for ; Thu, 2 Feb 2012 14:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wohlford.org; s=mail; t=1328194014; bh=E6OEXn1lNew2sMufgyC4RX/DYYw8NmL7mIAFura49LY=; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=QdvTw3LlQbO0m3Foo6w7urgzGHHLxYAyFlEr1Y2TCFDFmx/ZmWRakWcN85lktmN85 RO2ThvJexPzUew48CHqgyKfkywJTslSzQsBuFS/beNpl/og8EUe/mmZ5Y88ql1OneU CMp7T3hfDXc6J7GQyI8ECUBvye0j4ghrhe8PQCM8= Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Jason Wohlford In-Reply-To: Date: Thu, 2 Feb 2012 08:46:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Bernhard Froehlich X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-multimedia@freebsd.org Subject: [SOLVED] Re: Problems Compiling Mythtv X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 14:47:20 -0000 On Feb 2, 2012, at 3:08 AM, Bernhard Froehlich wrote: > On 02.02.2012 03:50, Jason Wohlford wrote: >> Can't seem to compile mythtv. I'm getting: >>=20 >> /usr/local/lib/libmythtv-0.24.so: undefined reference to >> `posix_fadvise@FBSD_1.3' >>=20 >> Any suggestions? >=20 > I think that is yet another bug in mythtv library path ordering > that cause to prefer installed mythtv 0.24 libraries in system > path over the ones from the local compile directories. >=20 > There is also a PR for that but I did not have time to look at > the problem yet. >=20 > Please deinstall the mythtv ports first and then install the > new ones again. That should work just fine. Excellent suggestion! Worked like a charm. Also fixed my mythtranscode = problems. Bravo! --=20 Jason Wohlford @wohlford From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 3 23:57:34 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B3771065675; Fri, 3 Feb 2012 23:57:34 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 31F278FC12; Fri, 3 Feb 2012 23:57:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q13NvYXK071598; Fri, 3 Feb 2012 23:57:34 GMT (envelope-from pfg@freefall.freebsd.org) Received: (from pfg@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q13NvYKI071594; Fri, 3 Feb 2012 23:57:34 GMT (envelope-from pfg) Date: Fri, 3 Feb 2012 23:57:34 GMT Message-Id: <201202032357.q13NvYKI071594@freefall.freebsd.org> To: pfg@FreeBSD.org, freebsd-standards@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: pfg@FreeBSD.org Cc: Subject: Re: standards/157050: OSS implementation lacks AFMT_FLOAT X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2012 23:57:34 -0000 Synopsis: OSS implementation lacks AFMT_FLOAT Responsible-Changed-From-To: freebsd-standards->freebsd-multimedia Responsible-Changed-By: pfg Responsible-Changed-When: Fri Feb 3 23:55:43 UTC 2012 Responsible-Changed-Why: Assign to multimedia. This is more likely to get some attention there. http://www.freebsd.org/cgi/query-pr.cgi?pr=157050 From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 4 17:16:50 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0761106564A; Sat, 4 Feb 2012 17:16:50 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C26D58FC0C; Sat, 4 Feb 2012 17:16:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q14HGoLG063935; Sat, 4 Feb 2012 17:16:50 GMT (envelope-from pfg@freefall.freebsd.org) Received: (from pfg@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q14HGouu063931; Sat, 4 Feb 2012 17:16:50 GMT (envelope-from pfg) Date: Sat, 4 Feb 2012 17:16:50 GMT Message-Id: <201202041716.q14HGouu063931@freefall.freebsd.org> To: giffunip@tutopia.com, pfg@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: pfg@FreeBSD.org Cc: Subject: Re: kern/153920: [sound] [patch] Replace the GPL'd sound/maestro3 headers with BSD versions from OSS X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 17:16:51 -0000 Synopsis: [sound] [patch] Replace the GPL'd sound/maestro3 headers with BSD versions from OSS State-Changed-From-To: open->closed State-Changed-By: pfg State-Changed-When: Sat Feb 4 17:16:02 UTC 2012 State-Changed-Why: Committed and MFC/9 http://www.freebsd.org/cgi/query-pr.cgi?pr=153920 From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 4 17:20:10 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B8EF106564A for ; Sat, 4 Feb 2012 17:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0308E8FC0C for ; Sat, 4 Feb 2012 17:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q14HK9JS064433 for ; Sat, 4 Feb 2012 17:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q14HK9fU064432; Sat, 4 Feb 2012 17:20:09 GMT (envelope-from gnats) Date: Sat, 4 Feb 2012 17:20:09 GMT Message-Id: <201202041720.q14HK9fU064432@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/153920: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 17:20:10 -0000 The following reply was made to PR kern/153920; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/153920: commit references a PR Date: Sat, 4 Feb 2012 17:13:51 +0000 (UTC) Author: pfg Date: Sat Feb 4 17:13:34 2012 New Revision: 230985 URL: http://svn.freebsd.org/changeset/base/230985 Log: MFC: r230401, r230898 Replace GPLd headers from the Maestro3 driver with BSD licensed versions derived from /usr/ports/audio/oss. The particular headers used were taken from the attic/drv/oss_allegro directory and are mostly identical to the previous files. The Maestro3 driver is now free from the GPL. NOTE: due to lack of testers this driver is being considered for deprecation and removal, however the MFC still makes sense instead of distribution a GPL'd firmware without source code. PR: kern/153920 Approved by: jhb (mentor) Added: stable/9/sys/dev/sound/pci/allegro_code.h - copied unchanged from r230401, head/sys/dev/sound/pci/allegro_code.h stable/9/sys/dev/sound/pci/allegro_reg.h - copied unchanged from r230401, head/sys/dev/sound/pci/allegro_reg.h Deleted: stable/9/sys/gnu/dev/sound/pci/maestro3_dsp.h stable/9/sys/gnu/dev/sound/pci/maestro3_reg.h Modified: stable/9/sys/conf/files stable/9/sys/dev/sound/pci/maestro3.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/conf/ (props changed) stable/9/sys/modules/sound/driver/maestro3/ (props changed) Modified: stable/9/sys/conf/files ============================================================================== --- stable/9/sys/conf/files Sat Feb 4 16:49:29 2012 (r230984) +++ stable/9/sys/conf/files Sat Feb 4 17:13:34 2012 (r230985) @@ -1722,8 +1722,7 @@ dev/sound/pci/es137x.c optional snd_es1 dev/sound/pci/fm801.c optional snd_fm801 pci dev/sound/pci/ich.c optional snd_ich pci dev/sound/pci/maestro.c optional snd_maestro pci -dev/sound/pci/maestro3.c optional snd_maestro3 pci \ - warning "kernel contains GPL contaminated maestro3 headers" +dev/sound/pci/maestro3.c optional snd_maestro3 pci dev/sound/pci/neomagic.c optional snd_neomagic pci dev/sound/pci/solo.c optional snd_solo pci dev/sound/pci/spicds.c optional snd_spicds pci Copied: stable/9/sys/dev/sound/pci/allegro_code.h (from r230401, head/sys/dev/sound/pci/allegro_code.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/9/sys/dev/sound/pci/allegro_code.h Sat Feb 4 17:13:34 2012 (r230985, copy of r230401, head/sys/dev/sound/pci/allegro_code.h) @@ -0,0 +1,218 @@ +/* $FreeBSD$ */ +/*- + * Copyright (C) 1996-2008, 4Front Technologies + * Copyright (C) 1997-1999 ESS Technology, Inc + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +/*--------------------------------------------------------------------------- + * This source code, its compiled object code, and its associated data sets + * are copyright (C) 1997-1999 ESS Technology, Inc. This source code and its + * associated data sets are trade secrets of ESS Technology, Inc. + *--------------------------------------------------------------------------- + * DESCRIPTION: DSP binaries + *--------------------------------------------------------------------------- + * AUTHOR: Henry Tang / Hong Kim / Alger Yeung/Don Kim + *--------------------------------------------------------------------------- + * For practical purposes we only include what is necessary for current + * Maestro3 driver. Files used in this header include: + * kernel.dat + * 400m_src.dat + * mini_src_lpf from srcmgr.h + *--------------------------------------------------------------------------- + */ +#ifndef _DEV_SOUND_PCI_ALLEGRO_CODE_H +#define _DEV_SOUND_PCI_ALLEGRO_CODE_H + +/* + * Kernel + */ + +uint16_t gaw_kernel_vect_code[] = { + 0x7980, 0x0030, 0x7980, 0x03B4, 0x7980, 0x03B4, 0x7980, 0x00FB, 0x7980, + 0x00DD, 0x7980, 0x03B4, 0x7980, 0x0332, 0x7980, 0x0287, 0x7980, 0x03B4, + 0x7980, 0x03B4, 0x7980, 0x03B4, 0x7980, 0x03B4, 0x7980, 0x031A, 0x7980, + 0x03B4, 0x7980, 0x022F, 0x7980, 0x03B4, 0x7980, 0x03B4, 0x7980, 0x03B4, + 0x7980, 0x03B4, 0x7980, 0x03B4, 0x7980, 0x0063, 0x7980, 0x006B, 0x7980, + 0x03B4, 0x7980, 0x03B4, 0xBF80, 0x2C7C, 0x8806, 0x8804, 0xBE40, 0xBC20, + 0xAE09, 0x1000, 0xAE0A, 0x0001, 0x6938, 0xEB08, 0x0053, 0x695A, 0xEB08, + 0x00D6, 0x0009, 0x8B88, 0x6980, 0xE388, 0x0036, 0xBE30, 0xBC20, 0x6909, + 0xB801, 0x9009, 0xBE41, 0xBE41, 0x6928, 0xEB88, 0x0078, 0xBE41, 0xBE40, + 0x7980, 0x0038, 0xBE41, 0xBE41, 0x903A, 0x6938, 0xE308, 0x0056, 0x903A, + 0xBE41, 0xBE40, 0xEF00, 0x903A, 0x6939, 0xE308, 0x005E, 0x903A, 0xEF00, + 0x690B, 0x660C, 0xEF8C, 0x690A, 0x660C, 0x620B, 0x6609, 0xEF00, 0x6910, + 0x660F, 0xEF04, 0xE388, 0x0075, 0x690E, 0x660F, 0x6210, 0x660D, 0xEF00, + 0x690E, 0x660D, 0xEF00, 0xAE70, 0x0001, 0xBC20, 0xAE27, 0x0001, 0x6939, + 0xEB08, 0x005D, 0x6926, 0xB801, 0x9026, 0x0026, 0x8B88, 0x6980, 0xE388, + 0x00CB, 0x9028, 0x0D28, 0x4211, 0xE100, 0x007A, 0x4711, 0xE100, 0x00A0, + 0x7A80, 0x0063, 0xB811, 0x660A, 0x6209, 0xE304, 0x007A, 0x0C0B, 0x4005, + 0x100A, 0xBA01, 0x9012, 0x0C12, 0x4002, 0x7980, 0x00AF, 0x7A80, 0x006B, + 0xBE02, 0x620E, 0x660D, 0xBA10, 0xE344, 0x007A, 0x0C10, 0x4005, 0x100E, + 0xBA01, 0x9012, 0x0C12, 0x4002, 0x1003, 0xBA02, 0x9012, 0x0C12, 0x4000, + 0x1003, 0xE388, 0x00BA, 0x1004, 0x7980, 0x00BC, 0x1004, 0xBA01, 0x9012, + 0x0C12, 0x4001, 0x0C05, 0x4003, 0x0C06, 0x4004, 0x1011, 0xBFB0, 0x01FF, + 0x9012, 0x0C12, 0x4006, 0xBC20, 0xEF00, 0xAE26, 0x1028, 0x6970, 0xBFD0, + 0x0001, 0x9070, 0xE388, 0x007A, 0xAE28, 0x0000, 0xEF00, 0xAE70, 0x0300, + 0x0C70, 0xB00C, 0xAE5A, 0x0000, 0xEF00, 0x7A80, 0x038A, 0x697F, 0xB801, + 0x907F, 0x0056, 0x8B88, 0x0CA0, 0xB008, 0xAF71, 0xB000, 0x4E71, 0xE200, + 0x00F3, 0xAE56, 0x1057, 0x0056, 0x0CA0, 0xB008, 0x8056, 0x7980, 0x03A1, + 0x0810, 0xBFA0, 0x1059, 0xE304, 0x03A1, 0x8056, 0x7980, 0x03A1, 0x7A80, + 0x038A, 0xBF01, 0xBE43, 0xBE59, 0x907C, 0x6937, 0xE388, 0x010D, 0xBA01, + 0xE308, 0x010C, 0xAE71, 0x0004, 0x0C71, 0x5000, 0x6936, 0x9037, 0xBF0A, + 0x109E, 0x8B8A, 0xAF80, 0x8014, 0x4C80, 0xBF0A, 0x0560, 0xF500, 0xBF0A, + 0x0520, 0xB900, 0xBB17, 0x90A0, 0x6917, 0xE388, 0x0148, 0x0D17, 0xE100, + 0x0127, 0xBF0C, 0x0578, 0xBF0D, 0x057C, 0x7980, 0x012B, 0xBF0C, 0x0538, + 0xBF0D, 0x053C, 0x6900, 0xE308, 0x0135, 0x8B8C, 0xBE59, 0xBB07, 0x90A0, + 0xBC20, 0x7980, 0x0157, 0x030C, 0x8B8B, 0xB903, 0x8809, 0xBEC6, 0x013E, + 0x69AC, 0x90AB, 0x69AD, 0x90AB, 0x0813, 0x660A, 0xE344, 0x0144, 0x0309, + 0x830C, 0xBC20, 0x7980, 0x0157, 0x6955, 0xE388, 0x0157, 0x7C38, 0xBF0B, + 0x0578, 0xF500, 0xBF0B, 0x0538, 0xB907, 0x8809, 0xBEC6, 0x0156, 0x10AB, + 0x90AA, 0x6974, 0xE388, 0x0163, 0xAE72, 0x0540, 0xF500, 0xAE72, 0x0500, + 0xAE61, 0x103B, 0x7A80, 0x02F6, 0x6978, 0xE388, 0x0182, 0x8B8C, 0xBF0C, + 0x0560, 0xE500, 0x7C40, 0x0814, 0xBA20, 0x8812, 0x733D, 0x7A80, 0x0380, + 0x733E, 0x7A80, 0x0380, 0x8B8C, 0xBF0C, 0x056C, 0xE500, 0x7C40, 0x0814, + 0xBA2C, 0x8812, 0x733F, 0x7A80, 0x0380, 0x7340, 0x7A80, 0x0380, 0x6975, + 0xE388, 0x018E, 0xAE72, 0x0548, 0xF500, 0xAE72, 0x0508, 0xAE61, 0x1041, + 0x7A80, 0x02F6, 0x6979, 0xE388, 0x01AD, 0x8B8C, 0xBF0C, 0x0560, 0xE500, + 0x7C40, 0x0814, 0xBA18, 0x8812, 0x7343, 0x7A80, 0x0380, 0x7344, 0x7A80, + 0x0380, 0x8B8C, 0xBF0C, 0x056C, 0xE500, 0x7C40, 0x0814, 0xBA24, 0x8812, + 0x7345, 0x7A80, 0x0380, 0x7346, 0x7A80, 0x0380, 0x6976, 0xE388, 0x01B9, + 0xAE72, 0x0558, 0xF500, 0xAE72, 0x0518, 0xAE61, 0x1047, 0x7A80, 0x02F6, + 0x697A, 0xE388, 0x01D8, 0x8B8C, 0xBF0C, 0x0560, 0xE500, 0x7C40, 0x0814, + 0xBA08, 0x8812, 0x7349, 0x7A80, 0x0380, 0x734A, 0x7A80, 0x0380, 0x8B8C, + 0xBF0C, 0x056C, 0xE500, 0x7C40, 0x0814, 0xBA14, 0x8812, 0x734B, 0x7A80, + 0x0380, 0x734C, 0x7A80, 0x0380, 0xBC21, 0xAE1C, 0x1090, 0x8B8A, 0xBF0A, + 0x0560, 0xE500, 0x7C40, 0x0812, 0xB804, 0x8813, 0x8B8D, 0xBF0D, 0x056C, + 0xE500, 0x7C40, 0x0815, 0xB804, 0x8811, 0x7A80, 0x034A, 0x8B8A, 0xBF0A, + 0x0560, 0xE500, 0x7C40, 0x731F, 0xB903, 0x8809, 0xBEC6, 0x01F9, 0x548A, + 0xBE03, 0x98A0, 0x7320, 0xB903, 0x8809, 0xBEC6, 0x0201, 0x548A, 0xBE03, + 0x98A0, 0x1F20, 0x2F1F, 0x9826, 0xBC20, 0x6935, 0xE388, 0x03A1, 0x6933, + 0xB801, 0x9033, 0xBFA0, 0x02EE, 0xE308, 0x03A1, 0x9033, 0xBF00, 0x6951, + 0xE388, 0x021F, 0x7334, 0xBE80, 0x5760, 0xBE03, 0x9F7E, 0xBE59, 0x9034, + 0x697E, 0x0D51, 0x9013, 0xBC20, 0x695C, 0xE388, 0x03A1, 0x735E, 0xBE80, + 0x5760, 0xBE03, 0x9F7E, 0xBE59, 0x905E, 0x697E, 0x0D5C, 0x9013, 0x7980, + 0x03A1, 0x7A80, 0x038A, 0xBF01, 0xBE43, 0x6977, 0xE388, 0x024E, 0xAE61, + 0x104D, 0x0061, 0x8B88, 0x6980, 0xE388, 0x024E, 0x9071, 0x0D71, 0x000B, + 0xAFA0, 0x8010, 0xAFA0, 0x8010, 0x0810, 0x660A, 0xE308, 0x0249, 0x0009, + 0x0810, 0x660C, 0xE388, 0x024E, 0x800B, 0xBC20, 0x697B, 0xE388, 0x03A1, + 0xBF0A, 0x109E, 0x8B8A, 0xAF80, 0x8014, 0x4C80, 0xE100, 0x0266, 0x697C, + 0xBF90, 0x0560, 0x9072, 0x0372, 0x697C, 0xBF90, 0x0564, 0x9073, 0x0473, + 0x7980, 0x0270, 0x697C, 0xBF90, 0x0520, 0x9072, 0x0372, 0x697C, 0xBF90, + 0x0524, 0x9073, 0x0473, 0x697C, 0xB801, 0x907C, 0xBF0A, 0x10FD, 0x8B8A, + 0xAF80, 0x8010, 0x734F, 0x548A, 0xBE03, 0x9880, 0xBC21, 0x7326, 0x548B, + 0xBE03, 0x618B, 0x988C, 0xBE03, 0x6180, 0x9880, 0x7980, 0x03A1, 0x7A80, + 0x038A, 0x0D28, 0x4711, 0xE100, 0x02BE, 0xAF12, 0x4006, 0x6912, 0xBFB0, + 0x0C00, 0xE388, 0x02B6, 0xBFA0, 0x0800, 0xE388, 0x02B2, 0x6912, 0xBFB0, + 0x0C00, 0xBFA0, 0x0400, 0xE388, 0x02A3, 0x6909, 0x900B, 0x7980, 0x02A5, + 0xAF0B, 0x4005, 0x6901, 0x9005, 0x6902, 0x9006, 0x4311, 0xE100, 0x02ED, + 0x6911, 0xBFC0, 0x2000, 0x9011, 0x7980, 0x02ED, 0x6909, 0x900B, 0x7980, + 0x02B8, 0xAF0B, 0x4005, 0xAF05, 0x4003, 0xAF06, 0x4004, 0x7980, 0x02ED, + 0xAF12, 0x4006, 0x6912, 0xBFB0, 0x0C00, 0xE388, 0x02E7, 0xBFA0, 0x0800, + 0xE388, 0x02E3, 0x6912, 0xBFB0, 0x0C00, 0xBFA0, 0x0400, 0xE388, 0x02D4, + 0x690D, 0x9010, 0x7980, 0x02D6, 0xAF10, 0x4005, 0x6901, 0x9005, 0x6902, + 0x9006, 0x4311, 0xE100, 0x02ED, 0x6911, 0xBFC0, 0x2000, 0x9011, 0x7980, + 0x02ED, 0x690D, 0x9010, 0x7980, 0x02E9, 0xAF10, 0x4005, 0xAF05, 0x4003, + 0xAF06, 0x4004, 0xBC20, 0x6970, 0x9071, 0x7A80, 0x0078, 0x6971, 0x9070, + 0x7980, 0x03A1, 0xBC20, 0x0361, 0x8B8B, 0x6980, 0xEF88, 0x0272, 0x0372, + 0x7804, 0x9071, 0x0D71, 0x8B8A, 0x000B, 0xB903, 0x8809, 0xBEC6, 0x0309, + 0x69A8, 0x90AB, 0x69A8, 0x90AA, 0x0810, 0x660A, 0xE344, 0x030F, 0x0009, + 0x0810, 0x660C, 0xE388, 0x0314, 0x800B, 0xBC20, 0x6961, 0xB801, 0x9061, + 0x7980, 0x02F7, 0x7A80, 0x038A, 0x5D35, 0x0001, 0x6934, 0xB801, 0x9034, + 0xBF0A, 0x109E, 0x8B8A, 0xAF80, 0x8014, 0x4880, 0xAE72, 0x0550, 0xF500, + 0xAE72, 0x0510, 0xAE61, 0x1051, 0x7A80, 0x02F6, 0x7980, 0x03A1, 0x7A80, + 0x038A, 0x5D35, 0x0002, 0x695E, 0xB801, 0x905E, 0xBF0A, 0x109E, 0x8B8A, + 0xAF80, 0x8014, 0x4780, 0xAE72, 0x0558, 0xF500, 0xAE72, 0x0518, 0xAE61, + 0x105C, 0x7A80, 0x02F6, 0x7980, 0x03A1, 0x001C, 0x8B88, 0x6980, 0xEF88, + 0x901D, 0x0D1D, 0x100F, 0x6610, 0xE38C, 0x0358, 0x690E, 0x6610, 0x620F, + 0x660D, 0xBA0F, 0xE301, 0x037A, 0x0410, 0x8B8A, 0xB903, 0x8809, 0xBEC6, + 0x036C, 0x6A8C, 0x61AA, 0x98AB, 0x6A8C, 0x61AB, 0x98AD, 0x6A8C, 0x61AD, + 0x98A9, 0x6A8C, 0x61A9, 0x98AA, 0x7C04, 0x8B8B, 0x7C04, 0x8B8D, 0x7C04, + 0x8B89, 0x7C04, 0x0814, 0x660E, 0xE308, 0x0379, 0x040D, 0x8410, 0xBC21, + 0x691C, 0xB801, 0x901C, 0x7980, 0x034A, 0xB903, 0x8809, 0x8B8A, 0xBEC6, + 0x0388, 0x54AC, 0xBE03, 0x618C, 0x98AA, 0xEF00, 0xBC20, 0xBE46, 0x0809, + 0x906B, 0x080A, 0x906C, 0x080B, 0x906D, 0x081A, 0x9062, 0x081B, 0x9063, + 0x081E, 0x9064, 0xBE59, 0x881E, 0x8065, 0x8166, 0x8267, 0x8368, 0x8469, + 0x856A, 0xEF00, 0xBC20, 0x696B, 0x8809, 0x696C, 0x880A, 0x696D, 0x880B, + 0x6962, 0x881A, 0x6963, 0x881B, 0x6964, 0x881E, 0x0065, 0x0166, 0x0267, + 0x0368, 0x0469, 0x056A, 0xBE3A, +}; + +/* + * MINI Sample Rate Conversion + */ + +uint16_t gaw_minisrc_code_0400[] = { + 0xBF80, 0x101E, 0x906E, 0x006E, 0x8B88, 0x6980, 0xEF88, 0x906F, 0x0D6F, + 0x6900, 0xEB08, 0x0412, 0xBC20, 0x696E, 0xB801, 0x906E, 0x7980, 0x0403, + 0xB90E, 0x8807, 0xBE43, 0xBF01, 0xBE47, 0xBE41, 0x7A80, 0x002A, 0xBE40, + 0x3029, 0xEFCC, 0xBE41, 0x7A80, 0x0028, 0xBE40, 0x3028, 0xEFCC, 0x6907, + 0xE308, 0x042A, 0x6909, 0x902C, 0x7980, 0x042C, 0x690D, 0x902C, 0x1009, + 0x881A, 0x100A, 0xBA01, 0x881B, 0x100D, 0x881C, 0x100E, 0xBA01, 0x881D, + 0xBF80, 0x00ED, 0x881E, 0x050C, 0x0124, 0xB904, 0x9027, 0x6918, 0xE308, + 0x04B3, 0x902D, 0x6913, 0xBFA0, 0x7598, 0xF704, 0xAE2D, 0x00FF, 0x8B8D, + 0x6919, 0xE308, 0x0463, 0x691A, 0xE308, 0x0456, 0xB907, 0x8809, 0xBEC6, + 0x0453, 0x10A9, 0x90AD, 0x7980, 0x047C, 0xB903, 0x8809, 0xBEC6, 0x0460, + 0x1889, 0x6C22, 0x90AD, 0x10A9, 0x6E23, 0x6C22, 0x90AD, 0x7980, 0x047C, + 0x101A, 0xE308, 0x046F, 0xB903, 0x8809, 0xBEC6, 0x046C, 0x10A9, 0x90A0, + 0x90AD, 0x7980, 0x047C, 0xB901, 0x8809, 0xBEC6, 0x047B, 0x1889, 0x6C22, + 0x90A0, 0x90AD, 0x10A9, 0x6E23, 0x6C22, 0x90A0, 0x90AD, 0x692D, 0xE308, + 0x049C, 0x0124, 0xB703, 0xB902, 0x8818, 0x8B89, 0x022C, 0x108A, 0x7C04, + 0x90A0, 0x692B, 0x881F, 0x7E80, 0x055B, 0x692A, 0x8809, 0x8B89, 0x99A0, + 0x108A, 0x90A0, 0x692B, 0x881F, 0x7E80, 0x055B, 0x692A, 0x8809, 0x8B89, + 0x99AF, 0x7B99, 0x0484, 0x0124, 0x060F, 0x101B, 0x2013, 0x901B, 0xBFA0, + 0x7FFF, 0xE344, 0x04AC, 0x901B, 0x8B89, 0x7A80, 0x051A, 0x6927, 0xBA01, + 0x9027, 0x7A80, 0x0523, 0x6927, 0xE308, 0x049E, 0x7980, 0x050F, 0x0624, + 0x1026, 0x2013, 0x9026, 0xBFA0, 0x7FFF, 0xE304, 0x04C0, 0x8B8D, 0x7A80, + 0x051A, 0x7980, 0x04B4, 0x9026, 0x1013, 0x3026, 0x901B, 0x8B8D, 0x7A80, + 0x051A, 0x7A80, 0x0523, 0x1027, 0xBA01, 0x9027, 0xE308, 0x04B4, 0x0124, + 0x060F, 0x8B89, 0x691A, 0xE308, 0x04EA, 0x6919, 0xE388, 0x04E0, 0xB903, + 0x8809, 0xBEC6, 0x04DD, 0x1FA0, 0x2FAE, 0x98A9, 0x7980, 0x050F, 0xB901, + 0x8818, 0xB907, 0x8809, 0xBEC6, 0x04E7, 0x10EE, 0x90A9, 0x7980, 0x050F, + 0x6919, 0xE308, 0x04FE, 0xB903, 0x8809, 0xBE46, 0xBEC6, 0x04FA, 0x17A0, + 0xBE1E, 0x1FAE, 0xBFBF, 0xFF00, 0xBE13, 0xBFDF, 0x8080, 0x99A9, 0xBE47, + 0x7980, 0x050F, 0xB901, 0x8809, 0xBEC6, 0x050E, 0x16A0, 0x26A0, 0xBFB7, + 0xFF00, 0xBE1E, 0x1EA0, 0x2EAE, 0xBFBF, 0xFF00, 0xBE13, 0xBFDF, 0x8080, + 0x99A9, 0x850C, 0x860F, 0x6907, 0xE388, 0x0516, 0x0D07, 0x8510, 0xBE59, + 0x881E, 0xBE4A, 0xEF00, 0x101E, 0x901C, 0x101F, 0x901D, 0x10A0, 0x901E, + 0x10A0, 0x901F, 0xEF00, 0x101E, 0x301C, 0x9020, 0x731B, 0x5420, 0xBE03, + 0x9825, 0x1025, 0x201C, 0x9025, 0x7325, 0x5414, 0xBE03, 0x8B8E, 0x9880, + 0x692F, 0xE388, 0x0539, 0xBE59, 0xBB07, 0x6180, 0x9880, 0x8BA0, 0x101F, + 0x301D, 0x9021, 0x731B, 0x5421, 0xBE03, 0x982E, 0x102E, 0x201D, 0x902E, + 0x732E, 0x5415, 0xBE03, 0x9880, 0x692F, 0xE388, 0x054F, 0xBE59, 0xBB07, + 0x6180, 0x9880, 0x8BA0, 0x6918, 0xEF08, 0x7325, 0x5416, 0xBE03, 0x98A0, + 0x732E, 0x5417, 0xBE03, 0x98A0, 0xEF00, 0x8BA0, 0xBEC6, 0x056B, 0xBE59, + 0xBB04, 0xAA90, 0xBE04, 0xBE1E, 0x99E0, 0x8BE0, 0x69A0, 0x90D0, 0x69A0, + 0x90D0, 0x081F, 0xB805, 0x881F, 0x8B90, 0x69A0, 0x90D0, 0x69A0, 0x9090, + 0x8BD0, 0x8BD8, 0xBE1F, 0xEF00, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, +}; + +uint16_t minisrc_lpf[10] = { + 0X0743, 0X1104, 0X0A4C, 0XF88D, 0X242C, + 0X1023, 0X1AA9, 0X0B60, 0XEFDD, 0X186F +}; + +#endif /* !_DEV_SOUND_PCI_ALLEGRO_CODE_H */ Copied: stable/9/sys/dev/sound/pci/allegro_reg.h (from r230401, head/sys/dev/sound/pci/allegro_reg.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/9/sys/dev/sound/pci/allegro_reg.h Sat Feb 4 17:13:34 2012 (r230985, copy of r230401, head/sys/dev/sound/pci/allegro_reg.h) @@ -0,0 +1,790 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 1996-2008, 4Front Technologies + * Copyright (C) 1992-2000 Don Kim (don.kim@esstech.com) + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHERIN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +/*--------------------------------------------------------------------------- + * Copyright (C) 1997-1999, ESS Technology, Inc. + * This source code, its compiled object code, and its associated data sets + * are copyright (C) 1997-1999 ESS Technology, Inc. + *--------------------------------------------------------------------------- + * This header contains data structures and registers taken from the + * 4Front OSS Allegro BSD licensed driver (in the Attic/ directory). + * Files used for this header include: + * hardware.h + * kernel.h and hckernel.h + * srcmgr.h + *--------------------------------------------------------------------------- + */ + +#ifndef _DEV_SOUND_PCI_ALLEGRO_REG_H +#define _DEV_SOUND_PCI_ALLEGRO_REG_H + +/* Allegro PCI configuration registers */ +#define PCI_LEGACY_AUDIO_CTRL 0x40 +#define SOUND_BLASTER_ENABLE 0x00000001 +#define FM_SYNTHESIS_ENABLE 0x00000002 +#define GAME_PORT_ENABLE 0x00000004 +#define MPU401_IO_ENABLE 0x00000008 +#define MPU401_IRQ_ENABLE 0x00000010 +#define ALIAS_10BIT_IO 0x00000020 +#define SB_DMA_MASK 0x000000C0 +#define SB_DMA_0 0x00000040 +#define SB_DMA_1 0x00000040 +#define SB_DMA_R 0x00000080 +#define SB_DMA_3 0x000000C0 +#define SB_IRQ_MASK 0x00000700 +#define SB_IRQ_5 0x00000000 +#define SB_IRQ_7 0x00000100 +#define SB_IRQ_9 0x00000200 +#define SB_IRQ_10 0x00000300 +#define MIDI_IRQ_MASK 0x00003800 +#define SERIAL_IRQ_ENABLE 0x00004000 +#define DISABLE_LEGACY 0x00008000 + +#define PCI_ALLEGRO_CONFIG 0x50 +#define SB_ADDR_240 0x00000004 +#define MPU_ADDR_MASK 0x00000018 +#define MPU_ADDR_330 0x00000000 +#define MPU_ADDR_300 0x00000008 +#define MPU_ADDR_320 0x00000010 +#define MPU_ADDR_340 0x00000018 +#define USE_PCI_TIMING 0x00000040 +#define POSTED_WRITE_ENABLE 0x00000080 +#define DMA_POLICY_MASK 0x00000700 +#define DMA_DDMA 0x00000000 +#define DMA_TDMA 0x00000100 +#define DMA_PCPCI 0x00000200 +#define DMA_WBDMA16 0x00000400 +#define DMA_WBDMA4 0x00000500 +#define DMA_WBDMA2 0x00000600 +#define DMA_WBDMA1 0x00000700 +#define DMA_SAFE_GUARD 0x00000800 +#define HI_PERF_GP_ENABLE 0x00001000 +#define PIC_SNOOP_MODE_0 0x00002000 +#define PIC_SNOOP_MODE_1 0x00004000 +#define SOUNDBLASTER_IRQ_MASK 0x00008000 +#define RING_IN_ENABLE 0x00010000 +#define SPDIF_TEST_MODE 0x00020000 +#define CLK_MULT_MODE_SELECT_2 0x00040000 +#define EEPROM_WRITE_ENABLE 0x00080000 +#define CODEC_DIR_IN 0x00100000 +#define HV_BUTTON_FROM_GD 0x00200000 +#define REDUCED_DEBOUNCE 0x00400000 +#define HV_CTRL_ENABLE 0x00800000 +#define SPDIF_ENABLE 0x01000000 +#define CLK_DIV_SELECT 0x06000000 +#define CLK_DIV_BY_48 0x00000000 +#define CLK_DIV_BY_49 0x02000000 +#define CLK_DIV_BY_50 0x04000000 +#define CLK_DIV_RESERVED 0x06000000 +#define PM_CTRL_ENABLE 0x08000000 +#define CLK_MULT_MODE_SELECT 0x30000000 +#define CLK_MULT_MODE_SHIFT 28 +#define CLK_MULT_MODE_0 0x00000000 +#define CLK_MULT_MODE_1 0x10000000 +#define CLK_MULT_MODE_2 0x20000000 +#define CLK_MULT_MODE_3 0x30000000 +#define INT_CLK_SELECT 0x40000000 +#define INT_CLK_MULT_RESET 0x80000000 + +/* M3 */ +#define INT_CLK_SRC_NOT_PCI 0x00100000 +#define INT_CLK_MULT_ENABLE 0x80000000 + +#define PCI_ACPI_CONTROL 0x54 +#define PCI_ACPI_D0 0x00000000 +#define PCI_ACPI_D1 0xB4F70000 +#define PCI_ACPI_D2 0xB4F7B4F7 + +#define PCI_USER_CONFIG 0x58 +#define EXT_PCI_MASTER_ENABLE 0x00000001 +#define SPDIF_OUT_SELECT 0x00000002 +#define TEST_PIN_DIR_CTRL 0x00000004 +#define AC97_CODEC_TEST 0x00000020 +#define TRI_STATE_BUFFER 0x00000080 +#define IN_CLK_12MHZ_SELECT 0x00000100 +#define MULTI_FUNC_DISABLE 0x00000200 +#define EXT_MASTER_PAIR_SEL 0x00000400 +#define PCI_MASTER_SUPPORT 0x00000800 +#define STOP_CLOCK_ENABLE 0x00001000 +#define EAPD_DRIVE_ENABLE 0x00002000 +#define REQ_TRI_STATE_ENABLE 0x00004000 +#define REQ_LOW_ENABLE 0x00008000 +#define MIDI_1_ENABLE 0x00010000 +#define MIDI_2_ENABLE 0x00020000 +#define SB_AUDIO_SYNC 0x00040000 +#define HV_CTRL_TEST 0x00100000 +#define SOUNDBLASTER_TEST 0x00400000 + +#define PCI_USER_CONFIG_C 0x5C + +#define PCI_DDMA_CTRL 0x60 +#define DDMA_ENABLE 0x00000001 + + +/* Allegro registers */ +#define HOST_INT_CTRL 0x18 +#define SB_INT_ENABLE 0x0001 +#define MPU401_INT_ENABLE 0x0002 +#define ASSP_INT_ENABLE 0x0010 +#define RING_INT_ENABLE 0x0020 +#define HV_INT_ENABLE 0x0040 +#define CLKRUN_GEN_ENABLE 0x0100 +#define HV_CTRL_TO_PME 0x0400 +#define SOFTWARE_RESET_ENABLE 0x8000 + +#define HOST_INT_STATUS 0x1A +#define SB_INT_PENDING 0x01 +#define MPU401_INT_PENDING 0x02 +#define ASSP_INT_PENDING 0x10 +#define RING_INT_PENDING 0x20 +#define HV_INT_PENDING 0x40 + +#define HARDWARE_VOL_CTRL 0x1B +#define SHADOW_MIX_REG_VOICE 0x1C +#define HW_VOL_COUNTER_VOICE 0x1D +#define SHADOW_MIX_REG_MASTER 0x1E +#define HW_VOL_COUNTER_MASTER 0x1F + +#define CODEC_COMMAND 0x30 +#define CODEC_READ_B 0x80 + +#define CODEC_STATUS 0x30 +#define CODEC_BUSY_B 0x01 + +#define CODEC_DATA 0x32 + +/* AC97 registers */ +#ifndef M3_MODEL +#define AC97_RESET 0x00 +#endif + +#define AC97_VOL_MUTE_B 0x8000 +#define AC97_VOL_M 0x1F +#define AC97_LEFT_VOL_S 8 + +#define AC97_MASTER_VOL 0x02 +#define AC97_LINE_LEVEL_VOL 0x04 +#define AC97_MASTER_MONO_VOL 0x06 +#define AC97_PC_BEEP_VOL 0x0A +#define AC97_PC_BEEP_VOL_M 0x0F +#define AC97_SROUND_MASTER_VOL 0x38 +#define AC97_PC_BEEP_VOL_S 1 + +#ifndef M3_MODEL +#define AC97_PHONE_VOL 0x0C +#define AC97_MIC_VOL 0x0E +#endif +#define AC97_MIC_20DB_ENABLE 0x40 + +#ifndef M3_MODEL +#define AC97_LINEIN_VOL 0x10 +#define AC97_CD_VOL 0x12 +#define AC97_VIDEO_VOL 0x14 +#define AC97_AUX_VOL 0x16 +#endif +#define AC97_PCM_OUT_VOL 0x18 +#ifndef M3_MODEL +#define AC97_RECORD_SELECT 0x1A +#endif +#define AC97_RECORD_MIC 0x00 +#define AC97_RECORD_CD 0x01 +#define AC97_RECORD_VIDEO 0x02 +#define AC97_RECORD_AUX 0x03 +#define AC97_RECORD_MONO_MUX 0x02 +#define AC97_RECORD_DIGITAL 0x03 +#define AC97_RECORD_LINE 0x04 +#define AC97_RECORD_STEREO 0x05 +#define AC97_RECORD_MONO 0x06 +#define AC97_RECORD_PHONE 0x07 + +#ifndef M3_MODEL +#define AC97_RECORD_GAIN 0x1C +#endif +#define AC97_RECORD_VOL_M 0x0F + +#ifndef M3_MODEL +#define AC97_GENERAL_PURPOSE 0x20 +#endif +#define AC97_POWER_DOWN_CTRL 0x26 +#define AC97_ADC_READY 0x0001 +#define AC97_DAC_READY 0x0002 +#define AC97_ANALOG_READY 0x0004 +#define AC97_VREF_ON 0x0008 +#define AC97_PR0 0x0100 +#define AC97_PR1 0x0200 +#define AC97_PR2 0x0400 +#define AC97_PR3 0x0800 +#define AC97_PR4 0x1000 + +#define AC97_RESERVED1 0x28 + +#define AC97_VENDOR_TEST 0x5A + +#define AC97_CLOCK_DELAY 0x5C +#define AC97_LINEOUT_MUX_SEL 0x0001 +#define AC97_MONO_MUX_SEL 0x0002 +#define AC97_CLOCK_DELAY_SEL 0x1F +#define AC97_DAC_CDS_SHIFT 6 +#define AC97_ADC_CDS_SHIFT 11 + +#define AC97_MULTI_CHANNEL_SEL 0x74 + +#ifndef M3_MODEL +#define AC97_VENDOR_ID1 0x7C +#define AC97_VENDOR_ID2 0x7E +#endif + +#define RING_BUS_CTRL_A 0x36 +#define RAC_PME_ENABLE 0x0100 +#define RAC_SDFS_ENABLE 0x0200 +#define LAC_PME_ENABLE 0x0400 +#define LAC_SDFS_ENABLE 0x0800 +#define SERIAL_AC_LINK_ENABLE 0x1000 +#define IO_SRAM_ENABLE 0x2000 +#define IIS_INPUT_ENABLE 0x8000 + +#define RING_BUS_CTRL_B 0x38 +#define SECOND_CODEC_ID_MASK 0x0003 +#define SPDIF_FUNC_ENABLE 0x0010 +#define SECOND_AC_ENABLE 0x0020 +#define SB_MODULE_INTF_ENABLE 0x0040 +#define SSPE_ENABLE 0x0040 +#define M3I_DOCK_ENABLE 0x0080 + +#define SDO_OUT_DEST_CTRL 0x3A +#define COMMAND_ADDR_OUT 0x0003 +#define PCM_LR_OUT_LOCAL 0x0000 +#define PCM_LR_OUT_REMOTE 0x0004 +#define PCM_LR_OUT_MUTE 0x0008 +#define PCM_LR_OUT_BOTH 0x000C +#define LINE1_DAC_OUT_LOCAL 0x0000 +#define LINE1_DAC_OUT_REMOTE 0x0010 +#define LINE1_DAC_OUT_MUTE 0x0020 +#define LINE1_DAC_OUT_BOTH 0x0030 +#define PCM_CLS_OUT_LOCAL 0x0000 +#define PCM_CLS_OUT_REMOTE 0x0040 +#define PCM_CLS_OUT_MUTE 0x0080 +#define PCM_CLS_OUT_BOTH 0x00C0 +#define PCM_RLF_OUT_LOCAL 0x0000 +#define PCM_RLF_OUT_REMOTE 0x0100 +#define PCM_RLF_OUT_MUTE 0x0200 +#define PCM_RLF_OUT_BOTH 0x0300 +#define LINE2_DAC_OUT_LOCAL 0x0000 +#define LINE2_DAC_OUT_REMOTE 0x0400 +#define LINE2_DAC_OUT_MUTE 0x0800 +#define LINE2_DAC_OUT_BOTH 0x0C00 +#define HANDSET_OUT_LOCAL 0x0000 +#define HANDSET_OUT_REMOTE 0x1000 +#define HANDSET_OUT_MUTE 0x2000 +#define HANDSET_OUT_BOTH 0x3000 +#define IO_CTRL_OUT_LOCAL 0x0000 +#define IO_CTRL_OUT_REMOTE 0x4000 +#define IO_CTRL_OUT_MUTE 0x8000 +#define IO_CTRL_OUT_BOTH 0xC000 + +#define SDO_IN_DEST_CTRL 0x3C +#define STATUS_ADDR_IN 0x0003 +#define PCM_LR_IN_LOCAL 0x0000 +#define PCM_LR_IN_REMOTE 0x0004 +#define PCM_LR_RESERVED 0x0008 +#define PCM_LR_IN_BOTH 0x000C +#define LINE1_ADC_IN_LOCAL 0x0000 +#define LINE1_ADC_IN_REMOTE 0x0010 +#define LINE1_ADC_IN_MUTE 0x0020 +#define MIC_ADC_IN_LOCAL 0x0000 +#define MIC_ADC_IN_REMOTE 0x0040 +#define MIC_ADC_IN_MUTE 0x0080 +#define LINE2_DAC_IN_LOCAL 0x0000 +#define LINE2_DAC_IN_REMOTE 0x0400 +#define LINE2_DAC_IN_MUTE 0x0800 +#define HANDSET_IN_LOCAL 0x0000 +#define HANDSET_IN_REMOTE 0x1000 +#define HANDSET_IN_MUTE 0x2000 +#define IO_STATUS_IN_LOCAL 0x0000 +#define IO_STATUS_IN_REMOTE 0x4000 + +#define SPDIF_IN_CTRL 0x3E +#define SPDIF_IN_ENABLE 0x0001 + +#define GPIO_DATA 0x60 +#define GPIO_DATA_MASK 0x0FFF +#define GPIO_HV_STATUS 0x3000 +#define GPIO_PME_STATUS 0x4000 + +#define GPIO_MASK 0x64 +#define GPIO_DIRECTION 0x68 +#define GPO_PRIMARY_AC97 0x0001 +#define GPI_LINEOUT_SENSE 0x0004 +#define GPO_SECONDARY_AC97 0x0008 +#define GPI_VOL_DOWN 0x0010 +#define GPI_VOL_UP 0x0020 +#define GPI_IIS_CLK 0x0040 +#define GPI_IIS_LRCLK 0x0080 +#define GPI_IIS_DATA 0x0100 +#define GPI_DOCKING_STATUS 0x0100 +#define GPI_HEADPHONE_SENSE 0x0200 +#define GPO_EXT_AMP_SHUTDOWN 0x1000 + +/* M3 */ +#define GPO_M3_EXT_AMP_SHUTDN 0x0002 + +#define ASSP_INDEX_PORT 0x80 +#define ASSP_MEMORY_PORT 0x82 +#define ASSP_DATA_PORT 0x84 + +#define MPU401_DATA_PORT 0x98 +#define MPU401_STATUS_PORT 0x99 + +#define CLK_MULT_DATA_PORT 0x9C + +#define ASSP_CONTROL_A 0xA2 +#define ASSP_0_WS_ENABLE 0x01 +#define ASSP_CTRL_A_RESERVED1 0x02 +#define ASSP_CTRL_A_RESERVED2 0x04 +#define ASSP_CLK_49MHZ_SELECT 0x08 +#define FAST_PLU_ENABLE 0x10 +#define ASSP_CTRL_A_RESERVED3 0x20 +#define DSP_CLK_36MHZ_SELECT 0x40 + +#define ASSP_CONTROL_B 0xA4 +#define RESET_ASSP 0x00 +#define RUN_ASSP 0x01 +#define ENABLE_ASSP_CLOCK 0x00 +#define STOP_ASSP_CLOCK 0x10 +#define RESET_TOGGLE 0x40 + +#define ASSP_CONTROL_C 0xA6 +#define ASSP_HOST_INT_ENABLE 0x01 +#define FM_ADDR_REMAP_DISABLE 0x02 +#define HOST_WRITE_PORT_ENABLE 0x08 + +#define ASSP_HOST_INT_STATUS 0xAC +#define DSP2HOST_REQ_PIORECORD 0x01 +#define DSP2HOST_REQ_I2SRATE 0x02 +#define DSP2HOST_REQ_TIMER 0x04 + +/* + * DSP memory map + */ + +#define REV_A_CODE_MEMORY_BEGIN 0x0000 +#define REV_A_CODE_MEMORY_END 0x0FFF +#define REV_A_CODE_MEMORY_UNIT_LENGTH 0x0040 +#define REV_A_CODE_MEMORY_LENGTH (REV_A_CODE_MEMORY_END - REV_A_CODE_MEMORY_BEGIN + 1) + +#define REV_B_CODE_MEMORY_BEGIN 0x0000 +#define REV_B_CODE_MEMORY_END 0x0BFF +#define REV_B_CODE_MEMORY_UNIT_LENGTH 0x0040 +#define REV_B_CODE_MEMORY_LENGTH (REV_B_CODE_MEMORY_END - REV_B_CODE_MEMORY_BEGIN + 1) + +#if (REV_A_CODE_MEMORY_LENGTH % REV_A_CODE_MEMORY_UNIT_LENGTH) +#error Assumption about code memory unit length failed. +#endif +#if (REV_B_CODE_MEMORY_LENGTH % REV_B_CODE_MEMORY_UNIT_LENGTH) +#error Assumption about code memory unit length failed. +#endif + +#define REV_A_DATA_MEMORY_BEGIN 0x1000 +#define REV_A_DATA_MEMORY_END 0x2FFF +#define REV_A_DATA_MEMORY_UNIT_LENGTH 0x0080 +#define REV_A_DATA_MEMORY_LENGTH (REV_A_DATA_MEMORY_END - REV_A_DATA_MEMORY_BEGIN + 1) + +#define REV_B_DATA_MEMORY_BEGIN 0x1000 +/*#define REV_B_DATA_MEMORY_END 0x23FF */ +#define REV_B_DATA_MEMORY_END 0x2BFF +#define REV_B_DATA_MEMORY_UNIT_LENGTH 0x0080 +#define REV_B_DATA_MEMORY_LENGTH (REV_B_DATA_MEMORY_END - REV_B_DATA_MEMORY_BEGIN + 1) + +#if (REV_A_DATA_MEMORY_LENGTH % REV_A_DATA_MEMORY_UNIT_LENGTH) +#error Assumption about data memory unit length failed. +#endif +#if (REV_B_DATA_MEMORY_LENGTH % REV_B_DATA_MEMORY_UNIT_LENGTH) +#error Assumption about data memory unit length failed. +#endif + +#define CODE_MEMORY_MAP_LENGTH (64 + 1) +#define DATA_MEMORY_MAP_LENGTH (64 + 1) + +#if (CODE_MEMORY_MAP_LENGTH < ((REV_A_CODE_MEMORY_LENGTH / REV_A_CODE_MEMORY_UNIT_LENGTH) + 1)) +#error Code memory map length too short. +#endif +#if (DATA_MEMORY_MAP_LENGTH < ((REV_A_DATA_MEMORY_LENGTH / REV_A_DATA_MEMORY_UNIT_LENGTH) + 1)) +#error Data memory map length too short. +#endif +#if (CODE_MEMORY_MAP_LENGTH < ((REV_B_CODE_MEMORY_LENGTH / REV_B_CODE_MEMORY_UNIT_LENGTH) + 1)) +#error Code memory map length too short. +#endif +#if (DATA_MEMORY_MAP_LENGTH < ((REV_B_DATA_MEMORY_LENGTH / REV_B_DATA_MEMORY_UNIT_LENGTH) + 1)) +#error Data memory map length too short. +#endif + + +/* + * Kernel code memory definition + */ + +#define KCODE_VECTORS_BEGIN 0x0000 +#define KCODE_VECTORS_END 0x002F +#define KCODE_VECTORS_UNIT_LENGTH 0x0002 +#define KCODE_VECTORS_LENGTH (KCODE_VECTORS_END - KCODE_VECTORS_BEGIN + 1) + + +/* + * Kernel data memory definition + */ + +#define KDATA_BASE_ADDR 0x1000 +#define KDATA_BASE_ADDR2 0x1080 + +#define KDATA_TASK0 (KDATA_BASE_ADDR + 0x0000) +#define KDATA_TASK1 (KDATA_BASE_ADDR + 0x0001) +#define KDATA_TASK2 (KDATA_BASE_ADDR + 0x0002) +#define KDATA_TASK3 (KDATA_BASE_ADDR + 0x0003) +#define KDATA_TASK4 (KDATA_BASE_ADDR + 0x0004) +#define KDATA_TASK5 (KDATA_BASE_ADDR + 0x0005) +#define KDATA_TASK6 (KDATA_BASE_ADDR + 0x0006) +#define KDATA_TASK7 (KDATA_BASE_ADDR + 0x0007) +#define KDATA_TASK_ENDMARK (KDATA_BASE_ADDR + 0x0008) + +#define KDATA_CURRENT_TASK (KDATA_BASE_ADDR + 0x0009) +#define KDATA_TASK_SWITCH (KDATA_BASE_ADDR + 0x000A) + +#define KDATA_INSTANCE0_POS3D (KDATA_BASE_ADDR + 0x000B) +#define KDATA_INSTANCE1_POS3D (KDATA_BASE_ADDR + 0x000C) +#define KDATA_INSTANCE2_POS3D (KDATA_BASE_ADDR + 0x000D) +#define KDATA_INSTANCE3_POS3D (KDATA_BASE_ADDR + 0x000E) +#define KDATA_INSTANCE4_POS3D (KDATA_BASE_ADDR + 0x000F) +#define KDATA_INSTANCE5_POS3D (KDATA_BASE_ADDR + 0x0010) +#define KDATA_INSTANCE6_POS3D (KDATA_BASE_ADDR + 0x0011) +#define KDATA_INSTANCE7_POS3D (KDATA_BASE_ADDR + 0x0012) +#define KDATA_INSTANCE8_POS3D (KDATA_BASE_ADDR + 0x0013) +#define KDATA_INSTANCE_POS3D_ENDMARK (KDATA_BASE_ADDR + 0x0014) + +#define KDATA_INSTANCE0_SPKVIRT (KDATA_BASE_ADDR + 0x0015) +#define KDATA_INSTANCE_SPKVIRT_ENDMARK (KDATA_BASE_ADDR + 0x0016) + +#define KDATA_INSTANCE0_SPDIF (KDATA_BASE_ADDR + 0x0017) +#define KDATA_INSTANCE_SPDIF_ENDMARK (KDATA_BASE_ADDR + 0x0018) + +#define KDATA_INSTANCE0_MODEM (KDATA_BASE_ADDR + 0x0019) +#define KDATA_INSTANCE_MODEM_ENDMARK (KDATA_BASE_ADDR + 0x001A) + +#define KDATA_INSTANCE0_SRC (KDATA_BASE_ADDR + 0x001B) +#define KDATA_INSTANCE1_SRC (KDATA_BASE_ADDR + 0x001C) +#define KDATA_INSTANCE_SRC_ENDMARK (KDATA_BASE_ADDR + 0x001D) + +#define KDATA_INSTANCE0_MINISRC (KDATA_BASE_ADDR + 0x001E) +#define KDATA_INSTANCE1_MINISRC (KDATA_BASE_ADDR + 0x001F) +#define KDATA_INSTANCE2_MINISRC (KDATA_BASE_ADDR + 0x0020) +#define KDATA_INSTANCE3_MINISRC (KDATA_BASE_ADDR + 0x0021) +#define KDATA_INSTANCE_MINISRC_ENDMARK (KDATA_BASE_ADDR + 0x0022) + +#define KDATA_INSTANCE0_CPYTHRU (KDATA_BASE_ADDR + 0x0023) +#define KDATA_INSTANCE1_CPYTHRU (KDATA_BASE_ADDR + 0x0024) +#define KDATA_INSTANCE_CPYTHRU_ENDMARK (KDATA_BASE_ADDR + 0x0025) + +#define KDATA_CURRENT_DMA (KDATA_BASE_ADDR + 0x0026) +#define KDATA_DMA_SWITCH (KDATA_BASE_ADDR + 0x0027) +#define KDATA_DMA_ACTIVE (KDATA_BASE_ADDR + 0x0028) + +#define KDATA_DMA_XFER0 (KDATA_BASE_ADDR + 0x0029) +#define KDATA_DMA_XFER1 (KDATA_BASE_ADDR + 0x002A) +#define KDATA_DMA_XFER2 (KDATA_BASE_ADDR + 0x002B) +#define KDATA_DMA_XFER3 (KDATA_BASE_ADDR + 0x002C) +#define KDATA_DMA_XFER4 (KDATA_BASE_ADDR + 0x002D) +#define KDATA_DMA_XFER5 (KDATA_BASE_ADDR + 0x002E) +#define KDATA_DMA_XFER6 (KDATA_BASE_ADDR + 0x002F) +#define KDATA_DMA_XFER7 (KDATA_BASE_ADDR + 0x0030) +#define KDATA_DMA_XFER8 (KDATA_BASE_ADDR + 0x0031) +#define KDATA_DMA_XFER_ENDMARK (KDATA_BASE_ADDR + 0x0032) + +#define KDATA_I2S_SAMPLE_COUNT (KDATA_BASE_ADDR + 0x0033) +#define KDATA_I2S_INT_METER (KDATA_BASE_ADDR + 0x0034) +#define KDATA_I2S_ACTIVE (KDATA_BASE_ADDR + 0x0035) + +#define KDATA_TIMER_COUNT_RELOAD (KDATA_BASE_ADDR + 0x0036) +#define KDATA_TIMER_COUNT_CURRENT (KDATA_BASE_ADDR + 0x0037) + +#define KDATA_HALT_SYNCH_CLIENT (KDATA_BASE_ADDR + 0x0038) +#define KDATA_HALT_SYNCH_DMA (KDATA_BASE_ADDR + 0x0039) +#define KDATA_HALT_ACKNOWLEDGE (KDATA_BASE_ADDR + 0x003A) + +#define KDATA_ADC1_XFER0 (KDATA_BASE_ADDR + 0x003B) +#define KDATA_ADC1_XFER_ENDMARK (KDATA_BASE_ADDR + 0x003C) +#define KDATA_ADC1_LEFT_VOLUME (KDATA_BASE_ADDR + 0x003D) +#define KDATA_ADC1_RIGHT_VOLUME (KDATA_BASE_ADDR + 0x003E) +#define KDATA_ADC1_LEFT_SUR_VOL (KDATA_BASE_ADDR + 0x003F) +#define KDATA_ADC1_RIGHT_SUR_VOL (KDATA_BASE_ADDR + 0x0040) + +#define KDATA_ADC2_XFER0 (KDATA_BASE_ADDR + 0x0041) +#define KDATA_ADC2_XFER_ENDMARK (KDATA_BASE_ADDR + 0x0042) +#define KDATA_ADC2_LEFT_VOLUME (KDATA_BASE_ADDR + 0x0043) +#define KDATA_ADC2_RIGHT_VOLUME (KDATA_BASE_ADDR + 0x0044) +#define KDATA_ADC2_LEFT_SUR_VOL (KDATA_BASE_ADDR + 0x0045) +#define KDATA_ADC2_RIGHT_SUR_VOL (KDATA_BASE_ADDR + 0x0046) + +#define KDATA_CD_XFER0 (KDATA_BASE_ADDR + 0x0047) +#define KDATA_CD_XFER_ENDMARK (KDATA_BASE_ADDR + 0x0048) +#define KDATA_CD_LEFT_VOLUME (KDATA_BASE_ADDR + 0x0049) +#define KDATA_CD_RIGHT_VOLUME (KDATA_BASE_ADDR + 0x004A) +#define KDATA_CD_LEFT_SUR_VOL (KDATA_BASE_ADDR + 0x004B) +#define KDATA_CD_RIGHT_SUR_VOL (KDATA_BASE_ADDR + 0x004C) + +#define KDATA_MIC_XFER0 (KDATA_BASE_ADDR + 0x004D) +#define KDATA_MIC_XFER_ENDMARK (KDATA_BASE_ADDR + 0x004E) +#define KDATA_MIC_VOLUME (KDATA_BASE_ADDR + 0x004F) +#define KDATA_MIC_SUR_VOL (KDATA_BASE_ADDR + 0x0050) + +#define KDATA_I2S_XFER0 (KDATA_BASE_ADDR + 0x0051) +#define KDATA_I2S_XFER_ENDMARK (KDATA_BASE_ADDR + 0x0052) + +#define KDATA_CHI_XFER0 (KDATA_BASE_ADDR + 0x0053) +#define KDATA_CHI_XFER_ENDMARK (KDATA_BASE_ADDR + 0x0054) + +#define KDATA_SPDIF_XFER (KDATA_BASE_ADDR + 0x0055) +#define KDATA_SPDIF_CURRENT_FRAME (KDATA_BASE_ADDR + 0x0056) +#define KDATA_SPDIF_FRAME0 (KDATA_BASE_ADDR + 0x0057) +#define KDATA_SPDIF_FRAME1 (KDATA_BASE_ADDR + 0x0058) +#define KDATA_SPDIF_FRAME2 (KDATA_BASE_ADDR + 0x0059) + +#define KDATA_SPDIF_REQUEST (KDATA_BASE_ADDR + 0x005A) +#define KDATA_SPDIF_TEMP (KDATA_BASE_ADDR + 0x005B) + +/*AY SPDIF IN */ +#define KDATA_SPDIFIN_XFER0 (KDATA_BASE_ADDR + 0x005C) +#define KDATA_SPDIFIN_XFER_ENDMARK (KDATA_BASE_ADDR + 0x005D) +#define KDATA_SPDIFIN_INT_METER (KDATA_BASE_ADDR + 0x005E) + +#define KDATA_DSP_RESET_COUNT (KDATA_BASE_ADDR + 0x005F) +#define KDATA_DEBUG_OUTPUT (KDATA_BASE_ADDR + 0x0060) + +#define KDATA_KERNEL_ISR_LIST (KDATA_BASE_ADDR + 0x0061) + +#define KDATA_KERNEL_ISR_CBSR1 (KDATA_BASE_ADDR + 0x0062) +#define KDATA_KERNEL_ISR_CBER1 (KDATA_BASE_ADDR + 0x0063) +#define KDATA_KERNEL_ISR_CBCR (KDATA_BASE_ADDR + 0x0064) +#define KDATA_KERNEL_ISR_AR0 (KDATA_BASE_ADDR + 0x0065) +#define KDATA_KERNEL_ISR_AR1 (KDATA_BASE_ADDR + 0x0066) +#define KDATA_KERNEL_ISR_AR2 (KDATA_BASE_ADDR + 0x0067) +#define KDATA_KERNEL_ISR_AR3 (KDATA_BASE_ADDR + 0x0068) +#define KDATA_KERNEL_ISR_AR4 (KDATA_BASE_ADDR + 0x0069) +#define KDATA_KERNEL_ISR_AR5 (KDATA_BASE_ADDR + 0x006A) +#define KDATA_KERNEL_ISR_BRCR (KDATA_BASE_ADDR + 0x006B) +#define KDATA_KERNEL_ISR_PASR (KDATA_BASE_ADDR + 0x006C) +#define KDATA_KERNEL_ISR_PAER (KDATA_BASE_ADDR + 0x006D) + +#define KDATA_CLIENT_SCRATCH0 (KDATA_BASE_ADDR + 0x006E) +#define KDATA_CLIENT_SCRATCH1 (KDATA_BASE_ADDR + 0x006F) +#define KDATA_KERNEL_SCRATCH (KDATA_BASE_ADDR + 0x0070) +#define KDATA_KERNEL_ISR_SCRATCH (KDATA_BASE_ADDR + 0x0071) + +#define KDATA_OUEUE_LEFT (KDATA_BASE_ADDR + 0x0072) +#define KDATA_QUEUE_RIGHT (KDATA_BASE_ADDR + 0x0073) + +#define KDATA_ADC1_REQUEST (KDATA_BASE_ADDR + 0x0074) +#define KDATA_ADC2_REQUEST (KDATA_BASE_ADDR + 0x0075) +#define KDATA_CD_REQUEST (KDATA_BASE_ADDR + 0x0076) +#define KDATA_MIC_REQUEST (KDATA_BASE_ADDR + 0x0077) + +#define KDATA_ADC1_MIXER_REQUEST (KDATA_BASE_ADDR + 0x0078) +#define KDATA_ADC2_MIXER_REQUEST (KDATA_BASE_ADDR + 0x0079) +#define KDATA_CD_MIXER_REQUEST (KDATA_BASE_ADDR + 0x007A) +#define KDATA_MIC_MIXER_REQUEST (KDATA_BASE_ADDR + 0x007B) +#define KDATA_MIC_SYNC_COUNTER (KDATA_BASE_ADDR + 0x007C) + +/* + * second segment + */ + +/* smart mixer buffer */ + +#define KDATA_MIXER_WORD0 (KDATA_BASE_ADDR2 + 0x0000) +#define KDATA_MIXER_WORD1 (KDATA_BASE_ADDR2 + 0x0001) +#define KDATA_MIXER_WORD2 (KDATA_BASE_ADDR2 + 0x0002) +#define KDATA_MIXER_WORD3 (KDATA_BASE_ADDR2 + 0x0003) +#define KDATA_MIXER_WORD4 (KDATA_BASE_ADDR2 + 0x0004) +#define KDATA_MIXER_WORD5 (KDATA_BASE_ADDR2 + 0x0005) +#define KDATA_MIXER_WORD6 (KDATA_BASE_ADDR2 + 0x0006) +#define KDATA_MIXER_WORD7 (KDATA_BASE_ADDR2 + 0x0007) +#define KDATA_MIXER_WORD8 (KDATA_BASE_ADDR2 + 0x0008) +#define KDATA_MIXER_WORD9 (KDATA_BASE_ADDR2 + 0x0009) +#define KDATA_MIXER_WORDA (KDATA_BASE_ADDR2 + 0x000A) +#define KDATA_MIXER_WORDB (KDATA_BASE_ADDR2 + 0x000B) +#define KDATA_MIXER_WORDC (KDATA_BASE_ADDR2 + 0x000C) +#define KDATA_MIXER_WORDD (KDATA_BASE_ADDR2 + 0x000D) +#define KDATA_MIXER_WORDE (KDATA_BASE_ADDR2 + 0x000E) +#define KDATA_MIXER_WORDF (KDATA_BASE_ADDR2 + 0x000F) + +#define KDATA_MIXER_XFER0 (KDATA_BASE_ADDR2 + 0x0010) +#define KDATA_MIXER_XFER1 (KDATA_BASE_ADDR2 + 0x0011) +#define KDATA_MIXER_XFER2 (KDATA_BASE_ADDR2 + 0x0012) +#define KDATA_MIXER_XFER3 (KDATA_BASE_ADDR2 + 0x0013) +#define KDATA_MIXER_XFER4 (KDATA_BASE_ADDR2 + 0x0014) +#define KDATA_MIXER_XFER5 (KDATA_BASE_ADDR2 + 0x0015) +#define KDATA_MIXER_XFER6 (KDATA_BASE_ADDR2 + 0x0016) +#define KDATA_MIXER_XFER7 (KDATA_BASE_ADDR2 + 0x0017) +#define KDATA_MIXER_XFER8 (KDATA_BASE_ADDR2 + 0x0018) +#define KDATA_MIXER_XFER9 (KDATA_BASE_ADDR2 + 0x0019) +#define KDATA_MIXER_XFER_ENDMARK (KDATA_BASE_ADDR2 + 0x001A) + +#define KDATA_MIXER_TASK_NUMBER (KDATA_BASE_ADDR2 + 0x001B) +#define KDATA_CURRENT_MIXER (KDATA_BASE_ADDR2 + 0x001C) +#define KDATA_MIXER_ACTIVE (KDATA_BASE_ADDR2 + 0x001D) +#define KDATA_MIXER_BANK_STATUS (KDATA_BASE_ADDR2 + 0x001E) +#define KDATA_DAC_LEFT_VOLUME (KDATA_BASE_ADDR2 + 0x001F) +#define KDATA_DAC_RIGHT_VOLUME (KDATA_BASE_ADDR2 + 0x0020) + +/* + * Client data memory definition + */ + +#define CDATA_INSTANCE_READY 0x00 + +#define CDATA_HOST_SRC_ADDRL 0x01 +#define CDATA_HOST_SRC_ADDRH 0x02 +#define CDATA_HOST_SRC_END_PLUS_1L 0x03 +#define CDATA_HOST_SRC_END_PLUS_1H 0x04 +#define CDATA_HOST_SRC_CURRENTL 0x05 +#define CDATA_HOST_SRC_CURRENTH 0x06 + +#define CDATA_IN_BUF_CONNECT 0x07 +#define CDATA_OUT_BUF_CONNECT 0x08 + +#define CDATA_IN_BUF_BEGIN 0x09 +#define CDATA_IN_BUF_END_PLUS_1 0x0A +#define CDATA_IN_BUF_HEAD 0x0B +#define CDATA_IN_BUF_TAIL 0x0C + +#define CDATA_OUT_BUF_BEGIN 0x0D +#define CDATA_OUT_BUF_END_PLUS_1 0x0E +#define CDATA_OUT_BUF_HEAD 0x0F +#define CDATA_OUT_BUF_TAIL 0x10 + +#define CDATA_DMA_CONTROL 0x11 +#define CDATA_RESERVED 0x12 + +#define CDATA_FREQUENCY 0x13 +#define CDATA_LEFT_VOLUME 0x14 +#define CDATA_RIGHT_VOLUME 0x15 +#define CDATA_LEFT_SUR_VOL 0x16 +#define CDATA_RIGHT_SUR_VOL 0x17 + +/* These are from Allegro hckernel.h */ +#define CDATA_HEADER_LEN 0x18 +#define SRC3_DIRECTION_OFFSET CDATA_HEADER_LEN +#define SRC3_MODE_OFFSET CDATA_HEADER_LEN + 1 +#define SRC3_WORD_LENGTH_OFFSET CDATA_HEADER_LEN + 2 +#define SRC3_PARAMETER_OFFSET CDATA_HEADER_LEN + 3 +#define SRC3_COEFF_ADDR_OFFSET CDATA_HEADER_LEN + 8 +#define SRC3_FILTAP_ADDR_OFFSET CDATA_HEADER_LEN + 10 +#define SRC3_TEMP_INBUF_ADDR_OFFSET CDATA_HEADER_LEN + 16 +#define SRC3_TEMP_OUTBUF_ADDR_OFFSET CDATA_HEADER_LEN + 17 +#define FOR_FUTURE_USE 10 /* for storing temporary variable in future */ + +/* + * DMA control definition + */ + +#define DMACONTROL_BLOCK_MASK 0x000F +#define DMAC_BLOCK0_SELECTOR 0x0000 +#define DMAC_BLOCK1_SELECTOR 0x0001 +#define DMAC_BLOCK2_SELECTOR 0x0002 +#define DMAC_BLOCK3_SELECTOR 0x0003 +#define DMAC_BLOCK4_SELECTOR 0x0004 +#define DMAC_BLOCK5_SELECTOR 0x0005 +#define DMAC_BLOCK6_SELECTOR 0x0006 +#define DMAC_BLOCK7_SELECTOR 0x0007 +#define DMAC_BLOCK8_SELECTOR 0x0008 +#define DMAC_BLOCK9_SELECTOR 0x0009 +#define DMAC_BLOCKA_SELECTOR 0x000A +#define DMAC_BLOCKB_SELECTOR 0x000B +#define DMAC_BLOCKC_SELECTOR 0x000C +#define DMAC_BLOCKD_SELECTOR 0x000D +#define DMAC_BLOCKE_SELECTOR 0x000E +#define DMAC_BLOCKF_SELECTOR 0x000F +#define DMACONTROL_PAGE_MASK 0x00F0 +#define DMAC_PAGE0_SELECTOR 0x0030 +#define DMAC_PAGE1_SELECTOR 0x0020 +#define DMAC_PAGE2_SELECTOR 0x0010 +#define DMAC_PAGE3_SELECTOR 0x0000 +#define DMACONTROL_AUTOREPEAT 0x1000 +#define DMACONTROL_STOPPED 0x2000 +#define DMACONTROL_DIRECTION 0x0100 + +/* + * Kernel/client memory allocation + */ + +#define NUM_UNITS_KERNEL_CODE 16 +#define NUM_UNITS_KERNEL_DATA 2 + +#define NUM_UNITS_KERNEL_CODE_WITH_HSP 16 +#ifdef M3_MODEL +#define NUM_UNITS_KERNEL_DATA_WITH_HSP 5 +#else +#define NUM_UNITS_KERNEL_DATA_WITH_HSP 4 +#endif + +#define NUM_UNITS( BYTES, UNITLEN ) ((((BYTES+1)>>1) + (UNITLEN-1)) / UNITLEN) + +/* + * DSP hardware + */ + +#define DSP_PORT_TIMER_COUNT 0x06 +#define DSP_PORT_MEMORY_INDEX 0x80 +#define DSP_PORT_MEMORY_TYPE 0x82 +#define DSP_PORT_MEMORY_DATA 0x84 +#define DSP_PORT_CONTROL_REG_A 0xA2 *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 4 18:38:35 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C3B1065677 for ; Sat, 4 Feb 2012 18:38:35 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id EFCB18FC13 for ; Sat, 4 Feb 2012 18:38:34 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so5018655wgb.31 for ; Sat, 04 Feb 2012 10:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vm5vMoIfkGOemo1iFiv3KzIhsj2cEuAeUp3M0Lgl2O4=; b=MrcqoOEk9DPBFSrsuZP2DWjKEnArGvI/nk1NL5rDKTpsf6+sLeWDmKEto4dsdcYV14 ISt7EPr74B//nmGr8p/Cp+BShOKjZLEGPXDrA1LpCqMJeFcw7wj5pLohGXXjWMxL9sQt bH6DDhOIPLKRlGn2DwwZH0Jl39kCm1vzi0Yio= MIME-Version: 1.0 Received: by 10.180.107.68 with SMTP id ha4mr18544968wib.9.1328380713838; Sat, 04 Feb 2012 10:38:33 -0800 (PST) Received: by 10.223.94.140 with HTTP; Sat, 4 Feb 2012 10:38:33 -0800 (PST) In-Reply-To: <7437262.19339411327857062810.JavaMail.defaultUser@defaultHost> References: <7437262.19339411327857062810.JavaMail.defaultUser@defaultHost> Date: Sat, 4 Feb 2012 19:38:33 +0100 Message-ID: From: Thomas Zander To: Barbara Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: last mplayer and h264 videos X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 18:38:35 -0000 On Sun, Jan 29, 2012 at 18:11, Barbara wrote: > I've found the problem, at least for me, as it seems I'm the only one > experiencing this. > The problem is OCFLAGS. > Building the port WITHOUT_OCFLAGS results in mplayer reproducing the example > video with no problem. Hmm...miscompilation is ugly business... would you mind compiling it with gcc46 (there is an option) or clang? Does that solve the problem too? Riggs From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 4 23:16:55 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3BF106566B for ; Sat, 4 Feb 2012 23:16:55 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from outrelay03.libero.it (outrelay03.libero.it [212.52.84.103]) by mx1.freebsd.org (Postfix) with ESMTP id 383A38FC08 for ; Sat, 4 Feb 2012 23:16:54 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0208.4F2DBC65.0068,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail55 (172.31.0.246) by outrelay03.libero.it (8.5.140) (authenticated as barbara.xxx1975@libero.it) id 4F26AB1F00C1A95D; Sun, 5 Feb 2012 00:16:53 +0100 Message-ID: <20055867.22408191328397413445.JavaMail.defaultUser@defaultHost> Date: Sun, 5 Feb 2012 00:16:53 +0100 (CET) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.6.221.149 Cc: freebsd-multimedia@freebsd.org Subject: last mplayer and h264 videos X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 23:16:55 -0000 > >On Sun, Jan 29, 2012 at 18:11, Barbara wrote: > >> I've found the problem, at least for me, as it seems I'm the only one >> experiencing this. >> The problem is OCFLAGS. >> Building the port WITHOUT_OCFLAGS results in mplayer reproducing the example >> video with no problem. > >Hmm...miscompilation is ugly business... would you mind compiling it >with gcc46 (there is an option) or clang? Does that solve the problem >too? > I can confirm that rebuilding it with both OCFLAGS and OTCHAIN solved the problem as well. So it seems that the problem raises only using the combination gcc from base+OCFLAGS. Thanks Barbara