Date: Sun, 17 Jul 2011 11:10:12 GMT From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-multimedia@FreeBSD.org Subject: Re: kern/158979: [snd_uadio] snd_uaudio fails to initialize built-in microphone in Logitech Webcam C160 Message-ID: <201107171110.p6HBACqZ055789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/158979; it has been noted by GNATS. From: Hans Petter Selasky <hselasky@c2i.net> To: Dmytro Pryanyshnikov <lynx.ripe@gmail.com> 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 13:01:57 +0200 On Sunday 17 July 2011 12:33:24 Dmytro Pryanyshnikov wrote: > On Sun, Jul 17, 2011 at 12:48 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: > > HI, > > > > If you are running this in a VM, then try using usbdump to figure out > > which control endpoint requests are issued for this device. > > > > Probably you can make a similar usbconfig do_request line to change the > > microphone volume back to normal! > > Yes, I've recorded packet interchange on the USB bus during the > (device) <-> (Linux kernel in the VirtualBox) data exchange with the > command: > > usbdump -i usbus4 -s 0 -w 20110717_1320.dmp > > and placed the resulting file at > > https://sites.google.com/site/lynxripe/freebsd/pr/158979/20110717_1320.dmp > > Alas, I haven't got sufficient USB protocol knowlege in order to > comprehend this data ;( > Hi, I think one of the following requests should do the trick. Please let me know the test result: usbconfig -d X.Y do_request 0x21 0x01 0x0200 0x0502 0x0002 0x01 0x1b usbconfig -d X.Y do_request 0x21 0x01 0x0200 0x0502 0x0002 0x00 0x1b --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107171110.p6HBACqZ055789>