Built-in microphone on Lenovo USB webcam doesn't work when hald is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Hardy |
Invalid
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Tim Gardner | ||
linux-ubuntu-modules-2.6.24 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
AceLan Kao | ||
Karmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
Impact: The MIC of the Lenovo webcam doesn't work after launching the camera, because of the i2c command that turn on/off the LED for the camera is wrong and will impact the MIC function.
Fix: By snooping the USB traffic from Windows and extracting the correct i2c commands that turn on/off the LED. The patch goes to the V4L/DVB tree contains other bug fixes that introduced from the following two 2.6.29 commits
6af4e7a V4L/DVB (10424): gspca - vc032x: Add resolution 1280x1024 for sensor mi1310_soc.
a92e906 V4L/DVB (10420): gspca - vc032x: Webcam 041e:405b added and mi1310_soc updated.
I only merge back the LED part, since Hardy doesn't have that problem. The patch is already accepted by the V4L/DVB branch and will be merged into upstream kernel later. http://
Testcase: This patch work fine with the Lenovo webcam I have.
---
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 in Ubuntu 8.04. After stopping hald with "/etc/init.d/hal stop" and unplugging/
Example:
etienne@
**** 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@
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: pcm_read:1347: read error: Input/output error
etienne@
[sudo] password for etienne:
* Stopping Hardware abstraction layer hald [ OK ]
< there, I unplugged and replugged the webcam >
etienne@
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
etienne@
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".
Version of hal installed: 0.5.11~
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Fix Released → Triaged |
tags: | added: regression-potential |
Changed in linux (Ubuntu): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Hardy): | |
assignee: | nobody → AceLan Kao (acelankao) |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Hardy): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Hardy): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in linux (Ubuntu Karmic): | |
assignee: | AceLan Kao (acelankao) → Tim Gardner (timg-tpi) |
status: | Triaged → Fix Committed |
Attached is the output of "hald --daemon=no --verbose=yes", which have been trimmed to see only the part that happen after the camera is plugged in.