From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 21 19:00:56 2009 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 C206C1065670 for ; Sun, 21 Jun 2009 19:00:56 +0000 (UTC) (envelope-from mike@mike-burns.com) Received: from suspended.mike-burns.com (suspended.mike-burns.com [38.111.0.254]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8D98FC1C for ; Sun, 21 Jun 2009 19:00:56 +0000 (UTC) (envelope-from mike@mike-burns.com) Received: by suspended.mike-burns.com (Postfix, from userid 1001) id 168AE3ED41; Sun, 21 Jun 2009 14:40:00 -0400 (EDT) Date: Sun, 21 Jun 2009 14:40:00 -0400 From: Mike Burns To: freebsd-multimedia@freebsd.org Message-ID: <20090621184000.GM26818@suspended.mike-burns.com> Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: PulseAudio only works with headphones 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, 21 Jun 2009 19:00:57 -0000 Not too many details for this one, sadly. Totem, etc., only output audio through the line-out (headphone) jack. In GNOME, System > Preferences > Sound > Output only lists /dev/dsp0 . [mike] ~% cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) [mike] ~% ps ax | grep pulse 1408 ?? Is 0:00.97 /usr/local/bin/pulseaudio --start --log-target=syslog 1409 ?? I 0:00.01 /usr/local/libexec/pulse/gconf-helper [mike] ~% pulseaudio --version I: caps.c: Dropping root privileges. W: main.c: High-priority scheduling enabled in configuration but not allowed by policy. pulseaudio 0.9.14 A bit of a background on this system: freshly installed 7.2-RELEASE a week ago, upgraded the OS to -STABLE and the ports to the latest as of Saturday. The computer is a Thinkpad T500. [mike] ~% uname -a FreeBSD battered.mike-burns.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 20 11:04:19 EDT 2009 root@battered.mike-burns.com:/usr/obj/usr/src/sys/BATTERED amd64 -- Mike Burns mike@mike-burns.com http://mike-burns.com From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 21 19:25:13 2009 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 93FAE1065675 for ; Sun, 21 Jun 2009 19:25:13 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 522278FC0C for ; Sun, 21 Jun 2009 19:25:13 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.4] (adsl-149-142-42.bna.bellsouth.net [70.149.142.42]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n5LJEIQ7052772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Jun 2009 15:14:18 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Mike Burns In-Reply-To: <20090621184000.GM26818@suspended.mike-burns.com> References: <20090621184000.GM26818@suspended.mike-burns.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-cjwODJMOUXiXz/7sYBvE" Organization: FreeBSD Date: Sun, 21 Jun 2009 14:14:12 -0500 Message-Id: <1245611652.1724.56.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RCVD_IN_PBL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-multimedia@freebsd.org Subject: Re: PulseAudio only works with headphones 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, 21 Jun 2009 19:25:13 -0000 --=-cjwODJMOUXiXz/7sYBvE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2009-06-21 at 14:40 -0400, Mike Burns wrote: > Not too many details for this one, sadly. Totem, etc., only output audio=20 > through the line-out (headphone) jack. >=20 > In GNOME, System > Preferences > Sound > Output only lists /dev/dsp0 . Gnome only knows how to deal with dsp0. IMHO, that needs to be fixed upstream, but I have no idea if it is being worked on. > [mike] ~% cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) > Installed devices: > pcm0: at cad 0 nid 1 on hd= ac0=20 > kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) > pcm1: at cad 0 nid 1 on hd= ac0=20 > kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) You have 2 analog codecs. Try setting hw.snd.default_unit=3D1 and see if you get output on different ports. On my ASUS board I have the following: hdac0: HDA Codec #0: Analog Devices AD1989B pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 pcm3: at cad 0 nid 1 on hdac0 pcm0 is my rear analog audio codec, pcm1 is my front panel analog outputs, pcm2 is rear digital and pcm3 (I think) is my front panel digital. If you have a graphics card which supports HDMI, (ATI cards at least) the HDMI codec often shows up as pcm0 which can cause issues if you don't get everything configured properly. robert. > [mike] ~% ps ax | grep pulse > 1408 ?? Is 0:00.97 /usr/local/bin/pulseaudio --start --log-target= =3Dsyslog > 1409 ?? I 0:00.01 /usr/local/libexec/pulse/gconf-helper > [mike] ~% pulseaudio --version > I: caps.c: Dropping root privileges. > W: main.c: High-priority scheduling enabled in configuration but not allo= wed=20 > by policy. > pulseaudio 0.9.14 >=20 >=20 > A bit of a background on this system: freshly installed 7.2-RELEASE a wee= k=20 > ago, upgraded the OS to -STABLE and the ports to the latest as of Saturda= y. =20 > The computer is a Thinkpad T500. >=20 > [mike] ~% uname -a > FreeBSD battered.mike-burns.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun= 20=20 > 11:04:19 EDT 2009 =20 > root@battered.mike-burns.com:/usr/obj/usr/src/sys/BATTERED amd64 --=20 Robert Noland FreeBSD --=-cjwODJMOUXiXz/7sYBvE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAko+hoQACgkQM4TrQ4qfROOfOACfdnfyJzRQsidW+h/ruYGhFBCU cqQAniMD+vJYbf+7os9Vhw/RPHsxRyB7 =Gswi -----END PGP SIGNATURE----- --=-cjwODJMOUXiXz/7sYBvE-- From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 21 19:41:29 2009 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 86877106566C for ; Sun, 21 Jun 2009 19:41:29 +0000 (UTC) (envelope-from mike@mike-burns.com) Received: from suspended.mike-burns.com (suspended.mike-burns.com [38.111.0.254]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0498FC2A for ; Sun, 21 Jun 2009 19:41:29 +0000 (UTC) (envelope-from mike@mike-burns.com) Received: by suspended.mike-burns.com (Postfix, from userid 1001) id 7F0903ED58; Sun, 21 Jun 2009 15:38:55 -0400 (EDT) Date: Sun, 21 Jun 2009 15:38:55 -0400 From: Mike Burns To: Robert Noland Message-ID: <20090621193855.GN26818@suspended.mike-burns.com> Mail-Followup-To: Robert Noland , freebsd-multimedia@freebsd.org References: <20090621184000.GM26818@suspended.mike-burns.com> <1245611652.1724.56.camel@balrog.2hip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1245611652.1724.56.camel@balrog.2hip.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-multimedia@freebsd.org Subject: Re: PulseAudio only works with headphones 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, 21 Jun 2009 19:41:29 -0000 On 2009-06-21 14.14.12 -0500, Robert Noland wrote: > On Sun, 2009-06-21 at 14:40 -0400, Mike Burns wrote: > > In GNOME, System > Preferences > Sound > Output only lists /dev/dsp0 . > > Gnome only knows how to deal with dsp0. IMHO, that needs to be fixed > upstream, but I have no idea if it is being worked on. I see no bugs about this on bugzilla.gnome.org, but I do see this: https://bugs.launchpad.net/ubuntu/+bug/96198 . Could be related. In which project should this bug be reported? PulseAudio? > > [mike] ~% cat /dev/sndstat > > FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) > > Installed devices: > > pcm0: at cad 0 nid 1 on hdac0 > > kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) > > pcm1: at cad 0 nid 1 on hdac0 > > kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > > You have 2 analog codecs. Try setting hw.snd.default_unit=1 and see if > you get output on different ports. Tried that, set it in my /etc/sysctl.conf, rebooted; still nothing. -- Mike Burns mike@mike-burns.com http://mike-burns.com From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 22 08:20:05 2009 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 369A91065674 for ; Mon, 22 Jun 2009 08:20:05 +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 2366A8FC1C for ; Mon, 22 Jun 2009 08:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5M8K4B0086331 for ; Mon, 22 Jun 2009 08:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5M8K4Of086330; Mon, 22 Jun 2009 08:20:04 GMT (envelope-from gnats) Date: Mon, 22 Jun 2009 08:20:04 GMT Message-Id: <200906220820.n5M8K4Of086330@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: "Joseph S. Atkinson" Cc: Subject: Re: kern/135556: [snd_hda] Sound (mostly) broken w/ snd_hda on -CURRENT X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Joseph S. Atkinson" List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 08:20:05 -0000 The following reply was made to PR kern/135556; it has been noted by GNATS. From: "Joseph S. Atkinson" To: bug-followup@FreeBSD.org, Ariff Abdullag Cc: Subject: Re: kern/135556: [snd_hda] Sound (mostly) broken w/ snd_hda on -CURRENT Date: Mon, 22 Jun 2009 04:17:07 -0400 What I am suspecting is going on here is that sound will only pipe through pcm0 and that hw.snd.default_unit may be honored, but meaningless. I'm doing as much testing on this as I can with what I have. So far, sound only comes up when I manually kldload snd_hda still. Doing so makes the AL888 come up as hdac0 and pcm0 through pcm2 and the R6xx HDMI port as hdac1/pcm3. I can switch hw.snd.default_unit around however, and sound will stop on pcm0 if I point it at another pcm device. There may be sound going there, but I don't have speakers on those ports yet (plan to test that tomorrow). I am thinking that if sound isn't on pcm0, then it goes nowhere. So booting with snd_hda_load="YES" forces detection of the HDMI port first, making it pcm0, then the sysctl sets it to pcm1. But via my suspected bug, the signal isn't making it to pcm1, because it is only working for pcm0. Tomorrow, I will test this theory by hooking up speakers to another AL888 sound jack. If I get no sound from the pcm1 device on AL888 as hdac0, it should be an indicator that the problem is just some misdirection for devices other than pcm0. If you know a way of disabling the HDMI port, preventing it from even being probed, it might help me. Doing so would force snd_hda to detect AL888 only and other factors affecting sound-on-boot could be eliminated. I will email again tomorrow when I test my pcm1 device, and am willing to try any and all patches you may have here. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 22 11:07:00 2009 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 59C62106566C for ; Mon, 22 Jun 2009 11:07:00 +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 45D288FC08 for ; Mon, 22 Jun 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5MB700d018114 for ; Mon, 22 Jun 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5MB6xAe018111 for freebsd-multimedia@FreeBSD.org; Mon, 22 Jun 2009 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Jun 2009 11:06:59 GMT Message-Id: <200906221106.n5MB6xAe018111@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, 22 Jun 2009 11:07:00 -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/135556 multimedia [snd_hda] Sound (mostly) broken w/ snd_hda on -CURRENT o ports/135313 multimedia (patch) Update multimedia/podcatcher to 3.1.4 (Sep 200 o ports/135238 multimedia [patch] OPTIONS support in multimedia/transcode o kern/134767 multimedia [snd_hda] Sigmatel STAC9205X no sound under RELENG_7_2 o ports/134699 multimedia multimedia/gstreamer-ffmpeg - /usr/X11R6/bin: file not o ports/134273 multimedia [patch] multimedia/ffmpeg - avoid crash in multimedia/ o ports/133959 multimedia multimedia/transcode: update o ports/133462 multimedia multimedia/x264 build fails on powerpc o kern/132848 multimedia [snd_emu10kx] driver problem with card init, snd_emu10 o kern/132511 multimedia [snd_hda] Probing ALC888 codec on ASRock K10N78-1394 f o ports/132431 multimedia multimedia/ogmtools dvdxchap are not installed. f kern/132336 multimedia [snd_hda] Realtek ALC888 audio chipset does not work w o ports/131331 multimedia multimedia/ffmpeg: doc/texi2pod.pl bad perl path f ports/130569 multimedia multimedia/gstreamer: gnome-volume-control menu item d o ports/130146 multimedia [PATCH] multimedia/transcode: update to 1.0.7 o ports/129800 multimedia Update port: multimedia/ffmpeg avoid crash in multimed o kern/129604 multimedia [pcm]: Sound stops with error: pcm0:virtual:dsp0.vp0: o ports/128086 multimedia Add schroedinger (dirac) codec support for multimedia/ o ports/127672 multimedia multimedia/transcode won't compile with ImageMagick in o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron o ports/127084 multimedia multimedia/linux-realplayer is vulnerable o ports/126668 multimedia [patch] multimedia/ffmpeg - quick and dirty symbol bui f ports/126043 multimedia multimedia/ffmpeg: ffplay returns Undefined symbol "pt o ports/126020 multimedia multimedia/transcode depends on wrong version of lzo o ports/126019 multimedia [patch] multimedia/transcode patch revision s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus f ports/124727 multimedia multimedia/gstreamer-ffmpeg 0.10.4_1 configure fails f ports/124501 multimedia multimedia/gstreamer-ffmpeg version 0.10.4_1 compile f o kern/124319 multimedia [snd_emu10k1] [regression] Cannot record from second c f ports/122922 multimedia [patch] multimedia/ffmpeg text output is mangled o ports/122305 multimedia multimedia/gstreame - gst-inspect-0.10 hangs when chec 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 [snd_emu10k1] snd_emu10k1 driver issues a warning on u o kern/120780 multimedia [snd_hda] snd_hda doesn't work on Dell Latitutude D530 o kern/119973 multimedia [snd_maestro] snd_maestro only works after reload [reg o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [snd_emu10k1] Can not record anything with emu10k1 on o ports/118237 multimedia Ports: multimedia/ffmpeg fix configure option and add o ports/118168 multimedia [patch] multimedia/transcode - Add WITHOUT_X11 and WIT o kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [snd_hda] snd_hda(4) fails to attach on -CURRENT [regr o kern/114760 multimedia [snd_cmi] snd_cmi driver causing sporadic system hangs s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [snd_emu10k1] - skips, clicks and lag after a day of h o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [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 [snd_ich] snd_ich broken on GIGABYTE 915 system 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 [snd_ich] some functions don't work in my sound kernel o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [snd_mss] doesn't work in 6.0-RELEASE and above for Cr 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 [snd_neomagic] snd_neomagic crashes on FreeBSD 5.4 and 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 [snd_mss] [patch] support, docs added for full-duplex, 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 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 [snd_csa] [patch] csa DMA-interrupt problem 76 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 23 16:09:39 2009 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 4630E106564A; Tue, 23 Jun 2009 16:09:39 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 7C08D8FC1F; Tue, 23 Jun 2009 16:09:38 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from qat.tcbug.org (216-243-150-125.static.iphouse.net [216.243.150.125]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id 15EB622C52B5; Tue, 23 Jun 2009 19:10:24 +0300 (EEST) Received: by qat.tcbug.org (Postfix, from userid 0) id 8E8DC39810; Tue, 23 Jun 2009 16:09:01 +0000 (UTC) From: QAT@FreeBSD.org To: kwm@FreeBSD.org In-Reply-To: <200906231603.n5NG36Gu021510@repoman.freebsd.org> References: <200906231603.n5NG36Gu021510@repoman.freebsd.org> X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-devel-3.2_4; dsversion: 3.2 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_7 X-QAT-Jail_Last_Built: 2009-05-20 11:48:40 X-QAT-Port: multimedia/gstreamer-plugins-gnonlin X-QAT-Log: http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/gstreamer-plugins-gnonlin-0.10.11.log X-QAT-Build_Reason: Commit X-QAT-Fail_Reason: PLIST Message-Id: <20090623160901.8E8DC39810@qat.tcbug.org> Date: Tue, 23 Jun 2009 16:09:01 +0000 (UTC) Cc: cvs-ports@FreeBSD.org, multimedia@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/multimedia/gstreamer-plugins-gnonlin Makefile distinfo 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: Tue, 23 Jun 2009 16:09:41 -0000 The Restless Daemon identified a PLIST error while trying to build: gstreamer-plugins-gnonlin-0.10.11 maintained by multimedia@FreeBSD.org Makefile ident: $FreeBSD: ports/multimedia/gstreamer-plugins-gnonlin/Makefile,v 1.21 2009/06/23 16:03:06 kwm Exp $ Excerpt from http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/gstreamer-plugins-gnonlin-0.10.11.log : Deleting gstreamer-plugins-0.10.23,3 Deleting gstreamer-0.10.23 Deleting liboil-0.3.16 Deleting popt-1.14 Deleting libxml2-2.7.3 Deleting libXv-1.0.4,1 Deleting gio-fam-backend-2.20.3 Deleting gamin-0.1.10_3 Deleting libXext-1.0.5,1 Deleting videoproto-2.2.2 Deleting xextproto-7.0.5 Deleting libX11-1.2.1_1,1 Deleting glib-2.20.3 Deleting gettext-0.17_1 Deleting kbproto-1.0.3 Deleting libxcb-1.3 Deleting pcre-7.9 Deleting perl-5.8.9_3 Removing stale symlinks from /usr/bin... Removing /usr/bin/perl Removing /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Cleaning up /etc/manpath.config... Done. Deleting xcb-proto-1.5 Deleting libpthread-stubs-0.1 Deleting libiconv-1.13 Deleting libXdmcp-1.0.2_1 Deleting libXau-1.0.4 Deleting python26-2.6.2 pkg_delete: file '/usr/local/lib/python2.6/lib-old' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/python2.6/lib-old' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Deleting xproto-7.0.15 Deleting pkg-config-0.23_1 === Checking filesystem state after all packages deleted ================================================================ build of /usr/ports/multimedia/gstreamer-plugins-gnonlin ended at Tue Jun 23 16:08:59 UTC 2009 The tarballed WRKDIR can be found here: http://QAT.TecNik93.com/wrkdirs/7-STABLE-FPT-NPD/gstreamer-plugins-gnonlin-0.10.11.tbz PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=gstreamer-plugins-gnonlin The build which triggered this BotMail was done under tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4 with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with the "official" up-to-date Ports Tree, with the following vars set: NOPORTDOCS=yes, NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - "HMC and EOI?" - "Halt, Melt and Catch fire or Execute Operator Immediately." From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 23 16:23:34 2009 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 27F29106564A for ; Tue, 23 Jun 2009 16:23:34 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: from mail-bw0-f209.google.com (mail-bw0-f209.google.com [209.85.218.209]) by mx1.freebsd.org (Postfix) with ESMTP id A72B58FC19 for ; Tue, 23 Jun 2009 16:23:33 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: by bwz5 with SMTP id 5so182116bwz.43 for ; Tue, 23 Jun 2009 09:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=7w+Vgu1ob3g5bvFAWra87YHZ6nlPX37dW5WA9XxqoqE=; b=bAn/cd3ttnJefFOakdCPI74/z0bEUs0QA9SJmykiPQ13LQmDDMmr95EO4mITRQx0GA JgnRefYi7Sx8WTIikvtLeo8h2feWK+lxcr+LkWIf3tH0T+f/DHEzovgPb4Q5OLiCltVo eN7sp04EesM1MbbMqmrO7f0wBwfvgtFYOGYuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=J7j9hlRil8Xp5IyCLtuq5B9BbJ8CBRr+TLo9aXLNnSOziGiHA6yQQifIruovzHiAzr QXPs741jiYTOnxUBvo5VPmciuYMYUiJ0p9/YEDHyPdJqWOmNbqyV2R5CAdkTPjosXOVZ uF2EhY6pA3GWI6/zU6+kNgE/K3s3dVqYJh72s= MIME-Version: 1.0 Received: by 10.223.103.207 with SMTP id l15mr341367fao.2.1245774212286; Tue, 23 Jun 2009 09:23:32 -0700 (PDT) Date: Tue, 23 Jun 2009 11:23:32 -0500 Message-ID: <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> From: Jason Harmening To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Updated cx88 driver, now with PCIe! 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: Tue, 23 Jun 2009 16:23:34 -0000 cx88 version 1.2.0 is now in ports. In addition to the fix for the userspace buffer sync panic (I'm awesome!) and some cleanup of the internal driver architecture, this release adds kernel driver support for CX23885/7/8-based PCIe cards. Datasheets for the CX23885 family are not publicly available, but this support was made possible by the hard work of Konstantin Dimitrov. He did a great deal of clean-room research into the register-level programming interfaces for the CX23885/7/8, and was ultimately able to determine their SRAM layout and much of the required I2C and MPEG transport stream control logic. We were able to fill in all the remaining gaps based on our existing knowledge of the CX23880 family and correlation of observed behavior with the register constants declared in the Linux CX23885 driver source code. The net result of this effort is a very clean driver enhancement--All of the fundamental DMA and I2C logic is integrated into the common code base with leverage of existing cx88 infrastructure and relatively little added code. Common MPEG routines have been moved to cx88mpegcore.ko, which also exposes the /dev/cx88mpeg* device nodes, so the nodes are ioctl(2)-compatible. cx88mpeg.ko is now a thin CX23880-specific wrapper around cx88mpegcore, while cx23885.ko is a thin CX23885-family wrapper for all device interfaces that may be used with CX23885/7/8 devices (currently only cx88mpegcore). This support is currently MPEG-only. We will consider adding support for other streams (analog, MPEG encoders, etc.) as need arises. As usual, the kernel drivers should attach to any CX23885/7/8 device. The initial CX23885-family cards supported in userspace are the Hauppauge WinTV HVR-1250 and HVR-1800. Unfortunately, these are not dual-HDTV cards. Each has one MPEG transport stream attached to the digital TV frontend, while the 1800 has the other transport stream attached to the analog frontend via a hardware encoder. I'll shortly begin work on support for the DViCO Fusion 7 Dual, which *is* a dual-HDTV card. Konstantin is also working on support for DVB-T CX23885/7/8 cards, namely the HVR-1200 and HVR-1700. He has successfully captured TV streams with them, but they have complex tuners/demodulators that need a lot of work to polish. There are also new tunables for enabling I2C polling (for those RT people who don't like lots of interrupts) and for enabling message signaled interrupts (PCIe-only). See the wiki for details. Please join me in giving a shout-out to Konstantin--without his hard work I'd still be sitting here waiting for a datasheet to fall from the sky. --Jason From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 23 21:03:25 2009 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 85FA21065702 for ; Tue, 23 Jun 2009 21:03:25 +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 2CF508FC1F for ; Tue, 23 Jun 2009 21:03:25 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E3A261E001F9; Tue, 23 Jun 2009 23:03:23 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n5NL1gPO086516; Tue, 23 Jun 2009 23:01:42 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n5NL1gYE086515; Tue, 23 Jun 2009 23:01:42 +0200 (CEST) (envelope-from nox) Date: Tue, 23 Jun 2009 23:01:42 +0200 (CEST) From: Juergen Lock Message-Id: <200906232101.n5NL1gYE086515@triton.kn-bremen.de> To: jason.harmening@gmail.com X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> Organization: home Cc: freebsd-multimedia@freebsd.org Subject: Re: Updated cx88 driver, now with PCIe! 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: Tue, 23 Jun 2009 21:03:26 -0000 In article <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> you write: >cx88 version 1.2.0 is now in ports. In addition to the fix for the >userspace buffer sync panic (I'm awesome!) and some >cleanup of the internal driver architecture, this release adds kernel >driver support for CX23885/7/8-based PCIe cards. > >Datasheets for the CX23885 family are not publicly available, but this >support was made possible by the hard work of Konstantin Dimitrov. He >did a great deal of clean-room research into the register-level >programming interfaces for the CX23885/7/8, and was ultimately able to >determine their SRAM layout and much of the required I2C and MPEG >transport stream control logic. We were able to fill in all the >remaining gaps based on our existing knowledge of the CX23880 family >and correlation of observed behavior with the register constants >declared in the Linux CX23885 driver source code. > >The net result of this effort is a very clean driver enhancement--All >of the fundamental DMA and I2C logic is integrated into the common >code base with leverage of existing cx88 infrastructure and relatively >little added code. Common MPEG routines have been moved to >cx88mpegcore.ko, which also exposes the /dev/cx88mpeg* device nodes, >so the nodes are ioctl(2)-compatible. cx88mpeg.ko is now a thin >CX23880-specific wrapper around cx88mpegcore, while cx23885.ko is a >thin CX23885-family wrapper for all device interfaces that may be used >with CX23885/7/8 devices (currently only cx88mpegcore). > >This support is currently MPEG-only. We will consider adding support >for other streams (analog, MPEG encoders, etc.) as need arises. > >As usual, the kernel drivers should attach to any CX23885/7/8 device. >The initial CX23885-family cards supported in userspace are the >Hauppauge WinTV HVR-1250 and HVR-1800. Unfortunately, these are not >dual-HDTV cards. Each has one MPEG transport stream attached to the >digital TV frontend, while the 1800 has the other transport stream >attached to the analog frontend via a hardware encoder. I'll shortly >begin work on support for the DViCO Fusion 7 Dual, which *is* a >dual-HDTV card. >Konstantin is also working on support for DVB-T CX23885/7/8 cards, >namely the HVR-1200 and HVR-1700. He has successfully captured TV >streams with them, but they have complex tuners/demodulators that need >a lot of work to polish. > >There are also new tunables for enabling I2C polling (for those RT >people who don't like lots of interrupts) and for enabling message >signaled interrupts (PCIe-only). See the wiki for details. > >Please join me in giving a shout-out to Konstantin--without his hard >work I'd still be sitting here waiting for a datasheet to fall from >the sky. Yeah, Konstantin++ :) Although the version in ports seems to be missing a few headers now at least: [...] c++ -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I../mpeg -I../audio -I../video -I../common -I./ -I/usr/local/include/libtuner -I/usr/local/include -c analog/cx88_analog_driver.cpp ar -x /usr/local/lib/libezxml.a c++ -o cx88 -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I../mpeg -I../audio -I../video -I../common -I./ -I/usr/local/include/libtuner -I/usr/local/include -I./mpeg -I./analog -I./drivers -L/usr/local/lib/libtuner -ltuner -lpthread drivers/cx88_cards.cpp cx88.cpp *.o In file included from drivers/cx88_cards.h:45, from drivers/cx88_cards.cpp:29: drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directory drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or directory In file included from drivers/cx88_cards.h:45, from drivers/cx88_cards.cpp:29: drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800::create_i2c_drivers()': drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx24227' drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driver*' in assignment drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt2131' drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driver*' in assignment drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' In file included from ./drivers/cx88_cards.h:45, from ./mpeg/cx88_mpeg_driver_factory.h:31, from cx88.cpp:47: ./drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directory ./drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or directory In file included from ./drivers/cx88_cards.h:45, from ./mpeg/cx88_mpeg_driver_factory.h:31, from cx88.cpp:47: ./drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800::create_i2c_drivers()': ./drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx24227' ./drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driver*' in assignment ./drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' ./drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt2131' ./drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driver*' in assignment ./drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' *** Error code 1 Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0/client. *** Error code 1 Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0. *** Error code 1 Stop in /usr/ports/multimedia/cx88. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 23 21:42:27 2009 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 809B5106566C for ; Tue, 23 Jun 2009 21:42:27 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: from mail-bw0-f209.google.com (mail-bw0-f209.google.com [209.85.218.209]) by mx1.freebsd.org (Postfix) with ESMTP id ECA298FC19 for ; Tue, 23 Jun 2009 21:42:26 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: by bwz5 with SMTP id 5so353836bwz.43 for ; Tue, 23 Jun 2009 14:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9bNsGpvUC+ljq/n+fQwEwH49vSPnLltNGEqpPxfRT5o=; b=vv2zfWbRHb1miK8GZp/lroIaAekBqoX4mqQ0sY9bDy5fqjWDPQPlh/tiSBx89OZAHc 1AxwF7rcv+iXC0/xwWvDRwd+cKGBtwKkY9IL1UDRE2ATd7VRn/xrn0AkpCn9AzTHFpUo b2PLR5ExJh+1qPmXKrKVMJ5ZiU9vQnCzzsbFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=w4TA/TdYAKJ1lvkKrKvtwMkDsrDePa0GrXECiO0GgxxQhJWCLajmkHy2JQUob6ttfg yLTxOd2HO6YqrN2Uy80nddZcbYcE6veWHe3KNUkDZ/evH5a7tnzeq/5aatNoRjeoWNCd fnzX/MycxSWN39oc4eDA2JYnZnEsiFXRPEAN4= MIME-Version: 1.0 Received: by 10.223.126.203 with SMTP id d11mr504567fas.8.1245793345520; Tue, 23 Jun 2009 14:42:25 -0700 (PDT) In-Reply-To: <200906232101.n5NL1gYE086515@triton.kn-bremen.de> References: <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> <200906232101.n5NL1gYE086515@triton.kn-bremen.de> Date: Tue, 23 Jun 2009 16:42:25 -0500 Message-ID: <2d1264630906231442i3e3a732fyad529f931038150d@mail.gmail.com> From: Jason Harmening To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: Updated cx88 driver, now with PCIe! 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: Tue, 23 Jun 2009 21:42:27 -0000 On Tue, Jun 23, 2009 at 4:01 PM, Juergen Lock wrote= : > In article <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> = you write: >>cx88 version 1.2.0 is now in ports. =A0In addition to the fix for the >>userspace buffer sync panic (I'm awesome!) and some >>cleanup of the internal driver architecture, this release adds kernel >>driver support for CX23885/7/8-based PCIe cards. >> >>Datasheets for the CX23885 family are not publicly available, but this >>support was made possible by the hard work of Konstantin Dimitrov. He >>did a great deal of clean-room research into the register-level >>programming interfaces for the CX23885/7/8, and was ultimately able to >>determine their SRAM layout and much of the required I2C and MPEG >>transport stream control logic. We were able to fill in all the >>remaining gaps based on our existing knowledge of the CX23880 family >>and correlation of observed behavior with the register constants >>declared in the Linux CX23885 driver source code. >> >>The net result of this effort is a very clean driver enhancement--All >>of the fundamental DMA and I2C logic is integrated into the common >>code base with leverage of existing cx88 infrastructure and relatively >>little added code. Common MPEG routines have been moved to >>cx88mpegcore.ko, which also exposes the /dev/cx88mpeg* device nodes, >>so the nodes are ioctl(2)-compatible. cx88mpeg.ko is now a thin >>CX23880-specific wrapper around cx88mpegcore, while cx23885.ko is a >>thin CX23885-family wrapper for all device interfaces that may be used >>with CX23885/7/8 devices (currently only cx88mpegcore). >> >>This support is currently MPEG-only. We will consider adding support >>for other streams (analog, MPEG encoders, etc.) as need arises. >> >>As usual, the kernel drivers should attach to any CX23885/7/8 device. >>The initial CX23885-family cards supported in userspace are the >>Hauppauge WinTV HVR-1250 and HVR-1800. =A0Unfortunately, these are not >>dual-HDTV cards. =A0Each has one MPEG transport stream attached to the >>digital TV frontend, while the 1800 has the other transport stream >>attached to the analog frontend via a hardware encoder. =A0I'll shortly >>begin work on support for the DViCO Fusion 7 Dual, which *is* a >>dual-HDTV card. >>Konstantin is also working on support for DVB-T CX23885/7/8 cards, >>namely the HVR-1200 and HVR-1700. =A0He has successfully captured TV >>streams with them, but they have complex tuners/demodulators that need >>a lot of work to polish. >> >>There are also new tunables for enabling I2C polling (for those RT >>people who don't like lots of interrupts) and for enabling message >>signaled interrupts (PCIe-only). =A0See the wiki for details. >> >>Please join me in giving a shout-out to Konstantin--without his hard >>work I'd still be sitting here waiting for a datasheet to fall from >>the sky. > > Yeah, Konstantin++ :) > > =A0Although the version in ports seems to be missing a few headers now at= least: > > [...] > c++ -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I../mpeg -= I../audio -I../video -I../common -I./ =A0-I/usr/local/include/libtuner -I/u= sr/local/include -c analog/cx88_analog_driver.cpp > ar -x /usr/local/lib/libezxml.a > c++ -o cx88 -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I.= ./mpeg -I../audio -I../video -I../common -I./ =A0-I/usr/local/include/libtu= ner -I/usr/local/include -I./mpeg -I./analog -I./drivers -L/usr/local/lib/l= ibtuner -ltuner -lpthread drivers/cx88_cards.cpp cx88.cpp *.o > In file included from drivers/cx88_cards.h:45, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from drivers/cx88_cards.cpp:29: > drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directory > drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or director= y > In file included from drivers/cx88_cards.h:45, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from drivers/cx88_cards.cpp:29: > drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800::c= reate_i2c_drivers()': > drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx2422= 7' > drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driver= *' in assignment > drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' > drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt2131= ' > drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driver= *' in assignment > drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' > In file included from ./drivers/cx88_cards.h:45, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from ./mpeg/cx88_mpeg_driver_factory.h:31= , > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from cx88.cpp:47: > ./drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directo= ry > ./drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or direct= ory > In file included from ./drivers/cx88_cards.h:45, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from ./mpeg/cx88_mpeg_driver_factory.h:31= , > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from cx88.cpp:47: > ./drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800:= :create_i2c_drivers()': > ./drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx24= 227' > ./drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driv= er*' in assignment > ./drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' > ./drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt21= 31' > ./drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driv= er*' in assignment > ./drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' > *** Error code 1 > > Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0/client. > *** Error code 1 > > Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0. > *** Error code 1 > > Stop in /usr/ports/multimedia/cx88. > If you're doing a portupgrade, make sure to either do an upward-recursive portupgrade or to upgrade the libtuner dependency first. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 23 22:13:23 2009 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 E3E09106564A for ; Tue, 23 Jun 2009 22:13:23 +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 8AEEC8FC0C for ; Tue, 23 Jun 2009 22:13:23 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id C196D1E001F7; Wed, 24 Jun 2009 00:13:22 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n5NMAKiu096464; Wed, 24 Jun 2009 00:10:20 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n5NMAEKI096463; Wed, 24 Jun 2009 00:10:14 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 24 Jun 2009 00:10:09 +0200 To: Jason Harmening Message-ID: <20090623221009.GA96416@triton.kn-bremen.de> References: <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> <200906232101.n5NL1gYE086515@triton.kn-bremen.de> <2d1264630906231442i3e3a732fyad529f931038150d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2d1264630906231442i3e3a732fyad529f931038150d@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-multimedia@freebsd.org Subject: Re: Updated cx88 driver, now with PCIe! 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: Tue, 23 Jun 2009 22:13:24 -0000 On Tue, Jun 23, 2009 at 04:42:25PM -0500, Jason Harmening wrote: > On Tue, Jun 23, 2009 at 4:01 PM, Juergen Lock wrote: > > In article <2d1264630906230923s4aaaaa63rc283dd1ffce2eef9@mail.gmail.com> you write: > >>cx88 version 1.2.0 is now in ports.  In addition to the fix for the > >>userspace buffer sync panic (I'm awesome!) and some > >>cleanup of the internal driver architecture, this release adds kernel > >>driver support for CX23885/7/8-based PCIe cards. > >> > >>Datasheets for the CX23885 family are not publicly available, but this > >>support was made possible by the hard work of Konstantin Dimitrov. He > >>did a great deal of clean-room research into the register-level > >>programming interfaces for the CX23885/7/8, and was ultimately able to > >>determine their SRAM layout and much of the required I2C and MPEG > >>transport stream control logic. We were able to fill in all the > >>remaining gaps based on our existing knowledge of the CX23880 family > >>and correlation of observed behavior with the register constants > >>declared in the Linux CX23885 driver source code. > >> > >>The net result of this effort is a very clean driver enhancement--All > >>of the fundamental DMA and I2C logic is integrated into the common > >>code base with leverage of existing cx88 infrastructure and relatively > >>little added code. Common MPEG routines have been moved to > >>cx88mpegcore.ko, which also exposes the /dev/cx88mpeg* device nodes, > >>so the nodes are ioctl(2)-compatible. cx88mpeg.ko is now a thin > >>CX23880-specific wrapper around cx88mpegcore, while cx23885.ko is a > >>thin CX23885-family wrapper for all device interfaces that may be used > >>with CX23885/7/8 devices (currently only cx88mpegcore). > >> > >>This support is currently MPEG-only. We will consider adding support > >>for other streams (analog, MPEG encoders, etc.) as need arises. > >> > >>As usual, the kernel drivers should attach to any CX23885/7/8 device. > >>The initial CX23885-family cards supported in userspace are the > >>Hauppauge WinTV HVR-1250 and HVR-1800.  Unfortunately, these are not > >>dual-HDTV cards.  Each has one MPEG transport stream attached to the > >>digital TV frontend, while the 1800 has the other transport stream > >>attached to the analog frontend via a hardware encoder.  I'll shortly > >>begin work on support for the DViCO Fusion 7 Dual, which *is* a > >>dual-HDTV card. > >>Konstantin is also working on support for DVB-T CX23885/7/8 cards, > >>namely the HVR-1200 and HVR-1700.  He has successfully captured TV > >>streams with them, but they have complex tuners/demodulators that need > >>a lot of work to polish. > >> > >>There are also new tunables for enabling I2C polling (for those RT > >>people who don't like lots of interrupts) and for enabling message > >>signaled interrupts (PCIe-only).  See the wiki for details. > >> > >>Please join me in giving a shout-out to Konstantin--without his hard > >>work I'd still be sitting here waiting for a datasheet to fall from > >>the sky. > > > > Yeah, Konstantin++ :) > > > >  Although the version in ports seems to be missing a few headers now at least: > > > > [...] > > c++ -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I../mpeg -I../audio -I../video -I../common -I./  -I/usr/local/include/libtuner -I/usr/local/include -c analog/cx88_analog_driver.cpp > > ar -x /usr/local/lib/libezxml.a > > c++ -o cx88 -O2 -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I../mpeg -I../audio -I../video -I../common -I./  -I/usr/local/include/libtuner -I/usr/local/include -I./mpeg -I./analog -I./drivers -L/usr/local/lib/libtuner -ltuner -lpthread drivers/cx88_cards.cpp cx88.cpp *.o > > In file included from drivers/cx88_cards.h:45, > >                 from drivers/cx88_cards.cpp:29: > > drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directory > > drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or directory > > In file included from drivers/cx88_cards.h:45, > >                 from drivers/cx88_cards.cpp:29: > > drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800::create_i2c_drivers()': > > drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx24227' > > drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driver*' in assignment > > drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' > > drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt2131' > > drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driver*' in assignment > > drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' > > In file included from ./drivers/cx88_cards.h:45, > >                 from ./mpeg/cx88_mpeg_driver_factory.h:31, > >                 from cx88.cpp:47: > > ./drivers/wintv_hvr1800.h:31:20: error: mt2131.h: No such file or directory > > ./drivers/wintv_hvr1800.h:32:21: error: cx24227.h: No such file or directory > > In file included from ./drivers/cx88_cards.h:45, > >                 from ./mpeg/cx88_mpeg_driver_factory.h:31, > >                 from cx88.cpp:47: > > ./drivers/wintv_hvr1800.h: In member function 'virtual int wintv_hvr1800::create_i2c_drivers()': > > ./drivers/wintv_hvr1800.h:56: error: expected type-specifier before 'cx24227' > > ./drivers/wintv_hvr1800.h:56: error: cannot convert 'int*' to 'tuner_driver*' in assignment > > ./drivers/wintv_hvr1800.h:56: error: expected `;' before 'cx24227' > > ./drivers/wintv_hvr1800.h:58: error: expected type-specifier before 'mt2131' > > ./drivers/wintv_hvr1800.h:58: error: cannot convert 'int*' to 'tuner_driver*' in assignment > > ./drivers/wintv_hvr1800.h:58: error: expected `;' before 'mt2131' > > *** Error code 1 > > > > Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0/client. > > *** Error code 1 > > > > Stop in /usr/ports/multimedia/cx88/work/cx88-1.2.0. > > *** Error code 1 > > > > Stop in /usr/ports/multimedia/cx88. > > > > If you're doing a portupgrade, make sure to either do an > upward-recursive portupgrade or to upgrade the libtuner dependency > first. Oh haha, I like totally, completely forgot this is two ports... Sorry for the noise, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 24 00:59:20 2009 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 E33811065678; Wed, 24 Jun 2009 00:59:20 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9E48FC12; Wed, 24 Jun 2009 00:59:20 +0000 (UTC) (envelope-from itetcu@freebsd.org) Received: from release.ixsystems.com (unknown [206.40.55.81]) by worf.ds9.tecnik93.com (Postfix) with ESMTP id CD22722C52DC; Wed, 24 Jun 2009 04:00:05 +0300 (EEST) Received: by release.ixsystems.com (Postfix, from userid 0) id B7A2D8FCB7; Tue, 23 Jun 2009 17:40:57 -0700 (PDT) From: QAT@FreeBSD.org To: multimedia@FreeBSD.org X-Mailer: $Tecnik: people/itetcu/ports/QA-Tindy/QAT_postPortBuild.sh, v 1.57 2009/03/08 00:17:57 itetcu Exp $ X-QAT-Tindy_Version: tinderbox-devel-3.2_4; dsversion: 3.2 X-QAT-Jail_Arch: amd64 X-QAT-Jail_Csup_Tag: RELENG_7 X-QAT-Jail_Last_Built: 2009-05-04 14:01:42 X-QAT-Port: multimedia/mkvtoolnix X-QAT-Log: http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mkvtoolnix-2.9.5.log X-QAT-Build_Reason: Dependency X-QAT-Fail_Reason: configure_error Message-Id: <20090624004057.B7A2D8FCB7@release.ixsystems.com> Date: Tue, 23 Jun 2009 17:40:57 -0700 (PDT) Cc: Subject: [Custom LOCALBASE/PREFIX] multimedia/mkvtoolnix - fails: configure_error 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: Wed, 24 Jun 2009 00:59:21 -0000 The Restless Daemon identified a configure error while trying to build: mkvtoolnix-2.9.5 maintained by multimedia@FreeBSD.org Makefile ident: $FreeBSD: ports/multimedia/mkvtoolnix/Makefile,v 1.52 2009/06/22 07:58:33 lwhsu Exp $ THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest. Patches for testing and committing welcomed as a reply to this email. To check if the latest version port builds OK with standard PREFIX/LOCALBASE and with -DNOPORT* please see: http://qat.tecnik93.com/index.php?action=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=mkvtoolnix PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=mkvtoolnix See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/mkvtoolnix-2.9.5.log : building mkvtoolnix-2.9.5 in directory /usr/local/tinderbox/7-STABLE-FPT-CustDir build started at Wed Jun 24 00:38:44 UTC 2009 port directory: /usr/ports/multimedia/mkvtoolnix building for: 7.2-STABLE amd64 ............................................. checking for zlib.h... yes checking for lzo1x_1_compress in -llzo2... yes checking lzo1x.h usability... no checking lzo1x.h presence... no checking for lzo1x.h... no checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking for BZ2_bzCompress in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for wx-config... /usr/PPP/bin/wxgtk2u-2.8-config checking for wxWidgets 2.6.0 or newer... 2.8.10 ok checking for wxWidgets class wxBitmapComboBox... yes checking for the name of wxWidgets file dialog enums... wxFD_xyz checking for gettext... no checking for gettext in -lintl... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking the translations to install... de ja zh_CN zh_TW checking for magic_open in -lmagic... yes checking magic.h usability... yes checking magic.h presence... yes checking for magic.h... yes checking for boostlib >= 1.32.0... yes checking whether the Boost::Regex library is available... yes configure: error: Could not link against the Boost regex library ! ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/work/a/ports/multimedia/mkvtoolnix/work/mkvtoolnix-2.9.5/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 Stop in /a/ports/multimedia/mkvtoolnix. ================================================================ build of /usr/ports/multimedia/mkvtoolnix ended at Wed Jun 24 00:40:55 UTC 2009 The tarballed WRKDIR can be found here: http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/mkvtoolnix-2.9.5.tbz The build which triggered this BotMail was done under tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4 with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with: PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - "HMC and EOI?" - "Halt, Melt and Catch fire or Execute Operator Immediately." From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 24 18:53:43 2009 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 F360F106566C for ; Wed, 24 Jun 2009 18:53:42 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 734378FC1C for ; Wed, 24 Jun 2009 18:53:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 246722004; Wed, 24 Jun 2009 21:53:38 +0300 Message-ID: <4A42762E.5000709@FreeBSD.org> Date: Wed, 24 Jun 2009 21:53:34 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: martinko References: <1245111790.00127709.1245100204@10.7.7.3> <4A3790EC.8060701@FreeBSD.org> <4A3805A2.7080403@users.sf.net> <4A3807E5.3020303@FreeBSD.org> In-Reply-To: <4A3807E5.3020303@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia Subject: Re: snd_hda: ALC888/1200 and mixer empty 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: Wed, 24 Jun 2009 18:53:43 -0000 Alexander Motin wrote: > Vchans is able to control volume in software when there lack of hardware > support, but it breaks AC3 stream pass-though. So choosing between them > I have blocked software volume control in driver manually for digital > connectors. To get it back you may in hdac.c change line > if (pdevinfo->play >= 0 && !pdevinfo->digital) { > to > if (pdevinfo->play >= 0) { > May be last changes in 8-CURRENT will allow them coexist, but not for 7.2. I have just tested it on recent 8-CURRENT. Thanks to Ariff Abdullah' last changes, software volume control is now correctly coexist with AC3 pass-through. -- Alexander Motin From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 24 20:29:01 2009 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 051E5106564A for ; Wed, 24 Jun 2009 20:29:01 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 755448FC13 for ; Wed, 24 Jun 2009 20:29:00 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 246726227; Wed, 24 Jun 2009 23:28:57 +0300 Message-ID: <4A428C84.9030002@FreeBSD.org> Date: Wed, 24 Jun 2009 23:28:52 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: rick-freebsd2008@kiwi-computer.com References: <1242609781.00113421.1242598202@10.7.7.3> <4A122B72.80206@FreeBSD.org> <20090519184150.GA990@keira.kiwi-computer.com> <20090605020054.GA67365@keira.kiwi-computer.com> <4A28D79C.6070406@FreeBSD.org> <20090614050211.GA67556@keira.kiwi-computer.com> <20090614062157.GA67705@keira.kiwi-computer.com> <4A34A663.2010503@FreeBSD.org> <20090614184754.GA72664@keira.kiwi-computer.com> In-Reply-To: <20090614184754.GA72664@keira.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_hda works on i386, fails on amd64 (RELENG_7) 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: Wed, 24 Jun 2009 20:29:01 -0000 Rick C. Petty wrote: > I added code so I can override this setting using device.hints. Could you > maybe see about getting the following code committed? Feel free to fix it > up as necessary. Thank you, I have just committed different patch to the 8-CURRENT: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/hda/hdac.c.diff?r2=1.107&r1=1.106&f=u Try it please. -- Alexander Motin From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 27 08:41:20 2009 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 58AD1106566C for ; Sat, 27 Jun 2009 08:41:20 +0000 (UTC) (envelope-from dfpleal@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id D88A88FC16 for ; Sat, 27 Jun 2009 08:41:19 +0000 (UTC) (envelope-from dfpleal@gmail.com) Received: by ewy9 with SMTP id 9so2385429ewy.43 for ; Sat, 27 Jun 2009 01:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=YyZHnpF+pdTOM/wi2/cXDnVkPMmjNx7XRoIVtJkDQ+k=; b=u4VB7zomAKmAYgA7kMj/SiOHVQNP3u0sdAWfR/64iGQeDDYf4AV7us+XvsUEBwNAZS Otf3zlBCT6CmzYuR3hAnRlV2RepGVaHs7xV8pfFrV8hm3BGNgb4iHlqvbWtXt8d5d993 4OtFKxl5TxYkVTeAguILEIDSxiMEqWwCZcViA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Sf/Zo2Dm6asOCMRjo4WqRDTWPwfH/3mFv0+D1ii9T8jq9qEPnquYuMNI+wZPlGcOWZ nCnPYV1slPCdZmtjWM7CQ/fJJzIgiL7dVxv/zXZSqmPA+ApSGSKv056BrqtZ+7WqA0yV RCY4kYaWiYc+2ssenteUY9hR/MEtGkzFlVRsc= Received: by 10.211.166.2 with SMTP id t2mr18520ebo.57.1246090173187; Sat, 27 Jun 2009 01:09:33 -0700 (PDT) Received: from ?192.168.1.200? (bl5-28-120.dsl.telepac.pt [82.154.28.120]) by mx.google.com with ESMTPS id 28sm1739097eyg.34.2009.06.27.01.09.32 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Jun 2009 01:09:32 -0700 (PDT) Message-ID: <4A45D4BB.8090105@gmail.com> Date: Sat, 27 Jun 2009 09:13:47 +0100 From: Daniel Leal User-Agent: Thunderbird 2.0.0.21 (X11/20090530) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: cant burn a cd iso 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, 27 Jun 2009 08:41:20 -0000 Hi ! I am trying to burn a iso in my laptop with freebsd 7.2 Installed cdrtools and then kldload atapicam. Then I looked for the cdrom: #cdrecord -scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 J?rg Schilling Using libscg version 'schily-0.8'. scsibus2: 2,0,0 200) 'PIONEER ' 'DVD-RW DVR-K17A' '1.51' Removable CD-ROM 2,1,0 201) * 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * So I try to burn the iso with the comand: # cdrecord -v dev=2,0,0 myfile.iso It seams to start correctly, but in the midle gave me the input/output error: Can someone help me please? Thanks Here is all what I could get from the -v option:cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. cdrecord: Continuing in 5 seconds... Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 Jrg Schilling TOC Type: 1 = CD-ROM scsidev: '2,0,0' scsibus: 2 target: 0 lun: 0 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-K17A' Revision : '1.51' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0009 Profile: 0x002B Profile: 0x001B Profile: 0x001A Profile: 0x0015 Profile: 0x0014 Profile: 0x0013 Profile: 0x0012 Profile: 0x0002 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1267712 = 1238 KB FIFO size : 4194304 = 4096 KB Track 01: data 616 MB Total size: 708 MB (70:12.05) = 315904 sectors Lout start: 708 MB (70:14/04) = 315904 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11834 (97:24/16) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 24 Manufacturer: SONY Corporation Blocks total: 359849 Blocks current: 359849 Blocks remaining: 43945 Starting to write CD/DVD at speed 24 in real TAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is OFF. Performing OPC... Starting new track at sector: 0 Track 01: 499 of 616 MB written (fifo 100%) [buf 79%] 20.6x.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 00 03 E6 A9 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 71 00 03 00 56 42 66 0E 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x3 Medium Error, deferred error, Segment 0 Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0 Sense flags: Blk 5653094 (not valid) cmd finished after 0.001s timeout 40s write track data: error after 523585536 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. Writing time: 287.920s Average write speed 15.0x. Min drive buffer fill was 42% Fixating... cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 72 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x72 Qual 0x03 (session fixation error - incomplete track in session) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 1.353s timeout 480s cmd finished after 1.353s timeout 480s cdrecord: Cannot fixate disk. Fixating time: 1.467s cdrecord: fifo had 8311 puts and 8248 gets. cdrecord: fifo was 0 times empty and 2899 times full, min fill was 85%.