Date: Sat, 1 Nov 2008 14:49:20 -0700 (PDT) From: Ferry Syafei Sapei <pei7@yahoo.com> To: freebsd-usb@freebsd.org Subject: USB speaker does not output any sound even though recognized Message-ID: <115856.33908.qm@web30603.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 init= ialization 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.pla= y.vchans and I saw an error message as follows:=0Asysctl: dev.pcm.0.play.vc= hans : 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 som= eone please help me to solve this problem?=0A=0ABelow you can find some out= put from different commands:=0A=0A# dmesg=0ACopyright (c) 1992-2008 The Fre= eBSD Project.=0ACopyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 199= 2, 1993, 1994=0A The Regents of the University of California. All ri= ghts reserved.=0AFreeBSD is a registered trademark of The FreeBSD Foundatio= n. =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 Steppin= g =3D 6 =0A Features=3D0xbfebfbff<FPU,VME,DE,PS= E,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI= ,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> = =0A Feat= ures2=3D0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> = =0A AMD Features=3D0x2010000= 0<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 > = =0A= FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs = =0A cpu0 (BSP): APIC ID: = 0 = =0A cpu1 (AP): APIC ID: 1 = = =0Aioapic0: Changing APIC ID to 2 = =0Aioapic0 <Vers= ion 2.0> irqs 0-23 on motherboard = =0Akbd1 at kbdmux0 = = =0Aath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111= , RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) =0Aacpi= 0: <DELL M07 > on motherboard = =0Aacpi0: [ITHREAD] = = =0ATimecounter "HPET" frequency 14318180 Hz quality= 900 = =0Aacpi0: reservation of 0, 9fc00 (3) failed = =0Aacpi0: reservatio= n of 100000, 7fd93400 (3) failed = =0ATimecounter "ACPI-fast" frequency 35795= 45 Hz quality 1000 = =0Aacpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b= on acpi0 =0Aacpi_aca= d0: <AC Adapter> on acpi0 = =0Abattery0: <ACPI Control Method= Battery> on acpi0 = =0Aacpi_lid0: <Control Method Lid Switch> on acpi0 = = =0Aacpi_button0: <Power Button> on acpi0 = =0Aacpi_button1: <Slee= p Button> on acpi0 = =0Apcib0: <ACPI Host-PCI bridge> port 0xcf8-= 0xcff on acpi0 = =0Apci0: <ACPI PCI bus> on pcib0 = =0Apcib1: <AC= PI PCI-PCI bridge> at device 1.0 on pci0 = =0Apci1: <ACPI PCI bus> on pcib1 = = =0Avgapci0: <VGA-compatible display> mem 0xed000000-0xedf= fffff,0xd0000000-0xdfffffff,0xee000000-0xeeffffff irq 16 at device 0.0 on p= ci1 = =0Anvidia0: <GeForce Go 7400= > on vgapci0 = =0Avgapci0: child nvidia0 requested pci_enable_bus= master = =0Avgapci0: child nvidia0 requested pci_enable_io = =0Anvidia0: [GIANT-= LOCKED] = =0Anvidia0: [ITHREAD] = = =0Apci0: <multimedia> at device 27.0 (no driver attached) = =0Apcib2: = <ACPI PCI-PCI bridge> at device 28.0 on pci0 = =0Apci11: <ACPI PCI bus> on pcib= 2 = =0Apcib3: <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: [ITHREAD] = =0Apcib4: <AC= PI PCI-PCI bridge> at device 28.3 on pci0 = =0Apci13: <ACPI PCI bus> on pcib4 = = =0Auhci0: <UHCI (generic) USB controller> port 0xbf80-0xb= f9f irq 20 at device 29.0 on pci0 =0Au= hci0: [GIANT-LOCKED] = =0Auhci0: [ITHREAD] = = =0Ausb0: <UHCI (generic) USB controller> on uhci= 0 = =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, sel= f powered = =0Auhci1: <UHCI (generic) USB controller> port 0xbf60-0xbf7f = irq 21 at device 29.1 on pci0 =0Auhci1= : [GIANT-LOCKED] = =0Auhci1: [ITHREAD] = = =0Ausb1: <UHCI (generic) USB controller> on uhci1 = = =0Ausb1: 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 po= wered = =0Auhci2: <UHCI (generic) USB controller> port 0xbf40-0xbf5f irq = 22 at device 29.2 on pci0 =0Auhci2: [G= IANT-LOCKED] = =0Auhci2: [ITHREAD] = = =0Ausb2: <UHCI (generic) USB controller> on uhci2 = =0A= usb2: USB revision 1.0 = =0Auhub2: <Intel UHCI roo= t hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 = =0Auhub2: 2 ports with 2 removable, self powere= d = =0Auhci3: <UHCI (generic) USB controller> port 0xbf20-0xbf3f irq 23 a= t device 29.3 on pci0 =0Auhci3: [GIANT= -LOCKED] = =0Auhci3: [ITHREAD] = = =0Ausb3: <UHCI (generic) USB controller> on uhci3 = =0Ausb3= : USB revision 1.0 = =0Auhub3: <Intel UHCI root hu= b, class 9/0, rev 1.00/1.00, addr 1> on usb3 = =0Auhub3: 2 ports with 2 removable, self powered = = =0Aehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa80000-0xff= a803ff irq 20 at device 29.7 on pci0 =0Aehci0: [GIANT-LOC= KED] = =0Aehci0: [ITHREAD] = = =0Ausb4: EHCI version 1.0 = =0Ausb4: co= mpanion controllers, 2 ports each: usb0 usb1 usb2 usb3 = =0Ausb4: <Intel 82801GB/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, addr 1> on usb4 = =0Auhub4: 8 ports with= 8 removable, self powered = =0Apcib5: <ACPI PCI-PCI bridge> at device 30= .0 on pci0 = =0Apci3: <ACPI PCI bus> on pcib5 = =0Abfe0: <Bro= adcom BCM4401-B0 Fast Ethernet> mem 0xecbfe000-0xecbfffff irq 17 at device = 0.0 on pci3 =0Amiibus0: <MII bus> on bfe0 = = =0Abmtphy0: <BCM4401 10/100baseTX PHY> PHY 1 on miibus0 = =0Ab= mtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto = =0Abfe0: Ethernet address:= 00:18:8b:c9:d0:71 = =0Abfe0: [ITHREAD] = = =0Afwohci0: <1394 Open Host Controller Interface> mem 0xecbfd800-0xecb= fdfff irq 19 at device 1.0 on pci3 =0Afwohci0: [FILT= ER] = =0Afwohci0: OHCI version 1.10 (ROM=3D0)= = =0Afwohci0: No. of Isochronous channels is 4. = =0Afwo= hci0: EUI64 39:4f:c0:00:10:ea:ec:50 = =0Afwohci0: Phy 1394a availa= ble S400, 1 ports. = =0Afwohci0: Link S400, max_rec 2048 bytes. = = =0Afirewire0: <IEEE1394(FireWire) bus> on fwohci0 = =0Afwe0: <Ethernet = over FireWire> on firewire0 = =0Aif_fwe0: Fake Ethernet address: 3a:4f:= c0:ea:ec:50 = =0Afwe0: Ethernet address: 3a:4f:c0:ea:ec:50 = =0Afwip0: = <IP over FireWire> on firewire0 = =0Afwip0: Firewire address: 39:4= f: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_ad= dr 0x7d928000 = =0Afwohci0: Initiate bus reset = = =0Afwohci0: BUS reset = =0Afwohci0: n= ode_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode = =0Apci3: <base peripheral> at d= evice 1.1 (no driver attached) = =0Apci3: <base peripheral> at device 1.2 (no driver a= ttached) = =0Apci3: <base peripheral> at device 1.3 (no driver attached) = =0Apci3: <base periphe= ral> 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 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x= bfa0-0xbfaf irq 17 at device 31.2 on pci0=0Aata0: <ATA channel 0> on atapci= 0 = =0Aata0: [ITHREAD] = =0A= ata1: <ATA channel 1> on atapci0 = =0Aata1: [ITHREAD] = = =0Apci0: <serial bus, SMBus> at device 31.3 (no= driver attached) = =0Aacpi_tz0: <Thermal Zone> on acpi0 = =0Aatkbdc0: <Key= board controller (i8042)> port 0x60,0x64,0x62,0x66 irq 1 on acpi0 = =0Aatkbd0: <AT Keyboard> irq 1 on atkb= dc0 = =0Akbd0 at atkbd0 = =0Aatkb= d0: [GIANT-LOCKED] = =0Aatkbd0: [ITHREAD] = = =0Apsm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc= 0 = =0Apsm0: [GIANT-LOCKED] = =0Apsm0: [ITHREAD] = = =0Apsm0: model Generic PS/2 mouse, device = ID 0 = =0Acpu0: <ACPI CPU> on acpi0 = =0Aest0: <E= nhanced SpeedStep 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 Freque= ncy Thermal Control> on cpu1 = =0Apmtimer0 on isa0 = = =0Aorm0: <ISA Option ROM> at iomem 0xc0000-0xcffff pnpid ORM0000 o= n isa0 =0Appc0: para= llel port not found. = =0Asc0: <System console> at flags 0= x100 on isa0 = =0Asc0: VGA <16 virtual consoles, flags=3D0x300> = = =0Asio0: configured irq 4 not in bitmap of probed irqs 0 = =0Asio0: port may not = be enabled = =0Asio0: configured irq 4 not in bitmap of p= robed 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 respondin= g = =0Asio0: [FILTER] = =0As= io1: configured irq 3 not in bitmap of probed irqs 0 = =0Asio1: port may not be e= nabled = =0Avga0: <Generic ISA VGA> at port 0x3c0-0x3df i= omem 0xa0000-0xbffff on isa0 = =0Aums0: <Logitech USB Receiver, class 0/0, rev 2.00/42.04, addr 2> on= uhub0 =0Aums0: 16 butto= ns and Z dir. = =0Auhid0: <Logitech USB Receiver, class= 0/0, rev 2.00/42.04, addr 2> on uhub0 = =0Aukbd0: <Microsoft Natural\M-. Ergonomic Keyboard 4000, cla= ss 0/0, rev 2.00/1.73, addr 3> on uhub0 =0Akbd2 = at ukbd0 = =0Auhid1: <Microsoft Natural\M= -. Ergonomic Keyboard 4000, class 0/0, rev 2.00/1.73, addr 3> on uhub0 = =0Auhub5: <Broadcom BCM2045B2, class 9/0, rev 2.00/1= .00, addr 2> on uhub1 = =0Auhub5: 3 ports with 0 removable, bus powered = =0Augen0: <Broadcom C= orp BCM2045, class 224/1, rev 2.00/1.00, addr 3> on uhub5 = =0Aukbd1: <Broadcom Corp product 0x4502, cl= ass 0/0, rev 2.00/1.00, addr 4> on uhub5 = =0Akbd3 at ukbd1 = =0Aums1: <Br= oadcom Corp product 0x4503, class 0/0, rev 2.00/1.00, addr 5> on uhub5 = =0Aums1: 3 buttons. = = =0Auaudio0: <vendor 0x046d product 0x08c6, class 0/0, re= v 2.00/80.05, addr 2> on uhub2 =0A= uaudio0: audio rev 1.00 = =0Apcm0: <USB Audio> on u= audio0 = =0Auaudio1: <Bose Corporation Bose USB Audio, c= lass 0/0, rev 1.00/1.00, addr 2> on uhub3 = =0Auaudio1: audio rev 1.00 = =0Apcm1: <USB Au= dio> on uaudio1 = =0Auhid2: <Bose Corporation Bose USB A= udio, class 0/0, rev 1.00/1.00, addr 2> on uhub3 = =0ATimecounters tick every 1.000 msec = =0Aipfw= 2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding = firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0(me)=0Afirewire0: bus man= ager 0 (me)=0Adisabled, default to accept, logging disabled=0Aad0: 95396MB = <Seagate ST910021AS 8.04> at ata0-master SATA150=0Aacd0: DVDR <HL-DT-ST DVD= +/-RW GSA-T11N/A103> at ata1-master UDMA33=0AGEOM_LABEL: Label for provider= ad0s1 is ntfs/Win'XP.=0AGEOM_LABEL: Label for provider ad0s2 is msdosfs/ .= =0Aacd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 sks=3D0x4= 0 0x00 0x01=0Aacd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x0= 0 sks=3D0x40 0x00 0x01=0Acd0 at ata1 bus 0 target 0 lun 0=0Acd0: <HL-DT-ST = DVD+-RW GSA-T11N A103> Removable CD-ROM SCSI-0 device=0Acd0: 33.000MB/s tra= nsfers=0Acd0: Attempt to query device size failed: NOT READY, Medium not pr= esent=0ASMP: AP CPU #1 Launched!=0ATrying to mount root from ufs:/dev/ad0s3= a=0Awpi0: timeout resetting Tx ring 1=0Awpi0: timeout resetting Tx ring 3= =0Awpi0: timeout resetting Tx ring 4=0Awpi0: timeout resetting Tx ring 1=0A= wpi0: timeout resetting Tx ring 3=0Awpi0: timeout resetting Tx ring 4=0Awpi= 0: timeout resetting Tx ring 1=0Awpi0: timeout resetting Tx ring 3=0Awpi0: = timeout resetting Tx ring 4=0Awpi0: timeout resetting Tx ring 1=0Awpi0: tim= eout resetting Tx ring 3=0Awpi0: timeout resetting Tx ring 4=0Awpi0: link s= tate changed to UP=0Apid 15638 (npviewer.bin), uid 1001: exited on signal 1= 1=0AGEOM_LABEL: Label msdosfs/ removed.=0Aacd0: WARNING - unknown CMD (0xa= c) read data overrun 8>0=0Aacd0: WARNING - unknown CMD (0xac) read data ove= rrun 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), Logi= tech(0x046d), rev 42.04=0A port 2 addr 3: low speed, power 100 mA, config 1= , Natural=EF=BF=BD Ergonomic Keyboard 4000(0x00db), Microsoft(0x045e), rev = 1.73=0AController /dev/usb1:=0Aaddr 1: full speed, 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), Broadcom(0x0a5c), rev 1.00=0A = port 1 addr 3: full speed, self powered, config 1, BCM2045(0x8126), Broadc= om Corp(0x413c), rev 1.00=0A port 2 addr 4: full speed, self powered, conf= ig 1, product 0x4502(0x4502), Broadcom Corp(0x0a5c), rev 1.00=0A port 3 ad= dr 5: full speed, self powered, config 1, product 0x4503(0x4503), Broadcom = Corp(0x0a5c), rev 1.00=0A port 2 powered=0AController /dev/usb2:=0Aaddr 1: = full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), r= ev 1.00=0A port 1 addr 2: full speed, power 500 mA, config 1, product 0x08c= 6(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(0x00= 00), Intel(0x0000), rev 1.00=0A port 1 powered=0A port 2 addr 2: full speed= , self powered, config 1, Bose USB Audio(0x1020), Bose Corporation(0x05a7),= rev 1.00=0AController /dev/usb4:=0Aaddr 1: high speed, self powered, confi= g 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00=0A port 1 powered=0A po= rt 2 powered=0A port 3 powered=0A port 4 powered=0A port 5 powered=0A port = 6 powered=0A port 7 powered=0A port 8 powered=0A=0A=0A# cat /dev/sndstat=0A= FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)=0AInstalled devices:= =0Apcm0: <USB Audio> at ? kld snd_uaudio [GIANT] (0p:0v/1r:4v channels defa= ult)=0A mode 3:(input) 1ch, 16/16bit, pcm, 16000Hz=0Apcm1: <USB Audi= o> 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_forma= ts: 1=0Ahw.snd.compat_linux_mmap: 0=0Ahw.snd.feeder_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.maxautovchans: 16=0Ahw.snd.defaul= t_unit: 0=0Ahw.snd.version: 2007061600/i386=0Ahw.snd.default_auto: 0=0Adev.= pcm.0.%desc: USB Audio=0Adev.pcm.0.%driver: pcm=0Adev.pcm.0.%parent: uaudio= 0=0Adev.pcm.0.rec.vchans: 4=0Adev.pcm.0.rec.vchanrate: 16000=0Adev.pcm.0.re= c.vchanformat: s16le=0Adev.pcm.0.buffersize: 16384=0Adev.pcm.1.%desc: USB A= udio=0Adev.pcm.1.%driver: pcm=0Adev.pcm.1.%parent: uaudio1=0Adev.pcm.1.buff= ersize: 16384=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?115856.33908.qm>