From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 09:40:21 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25CC216A4DA for ; Mon, 4 Sep 2006 09:40:21 +0000 (UTC) (envelope-from matteo.pillon@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9508143D46 for ; Mon, 4 Sep 2006 09:40:20 +0000 (GMT) (envelope-from matteo.pillon@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1820766wxd for ; Mon, 04 Sep 2006 02:40:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=IXaXVij+y4IzDhL+uExxDqJ2X+KNRYnaKIBSsKF/0mlFtfui4AIDnwdznIpxwf+a6XxuZB9FMqZD8eLVgAhWKewCgfKfGSFZQpPOTkpnS50uqg/thlRizPV5ciuODKkzGikwMku2YLYemA1VAii93JvnoHPRrWgWJyYW2QU8zN0= Received: by 10.70.38.19 with SMTP id l19mr5179611wxl; Mon, 04 Sep 2006 02:40:19 -0700 (PDT) Received: from neptune.octopus ( [80.104.86.190]) by mx.gmail.com with ESMTP id i18sm6484659wxd.2006.09.04.02.40.09; Mon, 04 Sep 2006 02:40:19 -0700 (PDT) Received: by neptune.octopus (Postfix, from userid 1000) id 34993C04F; Mon, 4 Sep 2006 11:41:44 +0200 (CEST) Date: Mon, 4 Sep 2006 11:41:43 +0200 From: Matteo Pillon To: freebsd-multimedia@freebsd.org Message-ID: <20060904094142.GA7860@neptune.octopus> References: <95977df90608230640r1573c4c3gef4060d43d371c47@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <95977df90608230640r1573c4c3gef4060d43d371c47@mail.gmail.com> User-Agent: Mutt/1.5.11 Subject: Re: Soundcard "Acer Labs M5451" not working (interrupt timeout) 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, 04 Sep 2006 09:40:21 -0000 On Wed, Aug 23, 2006 at 03:40:01PM +0200, Pillon Matteo wrote: > > I have some troubles with snd_t4dwave driver. FreeBSD is running on a > Compaq Presario 2532eu notebook with an ALi M5451 soundcard. > Any help? Should I ask to another ml? -- * Pillon Matteo From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 11:08:35 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE2016A4DE for ; Mon, 4 Sep 2006 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 029FD43D45 for ; Mon, 4 Sep 2006 11:08:35 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k84B8YXm094442 for ; Mon, 4 Sep 2006 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k84B8Xdx094438 for freebsd-multimedia@FreeBSD.org; Mon, 4 Sep 2006 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Sep 2006 11:08:33 GMT Message-Id: <200609041108.k84B8Xdx094438@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 04 Sep 2006 11:08:35 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o f kern/73987 multimedia [sound] Nforce2 MB sound problem o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/90214 multimedia [sound] memory leaks in snd_via8233 o kern/94279 multimedia [snd_neomagic] snd_neomagic crashes on FreeBSD 5.4 and o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/97535 multimedia [snd_mss] doesn't work in 6.0-RELEASE and above for Cr o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o ports/99323 multimedia jackd audio server broken? o kern/99920 multimedia [snd_ich] Not support integrated audio on ICH7R chip ( o kern/100169 multimedia [snd_ich] snd_ich broken on Dell PIII system 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f kern/25386 multimedia [sound] Incorrect mixer registers (line & synth) in ne o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. f kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I f kern/66642 multimedia [sound] pcm0: play: 0: play interrupt timeout, channel f kern/72218 multimedia [sound] audio recording broken with emu10k1 on 5.3-bet o kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/79678 multimedia [sound] sound works except recording from any source o kern/80465 multimedia [sound] pcm0:record:0: record interrupt timeout (Acer o kern/80632 multimedia pcm driver missing support for CMI8738 auxillary input o kern/84311 multimedia [sound] 82801FB/FR/FW/FRW Intel High Definition Audio f kern/84507 multimedia [sound] fm801: Not every card supports variable rate f kern/85964 multimedia [sound] Can't play 24 bit audio (Audigy 2 and others) f ports/86899 multimedia multimedia/mjpegtools - lavplay/glav claims "No video o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup f kern/88820 multimedia [sound] Erratic recognition of VIA 8285 sound card by o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/92557 multimedia [sound] Contrary to 6.0 release notes, snd_csa does no o i386/93986 multimedia [pcm] Acer TravelMate 4652LMi pcm0 channel dead o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/98496 multimedia [snd_ich] some functions don't work in my sound kernel o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/99639 multimedia [sound] FreeBSD 4.11 hangs while trying to play sound o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del 25 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 12:56:19 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C34616A4DD for ; Mon, 4 Sep 2006 12:56:19 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD0843D45 for ; Mon, 4 Sep 2006 12:56:17 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D611.dip.t-dialin.net [84.165.214.17]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k84Ca3gE002168; Mon, 4 Sep 2006 14:36:04 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k84CuEaU079426; Mon, 4 Sep 2006 14:56:14 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 04 Sep 2006 14:56:14 +0200 Message-ID: <20060904145614.v0ifdplioow8kw8w@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 04 Sep 2006 14:56:14 +0200 From: Alexander Leidinger To: Matteo Pillon References: <95977df90608230640r1573c4c3gef4060d43d371c47@mail.gmail.com> <20060904094142.GA7860@neptune.octopus> In-Reply-To: <20060904094142.GA7860@neptune.octopus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: Soundcard "Acer Labs M5451" not working (interrupt timeout) 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, 04 Sep 2006 12:56:19 -0000 Quoting Matteo Pillon (from Mon, 4 Sep 2006 11:41:43 +0200): > On Wed, Aug 23, 2006 at 03:40:01PM +0200, Pillon Matteo wrote: >> >> I have some troubles with snd_t4dwave driver. FreeBSD is running on a >> Compaq Presario 2532eu notebook with an ALi M5451 soundcard. >> > > Any help? > > Should I ask to another ml? No, the ML is right. You just need to find someone who - has the knowledge - has time - want's the honor to have fixed this at the same time... Bye, Alexander. -- All that glitters is not gold; all that wander are not lost. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 17:17:55 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CE4616A580 for ; Mon, 4 Sep 2006 17:17:55 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FFC43D7D for ; Mon, 4 Sep 2006 17:17:48 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id C5147382E3; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id B71D638103 for ; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) Received: from dude.automatvapen.se (81-235-164-56-no21.tbcn.telia.com [81.235.164.56]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 9B26A37E47 for ; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) From: Joel Dahl To: freebsd-multimedia@FreeBSD.org Content-Type: text/plain Date: Mon, 04 Sep 2006 19:17:48 +0200 Message-Id: <1157390268.673.57.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 04 Sep 2006 17:17:55 -0000 Hi all, Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, which is a High Definition Audio driver and should enable basic audio capabilities on a lot of new machines on the market. He's been busy with improving the driver lately, so he asked me to send out an announcement and a call for testers -- yes, the driver is ready for a wider audience now. :-) This driver is based on Stephane E. Potvin's HDA driver, although big parts have been rewritten since then. The driver is still in an early form and many parts needs refinements, but basic audio capabilities such as playback/recording should work and we would like to get this into CURRENT soon, if everything goes according to the plan. %%%%%%%%%%%%%%%%%%%%%%%%%%% %% So, how do I test it? %% %%%%%%%%%%%%%%%%%%%%%%%%%%% Well, grab all files from: http://people.freebsd.org/~ariff/HDA/ # cd # make # kldload ./snd_hda.ko Test your sound... If the above works and you would like to enable audio at startup, do this: # cp snd_hda.ko /boot/modules/ # kldxref /boot/modules/ Add snd_hda_load="YES" to /boot/loader.conf # reboot %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% It doesn't work! What should I do? %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% If you can kldload the driver, do this: # sysctl debug.bootverbose=1 # kldunload snd_hda # kldload snd_hda # dmesg | grep ^pcm ...and send us the output along with a description of your problem. Also, include the output of: # uname -a # pciconf -lv | grep -B 4 audio # sysctl hw.snd.verbose=2 ; cat /dev/sndstat # sysctl hw.snd # /usr/sbin/mixer If you cannot get any sound, it is important that you test to plug in speakers/headset into any jacks available. BIOS bugs, vendor issues etc can cause screwed up audio routing. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Anything else I need to know? %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% You can visit us on #freebsd-azalia @ freenode. -- Joel From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 20:05:47 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF8616A4DA; Mon, 4 Sep 2006 20:05:47 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq3.groni1.gr.home.nl (smtpq3.groni1.gr.home.nl [213.51.130.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB18F43D55; Mon, 4 Sep 2006 20:05:46 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.130.189] (port=50719 helo=smtp2.groni1.gr.home.nl) by smtpq3.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GKKgL-0001PA-A7; Mon, 04 Sep 2006 22:04:33 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.221.74]:52911 helo=desktop.homenet) by smtp2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GKKgO-0006Jn-KV; Mon, 04 Sep 2006 22:04:36 +0200 From: Danny Pansters To: freebsd-multimedia@freebsd.org Date: Mon, 4 Sep 2006 22:05:41 +0200 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609042205.42063.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Kbtv application: I'm looking for someone who wants to take over maintainership/development 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, 04 Sep 2006 20:05:47 -0000 FYI: Kbtv is a small TV app for FreeBSD/KDE. It works with Brooktree/Conexant and with Philips SAA713x based analog TV cards (I actually recommend using the latter). AFAIK, it is the only properly working app that uses SAA (and unlike bktr, saa never freezes or panics). Also supports webcams that work with the pwcbsd driver. The tarball and some blahblah are now hosted at sourceforge (also still at my website). I also put a "recruitment" message on SF: http://sourceforge.net/people/viewjob.php?group_id=176370&job_id=26247 I want to withdraw from this project, and would love to pass it on to one or more people who are interested in this kind of app, rather than just abandoning it. There is a port for it as well, it would seem logical to hand over maintainership to that as well. It is in a good working state. SF project page for kbtv: http://sourceforge.net/projects/kbtv My web page for kbtv: http://freebsd.ricin.com/kbtv Relevant buzzwords: Python, PyKDE, SWIG, SDL, C, bktr, saa, pwc If interested, let me know. I will gladly help you to get started. I crossposted to have maximum exposure, if replying and CC'ing mailing list, please CC to multimedia@ only. Cheers, Dan From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 5 02:04:54 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365DB16A4DA; Tue, 5 Sep 2006 02:04:54 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA2243D55; Tue, 5 Sep 2006 02:04:51 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.64] (aphax.nl [82.92.29.227]) by smtp-vbr16.xs4all.nl (8.13.6/8.13.6) with ESMTP id k8524oX2044623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Sep 2006 04:04:51 +0200 (CEST) (envelope-from h.nieser@xs4all.nl) Message-ID: <44FCDAE7.5070603@xs4all.nl> Date: Tue, 05 Sep 2006 04:03:19 +0200 From: Hans Nieser User-Agent: Thunderbird 1.5.0.5 (X11/20060805) MIME-Version: 1.0 To: Joel Dahl References: <1157390268.673.57.camel@localhost> In-Reply-To: <1157390268.673.57.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 05 Sep 2006 02:04:54 -0000 Joel Dahl wrote: > Hi all, > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > which is a High Definition Audio driver and should enable basic audio > capabilities on a lot of new machines on the market. He's been busy > with improving the driver lately, so he asked me to send out an > announcement and a call for testers -- yes, the driver is ready for a > wider audience now. :-) > > This driver is based on Stephane E. Potvin's HDA driver, although big > parts have been rewritten since then. The driver is still in an early > form and many parts needs refinements, but basic audio capabilities such > as playback/recording should work and we would like to get this into > CURRENT soon, if everything goes according to the plan. Thanks for the work on this! Do I need to run -STABLE or -CURRENT to use this driver or can I use it with RELENG_6_1? From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 5 06:00:20 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7F6D16A4E5 for ; Tue, 5 Sep 2006 06:00:20 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av10-1-sn2.hy.skanova.net (av10-1-sn2.hy.skanova.net [81.228.8.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC4943D5D for ; Tue, 5 Sep 2006 06:00:19 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id 81B39381AB; Tue, 5 Sep 2006 08:00:18 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id 706CC37FC0; Tue, 5 Sep 2006 08:00:18 +0200 (CEST) Received: from dude.automatvapen.se (81-235-164-56-no21.tbcn.telia.com [81.235.164.56]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 08BB137E43; Tue, 5 Sep 2006 08:00:17 +0200 (CEST) From: Joel Dahl To: Hans Nieser In-Reply-To: <44FCDAE7.5070603@xs4all.nl> References: <1157390268.673.57.camel@localhost> <44FCDAE7.5070603@xs4all.nl> Content-Type: text/plain Date: Tue, 05 Sep 2006 08:00:17 +0200 Message-Id: <1157436017.667.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 05 Sep 2006 06:00:20 -0000 On Tue, 2006-09-05 at 04:03 +0200, Hans Nieser wrote: > Joel Dahl wrote: > > Hi all, > > > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > > which is a High Definition Audio driver and should enable basic audio > > capabilities on a lot of new machines on the market. He's been busy > > with improving the driver lately, so he asked me to send out an > > announcement and a call for testers -- yes, the driver is ready for a > > wider audience now. :-) > > > > This driver is based on Stephane E. Potvin's HDA driver, although big > > parts have been rewritten since then. The driver is still in an early > > form and many parts needs refinements, but basic audio capabilities such > > as playback/recording should work and we would like to get this into > > CURRENT soon, if everything goes according to the plan. > > Thanks for the work on this! Do I need to run -STABLE or -CURRENT to use > this driver or can I use it with RELENG_6_1? The driver has been tested on both RELENG_6 and CURRENT, so I guess it'll work on RELENG_6_1 as well. :-) -- Joel From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 5 10:20:06 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BD5016A4DF; Tue, 5 Sep 2006 10:20:06 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C2143D58; Tue, 5 Sep 2006 10:20:04 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.64] (aphax.nl [82.92.29.227]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k85AJoOW033179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Sep 2006 12:19:51 +0200 (CEST) (envelope-from h.nieser@xs4all.nl) Message-ID: <44FD4EEC.1060006@xs4all.nl> Date: Tue, 05 Sep 2006 12:18:20 +0200 From: Hans Nieser User-Agent: Thunderbird 1.5.0.5 (X11/20060805) MIME-Version: 1.0 To: Joel Dahl References: <1157390268.673.57.camel@localhost> In-Reply-To: <1157390268.673.57.camel@localhost> Content-Type: multipart/mixed; boundary="------------000004000704010007080209" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 05 Sep 2006 10:20:06 -0000 This is a multi-part message in MIME format. --------------000004000704010007080209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Joel Dahl wrote: > Hi all, > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > which is a High Definition Audio driver and should enable basic audio > capabilities on a lot of new machines on the market. He's been busy > with improving the driver lately, so he asked me to send out an > announcement and a call for testers -- yes, the driver is ready for a > wider audience now. :-) > > This driver is based on Stephane E. Potvin's HDA driver, although big > parts have been rewritten since then. The driver is still in an early > form and many parts needs refinements, but basic audio capabilities such > as playback/recording should work and we would like to get this into > CURRENT soon, if everything goes according to the plan. > I have the following problem with the new snd_hda driver; the driver attaches succesfully but I get no sound, and writing to the /dev/dsp* nodes causes an error on dmesg: pcm0:play:0:dsp0.0: play interrupt timeout, channel dead When I try to "cat /dev/urandom > /dev/dsp0.0" I also get: root@aphax-laptop:~/hdatemp# cat /dev/urandom > /dev/dsp0.0 cat: stdout: Invalid argument (Same with all /dev/dsp* device. nodes) I did get some noise/crackling the first time I loaded the driver and tried to play a movie, but I can't seem to reproduce it anymore, even after rebooting. I do consistently get this 'popping' noise when the driver attaches though. I've fiddled a bit with plugging-in/unplugging headphones and with the volume and mute sound keys on my laptop, to no avail. Anyway, without further ado, the requested info: root@aphax-laptop:~/hdatemp# uname -a FreeBSD aphax-laptop.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 07:17:09 CEST 2006 root@aphax-laptop.nieser.local:/usr/obj/usr/src/sys/APHAX-LAPTOP i386 ------------------------------------------------------------------------ root@aphax-laptop:~/hdatemp# pciconf -lv | grep -i -B 4 audio class = bridge subclass = PCI-PCI pcm0@pci0:27:0: class=0x040300 card=0x11731043 chip=0x26688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' ------------------------------------------------------------------------ root@aphax-laptop:~/hdatemp# sysctl hw.snd.verbose=2; cat /dev/sndstat hw.snd.verbose: 1 -> 2 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xfebf8000 irq 16 kld snd_hda (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} ------------------------------------------------------------------------ root@aphax-laptop:~/hdatemp# sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 2 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 ------------------------------------------------------------------------ root@aphax-laptop:~/hdatemp# /usr/sbin/mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic ------------------------------------------------------------------------ I have attached the verbose dmesg output (and also posted it online at http://pastebin.ca/161357 in case the attachment doesn't come through). --------------000004000704010007080209 Content-Type: text/plain; name="hda-verbose-dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hda-verbose-dmesg.txt" root@aphax-laptop:~/hdatemp# dmesg | grep ^pcm pcm0: mem 0xfebf8000-0xfebfbfff irq 16 at device 27.0 on pci0 pcm0:play:0:dsp0.0: play interrupt timeout, channel dead pcm0:play:0:dsp0.0: play interrupt timeout, channel dead pcm0:play:0:dsp0.0: play interrupt timeout, channel dead pcm0:play:0:dsp0.0: play interrupt timeout, channel dead pcm0: detached pcm0: mem 0xfebf8000-0xfebfbfff irq 16 at device 27.0 on pci0 pcm0: [MPSAFE] pcm0: Vendor: 0x000010ec pcm0: Device: 0x00000880 pcm0: Revision: 0x00000008 pcm0: Stepping: 0x00000000 pcm0: PCI Subvendor: 0x11731043 pcm0: Nodes: start=2 endnode=34 total=32 pcm0: sndbuf_setmap 3e546000, 4000; 0xe9bf9000 -> 3e546000 pcm0: sndbuf_setmap 3e542000, 4000; 0xe9bfd000 -> 3e542000 pcm0: pcm0: +-------------------+ pcm0: | DUMPING HDA NODES | pcm0: +-------------------+ pcm0: pcm0: Default Parameter pcm0: ----------------- pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: IN amp: 0x00000000 pcm0: OUT amp: 0x00000000 pcm0: pcm0: nid: 2 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x00000411 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 3 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x00000411 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 4 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x00000411 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0160 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 5 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x00000411 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0160 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 6 [DIGITAL] [DISABLED] pcm0: name: audio output pcm0: widget_cap: 0x00000211 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x001e0160 pcm0: PCM size: 16 20 24 32 pcm0: PCM rate: 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 7 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x0010051b pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x00060160 pcm0: PCM size: 16 20 pcm0: PCM rate: 22 44 48 pcm0: Input amp: 0x80032300 pcm0: mute=1 step=35 size=3 offset=0 pcm0: connections: 7 pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: pcm0: nid: 8 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x0010051b pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x00060160 pcm0: PCM size: 16 20 pcm0: PCM rate: 22 44 48 pcm0: Input amp: 0x80032300 pcm0: mute=1 step=35 size=3 offset=0 pcm0: connections: 7 pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: pcm0: nid: 9 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x0010051b pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x00060160 pcm0: PCM size: 16 20 pcm0: PCM rate: 22 44 48 pcm0: Input amp: 0x80032300 pcm0: mute=1 step=35 size=3 offset=0 pcm0: connections: 10 pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=11 [audio mixer] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=23 [pin: speaker (none)] pcm0: pcm0: nid: 10 [DIGITAL] [DISABLED] pcm0: name: audio input pcm0: widget_cap: 0x00100391 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x001e0160 pcm0: PCM size: 16 20 24 32 pcm0: PCM rate: 22 44 48 pcm0: connections: 1 pcm0: | pcm0: + <- nid=31 [pin: speaker (none)] [DISABLED] pcm0: pcm0: nid: 11 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010b pcm0: Input amp: 0x80034123 pcm0: mute=1 step=65 size=3 offset=35 pcm0: connections: 8 pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=29 [pin: line in (fixed)] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: pcm0: nid: 12 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: | pcm0: + <- nid=11 [audio mixer] pcm0: pcm0: nid: 13 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=3 [audio output] pcm0: | pcm0: + <- nid=11 [audio mixer] pcm0: pcm0: nid: 14 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=4 [audio output] pcm0: | pcm0: + <- nid=11 [audio mixer] pcm0: pcm0: nid: 15 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=5 [audio output] pcm0: | pcm0: + <- nid=11 [audio mixer] pcm0: pcm0: nid: 16 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 4 pcm0: | pcm0: + <- nid=12 [audio mixer] (selected) pcm0: | pcm0: + <- nid=13 [audio mixer] pcm0: | pcm0: + <- nid=14 [audio mixer] pcm0: | pcm0: + <- nid=15 [audio mixer] pcm0: pcm0: nid: 17 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 4 pcm0: | pcm0: + <- nid=12 [audio mixer] (selected) pcm0: | pcm0: + <- nid=13 [audio mixer] pcm0: | pcm0: + <- nid=14 [audio mixer] pcm0: | pcm0: + <- nid=15 [audio mixer] pcm0: pcm0: nid: 18 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 4 pcm0: | pcm0: + <- nid=12 [audio mixer] (selected) pcm0: | pcm0: + <- nid=13 [audio mixer] pcm0: | pcm0: + <- nid=14 [audio mixer] pcm0: | pcm0: + <- nid=15 [audio mixer] pcm0: pcm0: nid: 19 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 4 pcm0: | pcm0: + <- nid=12 [audio mixer] (selected) pcm0: | pcm0: + <- nid=13 [audio mixer] pcm0: | pcm0: + <- nid=14 [audio mixer] pcm0: | pcm0: + <- nid=15 [audio mixer] pcm0: pcm0: nid: 20 [ANALOG] pcm0: name: pin: line out (fixed) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000003f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=12 [audio mixer] pcm0: pcm0: nid: 21 [ANALOG] pcm0: name: pin: headphones out (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000003f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=13 [audio mixer] pcm0: pcm0: nid: 22 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000003f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=14 [audio mixer] pcm0: pcm0: nid: 23 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000003f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=15 [audio mixer] pcm0: pcm0: nid: 24 [ANALOG] pcm0: name: pin: Mic in (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=16 [audio selector] pcm0: pcm0: nid: 25 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=17 [audio selector] pcm0: pcm0: nid: 26 [ANALOG] pcm0: name: pin: line in (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=18 [audio selector] pcm0: pcm0: nid: 27 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=19 [audio selector] pcm0: pcm0: nid: 28 [ANALOG] pcm0: name: pin: CD (fixed) pcm0: widget_cap: 0x00400001 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 29 [ANALOG] pcm0: name: pin: line in (fixed) pcm0: widget_cap: 0x00400000 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 30 [DIGITAL] [DISABLED] pcm0: name: pin: SPDIF out (fixed) pcm0: widget_cap: 0x00400300 pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: connections: 1 pcm0: | pcm0: + <- nid=6 [audio output] [DISABLED] pcm0: pcm0: nid: 31 [DIGITAL] [DISABLED] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x00400200 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 32 [ANALOG] pcm0: name: vendor widget pcm0: widget_cap: 0x00f00040 pcm0: connections: 0 pcm0: pcm0: nid: 33 [ANALOG] pcm0: name: volume widget pcm0: widget_cap: 0x00600080 pcm0: connections: 0 pcm0: pcm0: +-----------------------------------+ pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | pcm0: +-----------------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- nid: 11 index: 0 (nid: 24) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: | pcm0: +- nid: 11 index: 2 (nid: 26) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: | pcm0: +- nid: 11 index: 4 (nid: 28) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: | pcm0: +- nid: 12 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 12 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 13 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 13 index: 0 (nid: 3) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 14 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 14 index: 0 (nid: 4) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 15 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 15 index: 0 (nid: 5) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- nid: 12 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 12 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 13 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 13 index: 0 (nid: 3) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 14 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 14 index: 0 (nid: 4) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 15 index: 0 mute: 0 step: 64 size: 3 off: 64 dir=0x1 pcm0: | pcm0: +- nid: 15 index: 0 (nid: 5) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: pcm0: CD Volume (OSS: cd) pcm0: | pcm0: +- nid: 11 index: 4 (nid: 28) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: pcm0: Microphone Volume (OSS: mic) pcm0: | pcm0: +- nid: 11 index: 0 (nid: 24) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: pcm0: Line-in Volume (OSS: line) pcm0: | pcm0: +- nid: 11 index: 0 (nid: 24) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- nid: 7 index: 0 mute: 1 step: 35 size: 3 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 8 index: 0 mute: 1 step: 35 size: 3 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 9 index: 0 mute: 1 step: 35 size: 3 off: 0 dir=0x2 pcm0: pcm0: Recording sources: pcm0: pcm0: nid=7 [audio input] pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] [recsrc: vol, line] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] [recsrc: vol, cd] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: pcm0: nid=8 [audio input] pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] [recsrc: vol, line] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] [recsrc: vol, cd] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: pcm0: nid=9 [audio input] pcm0: | pcm0: + <- nid=24 [pin: Mic in (jack)] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] pcm0: | pcm0: + <- nid=26 [pin: line in (jack)] [recsrc: vol, line] pcm0: | pcm0: + <- nid=27 [pin: speaker (none)] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] [recsrc: vol, cd] pcm0: | pcm0: + <- nid=11 [audio mixer] [recsrc: vol, line, mic, cd] pcm0: | pcm0: + <- nid=20 [pin: line out (fixed)] pcm0: | pcm0: + <- nid=21 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=23 [pin: speaker (none)] pcm0: pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: PCM Playback: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0160 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 22 44 48 pcm0: pcm0: PCM Record: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0160 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 22 44 48 --------------000004000704010007080209-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 08:46:36 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85D5916A4DD; Wed, 6 Sep 2006 08:46:36 +0000 (UTC) (envelope-from sos@freebsd.org) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id F145443D45; Wed, 6 Sep 2006 08:46:35 +0000 (GMT) (envelope-from sos@freebsd.org) Received: from [194.192.25.130] (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k868kZoQ037337; Wed, 6 Sep 2006 10:46:35 +0200 (CEST) (envelope-from sos@freebsd.org) Message-ID: <44FE8AEA.8060707@freebsd.org> Date: Wed, 06 Sep 2006 10:46:34 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5.0.2 (X11/20060531) MIME-Version: 1.0 To: Joel Dahl References: <1157390268.673.57.camel@localhost> In-Reply-To: <1157390268.673.57.camel@localhost> Content-Type: multipart/mixed; boundary="------------060902050300060305030602" X-mail-scanned: by DeepCore Virus & Spam killer v2.0beta Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 08:46:36 -0000 This is a multi-part message in MIME format. --------------060902050300060305030602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Joel Dahl wrote: > Hi all, > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > which is a High Definition Audio driver and should enable basic audio > capabilities on a lot of new machines on the market. He's been busy > with improving the driver lately, so he asked me to send out an > announcement and a call for testers -- yes, the driver is ready for a > wider audience now. :-) > > This driver is based on Stephane E. Potvin's HDA driver, although big > parts have been rewritten since then. The driver is still in an early > form and many parts needs refinements, but basic audio capabilities such > as playback/recording should work and we would like to get this into > CURRENT soon, if everything goes according to the plan. > OK, tried this on an ASUS A8N-VM CSM (nVidia 6150/MCP51 based) and although it does produce sound there are a few problems: 1. the output on line-out has a constant highpitched tone along side the sound leaving that extremely annoying to listen on. However both the line-in and mix-in jacks produce perfect sound output, so it seems some signal routing is wrong... 2. if I touch any of the mixer settings, ie change the volume, all sound goes totally silent, no messages or anything just silence. I've found no way to get sound back without rebooting as the module doesn't want to unload. Diverse output attached, let me know if there is anything to test/try etc... God work so far! much appreciated! -Søren --------------060902050300060305030602 Content-Type: text/plain; name="hda-report1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hda-report1" FreeBSD sos.deepcore.dk 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Sep 6 10:22:03 CEST 2006 sos@sos.deepcore.dk:/usr/src/sys/i386/compile/SOS i386 pcm0: mem 0xfebd8000-0xfebdbfff irq 21 at device 16.1 on pci0 pcm0: node 18: WARNING!!! Connection length=8 != found=7 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xfebd8000 irq 21 kld snd_hda (1p/1r/4v channels duplex default) [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 670, underruns 0, ready 0 [b:16384/2048/8|bs:131072/4096/32] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:2:dsp0.4]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:3:dsp0.5]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 4 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 26:26 Mixer mic is currently set to 100:100 Mixer cd is currently set to 75:75 Mixer rec is currently set to 100:100 Recording source: mic --------------060902050300060305030602-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 09:26:55 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 912DD16A4E1; Wed, 6 Sep 2006 09:26:55 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av8-1-sn3.vrr.skanova.net (av8-1-sn3.vrr.skanova.net [81.228.9.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA7843D46; Wed, 6 Sep 2006 09:26:49 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 072893834E; Wed, 6 Sep 2006 11:26:48 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id ECA2138323; Wed, 6 Sep 2006 11:26:47 +0200 (CEST) Received: from dude.automatvapen.se (81-235-164-56-no21.tbcn.telia.com [81.235.164.56]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id DAB1C37E55; Wed, 6 Sep 2006 11:26:47 +0200 (CEST) From: Joel Dahl To: =?ISO-8859-1?Q?S=F8ren?= Schmidt In-Reply-To: <44FE8AEA.8060707@freebsd.org> References: <1157390268.673.57.camel@localhost> <44FE8AEA.8060707@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Wed, 06 Sep 2006 11:26:48 +0200 Message-Id: <1157534808.667.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 09:26:55 -0000 On Wed, 2006-09-06 at 10:46 +0200, Søren Schmidt wrote: > Joel Dahl wrote: > > Hi all, > > > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > > which is a High Definition Audio driver and should enable basic audio > > capabilities on a lot of new machines on the market. He's been busy > > with improving the driver lately, so he asked me to send out an > > announcement and a call for testers -- yes, the driver is ready for a > > wider audience now. :-) > > > > This driver is based on Stephane E. Potvin's HDA driver, although big > > parts have been rewritten since then. The driver is still in an early > > form and many parts needs refinements, but basic audio capabilities such > > as playback/recording should work and we would like to get this into > > CURRENT soon, if everything goes according to the plan. > > > OK, tried this on an ASUS A8N-VM CSM (nVidia 6150/MCP51 based) and > although it does produce sound there are a few problems: Can you provide a verbose dmesg? :-) -- Joel From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 14:03:43 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6874016A4DD; Wed, 6 Sep 2006 14:03:43 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from navarro.irbis.net.ru (navarro.irbis.net.ru [85.118.141.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D0443D49; Wed, 6 Sep 2006 14:03:37 +0000 (GMT) (envelope-from y.pankov@irbis.net.ru) Received: by navarro.irbis.net.ru (Postfix, from userid 106) id 800DD627897; Wed, 6 Sep 2006 18:03:26 +0400 (MSD) Received: from sierra.ipv6.irbis.net.ru (sierra.ipv6.irbis.net.ru [IPv6:2001:618:400:72ab:217:31ff:fe49:61f8]) by navarro.irbis.net.ru (Postfix) with ESMTP id 60810627895; Wed, 6 Sep 2006 18:03:26 +0400 (MSD) From: Yuri Pankov To: Joel Dahl In-Reply-To: <44FE8AEA.8060707@freebsd.org> References: <1157390268.673.57.camel@localhost> <44FE8AEA.8060707@freebsd.org> Content-Type: text/plain; charset=UTF-8 Organization: Irbis Telecommunications, JSC Date: Wed, 06 Sep 2006 18:02:40 +0400 Message-Id: <1157551360.760.20.camel@sierra.irbis.net.ru> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 14:03:43 -0000 On Wed, 2006-09-06 at 10:46 +0200, Søren Schmidt wrote: > Joel Dahl wrote: > > Hi all, > > > > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > > which is a High Definition Audio driver and should enable basic audio > > capabilities on a lot of new machines on the market. He's been busy > > with improving the driver lately, so he asked me to send out an > > announcement and a call for testers -- yes, the driver is ready for a > > wider audience now. :-) > > > > This driver is based on Stephane E. Potvin's HDA driver, although big > > parts have been rewritten since then. The driver is still in an early > > form and many parts needs refinements, but basic audio capabilities such > > as playback/recording should work and we would like to get this into > > CURRENT soon, if everything goes according to the plan. > > > OK, tried this on an ASUS A8N-VM CSM (nVidia 6150/MCP51 based) and > although it does produce sound there are a few problems: > > 1. the output on line-out has a constant highpitched tone along side the > sound leaving that extremely annoying to listen on. > However both the line-in and mix-in jacks produce perfect sound > output, so it seems some signal routing is wrong... > > 2. if I touch any of the mixer settings, ie change the volume, all sound > goes totally silent, no messages or anything just silence. > I've found no way to get sound back without rebooting as the module > doesn't want to unload. > > > Diverse output attached, let me know if there is anything to test/try etc... > > God work so far! much appreciated! > > -Søren > Hi, I've tested it on Intel 82801F HDA controller (motherboard make unknown, can't open the case) and have the same problem as Søren - constant highpitched tone, and also line-in and mic-in produce normal sound. Problem with volume settings is present too, but I was able to kldunload driver, and after loading it again, all worked fine. pcm0: mem 0xdfef8000-0xdfefbfff irq 16 at device 27.0 on pci0 pcm0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xdfef8000 pcm0: [MPSAFE] pcm0: Vendor: 0x000011d4 pcm0: Device: 0x00001986 pcm0: Revision: 0x00000005 pcm0: Stepping: 0x00000000 pcm0: PCI Subvendor: 0x818f1043 pcm0: Nodes: start=2 endnode=44 total=42 pcm0: node 18: WARNING!!! Connection length=8 != found=7 pcm0: sndbuf_setmap 1e248000, 4000; 0xd6679000 -> 1e248000 pcm0: sndbuf_setmap 1e206000, 4000; 0xd667d000 -> 1e206000 pcm0: pcm0: pcm0: +-------------------+ pcm0: | DUMPING HDA NODES | pcm0: +-------------------+ pcm0: pcm0: Default Parameter pcm0: ----------------- pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: IN amp: 0x80000000 pcm0: OUT amp: 0x80051f1f pcm0: pcm0: nid: 2 [DIGITAL] [DISABLED] pcm0: name: audio output pcm0: widget_cap: 0x00030311 pcm0: Stream cap: 0x00000005 pcm0: Format: AC3 PCM pcm0: PCM cap: 0x00020060 pcm0: PCM size: 16 pcm0: PCM rate: 44 48 pcm0: connections: 2 pcm0: | pcm0: + <- nid=1 [GHOST!] [UNKNOWN] pcm0: | pcm0: + <- nid=6 [audio input] pcm0: pcm0: nid: 3 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x0000044d pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 0 pcm0: pcm0: nid: 4 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x0000040d pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 0 pcm0: pcm0: nid: 5 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x0000040d pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 0 pcm0: pcm0: nid: 6 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x00100511 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x0006007f pcm0: PCM size: 16 20 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: connections: 1 pcm0: | pcm0: + <- nid=18 [audio selector] pcm0: pcm0: nid: 7 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200101 pcm0: connections: 8 pcm0: | pcm0: + <- nid=3 [audio output] pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: | pcm0: + <- nid=19 [audio selector] pcm0: | pcm0: + <- nid=20 [audio selector] pcm0: | pcm0: + <- nid=21 [audio selector] pcm0: | pcm0: + <- nid=22 [audio selector] pcm0: | pcm0: + <- nid=23 [audio selector] pcm0: | pcm0: + <- nid=24 [audio selector] pcm0: pcm0: nid: 8 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200100 pcm0: connections: 1 pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: pcm0: nid: 9 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010e pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=4 [audio output] pcm0: | pcm0: + <- nid=5 [audio output] pcm0: pcm0: nid: 10 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 3 pcm0: | pcm0: + <- nid=7 [audio mixer] (selected) pcm0: | pcm0: + <- nid=4 [audio output] pcm0: | pcm0: + <- nid=5 [audio output] pcm0: pcm0: nid: 11 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=7 [audio mixer] (selected) pcm0: | pcm0: + <- nid=4 [audio output] pcm0: pcm0: nid: 12 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=4 [audio output] (selected) pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: pcm0: nid: 13 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=5 [audio output] (selected) pcm0: | pcm0: + <- nid=8 [audio mixer] pcm0: pcm0: nid: 14 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300100 pcm0: connections: 2 pcm0: | pcm0: + <- nid=8 [audio mixer] (selected) pcm0: | pcm0: + <- nid=17 [audio selector] pcm0: pcm0: nid: 15 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x270300 pcm0: mute=0 step=3 size=39 offset=0 pcm0: connections: 8 pcm0: | pcm0: + <- nid=31 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=32 [pin: line in (jack)] pcm0: | pcm0: + <- nid=29 [pin: line out (jack)] pcm0: | pcm0: + <- nid=29 [pin: line out (jack)] pcm0: | pcm0: + <- nid=39 [audio mixer] pcm0: | pcm0: + <- nid=40 [audio mixer] pcm0: | pcm0: + <- nid=41 [audio mixer] pcm0: | pcm0: + <- nid=42 [audio mixer] pcm0: pcm0: nid: 16 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 3 pcm0: | pcm0: + <- nid=32 [pin: line in (jack)] (selected) pcm0: | pcm0: + <- nid=28 [pin: line out (jack)] pcm0: | pcm0: + <- nid=31 [pin: Mic in (jack)] pcm0: pcm0: nid: 17 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300941 pcm0: connections: 2 pcm0: | pcm0: + <- nid=15 [audio selector] (selected) pcm0: | pcm0: + <- nid=43 [audio mixer] pcm0: pcm0: nid: 18 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x80050f00 pcm0: mute=1 step=15 size=5 offset=0 pcm0: connections: 8 pcm0: | pcm0: + <- nid=17 [audio selector] (selected) pcm0: | pcm0: + <- nid=34 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=33 [pin: AUX (none)] pcm0: | pcm0: + <- nid=16 [audio selector] pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: | pcm0: + <- nid=8 [audio mixer] pcm0: | pcm0: + <- nid=35 [pin: telephony (none)] pcm0: | pcm0: + <- nid=0 [GHOST!] [UNKNOWN] pcm0: pcm0: nid: 19 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 1 pcm0: | pcm0: + <- nid=17 [audio selector] pcm0: pcm0: nid: 20 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010c pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 1 pcm0: | pcm0: + <- nid=35 [pin: telephony (none)] pcm0: pcm0: nid: 21 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 1 pcm0: | pcm0: + <- nid=34 [pin: CD (fixed)] pcm0: pcm0: nid: 22 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 1 pcm0: | pcm0: + <- nid=33 [pin: AUX (none)] pcm0: pcm0: nid: 23 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x80051f17 pcm0: mute=1 step=31 size=5 offset=23 pcm0: connections: 1 pcm0: | pcm0: + <- nid=16 [audio selector] pcm0: pcm0: nid: 24 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010c pcm0: Output amp: 0x800b0f0f pcm0: mute=1 step=15 size=11 offset=15 pcm0: connections: 2 pcm0: | pcm0: + <- nid=25 [beep widget] (selected) pcm0: | pcm0: + <- nid=36 [pin: other (none)] pcm0: pcm0: nid: 25 [ANALOG] pcm0: name: beep widget pcm0: widget_cap: 0x00700000 pcm0: connections: 0 pcm0: pcm0: nid: 26 [ANALOG] pcm0: name: pin: headphones out (jack) pcm0: widget_cap: 0x00400185 pcm0: Pin cap: 0x0000001f pcm0: ISC TRQD HP OUT : UNSOL pcm0: Output amp: 0x80051f1f pcm0: mute=1 step=31 size=5 offset=31 pcm0: connections: 1 pcm0: | pcm0: + <- nid=10 [audio selector] pcm0: pcm0: nid: 27 [ANALOG] pcm0: name: pin: line out (jack) pcm0: widget_cap: 0x00400185 pcm0: Pin cap: 0x0001001f pcm0: ISC TRQD HP OUT EAPD : UNSOL pcm0: Output amp: 0x80051f1f pcm0: mute=1 step=31 size=5 offset=31 pcm0: connections: 1 pcm0: | pcm0: + <- nid=11 [audio selector] pcm0: pcm0: nid: 28 [ANALOG] pcm0: name: pin: line out (jack) pcm0: widget_cap: 0x00400185 pcm0: Pin cap: 0x00000037 pcm0: ISC TRQD OUT IN : UNSOL pcm0: Output amp: 0x80051f1f pcm0: mute=1 step=31 size=5 offset=31 pcm0: connections: 1 pcm0: | pcm0: + <- nid=12 [audio selector] pcm0: pcm0: nid: 29 [ANALOG] pcm0: name: pin: line out (jack) pcm0: widget_cap: 0x00400985 pcm0: Pin cap: 0x00001737 pcm0: ISC TRQD OUT IN : UNSOL pcm0: Output amp: 0x80051f1f pcm0: mute=1 step=31 size=5 offset=31 pcm0: connections: 1 pcm0: | pcm0: + <- nid=13 [audio selector] pcm0: pcm0: nid: 30 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x00400104 pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: Output amp: 0x80051f1f pcm0: mute=1 step=31 size=5 offset=31 pcm0: connections: 1 pcm0: | pcm0: + <- nid=14 [audio selector] pcm0: pcm0: nid: 31 [ANALOG] pcm0: name: pin: Mic in (jack) pcm0: widget_cap: 0x00400081 pcm0: Pin cap: 0x00001727 pcm0: ISC TRQD IN : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 32 [ANALOG] pcm0: name: pin: line in (jack) pcm0: widget_cap: 0x00400081 pcm0: Pin cap: 0x00001727 pcm0: ISC TRQD IN : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 33 [ANALOG] pcm0: name: pin: AUX (none) pcm0: widget_cap: 0x00400081 pcm0: Pin cap: 0x00000027 pcm0: ISC TRQD IN : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 34 [ANALOG] pcm0: name: pin: CD (fixed) pcm0: widget_cap: 0x00400001 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 35 [ANALOG] pcm0: name: pin: telephony (none) pcm0: widget_cap: 0x00400000 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 36 [ANALOG] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00400000 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 37 [DIGITAL] [DISABLED] pcm0: name: pin: SPDIF out (jack) pcm0: widget_cap: 0x00400301 pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: connections: 1 pcm0: | pcm0: + <- nid=2 [audio output] [DISABLED] pcm0: pcm0: nid: 38 [ANALOG] pcm0: name: power widget pcm0: widget_cap: 0x00500500 pcm0: connections: 8 pcm0: | pcm0: + <- nid=7 [audio mixer] (selected) pcm0: | pcm0: + <- nid=8 [audio mixer] pcm0: | pcm0: + <- nid=19 [audio selector] pcm0: | pcm0: + <- nid=20 [audio selector] pcm0: | pcm0: + <- nid=21 [audio selector] pcm0: | pcm0: + <- nid=22 [audio selector] pcm0: | pcm0: + <- nid=23 [audio selector] pcm0: | pcm0: + <- nid=24 [audio selector] pcm0: pcm0: nid: 39 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=31 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=29 [pin: line out (jack)] pcm0: pcm0: nid: 40 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=31 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=32 [pin: line in (jack)] pcm0: pcm0: nid: 41 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=29 [pin: line out (jack)] pcm0: | pcm0: + <- nid=32 [pin: line in (jack)] pcm0: pcm0: nid: 42 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200101 pcm0: connections: 3 pcm0: | pcm0: + <- nid=31 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=29 [pin: line out (jack)] pcm0: | pcm0: + <- nid=32 [pin: line in (jack)] pcm0: pcm0: nid: 43 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x00200100 pcm0: connections: 1 pcm0: | pcm0: + <- nid=15 [audio selector] pcm0: pcm0: +-----------------------------------+ pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | pcm0: +-----------------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- nid: 9 index: 0 (nid: 4) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 9 index: 1 (nid: 5) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 15 index: 0 mute: 0 step: 3 size: 39 off: 0 dir=0x1 pcm0: | pcm0: +- nid: 21 index: 0 mute: 1 step: 31 size: 5 off: 23 dir=0x1 pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- nid: 9 index: 0 (nid: 4) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 9 index: 1 (nid: 5) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: pcm0: CD Volume (OSS: cd) pcm0: | pcm0: +- nid: 21 index: 0 mute: 1 step: 31 size: 5 off: 23 dir=0x1 pcm0: pcm0: Microphone Volume (OSS: mic) pcm0: | pcm0: +- nid: 15 index: 0 mute: 0 step: 3 size: 39 off: 0 dir=0x1 pcm0: pcm0: Line-in Volume (OSS: line) pcm0: | pcm0: +- nid: 15 index: 0 mute: 0 step: 3 size: 39 off: 0 dir=0x1 pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- nid: 18 index: 0 mute: 1 step: 15 size: 5 off: 0 dir=0x1 pcm0: pcm0: Recording sources: pcm0: pcm0: nid=18 [audio selector] pcm0: | pcm0: + <- nid=17 [audio selector] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=34 [pin: CD (fixed)] [recsrc: vol, cd] pcm0: | pcm0: + <- nid=33 [pin: AUX (none)] pcm0: | pcm0: + <- nid=16 [audio selector] pcm0: | pcm0: + <- nid=7 [audio mixer] [recsrc: vol, pcm, mic, cd] pcm0: | pcm0: + <- nid=8 [audio mixer] [recsrc: vol, pcm] pcm0: | pcm0: + <- nid=35 [pin: telephony (none)] pcm0: pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: PCM Playback: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 pcm0: pcm0: PCM Record: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e007f pcm0: PCM size: 16 20 24 pcm0: PCM rate: 44 48 88 96 176 192 FreeBSD sierra.irbis.net.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 25 15:43:39 MSD 2006 root@sierra.irbis.net.ru:/usr/obj/usr/src/sys/SIERRA i386 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xdfef8000 irq 16 kld snd_hda [20060906_001] (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 44100/48000, fmt 0x10000010, flags 0x00003030, 0x00000010, pid 95908 interrupts 3865, underruns 0, ready 20480 [b:16384/8192/2| bs:20480/1024/20] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2| bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic Yuri From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 18:59:05 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29CA816A4E2 for ; Wed, 6 Sep 2006 18:59:05 +0000 (UTC) (envelope-from bsd-ports@mguillaud.net) Received: from mail.mguillaud.net (vds202.sivit.org [80.248.208.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id B579443D49 for ; Wed, 6 Sep 2006 18:59:01 +0000 (GMT) (envelope-from bsd-ports@mguillaud.net) Received: from [IPv6???1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Maxime Guillaud", Issuer "mguillaud.net CA" (verified OK)) by mail.mguillaud.net (Postfix) with ESMTP id 8C8A369D08 for ; Wed, 6 Sep 2006 20:58:58 +0200 (CEST) Message-ID: <44FF1A78.2010308@mguillaud.net> Date: Wed, 06 Sep 2006 20:59:04 +0200 From: Maxime Guillaud User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <1157390268.673.57.camel@localhost> In-Reply-To: <1157390268.673.57.camel@localhost> Content-Type: multipart/mixed; boundary="------------050207090507000506000606" Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 18:59:05 -0000 This is a multi-part message in MIME format. --------------050207090507000506000606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Joel Dahl wrote: > Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now, > which is a High Definition Audio driver and should enable basic audio > capabilities on a lot of new machines on the market. Great, thanks for your time. On my Acer Aspire 1641, the driver loads fine and userland apps can "play" sound, but absolutely nothing comes out. Below is some information about the system. Note (from the attached dmesg) how all the amps seem to be muted... Maxime $ pciconf -lv pcm0@pci0:27:0: class=0x040300 card=0x008f1025 chip=0x26688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class = multimedia $ sysctl hw.snd.verbose=2; cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit) Installed devices: pcm0: at memory 0xd000c000 irq 16 kld snd_hda [20060906_001] (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.p0]: spd 8000/48000, fmt 0x00000008/0x00000010, flags 0x00000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:131072/128/1024] {userland} -> feeder_root(0x00000008) -> feeder_8to16(0x00000008 -> 0x00000080) -> feeder_rate(8000 -> 48000) -> feeder_sign16(0x00000080 -> 0x00000010) -> {hardware} [pcm0:record:0:dsp0.r0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} $ sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.feeder_rate_round: 1 hw.snd.feeder_rate_buffersize: 65536 hw.snd.feeder_rate_ratemax: 256000 hw.snd.feeder_rate_ratemin: 4000 hw.snd.verbose: 1 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 66:66 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic --------------050207090507000506000606 Content-Type: text/plain; name="dmesg.hda.acer1641" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.hda.acer1641" Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #0: Thu Jun 1 21:26:22 CEST 2006 root@phoebe.mguillaud.net:/usr/src/sys-hda/i386/compile/HDA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1600.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 AMD Features=0x100000 real memory = 526909440 (502 MB) avail memory = 506265600 (482 MB) ACPI APIC Table: ACPI-0377: *** Info: Table [SSDT] replaced by host OS ACPI-0377: *** Info: Table [SSDT] replaced by host OS ACPI-0377: *** Info: Table [SSDT] replaced by host OS ACPI: overriding DSDT/SSDT with custom table ACPI-0377: *** Info: Table [DSDT] replaced by host OS ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard wlan: mac acl policy registered npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) pci_link0: irq 10 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 11 on acpi0 pci_link4: irq 0 on acpi0 pci_link5: irq 0 on acpi0 pci_link6: irq 0 on acpi0 pci_link7: irq 11 on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 unknown: I/O range not supported Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) pci0: at device 2.1 (no driver attached) pci0: at device 27.0 (no driver attached) pcib1: irq 17 at device 28.0 on pci0 pci9: on pcib1 pcib2: irq 16 at device 28.1 on pci0 pci10: on pcib2 pcib3: irq 18 at device 28.2 on pci0 pci2: on pcib3 uhci0: port 0x1820-0x183f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1880-0x189f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xb0040000-0xb00403ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib4: at device 30.0 on pci0 pci6: on pcib4 cbb0: mem 0xb0100000-0xb0100fff irq 18 at device 1.0 on pci6 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 iwi0: mem 0xb0101000-0xb0101fff irq 17 at device 4.0 on pci6 iwi0: Ethernet address: 00:12:f0:e5:9c:1d rl0: port 0x2000-0x20ff mem 0xb0102000-0xb01020ff irq 16 at device 8.0 on pci6 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:c0:9f:cf:2c:f8 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xe0000-0xe17ff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 1600064529 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA33 Trying to mount root from ufs:/dev/ad0s3a GEOM_ELI: Device ad0s4.eli created. GEOM_ELI: Cipher: AES GEOM_ELI: Key length: 128 GEOM_ELI: Crypto: software GEOM_ELI: Device ad0s3b.eli created. GEOM_ELI: Cipher: AES GEOM_ELI: Key length: 256 GEOM_ELI: Crypto: software iwi0: link state changed to UP pci0: driver added found-> vendor=0x8086, dev=0x2592, revid=0x03 bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0003, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 pci0:2:0: reprobing on driver added found-> vendor=0x8086, dev=0x2792, revid=0x03 bus=0, slot=2, func=1 class=03-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 pci0:2:1: reprobing on driver added found-> vendor=0x8086, dev=0x2668, revid=0x04 bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:27:0: reprobing on driver added pcm0: mem 0xd000c000-0xd000ffff at device 27.0 on pci0 pcm0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xd000c000 pcib0: matched entry for 0.27.INTA pcib0: slot 27 INTA hardwired to IRQ 16 pcm0: [MPSAFE] pcm0: Vendor: 0x000010ec pcm0: Device: 0x00000260 pcm0: Revision: 0x00000004 pcm0: Stepping: 0x00000000 pcm0: PCI Subvendor: 0x008f1025 pcm0: Nodes: start=2 endnode=28 total=26 pcm0: sndbuf_setmap 1eb36000, 4000; 0xd640d000 -> 1eb36000 pcm0: sndbuf_setmap 1eb2e000, 4000; 0xd6411000 -> 1eb2e000 pcm0: pcm0: pcm0: +-------------------+ pcm0: | DUMPING HDA NODES | pcm0: +-------------------+ pcm0: pcm0: Default Parameter pcm0: ----------------- pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: IN amp: 0x00000000 pcm0: OUT amp: 0x00000000 pcm0: pcm0: nid: 2 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x00000011 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 3 [DIGITAL] [DISABLED] pcm0: name: audio output pcm0: widget_cap: 0x00000211 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x001e0560 pcm0: PCM size: 16 20 24 32 pcm0: PCM rate: 11 22 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 4 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x0010011b pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x00060160 pcm0: PCM size: 16 20 pcm0: PCM rate: 22 44 48 pcm0: Input amp: 0x80032300 pcm0: mute=1 step=35 size=3 offset=0 pcm0: connections: 7 pcm0: | pcm0: + <- nid=18 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] pcm0: | pcm0: + <- nid=20 [pin: line in (jack)] pcm0: | pcm0: + <- nid=21 [pin: speaker (none)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=15 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=16 [pin: speaker (none)] pcm0: pcm0: nid: 5 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x0010011b pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x00060160 pcm0: PCM size: 16 20 pcm0: PCM rate: 22 44 48 pcm0: Input amp: 0x80032300 pcm0: mute=1 step=35 size=3 offset=0 pcm0: connections: 8 pcm0: | pcm0: + <- nid=18 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] pcm0: | pcm0: + <- nid=20 [pin: line in (jack)] pcm0: | pcm0: + <- nid=21 [pin: speaker (none)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: | pcm0: + <- nid=15 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=16 [pin: speaker (none)] pcm0: pcm0: nid: 6 [DIGITAL] [DISABLED] pcm0: name: audio input pcm0: widget_cap: 0x00100391 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x001e0160 pcm0: PCM size: 16 20 24 32 pcm0: PCM rate: 22 44 48 pcm0: connections: 1 pcm0: | pcm0: + <- nid=25 [pin: speaker (none)] [DISABLED] pcm0: pcm0: nid: 7 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010b pcm0: Input amp: 0x80034123 pcm0: mute=1 step=65 size=3 offset=35 pcm0: connections: 8 pcm0: | pcm0: + <- nid=18 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] pcm0: | pcm0: + <- nid=20 [pin: line in (jack)] pcm0: | pcm0: + <- nid=21 [pin: speaker (none)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=23 [pin: line in (fixed)] pcm0: | pcm0: + <- nid=15 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=16 [pin: speaker (none)] pcm0: pcm0: nid: 8 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: pcm0: nid: 9 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010f pcm0: Output amp: 0x34040 pcm0: mute=0 step=64 size=3 offset=64 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: pcm0: nid: 10 [ANALOG] pcm0: name: audio mixer pcm0: widget_cap: 0x0020010e pcm0: Output amp: 0x34123 pcm0: mute=0 step=65 size=3 offset=35 pcm0: Input amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 2 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: | pcm0: + <- nid=7 [audio mixer] pcm0: pcm0: nid: 11 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=8 [audio mixer] (selected) pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: pcm0: nid: 12 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=8 [audio mixer] (selected) pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: pcm0: nid: 13 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=8 [audio mixer] (selected) pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: pcm0: nid: 14 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300101 pcm0: connections: 2 pcm0: | pcm0: + <- nid=8 [audio mixer] (selected) pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: pcm0: nid: 15 [ANALOG] pcm0: name: pin: headphones out (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0001003f pcm0: ISC TRQD HP OUT IN EAPD : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=8 [audio mixer] pcm0: pcm0: nid: 16 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0001003f pcm0: ISC TRQD HP OUT IN EAPD : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=9 [audio mixer] pcm0: pcm0: nid: 17 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040010c pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=10 [audio mixer] pcm0: pcm0: nid: 18 [ANALOG] pcm0: name: pin: Mic in (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=11 [audio selector] pcm0: pcm0: nid: 19 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=12 [audio selector] pcm0: pcm0: nid: 20 [ANALOG] pcm0: name: pin: line in (jack) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=13 [audio selector] pcm0: pcm0: nid: 21 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x0040018d pcm0: Pin cap: 0x0000133f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: Output amp: 0x80000000 pcm0: mute=1 step=0 size=0 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=14 [audio selector] pcm0: pcm0: nid: 22 [ANALOG] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x00400001 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 23 [ANALOG] pcm0: name: pin: line in (fixed) pcm0: widget_cap: 0x00400000 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 24 [DIGITAL] [DISABLED] pcm0: name: pin: SPDIF out (fixed) pcm0: widget_cap: 0x00400380 pcm0: Pin cap: 0x00000014 pcm0: OUT : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=3 [audio output] [DISABLED] pcm0: pcm0: nid: 25 [DIGITAL] [DISABLED] pcm0: name: pin: speaker (none) pcm0: widget_cap: 0x00400280 pcm0: Pin cap: 0x00000024 pcm0: IN : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 26 [ANALOG] pcm0: name: vendor widget pcm0: widget_cap: 0x00f00040 pcm0: connections: 0 pcm0: pcm0: nid: 27 [ANALOG] pcm0: name: volume widget pcm0: widget_cap: 0x00600080 pcm0: connections: 0 pcm0: pcm0: +-----------------------------------+ pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | pcm0: +-----------------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- nid: 7 index: 0 (nid: 18) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: | pcm0: +- nid: 7 index: 2 (nid: 20) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: | pcm0: +- nid: 8 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 9 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 10 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- nid: 8 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 9 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 10 index: 0 (nid: 2) mute: 1 step: 0 size: 0 off: 0 dir=0x2 pcm0: pcm0: Microphone Volume (OSS: mic) pcm0: | pcm0: +- nid: 7 index: 0 (nid: 18) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: pcm0: Line-in Volume (OSS: line) pcm0: | pcm0: +- nid: 7 index: 0 (nid: 18) mute: 1 step: 65 size: 3 off: 35 dir=0x2 pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- nid: 4 index: 0 mute: 1 step: 35 size: 3 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 5 index: 0 mute: 1 step: 35 size: 3 off: 0 dir=0x2 pcm0: pcm0: Recording sources: pcm0: pcm0: nid=4 [audio input] pcm0: | pcm0: + <- nid=18 [pin: Mic in (jack)] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] pcm0: | pcm0: + <- nid=20 [pin: line in (jack)] [recsrc: vol, line] pcm0: | pcm0: + <- nid=21 [pin: speaker (none)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=15 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=16 [pin: speaker (none)] pcm0: pcm0: nid=5 [audio input] pcm0: | pcm0: + <- nid=18 [pin: Mic in (jack)] [recsrc: vol, mic] pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] pcm0: | pcm0: + <- nid=20 [pin: line in (jack)] [recsrc: vol, line] pcm0: | pcm0: + <- nid=21 [pin: speaker (none)] pcm0: | pcm0: + <- nid=22 [pin: speaker (none)] pcm0: | pcm0: + <- nid=7 [audio mixer] [recsrc: vol, line, mic] pcm0: | pcm0: + <- nid=15 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=16 [pin: speaker (none)] pcm0: pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: PCM Playback: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 pcm0: pcm0: PCM Record: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e0560 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 22 44 48 found-> vendor=0x8086, dev=0x266a, revid=0x04 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=19 pci0:31:3: reprobing on driver added pci2: driver added pci6: driver added pci9: driver added pci10: driver added --------------050207090507000506000606-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 20:20:23 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D0E516A4E0 for ; Wed, 6 Sep 2006 20:20:22 +0000 (UTC) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: from gallie3436.ucr.edu (gallie3436.ucr.edu [138.23.156.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A5C43D46 for ; Wed, 6 Sep 2006 20:20:22 +0000 (GMT) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: from gallie3436.ucr.edu (localhost.ucr.edu [127.0.0.1]) by gallie3436.ucr.edu (8.13.6/8.13.6) with ESMTP id k86KKLs3042698 for ; Wed, 6 Sep 2006 13:20:21 -0700 (PDT) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: (from cvcaldwell@localhost) by gallie3436.ucr.edu (8.13.6/8.13.6/Submit) id k86KKKEV042697 for freebsd-multimedia@FreeBSD.org; Wed, 6 Sep 2006 13:20:20 -0700 (PDT) (envelope-from cvcaldwell) Date: Wed, 6 Sep 2006 13:20:20 -0700 From: C Caldwell To: freebsd-multimedia@FreeBSD.org Message-ID: <20060906202020.GA42605@gallie3436.ucr.edu> Mail-Followup-To: freebsd-multimedia@FreeBSD.org References: <1157390268.673.57.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <1157390268.673.57.camel@localhost> User-Agent: Mutt/1.4.2.1i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 20:20:23 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 04, 2006 at 07:17:48PM +0200, Joel Dahl wrote: > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %% It doesn't work! What should I do? %% > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > If you can kldload the driver, do this: > > # sysctl debug.bootverbose=1 > # kldunload snd_hda > # kldload snd_hda > # dmesg | grep ^pcm > > ...and send us the output along with a description of your problem. > Also, include the output of: > > # uname -a > # pciconf -lv | grep -B 4 audio > # sysctl hw.snd.verbose=2 ; cat /dev/sndstat > # sysctl hw.snd > # /usr/sbin/mixer > > If you cannot get any sound, it is important that you test to plug > in speakers/headset into any jacks available. BIOS bugs, vendor > issues etc can cause screwed up audio routing. Thank you for your work on this driver. I was not able to get any sound through the speakers or headphones except a small and short "click" sort of noise-sound you get when you first push a plug into a jack; and that was only from the microphone (red-colored) jack. My board is an Intel D945GNT Media series. The Media series sound is apparently different from the Desktop series. Media series supports 7.1 channels. Desktop series supports 5.1 (? or at least not 7.l) channels. I don't know if that information will make any difference, but there it is. :) There was nothing returned with the command pciconf -lv | grep -B 4 audio so I am attaching the results of pciconf -lv Here is the information you requested: --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg-pcm pcm0: mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 pcm0: detached pcm0: mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 pcm0: [MPSAFE] pcm0: Vendor: 0x00008384 pcm0: Device: 0x00007681 pcm0: Revision: 0x00000032 pcm0: Stepping: 0x00000001 pcm0: PCI Subvendor: 0x03038086 pcm0: Nodes: start=2 endnode=28 total=26 pcm0: sndbuf_setmap 1eae7000, 4000; 0xd644f000 -> 1eae7000 pcm0: sndbuf_setmap 1eae3000, 4000; 0xd6453000 -> 1eae3000 pcm0: pcm0: +-------------------+ pcm0: | DUMPING HDA NODES | pcm0: +-------------------+ pcm0: pcm0: Default Parameter pcm0: ----------------- pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: IN amp: 0x80050e00 pcm0: OUT amp: 0x80027f7f pcm0: pcm0: nid: 2 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x000d0c05 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: Output amp: 0x80027f7f pcm0: mute=1 step=127 size=2 offset=127 pcm0: connections: 0 pcm0: pcm0: nid: 3 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x000d0c05 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: Output amp: 0x80027f7f pcm0: mute=1 step=127 size=2 offset=127 pcm0: connections: 0 pcm0: pcm0: nid: 4 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x000d0c05 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: Output amp: 0x80027f7f pcm0: mute=1 step=127 size=2 offset=127 pcm0: connections: 0 pcm0: pcm0: nid: 5 [ANALOG] pcm0: name: audio output pcm0: widget_cap: 0x000d0c05 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: Output amp: 0x80027f7f pcm0: mute=1 step=127 size=2 offset=127 pcm0: connections: 0 pcm0: pcm0: nid: 6 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x001d0541 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: connections: 1 pcm0: | pcm0: + <- nid=23 [audio selector] pcm0: pcm0: nid: 7 [ANALOG] pcm0: name: audio input pcm0: widget_cap: 0x001d0541 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: connections: 1 pcm0: | pcm0: + <- nid=24 [audio selector] pcm0: pcm0: nid: 8 [DIGITAL] [DISABLED] pcm0: name: audio output pcm0: widget_cap: 0x00040211 pcm0: Stream cap: 0x00000005 pcm0: Format: AC3 PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 9 [DIGITAL] [DISABLED] pcm0: name: audio input pcm0: widget_cap: 0x00140311 pcm0: Stream cap: 0x00000005 pcm0: Format: AC3 PCM pcm0: PCM cap: 0x000e0160 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 22 44 48 pcm0: connections: 1 pcm0: | pcm0: + <- nid=17 [pin: other (none)] [DISABLED] pcm0: pcm0: nid: 10 [ANALOG] pcm0: name: pin: headphones out (jack) pcm0: widget_cap: 0x00400181 pcm0: Pin cap: 0x0000173f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: pcm0: nid: 11 [ANALOG] pcm0: name: pin: Mic in (jack) pcm0: widget_cap: 0x00400181 pcm0: Pin cap: 0x00001737 pcm0: ISC TRQD OUT IN : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=4 [audio output] pcm0: pcm0: nid: 12 [ANALOG] pcm0: name: pin: line in (jack) pcm0: widget_cap: 0x00400181 pcm0: Pin cap: 0x00001737 pcm0: ISC TRQD OUT IN : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=3 [audio output] pcm0: pcm0: nid: 13 [ANALOG] pcm0: name: pin: speaker (jack) pcm0: widget_cap: 0x00400181 pcm0: Pin cap: 0x0000173f pcm0: ISC TRQD HP OUT IN : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=2 [audio output] pcm0: pcm0: nid: 14 [ANALOG] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00400081 pcm0: Pin cap: 0x00000024 pcm0: IN : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 15 [ANALOG] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00400181 pcm0: Pin cap: 0x00000037 pcm0: ISC TRQD OUT IN : UNSOL pcm0: connections: 1 pcm0: | pcm0: + <- nid=5 [audio output] pcm0: pcm0: nid: 16 [DIGITAL] [DISABLED] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00400301 pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: connections: 3 pcm0: | pcm0: + <- nid=8 [audio output] [DISABLED] pcm0: | pcm0: + <- nid=23 [audio selector] pcm0: | pcm0: + <- nid=25 [vendor widget] [DISABLED] pcm0: pcm0: nid: 17 [DIGITAL] [DISABLED] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00430681 pcm0: Pin cap: 0x00010024 pcm0: IN EAPD : UNSOL pcm0: connections: 0 pcm0: pcm0: nid: 18 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x270400 pcm0: mute=0 step=4 size=39 offset=0 pcm0: connections: 7 pcm0: | pcm0: + <- nid=14 [pin: other (none)] pcm0: | pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=15 [pin: other (none)] pcm0: | pcm0: + <- nid=11 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=12 [pin: line in (jack)] pcm0: | pcm0: + <- nid=13 [pin: speaker (jack)] pcm0: | pcm0: + <- nid=10 [pin: headphones out (jack)] pcm0: pcm0: nid: 19 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x0030010d pcm0: Output amp: 0x270400 pcm0: mute=0 step=4 size=39 offset=0 pcm0: connections: 7 pcm0: | pcm0: + <- nid=14 [pin: other (none)] pcm0: | pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=15 [pin: other (none)] pcm0: | pcm0: + <- nid=11 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=12 [pin: line in (jack)] pcm0: | pcm0: + <- nid=13 [pin: speaker (jack)] pcm0: | pcm0: + <- nid=10 [pin: headphones out (jack)] pcm0: pcm0: nid: 20 [ANALOG] pcm0: name: beep widget pcm0: widget_cap: 0x0070000c pcm0: Output amp: 0x170303 pcm0: mute=0 step=3 size=23 offset=3 pcm0: connections: 0 pcm0: pcm0: nid: 21 [ANALOG] pcm0: name: pin: Mic in (jack) pcm0: widget_cap: 0x00400001 pcm0: Pin cap: 0x00000020 pcm0: IN pcm0: connections: 0 pcm0: pcm0: nid: 22 [ANALOG] pcm0: name: volume widget pcm0: widget_cap: 0x00600000 pcm0: connections: 4 pcm0: | pcm0: + <- nid=2 [audio output] (selected) pcm0: | pcm0: + <- nid=3 [audio output] pcm0: | pcm0: + <- nid=4 [audio output] pcm0: | pcm0: + <- nid=5 [audio output] pcm0: pcm0: nid: 23 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300903 pcm0: Input amp: 0x80050e00 pcm0: mute=1 step=14 size=5 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=18 [audio selector] pcm0: pcm0: nid: 24 [ANALOG] pcm0: name: audio selector pcm0: widget_cap: 0x00300903 pcm0: Input amp: 0x80050e00 pcm0: mute=1 step=14 size=5 offset=0 pcm0: connections: 1 pcm0: | pcm0: + <- nid=19 [audio selector] pcm0: pcm0: nid: 25 [DIGITAL] [DISABLED] pcm0: name: vendor widget pcm0: widget_cap: 0x00f30201 pcm0: connections: 0 pcm0: pcm0: nid: 26 [DIGITAL] [DISABLED] pcm0: name: audio output pcm0: widget_cap: 0x00030201 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: connections: 0 pcm0: pcm0: nid: 27 [DIGITAL] [DISABLED] pcm0: name: pin: other (none) pcm0: widget_cap: 0x00400301 pcm0: Pin cap: 0x00000010 pcm0: OUT pcm0: connections: 1 pcm0: | pcm0: + <- nid=26 [audio output] [DISABLED] pcm0: pcm0: +-----------------------------------+ pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | pcm0: +-----------------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- nid: 23 index: 0 (nid: 18) mute: 1 step: 14 size: 5 off: 0 dir=0x2 pcm0: | pcm0: +- nid: 24 index: 0 (nid: 19) mute: 1 step: 14 size: 5 off: 0 dir=0x2 pcm0: pcm0: Speaker/Beep (OSS: speaker) pcm0: | pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 pcm0: pcm0: Recording sources: pcm0: pcm0: nid=18 [audio selector] pcm0: | pcm0: + <- nid=14 [pin: other (none)] pcm0: | pcm0: + <- nid=21 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=15 [pin: other (none)] pcm0: | pcm0: + <- nid=11 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=12 [pin: line in (jack)] pcm0: | pcm0: + <- nid=13 [pin: speaker (jack)] pcm0: | pcm0: + <- nid=10 [pin: headphones out (jack)] pcm0: pcm0: nid=19 [audio selector] pcm0: | pcm0: + <- nid=14 [pin: other (none)] pcm0: | pcm0: + <- nid=21 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=15 [pin: other (none)] pcm0: | pcm0: + <- nid=11 [pin: Mic in (jack)] pcm0: | pcm0: + <- nid=12 [pin: line in (jack)] pcm0: | pcm0: + <- nid=13 [pin: speaker (jack)] pcm0: | pcm0: + <- nid=10 [pin: headphones out (jack)] pcm0: pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: PCM Playback: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 pcm0: pcm0: PCM Record: 1 pcm0: Stream cap: 0x00000001 pcm0: Format: PCM pcm0: PCM cap: 0x000e07e0 pcm0: PCM size: 16 20 24 pcm0: PCM rate: 11 16 22 32 44 48 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=uname FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=pciconf hostb0@pci0:0:0: class=0x060000 card=0x544e8086 chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945 Series Memory Controller Hub (MCH)' class = bridge subclass = HOST-PCI none0@pci0:2:0: class=0x030000 card=0x544e8086 chip=0x27728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Integrated Graphics Controller' class = display subclass = VGA pcm0@pci0:27:0: class=0x040300 card=0x03038086 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia pcib1@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib2@pci0:28:2: class=0x060400 card=0x00000040 chip=0x27d48086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:28:3: class=0x060400 card=0x00000040 chip=0x27d68086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib4@pci0:28:4: class=0x060400 card=0x00000040 chip=0x27e08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib5@pci0:28:5: class=0x060400 card=0x00000040 chip=0x27e28086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x544e8086 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x544e8086 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x544e8086 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x544e8086 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x544e8086 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib6@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x544e8086 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x544e8086 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x01018f card=0x544e8086 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class = mass storage subclass = ATA none1@pci0:31:3: class=0x0c0500 card=0x544e8086 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus none2@pci6:1:0: class=0x040000 card=0x40111554 chip=0x036e109e rev=0x11 hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' device = 'Bt878/Fusion 878A Mediastream Controller' class = multimedia subclass = video none3@pci6:1:1: class=0x048000 card=0x40111554 chip=0x0878109e rev=0x11 hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' device = 'Bt878/Fusion878A Video Capture (Audio Section)' class = multimedia --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0x281a0000 irq 22 kld snd_hda (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=mixer Mixer vol is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic --pf9I7BMVVzbSWLtt-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 20:38:52 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE3BB16A4DE for ; Wed, 6 Sep 2006 20:38:52 +0000 (UTC) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: from gallie3436.ucr.edu (gallie3436.ucr.edu [138.23.156.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CAC043D60 for ; Wed, 6 Sep 2006 20:38:35 +0000 (GMT) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: from gallie3436.ucr.edu (localhost.ucr.edu [127.0.0.1]) by gallie3436.ucr.edu (8.13.6/8.13.6) with ESMTP id k86KcYMq042792 for ; Wed, 6 Sep 2006 13:38:34 -0700 (PDT) (envelope-from cvcaldwell@gallie3436.ucr.edu) Received: (from cvcaldwell@localhost) by gallie3436.ucr.edu (8.13.6/8.13.6/Submit) id k86KcY24042791 for freebsd-multimedia@FreeBSD.org; Wed, 6 Sep 2006 13:38:34 -0700 (PDT) (envelope-from cvcaldwell) Date: Wed, 6 Sep 2006 13:38:34 -0700 From: Christian Caldwell To: freebsd-multimedia@FreeBSD.org Message-ID: <20060906203834.GA42742@gallie3436.ucr.edu> Mail-Followup-To: freebsd-multimedia@FreeBSD.org References: <1157390268.673.57.camel@localhost> <20060906202020.GA42605@gallie3436.ucr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060906202020.GA42605@gallie3436.ucr.edu> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 06 Sep 2006 20:38:52 -0000 Somehow, my "sysctl hw.snd" results were lost. Here it is: hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 On Wed, Sep 06, 2006 at 01:20:20PM -0700, C Caldwell wrote: > On Mon, Sep 04, 2006 at 07:17:48PM +0200, Joel Dahl wrote: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > %% It doesn't work! What should I do? %% > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > If you can kldload the driver, do this: > > > > # sysctl debug.bootverbose=1 > > # kldunload snd_hda > > # kldload snd_hda > > # dmesg | grep ^pcm > > > > ...and send us the output along with a description of your problem. > > Also, include the output of: > > > > # uname -a > > # pciconf -lv | grep -B 4 audio > > # sysctl hw.snd.verbose=2 ; cat /dev/sndstat > > # sysctl hw.snd > > # /usr/sbin/mixer > > > > If you cannot get any sound, it is important that you test to plug > > in speakers/headset into any jacks available. BIOS bugs, vendor > > issues etc can cause screwed up audio routing. > > Thank you for your work on this driver. > I was not able to get any sound through the speakers or headphones > except a small and short "click" sort of noise-sound you get when > you first push a plug into a jack; and that was only from the > microphone (red-colored) jack. > > My board is an Intel D945GNT Media series. The Media series sound > is apparently different from the Desktop series. Media series > supports 7.1 channels. Desktop series supports 5.1 (? or at least > not 7.l) channels. I don't know if that information will make any > difference, but there it is. :) > > There was nothing returned with the command > pciconf -lv | grep -B 4 audio > so I am attaching the results of > pciconf -lv > > Here is the information you requested: > > > pcm0: mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 > pcm0: detached > pcm0: mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 > pcm0: [MPSAFE] > pcm0: Vendor: 0x00008384 > pcm0: Device: 0x00007681 > pcm0: Revision: 0x00000032 > pcm0: Stepping: 0x00000001 > pcm0: PCI Subvendor: 0x03038086 > pcm0: Nodes: start=2 endnode=28 total=26 > pcm0: sndbuf_setmap 1eae7000, 4000; 0xd644f000 -> 1eae7000 > pcm0: sndbuf_setmap 1eae3000, 4000; 0xd6453000 -> 1eae3000 > pcm0: > pcm0: +-------------------+ > pcm0: | DUMPING HDA NODES | > pcm0: +-------------------+ > pcm0: > pcm0: Default Parameter > pcm0: ----------------- > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: IN amp: 0x80050e00 > pcm0: OUT amp: 0x80027f7f > pcm0: > pcm0: nid: 2 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 3 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 4 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 5 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 6 [ANALOG] > pcm0: name: audio input > pcm0: widget_cap: 0x001d0541 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=23 [audio selector] > pcm0: > pcm0: nid: 7 [ANALOG] > pcm0: name: audio input > pcm0: widget_cap: 0x001d0541 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=24 [audio selector] > pcm0: > pcm0: nid: 8 [DIGITAL] [DISABLED] > pcm0: name: audio output > pcm0: widget_cap: 0x00040211 > pcm0: Stream cap: 0x00000005 > pcm0: Format: AC3 PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 0 > pcm0: > pcm0: nid: 9 [DIGITAL] [DISABLED] > pcm0: name: audio input > pcm0: widget_cap: 0x00140311 > pcm0: Stream cap: 0x00000005 > pcm0: Format: AC3 PCM > pcm0: PCM cap: 0x000e0160 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 22 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=17 [pin: other (none)] [DISABLED] > pcm0: > pcm0: nid: 10 [ANALOG] > pcm0: name: pin: headphones out (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x0000173f > pcm0: ISC TRQD HP OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=2 [audio output] > pcm0: > pcm0: nid: 11 [ANALOG] > pcm0: name: pin: Mic in (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00001737 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=4 [audio output] > pcm0: > pcm0: nid: 12 [ANALOG] > pcm0: name: pin: line in (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00001737 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=3 [audio output] > pcm0: > pcm0: nid: 13 [ANALOG] > pcm0: name: pin: speaker (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x0000173f > pcm0: ISC TRQD HP OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=2 [audio output] > pcm0: > pcm0: nid: 14 [ANALOG] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400081 > pcm0: Pin cap: 0x00000024 > pcm0: IN : UNSOL > pcm0: connections: 0 > pcm0: > pcm0: nid: 15 [ANALOG] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00000037 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=5 [audio output] > pcm0: > pcm0: nid: 16 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400301 > pcm0: Pin cap: 0x00000010 > pcm0: OUT > pcm0: connections: 3 > pcm0: | > pcm0: + <- nid=8 [audio output] [DISABLED] > pcm0: | > pcm0: + <- nid=23 [audio selector] > pcm0: | > pcm0: + <- nid=25 [vendor widget] [DISABLED] > pcm0: > pcm0: nid: 17 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00430681 > pcm0: Pin cap: 0x00010024 > pcm0: IN EAPD : UNSOL > pcm0: connections: 0 > pcm0: > pcm0: nid: 18 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x0030010d > pcm0: Output amp: 0x270400 > pcm0: mute=0 step=4 size=39 offset=0 > pcm0: connections: 7 > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid: 19 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x0030010d > pcm0: Output amp: 0x270400 > pcm0: mute=0 step=4 size=39 offset=0 > pcm0: connections: 7 > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid: 20 [ANALOG] > pcm0: name: beep widget > pcm0: widget_cap: 0x0070000c > pcm0: Output amp: 0x170303 > pcm0: mute=0 step=3 size=23 offset=3 > pcm0: connections: 0 > pcm0: > pcm0: nid: 21 [ANALOG] > pcm0: name: pin: Mic in (jack) > pcm0: widget_cap: 0x00400001 > pcm0: Pin cap: 0x00000020 > pcm0: IN > pcm0: connections: 0 > pcm0: > pcm0: nid: 22 [ANALOG] > pcm0: name: volume widget > pcm0: widget_cap: 0x00600000 > pcm0: connections: 4 > pcm0: | > pcm0: + <- nid=2 [audio output] (selected) > pcm0: | > pcm0: + <- nid=3 [audio output] > pcm0: | > pcm0: + <- nid=4 [audio output] > pcm0: | > pcm0: + <- nid=5 [audio output] > pcm0: > pcm0: nid: 23 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x00300903 > pcm0: Input amp: 0x80050e00 > pcm0: mute=1 step=14 size=5 offset=0 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=18 [audio selector] > pcm0: > pcm0: nid: 24 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x00300903 > pcm0: Input amp: 0x80050e00 > pcm0: mute=1 step=14 size=5 offset=0 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=19 [audio selector] > pcm0: > pcm0: nid: 25 [DIGITAL] [DISABLED] > pcm0: name: vendor widget > pcm0: widget_cap: 0x00f30201 > pcm0: connections: 0 > pcm0: > pcm0: nid: 26 [DIGITAL] [DISABLED] > pcm0: name: audio output > pcm0: widget_cap: 0x00030201 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 0 > pcm0: > pcm0: nid: 27 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400301 > pcm0: Pin cap: 0x00000010 > pcm0: OUT > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=26 [audio output] [DISABLED] > pcm0: > pcm0: +-----------------------------------+ > pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | > pcm0: +-----------------------------------+ > pcm0: > pcm0: Master Volume (OSS: vol) > pcm0: | > pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 > pcm0: > pcm0: Recording Level (OSS: rec) > pcm0: | > pcm0: +- nid: 23 index: 0 (nid: 18) mute: 1 step: 14 size: 5 off: 0 dir=0x2 > pcm0: | > pcm0: +- nid: 24 index: 0 (nid: 19) mute: 1 step: 14 size: 5 off: 0 dir=0x2 > pcm0: > pcm0: Speaker/Beep (OSS: speaker) > pcm0: | > pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 > pcm0: > pcm0: Recording sources: > pcm0: > pcm0: nid=18 [audio selector] > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid=19 [audio selector] > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: +--------------------------------------+ > pcm0: | DUMPING PCM Playback/Record Channels | > pcm0: +--------------------------------------+ > pcm0: > pcm0: PCM Playback: 1 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: > pcm0: PCM Record: 1 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > hostb0@pci0:0:0: class=0x060000 card=0x544e8086 chip=0x27708086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82945 Series Memory Controller Hub (MCH)' > class = bridge > subclass = HOST-PCI > none0@pci0:2:0: class=0x030000 card=0x544e8086 chip=0x27728086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Integrated Graphics Controller' > class = display > subclass = VGA > pcm0@pci0:27:0: class=0x040300 card=0x03038086 chip=0x27d88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) High Definition Audio' > class = multimedia > pcib1@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib2@pci0:28:2: class=0x060400 card=0x00000040 chip=0x27d48086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib3@pci0:28:3: class=0x060400 card=0x00000040 chip=0x27d68086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib4@pci0:28:4: class=0x060400 card=0x00000040 chip=0x27e08086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib5@pci0:28:5: class=0x060400 card=0x00000040 chip=0x27e28086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > uhci0@pci0:29:0: class=0x0c0300 card=0x544e8086 chip=0x27c88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci1@pci0:29:1: class=0x0c0300 card=0x544e8086 chip=0x27c98086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci2@pci0:29:2: class=0x0c0300 card=0x544e8086 chip=0x27ca8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci3@pci0:29:3: class=0x0c0300 card=0x544e8086 chip=0x27cb8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > ehci0@pci0:29:7: class=0x0c0320 card=0x544e8086 chip=0x27cc8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' > class = serial bus > subclass = USB > pcib6@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' > class = bridge > subclass = PCI-PCI > isab0@pci0:31:0: class=0x060100 card=0x544e8086 chip=0x27b88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GB/GR (ICH7 Family) LPC Interface Controller' > class = bridge > subclass = PCI-ISA > atapci0@pci0:31:1: class=0x01018a card=0x544e8086 chip=0x27df8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) Ultra ATA Storage Controller' > class = mass storage > subclass = ATA > atapci1@pci0:31:2: class=0x01018f card=0x544e8086 chip=0x27c08086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' > class = mass storage > subclass = ATA > none1@pci0:31:3: class=0x0c0500 card=0x544e8086 chip=0x27da8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) SMBus Controller' > class = serial bus > subclass = SMBus > none2@pci6:1:0: class=0x040000 card=0x40111554 chip=0x036e109e rev=0x11 hdr=0x00 > vendor = 'Conexant (Was: Brooktree Corp)' > device = 'Bt878/Fusion 878A Mediastream Controller' > class = multimedia > subclass = video > none3@pci6:1:1: class=0x048000 card=0x40111554 chip=0x0878109e rev=0x11 hdr=0x00 > vendor = 'Conexant (Was: Brooktree Corp)' > device = 'Bt878/Fusion878A Video Capture (Audio Section)' > class = multimedia > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at memory 0x281a0000 irq 22 kld snd_hda (1p/1r/0v channels duplex default) > [pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0] > {userland} -> feeder_root(0x00000000) -> {hardware} > [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] > {hardware} -> feeder_root(0x00000000) -> {userland} > Mixer vol is currently set to 75:75 > Mixer speaker is currently set to 75:75 > Mixer rec is currently set to 0:0 > Recording source: mic > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 6 22:57:20 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DC4E16A4DE for ; Wed, 6 Sep 2006 22:57:20 +0000 (UTC) (envelope-from dmackinnon@kheperi.com) Received: from panther.h2hosting.com (panther.h2hosting.com [205.134.225.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D11543E0F for ; Wed, 6 Sep 2006 22:55:58 +0000 (GMT) (envelope-from dmackinnon@kheperi.com) Received: from pbb-110-250.pathbroadband.com ([67.72.110.250] helo=[192.168.0.169]) by panther.h2hosting.com with esmtpa (Exim 4.52) id 1GL6JU-0005rq-Br for multimedia@FreeBSD.org; Wed, 06 Sep 2006 16:56:08 -0600 Message-ID: <44FF5244.5010502@kheperi.com> Date: Wed, 06 Sep 2006 16:57:08 -0600 From: "D. MacKinnon" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: multimedia@FreeBSD.org Content-Type: multipart/mixed; boundary="------------050003020806090702030309" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - panther.h2hosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kheperi.com X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: faad make problem 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, 06 Sep 2006 22:57:20 -0000 This is a multi-part message in MIME format. --------------050003020806090702030309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm having problems installing the faad port on my FreeBSD 4.7 machine. Here's the output of the failed make and my config.log file. Please help me out if you can. Thanks Don M. ===> Extracting for faad2-2.5,1 => MD5 Checksum OK for faad2-2.5.tar.gz. ===> faad2-2.5,1 depends on file: /usr/local/sbin/pkg_info - found ===> Patching for faad2-2.5,1 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for faad2-2.5,1 ===> faad2-2.5,1 depends on executable in : gmake - found ===> faad2-2.5,1 depends on file: /usr/local/bin/automake15 - found ===> faad2-2.5,1 depends on file: /usr/local/bin/autoconf259 - found ===> faad2-2.5,1 depends on file: /usr/local/bin/libtool - found ===> faad2-2.5,1 depends on shared library: gnugetopt.1 - found ===> Configuring for faad2-2.5,1 /bin/mkdir -p /usr/ports/audio/faad/work/faad2/plugins/bmp configure.in:27: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:955: AM_CONFIG_HEADER is expanded from... configure.in:27: the top level configure.in:135: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:968: _AM_DIRNAME is expanded from... configure.in:135: the top level configure.in:27: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:955: AM_CONFIG_HEADER is expanded from... configure.in:27: the top level configure.in:135: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:968: _AM_DIRNAME is expanded from... configure.in:135: the top level automake15: configure.in: installing `./install-sh' automake15: configure.in: installing `./mkinstalldirs' automake15: configure.in: installing `./missing' automake15: Makefile.am: installing `./INSTALL' automake15: configure.in: installing `./compile' automake15: configure.in: installing `./depcomp' checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking build system type... i386-portbld-freebsd4.7 checking host system type... i386-portbld-freebsd4.7 checking for ranlib... ranlib checking for style of include used by gmake... GNU checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking dependency style of cc... gcc checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/audio/faad/work/faad2/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 /usr/ports/audio/faad. --------------050003020806090702030309 Content-Type: text/plain; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --with-drm --prefix=/usr/local --build=i386-portbld-freebsd4.7 ## --------- ## ## Platform. ## ## --------- ## hostname = ra.revolutionlabs.com uname -m = i386 uname -r = 4.7-RELEASE uname -s = FreeBSD uname -v = FreeBSD 4.7-RELEASE #0: Mon Feb 3 12:47:46 MST 2003 dmackinn@ra:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/libexec/automake15 PATH: /usr/local/libexec/autoconf259 PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1352: checking for a BSD-compatible install configure:1407: result: /usr/bin/install -c -o root -g wheel configure:1418: checking whether build environment is sane configure:1461: result: yes configure:1495: checking for gawk configure:1524: result: no configure:1495: checking for mawk configure:1524: result: no configure:1495: checking for nawk configure:1511: found /usr/bin/nawk configure:1521: result: nawk configure:1531: checking whether gmake sets $(MAKE) configure:1551: result: yes configure:1726: checking build system type configure:1744: result: i386-portbld-freebsd4.7 configure:1752: checking host system type configure:1766: result: i386-portbld-freebsd4.7 configure:1815: checking for ranlib configure:1831: found /usr/bin/ranlib configure:1842: result: ranlib configure:1863: checking for style of include used by gmake configure:1891: result: GNU configure:1941: checking for gcc configure:1967: result: cc configure:2211: checking for C compiler version configure:2214: cc --version &5 2.95.4 configure:2217: $? = 0 configure:2219: cc -v &5 Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] configure:2222: $? = 0 configure:2224: cc -V &5 cc: argument to `-V' is missing configure:2227: $? = 1 configure:2250: checking for C compiler default output file name configure:2253: cc -O -pipe -I/usr/local/include -L/usr/local/lib -lgnugetopt conftest.c >&5 configure:2256: $? = 0 configure:2302: result: a.out configure:2307: checking whether the C compiler works configure:2313: ./a.out configure:2316: $? = 0 configure:2333: result: yes configure:2340: checking whether we are cross compiling configure:2342: result: no configure:2345: checking for suffix of executables configure:2347: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib -lgnugetopt conftest.c >&5 configure:2350: $? = 0 configure:2375: result: configure:2381: checking for suffix of object files configure:2402: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:2405: $? = 0 configure:2427: result: o configure:2431: checking whether we are using the GNU C compiler configure:2455: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:2461: $? = 0 configure:2465: test -z || test ! -s conftest.err configure:2468: $? = 0 configure:2471: test -s conftest.o configure:2474: $? = 0 configure:2487: result: yes configure:2493: checking whether cc accepts -g configure:2514: cc -c -g -I/usr/local/include conftest.c >&5 configure:2520: $? = 0 configure:2524: test -z || test ! -s conftest.err configure:2527: $? = 0 configure:2530: test -s conftest.o configure:2533: $? = 0 configure:2544: result: yes configure:2561: checking for cc option to accept ANSI C configure:2631: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:2637: $? = 0 configure:2641: test -z || test ! -s conftest.err configure:2644: $? = 0 configure:2647: test -s conftest.o configure:2650: $? = 0 configure:2668: result: none needed configure:2686: cc -c -O -pipe -I/usr/local/include conftest.c >&5 conftest.c:2: syntax error before `me' configure:2692: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2827: checking dependency style of cc configure:2889: result: gcc configure:2905: checking for ld used by GCC configure:2962: result: /usr/libexec/elf/ld configure:2971: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.12.1 [FreeBSD] 2002-07-20 configure:2983: result: yes configure:2987: checking for BSD-compatible nm configure:3021: result: /usr/bin/nm -B configure:3024: checking whether ln -s works configure:3028: result: yes configure:3216: error: libtool configure failed ## ---------------- ## ## Cache variables. ## ## ---------------- ## am_cv_CC_dependencies_compiler_type=gcc ac_cv_prog_cc_g=yes ac_cv_env_LDFLAGS_set=set ac_cv_c_compiler_gnu=yes ac_cv_exeext= ac_cv_env_CFLAGS_set=set ac_cv_prog_gnu_ld=yes ac_cv_prog_make_gmake_set=yes lt_cv_sys_max_cmd_len=65536 ac_cv_env_CPP_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_host_alias_set= ac_cv_path_LD=/usr/libexec/elf/ld ac_cv_env_build_alias_set=set ac_cv_env_LDFLAGS_value=' -L/usr/local/lib -lgnugetopt' ac_cv_env_target_alias_set= ac_cv_prog_cc_stdc= ac_cv_host_alias=i386-portbld-freebsd4.7 ac_cv_env_CFLAGS_value='-O -pipe ' ac_cv_env_CC_set=set ac_cv_build_alias=i386-portbld-freebsd4.7 ac_cv_env_CPPFLAGS_value=-I/usr/local/include ac_cv_path_NM='/usr/bin/nm -B' ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_host=i386-portbld-freebsd4.7 ac_cv_env_host_alias_value= ac_cv_build=i386-portbld-freebsd4.7 ac_cv_prog_AWK=nawk ac_cv_env_build_alias_value=i386-portbld-freebsd4.7 ac_cv_prog_ac_ct_CC=cc ac_cv_env_target_alias_value= ac_cv_env_CC_value=cc ac_cv_env_CPP_set= ac_cv_objext=o ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='/usr/local/bin/aclocal15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/ports/audio/faad/work/faad2/missing --run tar' AUTOCONF='/usr/local/bin/autoconf259' AUTOHEADER='/usr/local/bin/autoheader259' AUTOMAKE='/usr/local/bin/automake15' AWK='nawk' CC='cc' CCDEPMODE='depmode=gcc' CFLAGS='-O -pipe ' CPP='' CPPFLAGS='-I/usr/local/include' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GTK_CONFIG='' HAVE_BMP_FALSE='' HAVE_BMP_TRUE='' HAVE_MPEG4IP_PLUG_FALSE='' HAVE_MPEG4IP_PLUG_TRUE='' HAVE_XMMS_FALSE='' HAVE_XMMS_TRUE='' INSTALL_DATA='install -c -o root -g wheel -m 444' INSTALL_PROGRAM='install -c -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -c -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS=' -L/usr/local/lib -lgnugetopt' LIBOBJS='' LIBS='' LIBTOOL='/usr/local/bin/libtool' LIBTOOL_DEPS='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /usr/ports/audio/faad/work/faad2/missing --run makeinfo' MP4FF_LIBS='' OBJEXT='o' PACKAGE='faad2' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' RPMBUILD='' SET_MAKE='' SHELL='/bin/sh' VERSION='2.5.0' XMMS_CONFIG='' ac_ct_CC='cc' ac_ct_RANLIB='ranlib' am__include='include' am__quote='' bindir='${exec_prefix}/bin' build='i386-portbld-freebsd4.7' build_alias='i386-portbld-freebsd4.7' build_cpu='i386' build_os='freebsd4.7' build_vendor='portbld' datadir='${prefix}/share' exec_prefix='NONE' external_mp4v2='' host='i386-portbld-freebsd4.7' host_alias='' host_cpu='i386' host_os='freebsd4.7' host_vendor='portbld' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/ports/audio/faad/work/faad2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "faad2" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "2.5.0" configure: exit 1 --------------050003020806090702030309-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 7 02:06:13 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF2F16A4DA for ; Thu, 7 Sep 2006 02:06:13 +0000 (UTC) (envelope-from SRS0=+ID3ED=CW=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailout07.yourhostingaccount.com (mailout07.yourhostingaccount.com [65.254.253.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A8A143D45 for ; Thu, 7 Sep 2006 02:06:13 +0000 (GMT) (envelope-from SRS0=+ID3ED=CW=vvelox.net=vvelox@yourhostingaccount.com) Received: from scan01.yourhostingaccount.com ([10.1.1.231] helo=scan01.yourhostingaccount.com) by mailout07.yourhostingaccount.com with esmtp (Exim) id 1GL9HO-0004nI-BW for freebsd-multimedia@freebsd.org; Wed, 06 Sep 2006 22:06:10 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9] ident=exim) by scan01.yourhostingaccount.com with spamscanlookuphost (Exim) id 1GL9HM-0007K2-N9 for freebsd-multimedia@freebsd.org; Wed, 06 Sep 2006 22:06:08 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9] helo=authsmtp09.yourhostingaccount.com) by scan01.yourhostingaccount.com with esmtp (Exim) id 1GL9HM-0007Js-0M for freebsd-multimedia@freebsd.org; Wed, 06 Sep 2006 22:06:08 -0400 Received: from [69.92.217.33] (helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1GL9HK-0002kV-Ne for freebsd-multimedia@freebsd.org; Wed, 06 Sep 2006 22:06:07 -0400 Date: Wed, 6 Sep 2006 21:07:54 -0500 From: "Z.C.B." To: freebsd-multimedia@freebsd.org Message-ID: <20060906210754.2a3ba34c@vixen42> In-Reply-To: <20060825194306.45f6f85c@vixen42> References: <20060825194306.45f6f85c@vixen42> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_Dv+YtZaNCmPMsHDBV4_wtkN; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-EN-UserInfo: f1c157ec5ebebd12a8182d58c6ceecd9:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox3 Sender: "Z.C.B." Subject: Re: Wacom USB tablets (update) 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, 07 Sep 2006 02:06:13 -0000 --Sig_Dv+YtZaNCmPMsHDBV4_wtkN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 25 Aug 2006 19:43:06 -0500 "Z.C.B." wrote: > I noticed the like 8 months or so ago a USB commit was done that > allows those tablets to be used. Any one have any experience with > them since then or any opinions? Well if any one else is looking at one of those, I am happy with it. On RELENG_6 it shows up as a USB 3 button wheel mouse. I've not investigated what it takes to get pressure to work, but as a mouse it works well. --Sig_Dv+YtZaNCmPMsHDBV4_wtkN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE/379C1tfcMGJid4RApiVAKCJvtPu9rlKmL8Bp+z5mClXOUPpuACggiLY LT6yJWePuEpLDsueRnpbTLM= =ehIz -----END PGP SIGNATURE----- --Sig_Dv+YtZaNCmPMsHDBV4_wtkN-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 7 12:30:37 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6527016A4E0; Thu, 7 Sep 2006 12:30:37 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56BDB43E29; Thu, 7 Sep 2006 12:27:59 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D914.dip.t-dialin.net [84.165.217.20]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k87C6voj025162; Thu, 7 Sep 2006 14:06:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k87CRiNq032533; Thu, 7 Sep 2006 14:27:44 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 07 Sep 2006 14:27:44 +0200 Message-ID: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 07 Sep 2006 14:27:44 +0200 From: Alexander Leidinger To: FreeBSD Hackers , Ed Schouten References: <20060907113820.GO22564@hoeg.nl> In-Reply-To: <20060907113820.GO22564@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: multimedia@FreeBSD.org Subject: Re: Oddity in snd_uaudio(4) driver? 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, 07 Sep 2006 12:30:37 -0000 Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): CCing multimedia@, where all "the cool sound guys hang out"... > Hello, > > I was just looking through FreeBSD's snd_uaudio(4) driver, because I'm > thinking of patching it to support Xbox 360 headsets as well. I was > looking at the code to set the sample rate in > /sys/dev/sound/usb/uaudio.c. In that file there is the following code > near line 4100: > > | =09if (speed >=3D UA_SAMP_LO(asf1d) && speed <=3D UA_SAMP_HI(asf1d)) { > | =09=09ch->sample_rate =3D speed; > | =09=09return speed; > | =09} else if (speed < UA_SAMP_LO(asf1d)) { > | =09=09score =3D 0xfff * speed / UA_SAMP_LO(asf1d); > | =09=09if (score > hiscore) { > | =09=09=09bestspeed =3D UA_SAMP_LO(asf1d); > | =09=09=09hiscore =3D score; > | =09=09} > | =09} else if (speed < UA_SAMP_HI(asf1d)) { > | =09=09score =3D 0xfff * UA_SAMP_HI(asf1d) / speed; > | =09=09if (score > hiscore) { > | =09=09=09bestspeed =3D UA_SAMP_HI(asf1d); > | =09=09=09hiscore =3D score; > | =09=09} > | =09} > > If we would rewrite this code to something more basic, let's say we > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > variables: > > | =09if (x >=3D 10 && x <=3D 20) { > | =09=09... > | =09} else if (x < 10) { > | =09=09... > | =09} else if (x < 20) { > | =09=09... > | =09} > > Wouldn't that mean that the last portion of the code is never reached? > Looking at the code, it looks like some range check, making sure the > sample rate remains inside a certain range. Wouldn't it be enough to > remove the entire third if-statement, using a normal '} else {'? Just by looking at the code you pasted, I assume the last part is a =20 typo in the uaudio code and should be a '>' instead of a '<': "if it =20 is outside the range, use the end of the range as a good candidate." Bye, Alexander. --=20 The most delightful day after the one on which you buy a cottage in the country is the one on which you resell it. =09=09-- J. Brecheux http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 8 12:52:53 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76DCD16A4DF; Fri, 8 Sep 2006 12:52:53 +0000 (UTC) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57C943D7D; Fri, 8 Sep 2006 12:52:50 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (localhost [127.0.0.1]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id EA81735C07D; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Received: from phws.ph.noda.tus.ac.jp ([127.0.0.1]) by localhost (phws [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01498-07; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Received: from localhost (noda-ph-24.rs.noda.tus.ac.jp [133.31.87.24]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id A49CE35C07B; Fri, 8 Sep 2006 21:52:48 +0900 (JST) Date: Fri, 08 Sep 2006 21:52:48 +0900 (JST) Message-Id: <20060908.215248.846936370.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Mailer: Mew version 3.3 on XEmacs 21.5-b22 (cucumber) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ph.noda.tus.ac.jp Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org Subject: Re: *****SPAM***** Re: Oddity in snd_uaudio(4) driver? 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, 08 Sep 2006 12:52:53 -0000 Hello, > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > If we would rewrite this code to something more basic, let's say we > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > variables: > > > > | if (x >= 10 && x <= 20) { > > | ... > > | } else if (x < 10) { > > | ... > > | } else if (x < 20) { > > | ... > > | } > > In this example, UA_SAMP_ macros are exchanged to some constants. But UA_SAMP_ macros don't have any predefined constants. uaudio.c is a general driver for USB audio devices. Each USB audio device has peculiar sampling rates. They are different from those of another device. UA_SAMP_macros give the peculiar sampling rates. They can't be exchanged to some constants. From: Alexander Leidinger Subject: Re: Oddity in snd_uaudio(4) driver? Date: Thu, 07 Sep 2006 14:27:44 +0200 > I assume the last part is a > typo in the uaudio code and should be a '>' instead of a '<': That's right. Sincerely yours Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 8 14:36:09 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13F2216A4DE for ; Fri, 8 Sep 2006 14:36:09 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A2FA43D45 for ; Fri, 8 Sep 2006 14:36:08 +0000 (GMT) (envelope-from kramer@centtech.com) Received: from [10.177.171.221] (roddick.centtech.com [10.177.171.221]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k88Ea7Fp039197 for ; Fri, 8 Sep 2006 09:36:08 -0500 (CDT) (envelope-from kramer@centtech.com) Message-ID: <45017FD7.5090309@centtech.com> Date: Fri, 08 Sep 2006 09:36:07 -0500 From: Kevin Kramer User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1826/Fri Sep 8 06:38:39 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: RFC: snd_hda(4) -- Intel High Definition Audio driver X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kramer@centtech.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 14:36:09 -0000 i have tinkered a bit with this and i'm getting very loud output. i've got the /us/sbin/mixer set to 0:0 using gzine with it's mixer/amplifier set to 0. if i move the gxine amplifier setting to 1.0 and the gxine volume to 1.0, i get what i would expect. but when i move the volume back to 0.0, it does not reduce. the volume changes do change the /usr/sbin/mixer settings as expected. now with the gxine volume still at 0.0, the default gxine amplifier setting was 100, now when i go to 10.0 it is too loud for my laptop. i was using the hacked hdac.ko driver prior to this and gxine worked fine. i almost blew my laptop (Latitude D820) speakers when the mixer was at 75:75 here is my info uname -a FreeBSD roddick.centtech.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Jun 25 06:27:43 CDT 2006 root@:/usr/obj/usr/src/sys/RODDICK i386 pciconf -lv | grep -B 4 multimedia subclass = PCI-PCI pcm0@pci0:27:0: class=0x040300 card=0x01cc1028 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia sysctl hw.snd.verbose=2 ; cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xdfffc000 irq 21 kld snd_hda [20060907_002] (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 22050/48000, fmt 0x10000010, flags 0x00000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:131072/2048/64] {userland} -> feeder_root(0x10000010) -> feeder_rate(22050 -> 48000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 22050/48000, fmt 0x10000010, flags 0x00000000, 0x00000010 interrupts 0, overruns 0, hfree 16384, sfree 131072 [b:16384/8192/2|bs:131072/2048/64] {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 22050) -> {userland} sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 /usr/sbin/mixer Mixer vol is currently set to 0:0 Mixer speaker is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic -- ------------------------------ Kevin Kramer Sr. Systems Administrator 512.418.5725 Centaur Technology, Inc. www.centtech.com From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 9 02:27:27 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49FB916A40F; Sat, 9 Sep 2006 02:27:27 +0000 (UTC) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF5C43D45; Sat, 9 Sep 2006 02:27:25 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost ([211.3.217.199]) by t-mta7.odn.ne.jp with ESMTP id <20060909022721982.XPMW.402072.t-mta7.odn.ne.jp@mta7.odn.ne.jp>; Sat, 9 Sep 2006 11:27:21 +0900 Date: Sat, 09 Sep 2006 11:27:21 +0900 (JST) Message-Id: <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> X-Mailer: Mew version 3.3 on XEmacs 21.4.19 (Constant Variable) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org Subject: Re: Oddity in snd_uaudio(4) driver? 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, 09 Sep 2006 02:27:27 -0000 Hello, The subject of my previous mail includes `***SPAM***'. My spam filter struck this tag. I'll resend this mail since none read my previous mail. > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > If we would rewrite this code to something more basic, let's say we > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > variables: > > > > | if (x >= 10 && x <= 20) { > > | ... > > | } else if (x < 10) { > > | ... > > | } else if (x < 20) { > > | ... > > | } > > In this example, UA_SAMP_ macros are exchanged to some constants. But UA_SAMP_ macros don't have any predefined constants. uaudio.c is a general driver for USB audio devices. Each USB audio device has peculiar sampling rates. They are different from those of another device. UA_SAMP_macros give the peculiar sampling rates. They can't be exchanged to some constants. From: Alexander Leidinger Subject: Re: Oddity in snd_uaudio(4) driver? Date: Thu, 07 Sep 2006 14:27:44 +0200 > I assume the last part is a > typo in the uaudio code and should be a '>' instead of a '<': That's right. Sincerely yours Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 9 07:34:37 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5001716A40F for ; Sat, 9 Sep 2006 07:34:37 +0000 (UTC) (envelope-from jos@catnook.com) Received: from 209-204-181-78.dsl.static.sonic.net (209-204-181-78.dsl.static.sonic.net [209.204.181.78]) by mx1.FreeBSD.org (Postfix) with SMTP id AB70043D4C for ; Sat, 9 Sep 2006 07:34:34 +0000 (GMT) (envelope-from jos@catnook.com) Received: (qmail 52165 invoked by uid 1000); 9 Sep 2006 07:34:54 -0000 Date: Sat, 9 Sep 2006 00:34:32 -0700 From: Jos Backus To: freebsd-multimedia@freebsd.org Message-ID: <20060909073454.GA49597@lizzy.catnook.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Mailman-Approved-At: Sat, 09 Sep 2006 13:41:38 +0000 Subject: cdcontrol gives I/O errors while trying to play audio CD's X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 07:34:37 -0000 lizzy:~% uname -a FreeBSD lizzy.catnook.local 7.0-CURRENT FreeBSD 7.0-CURRENT #35: Mon Aug 28 04:08:30 PDT 2006 root@lizzy.catnook.local:/usr/obj/usr/src/sys/LIZZY i386 lizzy:~% sudo atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI revision 6 Slave: ad1 ATA/ATAPI revision 5 ATA channel 1: Master: acd0 ATA/ATAPI revision 0 Slave: no device present # Put audio CD in drive lizzy:~% cdcontrol -f /dev/acd0 info cdcontrol: getting toc header: Input/output error lizzy:~% Also, the `cdcontrol play' command (and kscd, for that matter) does not work. Any idea as to what the problem could be? -- Jos Backus jos at catnook.com From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 9 14:05:28 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 207E816A403 for ; Sat, 9 Sep 2006 14:05:28 +0000 (UTC) (envelope-from freebsd@yelloworb.com) Received: from mail.yelloworb.com (user12.85-195-15.netatonce.net [85.195.15.12]) by mx1.FreeBSD.org (Postfix) with SMTP id E3C3F43D45 for ; Sat, 9 Sep 2006 14:05:26 +0000 (GMT) (envelope-from freebsd@yelloworb.com) Received: (qmail 2022 invoked by uid 1010); 9 Sep 2006 14:05:24 -0000 Received: from gammaverse.priv.yelloworb.com (HELO ?127.0.0.1?) (karl-petter@yelloworb.com@192.168.132.11) by mail.yelloworb.com with SMTP; 9 Sep 2006 14:05:24 -0000 Message-ID: <4502CA12.9070002@yelloworb.com> Date: Sat, 09 Sep 2006 16:05:06 +0200 From: =?ISO-8859-1?Q?Karl-Petter_=C5kesson?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Joel Dahl References: <1157390268.673.57.camel@localhost> In-Reply-To: <1157390268.673.57.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver 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, 09 Sep 2006 14:05:28 -0000 Hi, great that someone is wokring on this driver! I have an Asus M2NPV-VM and I get no sound at all, tried all obvious sound plugs but silence. I have got sound from the system with the OSS driver so I know the hardware is working. Below is the info requested, best regards, Kalle kldload snd_hda generates on the console: pci0: driver added found-> vendor=0x10de, dev=0x02f0, revid=0xa2 bus=0, slot=0, func=0 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:0: reprobing on driver added found-> vendor=0x10de, dev=0x02fa, revid=0xa2 bus=0, slot=0, func=1 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0100, statreg=0x4020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:1: reprobing on driver added found-> vendor=0x10de, dev=0x02fe, revid=0xa2 bus=0, slot=0, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:2: reprobing on driver added found-> vendor=0x10de, dev=0x02f8, revid=0xa2 bus=0, slot=0, func=3 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:3: reprobing on driver added found-> vendor=0x10de, dev=0x02f9, revid=0xa2 bus=0, slot=0, func=4 class=05-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:4: reprobing on driver added found-> vendor=0x10de, dev=0x02ff, revid=0xa2 bus=0, slot=0, func=5 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:5: reprobing on driver added found-> vendor=0x10de, dev=0x027f, revid=0xa2 bus=0, slot=0, func=6 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0102, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:6: reprobing on driver added found-> vendor=0x10de, dev=0x027e, revid=0xa2 bus=0, slot=0, func=7 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:7: reprobing on driver added found-> vendor=0x10de, dev=0x0270, revid=0xa2 bus=0, slot=9, func=0 class=05-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:9:0: reprobing on driver added found-> vendor=0x10de, dev=0x0264, revid=0xa3 bus=0, slot=10, func=1 class=0c-05-00, hdrtype=0x00, mfdev=1 cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 pci0:10:1: reprobing on driver added found-> vendor=0x10de, dev=0x0272, revid=0xa3 bus=0, slot=10, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0400, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:10:2: reprobing on driver added pci1: driver added pci2: driver added found-> vendor=0x11c1, dev=0xed00, revid=0x02 bus=2, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D1 D3 current D0 MSI supports 1 message, 64 bit pci2:0:0: reprobing on driver added pci3: driver added pci4: driver added dmesg | grep ^pcm generates: pcm0: mem 0xfe024000-0xfe027fff irq 2 2 at device 16.1 on pci0 pcm0: Output Streams: 4, Input Streams: 4, Bidirectional Streams: 0 pcm0: CORB Size: 256, RIRB Size: 256 pcm0: Vendor info: 11d41986 11d4 1986 5 0 1 pcm0: