From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 5 05:32:35 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F591065676 for ; Thu, 5 Jul 2012 05:32:35 +0000 (UTC) (envelope-from czsq888@163.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6317B8FC14 for ; Thu, 5 Jul 2012 05:32:35 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Smeg6-0006Nt-MZ for freebsd-drivers@freebsd.org; Wed, 04 Jul 2012 22:32:34 -0700 Date: Wed, 4 Jul 2012 22:32:34 -0700 (PDT) From: sw2wolf To: freebsd-drivers@freebsd.org Message-ID: <1341466354693-5724340.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: The snd_ich doesnot work ! X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 05:32:35 -0000 $uname -a=20 FreeBSD mybsd.zsoft.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 =20 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386=20 $sudo sysctl -w hw.snd.verbose=3D2=20 $cat /dev/sndstat=20 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)=20 Installed devices:=20 pcm0: at io 0xde081000, 0xde082000 irq 17 bufsz 1638= 4=20 (1p:1v/1r:1v) default=20 snddev flags=3D0x2e2 [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004=20 interrupts 44126, underruns 0, feed 44126, ready 0 [b:4096/2048/2|bs:4096/2048/2]=20 channel flags=3D0x2100 {userland} -> feeder_mixer(0x00200010) -> {hardware}=20 pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029=20 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:65536/2048/32]=20 channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}=20 [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005=20 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2]=20 channel flags=3D0x2100 {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -= > {userland}=20 pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000=20 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]=20 channel flags=3D0x10000000 {hardware} -> feeder_root(0x00000000) -> {userland}=20 $mixer=20 Mixer vol is currently set to 75:75=20 Mixer pcm is currently set to 75:75=20 Mixer speaker is currently set to 75:75=20 Mixer line is currently set to 75:75=20 Mixer mic is currently set to 0:0=20 Mixer cd is currently set to 75:75=20 Mixer rec is currently set to 75:75=20 Mixer igain is currently set to 0:0=20 Mixer line1 is currently set to 75:75=20 Mixer phin is currently set to 0:0=20 $pciconf -lv | grep -i audio=20 device =3D '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'=20 subclass =3D audio=20 subclass =3D audio=20 $dmesg | grep -i audio=20 pci1: at device 0.0 (no driver attached)=20 However the sound is OK using XP on the same box (so the sound card has no problem)=20 $gpart show ada0=20 =3D> 63 39874304 ada0 MBR (19G)=20 63 19534977 1 !12 [active] (9.3G)=20 19535040 20338668 2 freebsd (9.7G)=20 39873708 659 - free - (329k)=20 The GENERIC kernel has loaded driver( snd_ich ), but i can hear nothing.=20 Any suggestion is appreciated! ----- e^(=CF=80.i) + 1 =3D 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/The-snd-= ich-doesnot-work-tp5724340.html Sent from the freebsd-drivers mailing list archive at Nabble.com.