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?

tags: added: patch
tags: added: kernel-key
tags: added: needs-upstream-testing
Brad Figg (brad-figg)
Changed in linux:
importance: Undecided → Medium
Changed in linux (Ubuntu Oneiric):
importance: Undecided → Medium
assignee: nobody → Brad Figg (brad-figg)
Brad Figg (brad-figg)
Changed in linux (Ubuntu Oneiric):
status: New → In Progress
tags: added: kernel-da-key
tags: removed: kernel-key
66 comments hidden view all 146 comments
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/

Displaying first 40 and last 40 comments. View all 146 comments or add a comment.
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.