Logitech camera microphone does not work / makes "chipmunk" sound

Bug #843431 reported by Alex Boardman
526
This bug affects 107 people
Affects Status Importance Assigned to Milestone
Linux
New
Medium
Unassigned
linux (Debian)
New
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned
Oneiric
Fix Released
Medium
Brad Figg

Bug Description

Did not know which application to log so feel free to let me know and I'll upload the correct log. In Natty, this mic worked great. Now, in the sound control panel, the mic does not show any input level at all and sound recorder does not record any sound.

edit: I can also confirm the same behavior as Alex Popovskiy. It either works but plays too fast (high pitch) or it doesn't work at all.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.1.91-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Sep 6 20:31:13 2011
ExecutablePath: /usr/bin/gnome-control-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: alex 1594 F.... pulseaudio
 /dev/snd/controlC0: alex 1594 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf9ef4000 irq 16'
   Mixer name : 'VIA VT1708S'
   Components : 'HDA:11060397,18490397,00100000'
   Controls : 36
   Simple ctrls : 20
Card1.Amixer.info:
 Card hw:1 'U0x46d0x809'/'USB Device 0x46d:0x809 at usb-0000:00:13.2-6, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0809'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 6400
   Mono: Capture 6400 [100%] [31.00dB] [on]
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=8ccfea11-7ba8-42e2-bc75-a37e20a8c83c
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-10-generic root=UUID=3c8a3aec-07c0-47ad-bab8-0365abb68a42 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-10-generic N/A
 linux-backports-modules-3.0.0-10-generic N/A
 linux-firmware 1.60
Tags: oneiric running-unity
Uname: Linux 3.0.0-10-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/07/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.70
dmi.board.name: M3A770DE
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.70:bd09/07/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnM3A770DE:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Alex Boardman (boardinary) wrote :
affects: gnome-control-center (Ubuntu) → alsa-utils (Ubuntu)
affects: alsa-utils (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 843431

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Alex Boardman (boardinary) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Alex Boardman (boardinary) wrote : AlsaDevices.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : AplayDevices.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : ArecordDevices.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : BootDmesg.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : IwConfig.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : Lspci.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : Lsusb.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : PciMultimedia.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : ProcModules.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : PulseSinks.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : PulseSources.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : RfKill.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : UdevDb.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : UdevLog.txt

apport information

Revision history for this message
Alex Boardman (boardinary) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote : Re: Logitech camera microphone does not work

I have similar issue with microphone too. But in my case I can record from camera's microphone with 'sound recorder', but resulting recording seems like the recording source was playing very fast.
My camera is Logitech C210 (ID 046d:0819) and it worked ok on Natty

Revision history for this message
Alex Boardman (boardinary) wrote :

I can also confirm the same behavior as Alex Popovskiy. It either works but plays to fast (high pitch) or it doesn't work at all.

description: updated
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-11.18)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel currently in the release pocket than the one you tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-11.18
Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote : Re: Logitech camera microphone does not work

Latest kernel update didn't solve the problem for me

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
lunix (bob-l-lewis) wrote :

Latest 3.0.0-11.18 kernel didn't help for me either. I am using a Logitech C910. Camera works but not the microphone.

Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote :

I ran some tests and here is what I found: I can record normal sound from webcam's microphone, but only once after reboot. Any subsequent attempts will record high pitch garbage. I've also noticed that track duration counter in gnome-sound-recorder lags (one second in counter is like 2-3 normal seconds) as well as input level indicator. There is also noticeable sound glitch when starting first (normal) record, so maybe this bug is not about the kernel but pulseaudio's fault.

Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote :

I was wrong about pulseaudio. Now I'm sure its 3.x kernel bug/regression. I've just tested 3 different kernels: 3.0.0 (current oneiric) - no mic input/glitches, 3.1-rc4 (from mainline ppa) - same as above, 2.6.38 (from natty) - mic works flawlessly.

Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.19)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.19
Revision history for this message
lunix (bob-l-lewis) wrote : Re: Logitech camera microphone does not work

I did a fresh install of Ubuntu Beta 2 and the microphone now works for me. I'll let the original reporter status this
and close it if he no longer has the issue.

Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote :

Microphone still doesn't work after cold boot or reboot from windows, but I can get it working by reconnecting the webcam now. It is a workaround, but not really comfortable :(

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.20)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.20
Revision history for this message
j0c1323 (j0c1323) wrote : Re: Logitech camera microphone does not work

I confirm the same problem with a Logitech C310.

Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote :

No change for me with new kernel

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: regression-release
Changed in linux (Ubuntu):
status: Confirmed → Triaged
sordna (sordna)
summary: - Logitech camera microphone does not work
+ Logitech camera microphone does not work / makes "chipmunk" sound
Revision history for this message
sordna (sordna) wrote :

Adding patch that fixes the issue. Patch taken from kernel bug #35922 as well as archlinux and redhat who already fixed the issue in their kernels. I added many more affected cameras in the present patch. I hope we see it applied to oneiric kernels soon, otherwise the wikis that report how nicely all these Logitech cameras play with linux should be rewritten because the audio has been terribly broken, while it worked fine with natty.

--- drivers/usb/core/quirks.c 2011-10-14 12:48:20.000000000 -0700
+++ quirks.c 2011-10-14 22:31:12.000000000 -0700
@@ -38,6 +38,33 @@ static const struct usb_device_id usb_qu
  /* Creative SB Audigy 2 NX */
  { USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },

+ /* Logitech Webcam C600 */
+ { USB_DEVICE(0x046d, 0x0808), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam Pro 9000 */
+ { USB_DEVICE(0x046d, 0x0809), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam C210 */
+ { USB_DEVICE(0x046d, 0x0819), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam C260 */
+ { USB_DEVICE(0x046d, 0x081a), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam C310 */
+ { USB_DEVICE(0x046d, 0x081b), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam C910 */
+ { USB_DEVICE(0x046d, 0x0821), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Webcam C270 */
+ { USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Quickcam Pro 9000 */
+ { USB_DEVICE(0x046d, 0x0990), .driver_info = USB_QUIRK_RESET_RESUME },
+
+ /* Logitech Quickcam Vision Pro */
+ { USB_DEVICE(0x046d, 0x09a6), .driver_info = USB_QUIRK_RESET_RESUME },
+
  /* Logitech Harmony 700-series */
  { USB_DEVICE(0x046d, 0xc122), .driver_info = USB_QUIRK_DELAY_INIT },

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Edward Hunt (ephunt) wrote :

same problem with a Logitech C310

Revision history for this message
diqrtvpe (ccollett) wrote :

I can verify that the patch works, with a Logitech C310.

Revision history for this message
Edward Hunt (ephunt) wrote :

how can I apply the patch?

Revision history for this message
Ruben Silveira (ruben-silveira) wrote :

I can confirm that it is happening with a Logitech Pro 9000 Webcam (USB Device 0x46d:0x809) in Ubuntu 11.10 amd64 3.0.0-12-generic.

Revision history for this message
sordna (sordna) wrote :

To apply the patch you need to download the attachment, and also have the latest kernel source downloaded (apt-get source linux-image-3.0.0-12-generic).
Then you would apply the patch as follows:
patch linux-3.0.0/drivers/usb/core/quirks.c < 843431.patch
and build/install the kernel as usual... if you're not familiar with kernel building you would need to look it up !
I'll just post what I did on my quad core box (I like to compile up to 4 objects concurrently to build the kernel faster), I build the kernel into image & headers deb files, which I then install with dpkg, then reboot.

cd linux-3.0.0
sudo CONCURRENCY_LEVEL=4 make-kpkg --initrd kernel-image kernel-headers
cd ..
dpkg -i linux-image-3.0.4_3.0.4-10.00.Custom_amd64.deb linux-headers-3.0.4_3.0.4-10.00.Custom_amd64.deb

tags: added: patch
Revision history for this message
manyThreads (rmfarber) wrote :

ditto confirmation of the chipmunk sound bug with my logitech 9000 webcam (possible duplicate bug 871543?)

Bus 002 Device 004: ID 046d:0809 Logitech, Inc. Webcam Pro 9000

Revision history for this message
MMaathieu (maaathieu) wrote :

same problem with Logitech C270. can someone share pacakges with the corrected kernel ?

Revision history for this message
Agent (agent-m) wrote :

I have the exact same issue, with the same Webcam, Logitech Webcam Pro 9000. Worked perfectly on 11.04, but now no audio or chipmunk audio. Am unable to use Skype ( which I use for business ) at the moment as a result.

Revision history for this message
Agent (agent-m) wrote :

After running:
patch linux-3.0.0/drivers/usb/core/quirks.c < 843431.patch

I got the following error:
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.0.0/drivers/usb/core/quirks.c.rej

Revision history for this message
sordna (sordna) wrote :

I suspect the patch's whitespace was malformed while you saved it. Copy the URL and download it with wget.
Alternatively, add the relevant line that matches your camera's id to quirks.c manually (without including the leading '+' character from the patch of course)

Revision history for this message
Agent (agent-m) wrote :

Sorry, was my fault...hadn't downloaded the kernel source ( step 1 ...read instructions properly ).

Once I have compiled, built and installed the kernel, will ubuntu still receive kernel updates through the update manager?
And if not, can I still revert back to the original kernel when they fix this issue in the original kernel?

Revision history for this message
sordna (sordna) wrote :

As long as you have the "linux-image-generic" package installed, it will always "depend" on the latest official ubuntu kernel, so you'll still be getting kernel updates. Even if that was not the case, you can always have multiple kernels at any time, they will appear in your grub menu to choose from when you boot. And you can remove kernel packages you no longer need, any time. Anyway this bug report is not the place to discuss kernel building (there's plenty of resources all over the Internet for that), the purpose I posted the patch is for Ubuntu folks to pick it up so we all avoid kernel building.

At this point, I think all we (users) should be providing is our affected camera usb id's if the are NOT in the patch already, to be added, and hopefully convince Ubuntu folks to resolve this bug soon... I can't believe redhat fixed it already, and Ubuntu hasn't yet!

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Comment #25 in bug 858412 reports the issue goes away when running the 3.1.0-999-generic kernel .

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I would be great if others having this issue could test the latest mainline build. Details can be found at:
 https://wiki.ubuntu.com/KernelMainlineBuilds

tags: added: kernel-key
Revision history for this message
sordna (sordna) wrote :

Joseph, comment #25 in bug 858412 says the issue is still exhibited in sound recorder. So it's not really gone.
Anyway, what is kernel 3.1.0-999-generic ? Where do I download it so I can test? Please provide a URL for it.

I tested the latest mainline kernel yesterday: kernel-ppa/mainline/v3.1-rc10-oneiric (dated october 19) and the problem still persists in skype, my voice is speeded up like 300% and is incomprehensible.

Revision history for this message
Ricardo Almeida (ric-almeida) wrote :

My Compaq CQ60 webcam also doesn't work with 3.0 kernel shipped with Ubuntu. It's not a Logitech but I'm hopping it's a similar fix :)

Bus 002 Device 002: ID 04f2:b091 Chicony Electronics Co., Ltd Webcam

I installed kernel 2.6.39-02063904-generic and it works correctly...

Revision history for this message
Alex Boardman (boardinary) wrote :

Ricardo, you should file a separate bug. Run ubuntu-bug from the terminal to do so.

Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

Using: ID 046d:080a Logitech, Inc. Portable Webcam C905
Running: 3.1.0-999-generic

After installing the kernel yesterday the "chipmunk" problem went away so I thought it was solved. But, today it's doing it again. And, when I say it went away, I'm referring only to Skype. Sound recorder still had the same problem and the kernel upgrade didn't help.

Revision history for this message
sordna (sordna) wrote :

Ok Kurt, I'll add the C905 webcam id to the patch, but first you must tell me where I can find the 3.1.0-999-generic kernel to download, I have searched but not able to find it anywhere for download.

Revision history for this message
Alex Popovskiy (alex-popovskiy) wrote :

Sordna, you can download the kernel here http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

Revision history for this message
LaunchPeter (launchpeter) wrote :

Same problem here. No Sound in Skype, sometimes no sometimes chipmunk ins sound-recorder.
But with gstreamer-properties the input test works fine. I hear what I say lound and clear.

Linux yeah 3.0.0-12-generic x86_64

Revision history for this message
sordna (sordna) wrote :

LaunchPeter, you forgot the most important piece of info: What's your camera's model and USB id ?
(lsusb on a terminal window will give you this info)

Revision history for this message
Avery (docaltmed) wrote :

Also affects me.

Bus 001 Device 006: ID 046d:081a Logitech, Inc.

Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

Just an FYI. Sound Recorder and Skype were both not responding after I uninstalled ubuntu-desktop that depends on some of the ALSA stuff. After reinstalling ubuntu-desktop they both started to at least acknowledge the mic albeit with the "chipmunk" nonsense.

Sordna, does that patch seem to work? If so, where can I grab it?

Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

In the meantime...

Workaround until the 3.0 kernel gets sorted: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38.8-natty/

Download:

linux-headers-2.6.38-02063808_2.6.38-02063808.201106040910_all.deb
linux-headers-2.6.38-02063808-generic_2.6.38-02063808.201106040910_i386.deb
linux-image-2.6.38-02063808-generic_2.6.38-02063808.201106040910_i386.deb

I put them in a separate dir and then run: dpkg -i *

Select the 2.6xxx kernel in grub and voila! No more webcam mic headaches while we wait for the fixes to gel.

Revision history for this message
sordna (sordna) wrote :

Yes, the patch works beautifully, I just added your camera to it:

Revision history for this message
marikka (marek-miettinen) wrote :

This also affects me. I have a Logitach C300.

Bus 001 Device 002: ID 046d:0805 Logitech, Inc. Webcam C300

Revision history for this message
sordna (sordna) wrote :

Adding updated patch with the C300 and some other webcams (C200, C250, B500, C500) I got from redhat kernel-2.6.40.7-0.fc15 ... by the way redhat is tracking the bug here: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=742010

Revision history for this message
LaunchPeter (launchpeter) wrote :

sordna, I've got a Logitech C600.

Bus 001 Device 003: ID 046d:0808 Logitech, Inc. Webcam C600

Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

Did the kernel patch and all is good. Thanks to sordna!

Revision history for this message
coen (cococoen) wrote :

I'm experiencing the exact same problem with my c270, however I never applied a patch to the kernel and I am a bit unsure about it. Can anyone explain what I have to do, step-by-step, or place a link to a good tutorial? Thanks!

Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

This is quick and dirty set of patching instructions. No guarantees to match your installation exactly but it should give you a pretty good idea of what is involved.

sudo apt-get install make-kpkg
sudo apt-get install kernel-package
sudo apt-get install kernel-image
sudo apt-get install libncurses5-dev

# create a dir: mkdir kernel
# cd kernel

sudo apt-get source linux-image-3.0.0-12-generic
cd linux-3.0.0
make menuconfig
#goto: Device Drivers/Staging drivers/RTS5139 and disable (buggy driver that hangs compile)
cd ..

wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/843431/+attachment/2566636/+files/843431.patch
patch linux-3.0.0/drivers/usb/core/quirks.c < 843431.patch
cd linux-3.0.0
sudo CONCURRENCY_LEVEL=4 make-kpkg --initrd kernel-image kernel-headers
cd ..
dpkg -i linux-image-3.0.4_3.0.4-10.00.Custom_amd64.deb linux-headers-3.0.4_3.0.4-10.00.Custom_amd64.deb

(filenames will be different depending on your architecture etc.)

Revision history for this message
Jay Ó Broin (ismise) wrote :

Affects me as well.

Bus 002 Device 002: ID 046d:0802 Logitech, Inc. Webcam C200

Revision history for this message
kaeru (kaeru) wrote :

Bus 001 Device 035: ID 046d:09a4 Logitech, Inc. QuickCam E 3500
also Logitech QuickCam B500

Revision history for this message
Markward Kufleitner (mkufleitner) wrote :

This affects too a friend of mine with a Logitech Webcam C210 - he runs Onieric Ocelot and I hear him as a chipmunk over skype.

Revision history for this message
Ruben Silveira (ruben-silveira) wrote :

The patch worked like a charm.
Can anyone confirm that the patch made its way into final v3.1-oneiric kernel (3.1.0-030100, 2011-10-24)?

Revision history for this message
sordna (sordna) wrote :

This but hasn't even been assigned yet :-(
For now I'm updating the patch with a couple more webcams, including the E3500.

Revision history for this message
coen (cococoen) wrote :

It took a few attempts, with various errors, but now the patched kernel is doing it's job. Thanks sordna for patching and thanks Kurt Miller for explaining the basics!

Revision history for this message
Jay Ó Broin (ismise) wrote :

The problem is fixed for my Logitech C200 using the 3.1 final kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-oneiric/

Revision history for this message
sordna (sordna) wrote :

Jay, are you sure? I just tried that kernel, but still get the chipmunk sound on skype. At first, I didn't get any sound at all, then I unplegged and plugged my webcam in, and got the chipmunk sound. Also I keep getting the telltale messages in dmesg... basically I don't see any difference in the 3.1 final kernel, so I think you just got lucky... the bug is 90% reproducible anyway, there are rare times that you start your computer and the webcam works. Please try it a few times, just use the skype test calling service to hear your own voice.

[ 42.736048] 6:3:4: cannot set freq 48000 to ep 0x86
[ 60.168080] 6:3:4: cannot set freq 48000 to ep 0x86
[ 61.168073] 6:3:4: cannot set freq 48000 to ep 0x86
[ 62.168085] 6:3:4: cannot set freq 48000 to ep 0x86
[ 63.168166] 6:3:4: cannot set freq 48000 to ep 0x86
[ 64.168155] 6:3:4: cannot set freq 48000 to ep 0x86
[ 65.168139] 6:3:4: cannot set freq 48000 to ep 0x86
[ 66.168121] 6:3:4: cannot set freq 48000 to ep 0x86
[ 67.168112] 6:3:4: cannot set freq 48000 to ep 0x86
[ 68.168098] 6:3:4: cannot set freq 48000 to ep 0x86
[ 69.168083] 6:3:4: cannot set freq 48000 to ep 0x86
[ 70.168064] 6:3:4: cannot set freq 48000 to ep 0x86
[ 71.168054] 6:3:4: cannot set freq 48000 to ep 0x86
[ 72.168169] 6:3:4: cannot set freq 48000 to ep 0x86
[ 73.168143] 6:3:4: cannot set freq 48000 to ep 0x86
[ 74.168128] 6:3:4: cannot set freq 48000 to ep 0x86
[ 75.168114] 6:3:4: cannot set freq 48000 to ep 0x86
[ 76.168102] 6:3:4: cannot set freq 48000 to ep 0x86
[ 77.168087] 6:3:4: cannot set freq 48000 to ep 0x86
[ 78.168071] 6:3:4: cannot set freq 48000 to ep 0x86
[ 79.168181] 6:3:4: cannot set freq 48000 to ep 0x86

Revision history for this message
Ruben Silveira (ruben-silveira) wrote :

I can confirm that v3.1-oneiric kernel (3.1.0-030100, 2011-10-24) does not correct this issue.

Revision history for this message
Jay Ó Broin (ismise) wrote :

@sordna: You're right, the first test went fine, but after unplugging the webcam and plugging it back in, the chipmunk sound returned.

Revision history for this message
Santiago Franco (santiago-franco) wrote :

Found a quick workaround(Ubuntu Forums) while kernel gets patched. Works great with my logitech pro:

Hello. The problem is that the microphone is in the wrong sound rate by the pulse audio. As a user do the following:

Code:
gedit $HOME/.pulse/daemon.conf
and put the following line on the file:
Code:
default-sample-rate = 16000
save it, and then restart pulseaudio as a user with the following command

Code:
pulseaudio --kill && pulseaudio --start
This should solve the problem.

Revision history for this message
Mark Hewitt (holybladder) wrote :

Fantastic! That solved the problem completely, thankyou Santiago. Fix confirmed.

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hi,
Still bug.
I try to solve 2 different PC (one Atom330+Logitech C270, and AMD1.8ghz+LogC310) . Both PC upgraded to kernel 3.0.
In both PC try the lastest kernel from ppa, and the daily build of 31/10/2011.

In both configurations the image quality of the webcam are very poor, in the atom sometimes do not start.
When Ubuntu start, Unity-start-sound do not sound until unplug the webcam usb.

Dmesg:
[ 866.923111] usb 2-4: USB disconnect, device number 3
[ 885.716043] usb 2-4: new high speed USB device number 4 using ehci_hcd
[ 886.065388] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
[ 886.162145] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4:1.0/input/input7
[ 887.164092] 4:3:1: cannot get freq at ep 0x86

And from the lastone item.. sometimes many lines..

I try the Santiago workaround, and didnt solve the poor quality issue on both cameras (different PC)

The only way to solve the issue (now) is to return to 2.6.38.

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Sorry, I try 2.6.38 and 39 on Oneric, and the sound seem to be solved. But the image quality not.

Any hint ?

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hope this dmesg help. I booted this time with latest daily build (31/10/2011)
[ 54.844277] 3:3:1: cannot set freq 16000 to ep 0x86
[ 55.844259] 3:3:1: cannot set freq 16000 to ep 0x86
[ 56.848261] 3:3:1: cannot set freq 16000 to ep 0x86
[ 57.848123] 3:3:1: cannot set freq 16000 to ep 0x86
[ 58.848109] 3:3:1: cannot set freq 16000 to ep 0x86
[ 59.848109] 3:3:1: cannot set freq 16000 to ep 0x86
[ 60.848110] 3:3:1: cannot set freq 16000 to ep 0x86
[ 61.848112] 3:3:1: cannot set freq 16000 to ep 0x86
[ 62.848247] 3:3:1: cannot set freq 16000 to ep 0x86
[ 63.849141] 3:3:1: cannot set freq 16000 to ep 0x86
[ 64.848248] 3:3:1: cannot set freq 16000 to ep 0x86
[ 65.716187] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
[ 65.852246] 3:3:1: cannot set freq 16000 to ep 0x86

(this time with the /.pulse/daemon.conf mod) Sound started but everything else have the same issue.
Camera quality still very poor and at first start cheese cant see anything, only dust. Second better but still bad,

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Well, i made some more test.

In Natty (boot the iso from pendrive and install cheese) work "good", even in higher resolutions. (2.6.38)
In Oneric (installed in 3 PC, 2 atoms & 1amd) with kernels from 2.6.38 to 3.1 and also the latest dialy build and do not work.

Here are some screenshots on the same machine.

Natty: http://bayimg.com/GAkAIAaDM

Oneric: http://bayimg.com/GakajaadM (with 2.6.38)
http://bayimg.com/GAkaKAADm
From 864*480 to up, the image get corrupted and seems to be in gray tones.

Also take too longer to start cheese. I didnt try today with other app like skype, but yesterdat had worst issues since streaming get freezed or something like that and the sound got chopy like in 3x speed. :)

So, if it isnt the kernel, what can be ?

Revision history for this message
sordna (sordna) wrote :

glococo, please don't post about the picture / camera color issues in this bug (which is about the sound speedup only), subscribe to bug 875716 instead which is about the colors under cheese... I am hit by that bug too, but they are not related.

Revision history for this message
Tuomo Lesonen (tuomo-lesonen) wrote :

I have Ubuntu 11.10 + Logitech Webcam Pro 9000 + Skype and I'm experiencing the "chipmunk" sound during test call.

My workaround is to go to the Skype options "Video Devices" tab and click "Test" to enable webcam (this turns on the red light in the webcam). Now, if I make a test call, the sound is recorded normally. I have not investigated this any more, but for now it works for me.

Revision history for this message
saverio (saverio001) wrote :

Same here. If I do a skype test call, I sound like Donald Duck.

Linux Zero 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 004: ID 046d:0808 Logitech, Inc. Webcam C600

Revision history for this message
Andy Whitcroft (apw) wrote :

It seems that the patch in question may have just hit mainline as the commit below:

  commit 2394d67e446bf616a0885167d5f0d397bdacfdfc
  Author: Oliver Neukum <email address hidden>
  Date: Tue Sep 13 08:42:21 2011 +0200

    USB: add RESET_RESUME for webcams shown to be quirky

    The new runtime PM code has shown that many webcams suffer
    from a race condition that may crash them upon resume.
    Runtime PM is especially prone to show the problem because
    it retains power to the cameras at all times. However
    system suspension may also crash the devices and retain
    power to the devices.
    The only way to solve this problem without races is in
    usbcore with the RESET_RESUME quirk.

    Signed-off-by: Oliver Neukum <email address hidden>
    Signed-off-by: stable <email address hidden>
    Signed-off-by: Greg Kroah-Hartman <email address hidden>

$ git describe --contains 2394d67e446bf616a0885167d5f0d397bdacfdfc
v3.2-rc1~183^2~146

As it is marked for stable we should be expecting to see this dropping into the stable tree soon.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for someone seeing this issue to test the latest 3.2 release candidate, which is available at:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-rc1-oneiric/

tags: added: needs-upstream-testing
Revision history for this message
Tofi (tofiel) wrote :

I have got chipmunk problem too. My webcam is Logitech, Inc. Webcam C200, ID 046d:0802

Revision history for this message
sordna (sordna) wrote :

Joseph, I tested the 3.2-rc1-oneiric candidate you pointed to, and it resolves the issue for my Logitech Webcam C310 webcam.

By they way, with the affected kernels, apart from the workaround already posted (putting "default-sample-rate = 16000" in ~/.pulse/daemon.conf)

I learned of another workaround; passing the following option to the kernel on boot time: usbcore.autosuspend=-1

This workaround works well. Of course it turns off the feature than allows USB devices to "autosuspend" to reduce energy consumption when not in use.

Revision history for this message
Dima Spivak (dimaspivak) wrote :

Just writing to confirm that sordna's workaround works. For anyone looking to apply it:

- $ sudo nano /etc/default/grub
- Find the line that begins with GRUB_CMDLINE_LINUX_DEFAULT and append usbcore.autosuspend=-1 to tell the system to never autosuspend USB devices. Note that, within the quotes, this field is space-separated. My line now reads:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
- Save your updated grub file (using nano, CTRL+O and then ENTER to confirm the change).
- Exit your text editor (using nano, CTRL+X).
- $ sudo update-grub

Revision history for this message
Christian Heitjan (heitjan) wrote : Re: [Bug 843431] Re: Logitech camera microphone does not work / makes "chipmunk" sound

Worked for me.

Am 31.10.2011 15:30, schrieb Santiago Franco:
> Found a quick workaround(Ubuntu Forums) while kernel gets patched.
> Works great with my logitech pro:
>
> Hello. The problem is that the microphone is in the wrong sound rate by
> the pulse audio. As a user do the following:
>
> Code:
> gedit $HOME/.pulse/daemon.conf
> and put the following line on the file:
> Code:
> default-sample-rate = 16000
> save it, and then restart pulseaudio as a user with the following command
>
> Code:
> pulseaudio --kill && pulseaudio --start
> This should solve the problem.
>

Revision history for this message
Pithikos (manossef) wrote :

Nothing worked for me. I don't have neither the free time to go to an older kernel so will just wait for a fix.

I use the logitech 270c camera on Ubuntu 11.11 64bit. I tryied the daemon.conf solution but that didn't do anything. The audio input will not appear at all for me if I do that.

My problem: Recorded audio is fast forwarded.

Revision history for this message
Dima Spivak (dimaspivak) wrote :

Pithikos,

Did you try the solution posted by sordna? I have a very similar camera and installation to you and it works flawlessly now.

PS: With the daemon.conf solution, if the audio device doesn't appear at start up, unplug and replug the webcam and it will show up.

-Dima

Revision history for this message
Alexander Orlov (alxorlov) wrote :

I have the same problem too. My webcam is Logitech C310, 046d:081b.

"usbcore.autosuspend=-1" solved the problem.

Revision history for this message
diqrtvpe (ccollett) wrote :
Revision history for this message
Maui Muc (stefan-mauerberger) wrote :

Also for me and my Logitech c210, Santiago's fix worked fine. Thank you very much therefore.

Btw.: I really do not understand why it takes so long to apply a fix which was announced more than a month ago and was already tested by RedHat a.o.? This totally sucks!

Revision history for this message
sordna (sordna) wrote :

Some good news, official kernel 3.0.9 contains patches that fix this issue for several of the
affected webcams (C200, C250, C270, C300, C310, B/C500, Pro 9000),
so the patch posted here doesn't need to by applied to the oneiric kernel,
we just need the oneiric kernel updated to a newer version.
I believe the latest oneiric kernel 3.0.0-13 corresponds to official linux kernel 3.0.6 ...
How soon can Ubuntu maintainers update the next oneiric kernel to be based on 3.0.9 ?

You can see 2 relevant patches mentioned here:
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.0.9

Revision history for this message
rosencreuz (rosencreuz) wrote :

@sordna: I have C905, the Santiago's fix (#80) worked for me, but I'm not sure if the patch to kernel 3.0.9 contains my camera version as well. I'm using v3.0.0-12-generic in ubuntu and not very comfortable with compiling and patching kernel. My camera is : 046d:080a Logitech, Inc. Portable Webcam C905.

Revision history for this message
sordna (sordna) wrote :

The webcams I did not list, such as the C905, which are in the patch posted here, will be covered in kernel 3.0.11,
so with the 3.0.9 ( which corresponds to upcoming ubuntu kernel 3.0.0-14 according to this mapping table:
http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html )
you'll need to keep using on of the workarounds.

Revision history for this message
Dennis Shimer (dshimer) wrote :

Santiago's fix (#80) made skype work for me but broke gmail voice functions and Audacity (for me). As they are more important to me than Skype I tried Tuomo's (#87) and it worked not only with the test, but with an actual call. I guess starting the camera before the call made it work.

Brad Figg (brad-figg)
Changed in linux:
importance: Undecided → Medium
Changed in linux (Ubuntu Oneiric):
importance: Undecided → Medium
assignee: nobody → Brad Figg (brad-figg)
Revision history for this message
Brad Figg (brad-figg) wrote :

There are test kernels at: http://people.canonical.com/~bradf/lp843431.

These kernels contain the commit by sordna which add quirks for
3 Logitech webcams. Please test the appropriate kernel for your
install and report back here on how these kernels work for you.

Changed in linux (Ubuntu Oneiric):
status: New → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch with fix for additional webcams as of 2011-10-25" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: kernel-da-key
tags: removed: kernel-key
Revision history for this message
sordna (sordna) wrote :

When is a the standard 3.0.0-14-generic going to be released ? It's taking very long.
Hopefully 3.0.0-15-generic will follow soon after, will that be based on 3.0.11 or on some other kernel version?

Revision history for this message
Brad Figg (brad-figg) wrote :

@sordna,

It has passed testing and is currently waiting to be copied from -proposed to -updates.

Revision history for this message
sordna (sordna) wrote :

Great, I got the update and can confirm linux-image-3.0.0-14-generic fixes the problem on my C310, and should do the same for the all webcams in the earlier patch: (C200, C250, C270, C300, C310, B/C500, Pro 9000)

For other webcams like the C600, C905, the E3500 and others, people will have to wait for ubuntu kernel 3.0.0-15 (assuming will be based on official linux kernel 3.0.11 or later, which has the latest, more complete patch)

Revision history for this message
Brad Figg (brad-figg) wrote :

A newly released kernel fixes the problem for the original submitter (and others).

Changed in linux (Ubuntu Oneiric):
status: In Progress → Fix Released
Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Sergey (gansbrest) wrote :

Same problem for me, mic doesnt work in sound settings or skype. Kernel linux-image-3.0.0-14-generic didn't fix the problem.

I've got Hercules Duplex Exchange Usb camera with built in MIC, not sure how to get the ID.

Revision history for this message
Gilbert (yowtse) wrote :

I can confirm that 3.0.0-14-server fixes the chipmunk sound in my case, my usb webcam is the following (using lsusb):

046d:0809 Logitech, Inc. Webcam Pro 9000

Revision history for this message
Agent (agent-m) wrote :

I reversed the 2 workarounds that were posted earlier, Installed 3.0.0-14-generic and can confirm that it appears to be fixed so far.
Webcam Pro 9000

Revision history for this message
Carlos Gacimartin (cgacimartin) wrote :

I have tested 3.014 kernel and i think it sill doesnt fix the bug for Logitech Webcam B500.

Bus 001 Device 006: ID 046d:0807 Logitech, Inc. Webcam B500

as Sergey wrote on 2011-12-13:, mic doesnt work in sound settings or skype.

Revision history for this message
Holger Seelig (holger-seelig) wrote :

The kernel 3.0.0-14-generic works for me :)
Webcam Pro 9000

Revision history for this message
sordna (sordna) wrote :

Sergey, the Hercules Dualpix webcap fix is in the 3.0.0-14 kernel, to get the ID do: lsusb on a terminal and you should see a device with ID 06f8:0804

Carlos, the B500 fix is in this kernel as well. I suspect you are having some other issue or haven't configured the applications correctly. Maybe you need to use pavucontrol and asociatiate your webcam to your applications.

Revision history for this message
Serge Guibert (sergio-guibert) wrote :

Same problem as Sergey: 3.0.0-14 kernel from updates and 3.0.0-15 kernel from proposed do not fix the microphone problem for Hercules Dualpix Exchange webcam.

@sordna : Indeed, the ID associated to the webcam in the patch from comment #74 is not correct:
lsusb says
ID 06f8:3005 Guillemot Corp. Hercules Dualpix Exchange

@Brad Figg : is it possible to included to fix this in kernel 3.0.0-15 before it goes to ubuntu-updates repository.

Thanks a lot

Revision history for this message
sordna (sordna) wrote :

Serge, you are right, looks like the patch had the ID of the Hercules Dualpix Exchange wrong as you can see here:
http://kernel.opensuse.org/cgit/kernel/commit/?id=2394d67e446bf616a0885167d5f0d397bdacfdfc

The patch says USB_DEVICE(0x06f8, 0x0804) but it should instead say USB_DEVICE(0x06f8, 0x3005)
I suggest you email the 2 people you see in the Sign-Off line of the above patch, and ask them to fix it. This should be fixed in the official Linux Kernel rather Ubuntu.

Revision history for this message
Carlos Gacimartin (cgacimartin) wrote :

Thanks sordna, after trying some changes in the Skype settings, now it works with the Ubuntu kernel 3.0.0-14

Revision history for this message
Serge Guibert (sergio-guibert) wrote :

Follows comments 110, 115 and 116.
Fix for Hercules Dualpix webcams sold after 2009 has been included in kernel 3.2.1.
The new version of quirks.c includes many fixes for new devices.

See http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob;f=drivers/usb/core/quirks.c;h=4c65eb6a867a1974d8596caaccc9d3d3f15152ef;hb=b8ed9e5b8c34dc9fb1882669e45b21e3d0194881

Could this new version of quiks.c file be included in next kernel update for oneiric ?
Must I open a new bug for this ?

Revision history for this message
bwallum (rbw2) wrote :

I've just found an excellent little web cam that works out of the box in Oneiric. 1.3Mpixel native resolution, cost £6 delivered UK.
http://www.ebay.co.uk/itm/260830581589?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

You'll need to select the web cam as microphone input in System Settings>Sound then Input tab. Works with just a USB plug, no separate microphone plug required.

Revision history for this message
joshua pritikin (jpritikin73) wrote :

"There are test kernels at: http://people.canonical.com/~bradf/lp843431"

Brad, I'd like to try but you do not include the non-arch specific headers. Without a full set of headers, I cannot compile my nvidia driver and I lose my audio output device.

Revision history for this message
samaris (samaris) wrote :

For your information, I had the same sound problem with
kernel 3.0.0.16-generic-pae
Bus 001 Device 003: ID 06f8:300c Guillemot Corp. (Hercules "Classic Silver" according to sound settings)

I tried both solutions (add a daemon.conf file and usbcore.autosuspend=-1), then update grub and restart skype and now it's fixed. Thank you.

Revision history for this message
João Miguel Lopes Moreira (jmlm-1970) wrote :

The only solution to make microphone work is to install linux-backports-modules-alsa-generic...

Just go to:

Menu / System / Administration / Synaptic Package Manager

And search and mark for installation:

linux-backports-modules-alsa-generic

tip: if you have multiple versions click on the first and read the description which should inform what name to install...

If after the reboot and mic mute is off, still does not work, just go to terminal and type:

sudo nano /etc/modprobe.d/alsa-base.conf

and add or change the following:

options snd-hda-intel model=auto enable=yes

Then Ctrl+X, type Y to write and exit, reboot and mic will work.

Bye and have lots of fun with Ubuntu (the best).

Revision history for this message
squid (paul-fogel) wrote :

thanks jmim. this last one was what worked for me (editing alsa-base.conf). microphone now works properly.

Revision history for this message
Daniele Dellafiore (ildella) wrote :

I had the same issue with C910 camera + mic.

I make it work using comment #123 solution, just the alsa-base.conf modification, did not install any backported module.
on 3.2.0-23-generic #36-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 12.04

I might add that in Ubuntu Sound preferences I've two input device, referring to that only device. If I keep the first selected, as in attached screenshot, it works. If I switch to the second one, it got back to the usual issue.

Revision history for this message
GreatKir (deminkirill) wrote :

Logitech c270 don't work in Linux 3.5 RC again. Same problem?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@GreatKir

bug 1018020 has been opened for the issue in 3.5

Revision history for this message
Ian Cook (janostheszakacs) wrote :

Hi!

My USB mic was working fine. It is a Zoom H2.

Then last week it went chipmonk. I tried comment 80:

gedit $HOME/.pulse/daemon.conf
and put the following line on the file:
Code:
default-sample-rate = 16000
save it, and then restart pulseaudio as a user with the following command

But got:
Could not find the file “/home/ME/.pulse/daemon.conf”

I then tried comment 93
"usbcore.autosuspend=-1"

And it made me less chipmonk, but still a bit chipmonk.

Any ideas? Why has this suddenly happened?!

Revision history for this message
Ian Cook (janostheszakacs) wrote :

Aha! So I don't know what went wrong. But here is a solution:

http://blog.anidear.com/2011/10/fixing-chipmunk-sound-on-skype.html

Depending on what mic you are using you might have to change the settings through the menu.

Revision history for this message
Ian Cook (janostheszakacs) wrote :

Scratch that, it works for a couple of minutes and then screws up.

Revision history for this message
Jaap de Haan (jaap-dehaan) wrote :

A hint: I switched from a USB 3.0 to one of the few USB 2.0 ports I still have... and magically the issue disappears. Can this really be related to the use of a USB 3.0 port?

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

I all, i just run a fresh install of xubuntu 18 and the issue is still there
$ lsusb
Bus 003 Device 002: ID 046d:0809 Logitech, Inc. Webcam Pro 9000
$ uname -a
Linux MS-7756 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

I'm affraid it's not fixed...because i still got chipmunks on xubuntu 18 fresh install

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

I take a look at kernel source code ad see that the patch #37 is not applied on kernel 4.15.0-20-generic

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Emmanuel,

This quirk should apply to your webcam:
static const struct usb_device_id usb_interface_quirk_list[] = {
        /* Logitech UVC Cameras */
        { USB_VENDOR_AND_INTERFACE_INFO(0x046d, USB_CLASS_VIDEO, 1, 0),
          .driver_info = USB_QUIRK_RESET_RESUME },

        { } /* terminating entry must be last */
};

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

Hi Kai-Heng,
Yes, you are right, but the real question is why does this disappear from the latest kernel ?
It was in the previous. So i suggest to that the bug need to be reopened in order for dev to merge from previous branch and have all "non stereo" webcam working again.
I unfortunatly can't reopen it myself (or i don't know how to do it).
Regards,

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The quirk I pointed in #135 is in latest kernel.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

May be a good idea to try older kernels in [0] to make sure it's a regression.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

I'll check that but if you look at
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/usb/core/quirks.c?h=v4.15.18
you can see that devices listed in #37 are not there and for me :
/* Logitech Quickcam Pro 9000 */
{ USB_DEVICE(0x046d, 0x0990), .driver_info = USB_QUIRK_RESET_RESUME },
is not there !!!
but
{ USB_VENDOR_AND_INTERFACE_INFO(0x046d, USB_CLASS_VIDEO, 1, 0), .driver_info = USB_QUIRK_RESET_RESUME },

is!!
as additional information :
- Skype is working well but arecord no, audacity neither.
- It was working fine under ubuntu 16.04 but not 18.04
I'll will go into further investigation next weekend...

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Sounds like a regression introduced between Linux v4.4 and v4.15.
Please find the first first non-working -rc* kernel between 4.4 and 4.15 in [1].

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/

Revision history for this message
Emmanuel (ubuntu-oi) wrote :

Hi, due to a computer failure, i'm not able to test this right now... and i don't known when it could be possible.
I apologize for that.

Revision history for this message
Vagabunda (vagabunda) wrote :

Well... Same bug here - B500 cam on Mint 18.3 with 4.15 or 4.8 kernels.
But works perfectly with 4.4

Can I help somehow (as an not really "technological" person)?

Revision history for this message
hlarsen (hlarsen) wrote :

i'm having this issue on 18.10 as well, 4.18.0-13-generic with a Logitech C310 (046d:081b). it's been an issue since 18.04 and older for me; i can't remember when it worked without issue, but it did at some point.

it appears this commit [0] is the cause as after restoring the specific USB_QUIRK_RESET_RESUME line for my model and recompiling the kernel i cannot reproduce the squeaky-voice issue. with the standard kernel i can reliably reproduce it with Audacity by recording, stopping the recording, then starting another recording - after ~3 "correct" recordings the pitch changes.

with the recompiled kernel it appears the device is being "reset" for each recording:

usb 2-1.6: reset high-speed USB device number 4 using ehci-pci

i do not see this when using the standard 4.18.0-13-generic kernel, so i'm guessing this is what the quirk does and usb_interface_quirk_list in quirks.c isn't catching my webcam. i believe there should be a match based on the code; lsusb output includes the following Interface which looks like it matches the call (USB_VENDOR_AND_INTERFACE_INFO(0x046d, USB_CLASS_VIDEO, 1, 0)) since USB_CLASS_VIDEO is 0x0e which matches the bInterfaceClass, and subclass/protocol also match. note that this is not the first interface in the lsusb output, not sure if that matters.

Bus 002 Device 004: ID 046d:081b Logitech, Inc. Webcam C310
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
...
Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 1 Video Control
    bInterfaceProtocol 0
    iInterface 0
...

please let me know if there is anything else i can provide to help debug this issue.

[0] https://github.com/torvalds/linux/commit/e387ef5c47ddeaeaa3cbdc54424cdb7a28dae2c0

Revision history for this message
hlarsen (hlarsen) wrote :

perhaps i spoke to soon - even with the kernel changes i'm able to reproduce the squeaky-voice issue.

i've also tried creating ~/.pulse/daemon.conf with default-sample-rate = 16000 which does not fix the issue.

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Ramiro de la Pe� (ramirodlp) wrote :

I have had this issue with my C270 on Windows and now on Ubuntu 20.04. So it's mainly a Logitech issue, but on Windows I fixed it by fixing the mic on 16000 hz. On Ubuntu I tried chaging etc/pulse/daemon.conf to ; default-sample-rate = 16000
; alternate-sample-rate = 16000
and it did not work. Only for a little while.

Revision history for this message
Evgeny Kuznetsov (nekr0z) wrote :

Looks like there's a way to set the sample rate for a particular device explicitly, and that's what is called for in this case:
https://evgenykuznetsov.org/en/posts/2020/webcam-sound/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.