Date: Sat, 1 Nov 2008 14:47:53 -0700 (PDT) From: Ferry Syafei Sapei <pei7@yahoo.com> To: freebsd-multimedia@freebsd.org Subject: USB speaker does not output any sound even though recognized Message-ID: <249781.97237.qm@web30607.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
I have just installed PC-BSD 7.0.1 on my notebook. Having finished the inst= allation, I deactivated the automatic sound card detection by commenting sn= ddetect_enable=3D"YES" in /etc/rc.conf. Afterwards I added the line snd_uau= dio_load=3D"YES" to /boot/loader.conf to output the sound to an external US= B speaker. =0A=0AAfter reboot, I could see clearly in the middle of the ini= tialization phase that PC-BSD recognized my USB speaker. However at the end= of the initialization phase, PC-BSD tried to set the value of dev.pcm.0.pl= ay.vchans and I saw an error message as follows:=0Asysctl: dev.pcm.0.play.v= chans : operation not supported by device.=0A=0AThen I opened an audio file= to test the USB speaker and I did not hear any sound at all.=0A=0ACould so= meone please help me to solve this problem?=0A=0ABelow you can find some ou= tput from different commands:=0A=0A# dmesg=0ACopyright (c) 1992-2008 The Fr= eeBSD Project.=0ACopyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 19= 92, 1993, 1994=0A The Regents of the University of California. All r= ights reserved.=0AFreeBSD is a registered trademark of The FreeBSD Foundati= on. =0AFreeBSD 7.1-PRERELEASE #1: Tue Oct 7 09:17:14 EDT 2008 = =0A root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.1-src/= sys/PCBSD =0ATimecounter "i8254" frequency 1193182 Hz quality 0 = =0ACPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz = (1997.34-MHz 686-class CPU)=0A Origin =3D "GenuineIntel" Id =3D 0x6f6 St= epping =3D 6 =0A Features=3D0xbfebfbff<FPU,VME= ,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DT= S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> = = =0A Features2=3D0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,P= DCM> =0A AMD Features= =3D0x20100000<NX,LM> = =0A AMD Features2=3D0x1<LAHF> = = =0A Cores per package: 2 = = =0Areal memory =3D 2145988608 (2046 MB) = =0Aavail memory =3D= 2081918976 (1985 MB) = =0AACPI APIC Table: <DELL M07 > = = =0AFreeBSD/SMP: Multiprocessor System Detected: 2 CPUs = =0A c= pu0 (BSP): APIC ID: 0 = =0A cpu1 (AP): APIC ID: 1= = =0Aioapic0: Changing APIC ID to 2 = = =0Aioapic0 <Version 2.0> irqs 0-23 on motherboard = =0Akbd1 at kbd= mux0 = =0Aath_hal: 0.10.5.6 (AR5210, AR521= 1, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) = =0Aacpi0: <DELL M07 > on motherboard = = =0Aacpi0: [ITHREAD] = =0ATimecounter "HPET"= frequency 14318180 Hz quality 900 = =0Aacpi0: reservation of 0, 9fc00 (3) fail= ed = =0Aacpi0: reservation of 100000, 7fd93400 (3) failed = =0ATimeco= unter "ACPI-fast" frequency 3579545 Hz quality 1000 = =0Aacpi_timer0: <24-bit timer = at 3.579545MHz> port 0x1008-0x100b on acpi0 = =0Aacpi_acad0: <AC Adapter> on acpi0 = = =0Abattery0: <ACPI Control Method Battery> on acpi0 = =0Aacpi_lid0: <Con= trol Method Lid Switch> on acpi0 = =0Aacpi_button0: <Power Button> on acpi= 0 = =0Aacpi_button1: <Sleep Button> on acpi0 = =0Apci= b0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 = =0Apci0: <ACPI PCI bus> on = pcib0 = =0Apcib1: <ACPI PCI-PCI bridge> at device 1.0 on= pci0 = =0Apci1: <ACPI PCI bus> on pcib1 = =0Avgapci0: <VG= A-compatible display> mem 0xed000000-0xedffffff,0xd0000000-0xdfffffff,0xee0= 00000-0xeeffffff irq 16 at device 0.0 on pci1 = = =0Anvidia0: <GeForce Go 7400> on vgapci0 = =0Avga= pci0: child nvidia0 requested pci_enable_busmaster = =0Avgapci0: child nvidia0 r= equested pci_enable_io = =0Anvidia0: [GIANT-LOCKED] = = =0Anvidia0: [ITHREAD] = =0Apci0: <multi= media> at device 27.0 (no driver attached) = =0Apcib2: <ACPI PCI-PCI bridge> at d= evice 28.0 on pci0 = =0Apci11: <ACPI PCI bus> on pcib2 = =0A= pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0 = =0Apci12: <ACPI PCI bus>= on pcib3 = =0Awpi0: <Intel(R) PRO/Wireless 3945ABG> mem = 0xecfff000-0xecffffff irq 17 at device 0.0 on pci12 = =0Awpi0: Ethernet address: 00:19:d2:d5:ec:3e = =0Awpi0: [IT= HREAD] = =0Apcib4: <ACPI PCI-PCI bridge> a= t device 28.3 on pci0 = =0Apci13: <ACPI PCI bus> on pcib4 = = =0Auhci0: <UHCI (generic) USB controller> port 0xbf80-0xbf9f irq 20 at devi= ce 29.0 on pci0 =0Auhci0: [GIANT-LOCK= ED] = =0Auhci0: [ITHREAD] = = =0Ausb0: <UHCI (generic) USB controller> on uhci0 = =0Ausb0: = USB revision 1.0 = =0Auhub0: <Intel UHCI root hub= , class 9/0, rev 1.00/1.00, addr 1> on usb0 = =0Auhub0: 2 ports with 2 removable, self powered = = =0Auhci1: <UHCI (generic) USB controller> port 0xbf60-0xbf7f irq 21 at d= evice 29.1 on pci0 =0Auhci1: [GIANT-L= OCKED] = =0Auhci1: [ITHREAD] = = =0Ausb1: <UHCI (generic) USB controller> on uhci1 = =0Ausb= 1: USB revision 1.0 = =0Auhub1: <Intel UHCI root = hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 = =0Auhub1: 2 ports with 2 removable, self powered= = =0Auhci2: <UHCI (generic) USB controller> port 0xbf40-0xbf5f irq 22 a= t device 29.2 on pci0 =0Auhci2: [GIAN= T-LOCKED] = =0Auhci2: [ITHREAD] = = =0Ausb2: <UHCI (generic) USB controller> on uhci2 = =0A= usb2: USB revision 1.0 = =0Auhub2: <Intel UHCI ro= ot hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 = =0Auhub2: 2 ports with 2 removable, self powe= red = =0Auhci3: <UHCI (generic) USB controller> port 0xbf20-0xbf3f irq 2= 3 at device 29.3 on pci0 =0Auhci3: [G= IANT-LOCKED] = =0Auhci3: [ITHREAD] = = =0Ausb3: <UHCI (generic) USB controller> on uhci3 = = =0Ausb3: USB revision 1.0 = =0Auhub3: <Intel UHCI= root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 = =0Auhub3: 2 ports with 2 removable, self p= owered = =0Aehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa= 80000-0xffa803ff irq 20 at device 29.7 on pci0 =0Aehci0:= [GIANT-LOCKED] = =0Aehci0: [ITHREAD] = = =0Ausb4: EHCI version 1.0 = = =0Ausb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 = =0Ausb4: <Intel 82= 801GB/R (ICH7) USB 2.0 controller> on ehci0 = =0Ausb4: USB revision 2.0 = = =0Auhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, ad= dr 1> on usb4 =0Auhu= b4: 8 ports with 8 removable, self powered = =0Apcib5: <ACPI PCI-PCI bri= dge> at device 30.0 on pci0 = =0Apci3: <ACPI PCI bus> on pcib5 = = =0Abfe0: <Broadcom BCM4401-B0 Fast Ethernet> mem 0xecbfe000-0xecbffff= f irq 17 at device 0.0 on pci3 =0Amiibus0: <MI= I bus> on bfe0 = =0Abmtphy0: <BCM4401 10/100baseTX PH= Y> PHY 1 on miibus0 = =0Abmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-F= DX, auto =0A= bfe0: Ethernet address: 00:18:8b:c9:d0:71 = =0Abfe0: [ITHREAD] = = =0Afwohci0: <1394 Open Host Controller Interf= ace> mem 0xecbfd800-0xecbfdfff irq 19 at device 1.0 on pci3 = =0Afwohci0: [FILTER] = =0Afwohci0: = OHCI version 1.10 (ROM=3D0) = =0Afwohci0: No. of Isochronous = channels is 4. = =0Afwohci0: EUI64 39:4f:c0:00:10:ea:ec:50 = = =0Afwohci0: Phy 1394a available S400, 1 ports. = =0Afwohci0: Link S4= 00, max_rec 2048 bytes. = =0Afirewire0: <IEEE1394(FireWire) bus> o= n fwohci0 = =0Afwe0: <Ethernet over FireWire> on firewire0 = =0Aif_f= we0: Fake Ethernet address: 3a:4f:c0:ea:ec:50 = =0Afwe0: Ethernet address: 3= a:4f:c0:ea:ec:50 = =0Afwip0: <IP over FireWire> on firewire0 = = =0Afwip0: Firewire address: 39:4f:c0:00:10:ea:ec:50 @ 0xfffe00000000, = S400, maxrec 2048 =0Asbp0: <SBP-2/= SCSI over FireWire> on firewire0 = =0Adcons_crom0: <dcons configuration = ROM> on firewire0 = =0Adcons_crom0: bus_addr 0x7d928000 = =0Af= wohci0: Initiate bus reset = =0Afwohci0: BUS reset = = =0Afwohci0: node_id=3D0xc800ffc0, gen=3D1, CYC= LEMASTER mode = =0Apci3: <base peripheral> at device 1.1 (no driver attached) = =0Apci3: = <base peripheral> at device 1.2 (no driver attached) = =0Apci3: <base peripheral> at = device 1.3 (no driver attached) = =0Apci3: <base peripheral> at device 1.4 (no driver= attached) = =0Aisab0: <PCI-ISA bridge> at device 31.0 on pci0 = =0Aisa0: <ISA bus>= on isab0 = =0Aatapci0: <Intel ICH7M SATA300 contro= ller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 17 at devi= ce 31.2 on pci0=0Aata0: <ATA channel 0> on atapci0 = =0Aata= 0: [ITHREAD] = =0Aata1: <ATA channel 1> on= atapci0 = =0Aata1: [ITHREAD] = = =0Apci0: <serial bus, SMBus> at device 31.3 (no driver attached) = =0Aacpi_tz0: <T= hermal Zone> on acpi0 = =0Aatkbdc0: <Keyboard controller (i8= 042)> port 0x60,0x64,0x62,0x66 irq 1 on acpi0 = =0Aatkbd0: <AT Keyboard> irq 1 on atkbdc0 = =0A= kbd0 at atkbd0 = =0Aatkbd0: [GIANT-LOCKED= ] = =0Aatkbd0: [ITHREAD] = = =0Apsm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc0 = =0Apsm0: [GI= ANT-LOCKED] = =0Apsm0: [ITHREAD] = = =0Apsm0: model Generic PS/2 mouse, device ID 0 = = =0Acpu0: <ACPI CPU> on acpi0 = =0Aest0: <Enhanced Sp= eedStep Frequency Control> on cpu0 = =0Ap4tcc0: <CPU Frequency Thermal Control>= on cpu0 = =0Acpu1: <ACPI CPU> on acpi0 = =0Aest1: = <Enhanced SpeedStep Frequency Control> on cpu1 = =0Ap4tcc1: <CPU Frequency Ther= mal Control> on cpu1 = =0Apmtimer0 on isa0 = = =0Aorm0: <ISA Option ROM> at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0= =0Appc0: parallel = port not found. = =0Asc0: <System console> at flags 0x100= on isa0 = =0Asc0: VGA <16 virtual consoles, flags=3D0x300> = =0As= io0: configured irq 4 not in bitmap of probed irqs 0 = =0Asio0: port may not be = enabled = =0Asio0: configured irq 4 not in bitmap of pro= bed irqs 0 = =0Asio0: port may not be enabled = =0Asio0 at po= rt 0x3f8-0x3ff irq 4 flags 0x10 on isa0 = =0Asio0: type 8250 or not respondi= ng = =0Asio0: [FILTER] = = =0Asio1: configured irq 3 not in bitmap of probed irqs 0 = =0Asio1: port may not= be enabled = =0Avga0: <Generic ISA VGA> at port 0x3c0-0= x3df iomem 0xa0000-0xbffff on isa0 = =0Aums0: <Logitech USB Receiver, class 0/0, rev 2.00/42.04, add= r 2> on uhub0 =0Aums0: = 16 buttons and Z dir. = =0Auhid0: <Logitech USB Receiv= er, class 0/0, rev 2.00/42.04, addr 2> on uhub0 = =0Aukbd0: <Microsoft Natural\M-. Ergonomic Keyboard= 4000, class 0/0, rev 2.00/1.73, addr 3> on uhub0 = =0Akbd2 at ukbd0 = =0Auhid1: <Microso= ft Natural\M-. Ergonomic Keyboard 4000, class 0/0, rev 2.00/1.73, addr 3> o= n uhub0 =0Auhub5: <Broadcom BCM2045B2, class 9/= 0, rev 2.00/1.00, addr 2> on uhub1 = =0Auhub5: 3 ports with 0 removable, bus powered = =0Auge= n0: <Broadcom Corp BCM2045, class 224/1, rev 2.00/1.00, addr 3> on uhub5 = =0Aukbd1: <Broadcom Corp pr= oduct 0x4502, class 0/0, rev 2.00/1.00, addr 4> on uhub5 = =0Akbd3 at ukbd1 = = =0Aums1: <Broadcom Corp product 0x4503, class 0/0, rev 2.00/1.00, add= r 5> on uhub5 =0Aums1: 3 butt= ons. = =0Auaudio0: <vendor 0x046d product 0= x08c6, class 0/0, rev 2.00/80.05, addr 2> on uhub2 = =0Auaudio0: audio rev 1.00 = =0A= pcm0: <USB Audio> on uaudio0 = =0Auaudio1: <Bose Corpor= ation Bose USB Audio, class 0/0, rev 1.00/1.00, addr 2> on uhub3 = =0Auaudio1: audio rev 1.00 = = =0Apcm1: <USB Audio> on uaudio1 = =0Auhid2: <B= ose Corporation Bose USB Audio, class 0/0, rev 1.00/1.00, addr 2> on uhub3 = =0ATimecounters tick every 1.000 = msec = =0Aipfw2 (+ipv6) initialized, divert enabled, nat load= able, rule-based forwarding firewire0: 1 nodes, maxhop <=3D 0, cable IRM = =3D 0(me)=0Afirewire0: bus manager 0 (me)=0Adisabled, default to accept, lo= gging disabled=0Aad0: 95396MB <Seagate ST910021AS 8.04> at ata0-master SATA= 150=0Aacd0: DVDR <HL-DT-ST DVD+/-RW GSA-T11N/A103> at ata1-master UDMA33=0A= GEOM_LABEL: Label for provider ad0s1 is ntfs/Win'XP.=0AGEOM_LABEL: Label fo= r provider ad0s2 is msdosfs/ .=0Aacd0: FAILURE - INQUIRY ILLEGAL REQUEST as= c=3D0x24 ascq=3D0x00 sks=3D0x40 0x00 0x01=0Aacd0: FAILURE - INQUIRY ILLEGAL= REQUEST asc=3D0x24 ascq=3D0x00 sks=3D0x40 0x00 0x01=0Acd0 at ata1 bus 0 ta= rget 0 lun 0=0Acd0: <HL-DT-ST DVD+-RW GSA-T11N A103> Removable CD-ROM SCSI-= 0 device=0Acd0: 33.000MB/s transfers=0Acd0: Attempt to query device size fa= iled: NOT READY, Medium not present=0ASMP: AP CPU #1 Launched!=0ATrying to = mount root from ufs:/dev/ad0s3a=0Awpi0: timeout resetting Tx ring 1=0Awpi0:= timeout resetting Tx ring 3=0Awpi0: timeout resetting Tx ring 4=0Awpi0: ti= meout resetting Tx ring 1=0Awpi0: timeout resetting Tx ring 3=0Awpi0: timeo= ut resetting Tx ring 4=0Awpi0: timeout resetting Tx ring 1=0Awpi0: timeout = resetting Tx ring 3=0Awpi0: timeout resetting Tx ring 4=0Awpi0: timeout res= etting Tx ring 1=0Awpi0: timeout resetting Tx ring 3=0Awpi0: timeout resett= ing Tx ring 4=0Awpi0: link state changed to UP=0Apid 15638 (npviewer.bin), = uid 1001: exited on signal 11=0AGEOM_LABEL: Label msdosfs/ removed.=0Aacd0= : WARNING - unknown CMD (0xac) read data overrun 8>0=0Aacd0: WARNING - unkn= own CMD (0xac) read data overrun 8>0=0A=0A=0A# usbdevs -v=0AController /dev= /usb0:=0Aaddr 1: full speed, self powered, config 1, UHCI root hub(0x0000),= Intel(0x0000), rev 1.00=0A port 1 addr 2: low speed, power 98 mA, config 1= , USB Receiver(0xc518), Logitech(0x046d), rev 42.04=0A port 2 addr 3: low s= peed, power 100 mA, config 1, Natural=EF=BF=BD Ergonomic Keyboard 4000(0x00= db), Microsoft(0x045e), rev 1.73=0AController /dev/usb1:=0Aaddr 1: full spe= ed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00= =0A port 1 addr 2: full speed, self powered, config 1, BCM2045B2(0x4500), B= roadcom(0x0a5c), rev 1.00=0A port 1 addr 3: full speed, self powered, conf= ig 1, BCM2045(0x8126), Broadcom Corp(0x413c), rev 1.00=0A port 2 addr 4: f= ull speed, self powered, config 1, product 0x4502(0x4502), Broadcom Corp(0x= 0a5c), rev 1.00=0A port 3 addr 5: full speed, self powered, config 1, prod= uct 0x4503(0x4503), Broadcom Corp(0x0a5c), rev 1.00=0A port 2 powered=0ACon= troller /dev/usb2:=0Aaddr 1: full speed, self powered, config 1, UHCI root = hub(0x0000), Intel(0x0000), rev 1.00=0A port 1 addr 2: full speed, power 50= 0 mA, config 1, product 0x08c6(0x08c6), vendor 0x046d(0x046d), rev 80.05=0A= port 2 powered=0AController /dev/usb3:=0Aaddr 1: full speed, self powered,= config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00=0A port 1 powered= =0A port 2 addr 2: full speed, self powered, config 1, Bose USB Audio(0x102= 0), Bose Corporation(0x05a7), rev 1.00=0AController /dev/usb4:=0Aaddr 1: hi= gh speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev= 1.00=0A port 1 powered=0A port 2 powered=0A port 3 powered=0A port 4 power= ed=0A port 5 powered=0A port 6 powered=0A port 7 powered=0A port 8 powered= =0A=0A=0A# cat /dev/sndstat=0AFreeBSD Audio Driver (newpcm: 32bit 200706160= 0/i386)=0AInstalled devices:=0Apcm0: <USB Audio> at ? kld snd_uaudio [GIANT= ] (0p:0v/1r:4v channels default)=0A mode 3:(input) 1ch, 16/16bit, pc= m, 16000Hz=0Apcm1: <USB Audio> at ? kld snd_uaudio [GIANT] (mixer only)=0A= =0A=0A# sysctl hw.snd dev.pcm=0Ahw.snd.latency_profile: 1=0Ahw.snd.latency:= 5=0Ahw.snd.report_soft_formats: 1=0Ahw.snd.compat_linux_mmap: 0=0Ahw.snd.f= eeder_buffersize: 16384=0Ahw.snd.feeder_rate_round: 25=0Ahw.snd.feeder_rate= _max: 2016000=0Ahw.snd.feeder_rate_min: 1=0Ahw.snd.verbose: 1=0Ahw.snd.maxa= utovchans: 16=0Ahw.snd.default_unit: 0=0Ahw.snd.version: 2007061600/i386=0A= hw.snd.default_auto: 0=0Adev.pcm.0.%desc: USB Audio=0Adev.pcm.0.%driver: pc= m=0Adev.pcm.0.%parent: uaudio0=0Adev.pcm.0.rec.vchans: 4=0Adev.pcm.0.rec.vc= hanrate: 16000=0Adev.pcm.0.rec.vchanformat: s16le=0Adev.pcm.0.buffersize: 1= 6384=0Adev.pcm.1.%desc: USB Audio=0Adev.pcm.1.%driver: pcm=0Adev.pcm.1.%par= ent: uaudio1=0Adev.pcm.1.buffersize: 16384=0A=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?249781.97237.qm>