From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 17 09:50:11 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7DE10657C1 for ; Sun, 17 Jul 2011 09:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0518FC0A for ; Sun, 17 Jul 2011 09:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6H9oB9h082984 for ; Sun, 17 Jul 2011 09:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6H9oB6c082983; Sun, 17 Jul 2011 09:50:11 GMT (envelope-from gnats) Date: Sun, 17 Jul 2011 09:50:11 GMT Message-Id: <201107170950.p6H9oB6c082983@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: kern/158979: [snd_uadio] snd_uaudio fails to initialize built-in microphone in Logitech Webcam C160 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 09:50:11 -0000 The following reply was made to PR kern/158979; it has been noted by GNATS. From: Hans Petter Selasky To: Dmytro Pryanyshnikov Cc: bug-followup@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 > >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@lynx$ mixer -f /dev/mixer3 > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > > dmitry@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@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