From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 17 10:00:30 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 8ADDE106564A for ; Sun, 17 Jul 2011 10:00:30 +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 791D98FC08 for ; Sun, 17 Jul 2011 10:00:30 +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 p6HA0U0n091432 for ; Sun, 17 Jul 2011 10:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6HA0UVR091431; Sun, 17 Jul 2011 10:00:30 GMT (envelope-from gnats) Date: Sun, 17 Jul 2011 10:00:30 GMT Message-Id: <201107171000.p6HA0UVR091431@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Dmytro Pryanyshnikov 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: Dmytro Pryanyshnikov List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 10:00:30 -0000 The following reply was made to PR kern/158979; it has been noted by GNATS. From: Dmytro Pryanyshnikov To: bug-followup@FreeBSD.org, lynx.ripe@gmail.com, Hans Petter Selasky Cc: Subject: Re: kern/158979: [snd_uadio] snd_uaudio fails to initialize built-in microphone in Logitech Webcam C160 Date: Sun, 17 Jul 2011 12:31:25 +0300 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) OTOH after using my workaround involving attaching device to the Linux kernel, microphone sensitivity is normal (I hear all surrounding sounds in the room). -- Sincerely, Dmytro