From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 17 15:29:48 2011 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CCE71065674; Sun, 17 Apr 2011 15:29:48 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id EC3B68FC12; Sun, 17 Apr 2011 15:29:47 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p3HFTVnF082181; Sun, 17 Apr 2011 17:29:46 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3HFTVIl082180; Sun, 17 Apr 2011 17:29:31 +0200 (CEST) (envelope-from olli) Date: Sun, 17 Apr 2011 17:29:31 +0200 (CEST) Message-Id: <201104171529.p3HFTVIl082180@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG, thierry@FreeBSD.ORG In-Reply-To: <20110416222134.GA75708@graf.pompo.net> X-Newsgroups: list.freebsd-multimedia User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Sun, 17 Apr 2011 17:29:46 +0200 (CEST) Cc: Subject: Re: kern/152622: [pcm] uaudio recording problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 15:29:48 -0000 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.