Comment 0 for bug 310760

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote : Built-in microphone on Lenovo USB webcam do not work when hald is running

Binary package hint: hal

Using a Lenovo external USB webcam (Lenovo part number: 41N5733, USB id 17ef:4802), the built-in microphone is not working. After stopping hald with "/etc/init.d/hal stop" and unplugging/replugging the webcam, the built-in microphone do work.

Example:

etienne@curst:~/tmp$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: I82801CAICH3 [Intel 82801CA-ICH3], device 0: Intel ICH [Intel 82801CA-ICH3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: I82801CAICH3 [Intel 82801CA-ICH3], device 1: Intel ICH - MIC ADC [Intel 82801CA-ICH3 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Webcam [Lenovo USB Webcam], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
etienne@curst:~/tmp$ arecord -D hw:1,0 -d 3 -f cd -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: pcm_read:1347: read error: Input/output error
etienne@curst:~/tmp$ sudo /etc/init.d/hal stop
[sudo] password for etienne:
 * Stopping Hardware abstraction layer hald [ OK ]
        < there, I unplugged and replugged the webcam >
etienne@curst:~/tmp$ arecord -D hw:1,0 -d 3 -f cd -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

I also see the same behavior when trying to record from the webcam using the OSS driver, tested with "sox -t ossdsp /dev/dsp1 test.wav".