From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 17 15:30:15 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 624AA106566C for ; Sun, 17 Apr 2011 15:30:15 +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 4FE908FC15 for ; Sun, 17 Apr 2011 15:30:15 +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 p3HFUFwI001307 for ; Sun, 17 Apr 2011 15:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3HFUFWT001304; Sun, 17 Apr 2011 15:30:15 GMT (envelope-from gnats) Date: Sun, 17 Apr 2011 15:30:15 GMT Message-Id: <201104171530.p3HFUFWT001304@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Oliver Fromme Cc: Subject: Re: kern/152622: [pcm] uaudio recording problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 15:30:15 -0000 The following reply was made to PR kern/152622; it has been noted by GNATS. From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG, thierry@FreeBSD.ORG Cc: Subject: Re: kern/152622: [pcm] uaudio recording problem Date: Sun, 17 Apr 2011 17:29:31 +0200 (CEST) Thierry Thomas wrote: > According to , there is a > workaround, which is working for olli@ with two webcams and also for > mine: > > - firstly, you have to launch webcamd > > I do that automatically by adding the following lines in my > /etc/devd.conf: > > attach 100 { > match "vendor" "0x046d"; > match "product" "0x0825"; > action "/usr/local/sbin/webcamd -d ugen4.3 -i 0 -v 0"; > }; > > (replace "0x0825" and ugen4.3 according to dmesg) > > - then you have to open the camera device (/dev/video0) by an > application (e.g. pwcview) > > - then run the following command: > # usbconfig -d ugenX.Y do_request 0x22 0x01 0x100 0x86 0x03 0x80 0xBB 0x00 > > Replace "ugenX.Y" with your device, according to the output from dmesg. > > That's all! Hans Petter Selasky posted a small patch: http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-April/011931.html Would you please give it a try? With that patch, I do not need the "usbconfig do_request" command anymore with my C210 or C310 HD. I still need to do a "usbconfig reset", though. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Blogging: Never before have so many people with so little to say said so much to so few.