kern/158979: [snd_uadio] snd_uaudio fails to initialize built-in microphone in Logitech Webcam C160

Hans Petter Selasky hselasky at c2i.net
Sun Jul 17 09:50:11 UTC 2011


The following reply was made to PR kern/158979; it has been noted by GNATS.

From: Hans Petter Selasky <hselasky at c2i.net>
To: Dmytro Pryanyshnikov <lynx.ripe at gmail.com>
Cc: bug-followup at freebsd.org
Subject: Re: kern/158979: [snd_uadio] snd_uaudio fails to initialize built-in microphone in Logitech Webcam C160
Date: Sun, 17 Jul 2011 11:42:43 +0200

 On Sunday 17 July 2011 11:31:25 Dmytro Pryanyshnikov wrote:
 > Hello!
 > 
 > >From:	Hans Petter Selasky <hselasky at c2i.net>
 > >Date:	Sun, 17 Jul 2011 09:45:41 +0200
 > >Hi,
 > >
 > >Can you try and see if any of the quirks mentioned at the following link
 > >
 > >helps:
 > > http://wiki.freebsd.org/WebcamCompat
 > 
 >   Well, it helps only partially. Indeed, after
 > 
 > 1) plugging in my Logitech Webcam C160;
 > 2) running 'pwcview' and exiting from it;
 > 3) issuing 'usbconfig -d ugen4.2 do_request 0x22 0x01 0x100 0x86 0x03
 > 0x80 0xBB 0x00'
 > 
 > timeout problem has gone, BUT the sensitivity of the microphone
 > becomes very low (I could only hear knocks on the camera hull, but
 > almost can't hear my own voice in the recorded samples). And
 > /dev/mixer3, which corresponds to the webcam microphone, doesn't
 > affect it's sensitivity at all:
 > 
 > 
 > dmitry at lynx$ mixer -f /dev/mixer3
 > Mixer vol      is currently set to  75:75
 > Mixer pcm      is currently set to  75:75
 > 
 > dmitry at lynx$ mixer -f /dev/mixer3 vol 100 pcm 100
 > Setting the mixer vol from 75:75 to 100:100.
 > Setting the mixer pcm from 75:75 to 100:100.
 > 
 > (doesn't change mic sensitivity)
 > 
 > dmitry at lynx$ mixer -f /dev/mixer3 vol 0 pcm 0
 > Setting the mixer vol from 100:100 to 0:0.
 > Setting the mixer pcm from 100:100 to 0:0.
 > 
 > (doesn't change mic sensitivity)
 > 
 
 Hi,
 
 Can you build a kernel with "options USB_DEBUG" or when using the module to 
 build add "CFLAGS+=-DUSB_DEBUG" in the sys/modules/sound/.../uaudio/Makefile ?
 
 Then set:
 
 sysctl hw.usb.uaudio.debug=15
 
 Then plug the device and send resulting dmesg.
 
 --HPS


More information about the freebsd-multimedia mailing list