Hello. I am trying to use a usb microphone with my linux system, and failing. I cannot record sound from it. Please help (you can e-mail me directly at [EMAIL PROTECTED])!
Machine: Dell Precision 650 Dual-processor Xeon 2.4Ghz Intel 810 chipset Distribution: RH 8.0 Kernel: 2.4.20-19.8smp Microphone: Labtec Verse 704 (Linux thinks this is the same as AKM AK5370/NC-7100 microphone, produced by Andrea Electronics) Affects of plugging in the microphone (generated by saving output before and after plugging in and then diffing): Additions to dmesg: > hub.c: new USB device 00:1d.2-1, assigned address 2 > usb.c: USB device 2 (vend/prod 0x556/0x1) is not claimed by any active driver.> usb-uhci.c: ENXIO 80000280, flags 0, urb f49b3f80, burb f4fc0400 > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6 > usb-uhci.c: ENXIO 80000280, flags 0, urb f49b3500, burb f4fc0400 > usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6 > usb.c: registered new driver audio > usbaudio: device 2 audiocontrol interface 0 has 1 input and 0 output AudioStreaming interfaces > usbaudio: device 2 interface 1 altsetting 1 channels 1 framesize 2 configured > usbaudio: valid input sample rate 8000 > usbaudio: valid input sample rate 48000 > usbaudio: valid input sample rate 44100 > usbaudio: valid input sample rate 22050 > usbaudio: valid input sample rate 11025 > usbaudio: device 2 interface 1 altsetting 1: format 0x00000010 sratelo 8000 sratehi 48000 attributes 0x01 > usbaudio: registered dsp 14,19 > usbaudio: constructing mixer for Terminal 2 type 0x0101 > usbaudio: warning: found 1 of 0 logical channels. > usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine. > usbaudio: registered mixer 14,16 > usb_audio_parsecontrol: usb_audio_state at f440a180 > audio.c: v1.0.0:USB Audio Class driver Additions to /proc/bus/usb/devices: > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0556 ProdID=0001 Rev= 0.01 > S: Manufacturer=AKM > S: Product=AK5370 > C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr= 90mA > I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio > I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio > I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio > E: Ad=81(I) Atr=01(Isoc) MxPS= 100 Ivl=1ms Changes in lsmod: > audio 47324 0 (unused) 5c6 < soundcore 7108 2 (autoclean) [i810_audio] --- > soundcore 7108 4 (autoclean) [audio i810_audio] 30c31 < usbcore 82688 1 [ibmcam usbvideo hid usb-uhci ehci-hcd] --- > usbcore 82688 1 [audio ibmcam usbvideo hid usb-uhci ehci-hcd] Tailing /var/log/messages while plugging in the microphone generated: Oct 28 17:47:14 mj_dell kernel: hub.c: new USB device 00:1d.2-2, assigned address 3 Oct 28 17:47:14 mj_dell kernel: usbaudio: device 3 audiocontrol interface 0 has 1 input and 0 output AudioStreaming interfaces Oct 28 17:47:14 mj_dell kernel: usbaudio: device 3 interface 1 altsetting 1 channels 1 framesize 2 configured Oct 28 17:47:14 mj_dell kernel: usbaudio: valid input sample rate 8000 Oct 28 17:47:14 mj_dell kernel: usbaudio: valid input sample rate 48000 Oct 28 17:47:14 mj_dell kernel: usbaudio: valid input sample rate 44100 Oct 28 17:47:14 mj_dell kernel: usbaudio: valid input sample rate 22050 Oct 28 17:47:14 mj_dell kernel: usbaudio: valid input sample rate 11025 Oct 28 17:47:14 mj_dell kernel: usbaudio: device 3 interface 1 altsetting 1: format 0x00000010 sratelo 8000 sratehi 48000 attributes 0x01 Oct 28 17:47:14 mj_dell kernel: usbaudio: registered dsp 14,19 Oct 28 17:47:14 mj_dell kernel: usbaudio: warning: found 1 of 0 logical channels. Oct 28 17:47:14 mj_dell kernel: usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine. Oct 28 17:47:14 mj_dell kernel: usbaudio: registered mixer 14,16 Oct 28 17:47:17 mj_dell kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb f4d2c880, burb f4d2cd00 Oct 28 17:47:17 mj_dell /etc/hotplug/usb.agent: Setup audio for USB product 556/1/1 Oct 28 17:47:17 mj_dell kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb f5021400, burb f4d2cd00 Oct 28 17:47:17 mj_dell /etc/hotplug/usb.agent: ... no modules for USB product 556/1/1 Checking the contents of /dev confirms that /dev/dsp1 and /dev/mixer1 are the appropriate devices (corresponding to the registration message from usbaudio in /var/log/messages): crw------- 1 mjamil root 14, 3 Aug 30 2002 /dev/dsp crw------- 1 mjamil root 14, 19 Aug 30 2002 /dev/dsp1 crw------- 1 mjamil root 55, 0 Aug 30 2002 /dev/dsp56k crw------- 1 mjamil root 14, 0 Aug 30 2002 /dev/mixer crw------- 1 mjamil root 14, 16 Aug 30 2002 /dev/mixer1 Symptoms: Despite the fact that the device seems available, it doesn't function correctly. If I start gnomemeeting and change the input to /dev/dsp1 and /dev/mixer1, I hear nothing when talking into the usb microphone. (If I have that set to /dev/dsp and /dev/mixer with my standard analog mic, I can hear myself clearly). If I cat /dev/dsp1 to /dev/dsp, then I hear loud and regular bursts of static (roughly two per second) in my headphones. The volume of the sound increases even more if I switch off the microphone using its on/off button, and decreases to the standard loud level if I turn the mic back on. Another fact: gnome has a volume control application (gnome-volume-control). When the usb mic is plugged in, this application inherits a new tab labeled "USB_Audio_Class_Driver." This tab has only one entry, "mic." This entry has one slider (presumably controlling input level) and a "Mute" button. While catting dsp1 to dsp, if the slider is pushed all the way to the bottom, or if the "Mute" checkbox is selected, the result is the same as switching off the mic: the bursts of static become even louder. If I reboot the machine, kudzu wants to register the usb mic as a new sound card. Once gnome starts up and I restart the gnome-volume-control application, I see that the original mixer (for all the other devices) has disappeared and only the contents of the USB_Audio_Class_Driver tab are visible. If I plug the mic out and restart the app, the original mixer is back. If I now plug the mic back in, the two tab view is back. What else can I mention? The behaviour doesn't change regardless of which USB port I use. I have tested the usb mic on a Windows 2000 system; it works flawlessly. I can't think of anything else, but if any other information would prove helpful in debugging this, I'd be happy to provide it. Thanks! __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users