From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cp-out8.libero.it ([212.52.84.108]:36534 "HELO cp-out8.libero.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751892AbZLMJrV (ORCPT ); Sun, 13 Dec 2009 04:47:21 -0500 Subject: Re: Adding support for Benq DC E300 camera From: Francesco Lavra To: Jean-Francois Moine Cc: Linux media In-Reply-To: <20091213094806.239b3b9d@tele> References: <1260646884.23354.22.camel@localhost> <20091213094806.239b3b9d@tele> Content-Type: multipart/mixed; boundary="=-Cp4hg59gkzsOxqZ1Pp3E" Date: Sun, 13 Dec 2009 10:47:15 +0100 Message-Id: <1260697635.23354.31.camel@localhost> Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org List-ID: --=-Cp4hg59gkzsOxqZ1Pp3E Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2009-12-13 at 09:48 +0100, Jean-Francois Moine wrote: > On Sat, 12 Dec 2009 20:41:24 +0100 > Francesco Lavra wrote: > > I'm trying to get my Benq DC E300 camera to work under Linux. > > It has an Atmel AT76C113 chip. I don't know how many Linux users would > > benefit from a driver supporting this camera (and possibly other > > models, too), so my question is: if/when such a driver will be > > written, is there someone willing to review it and finally get it > > merged? If the answer is yes, I will try to write something working. > > > > This camera USB interface has 10 alternate settings, and altsetting 5 > > is used to stream data; it uses two isochronous endpoints to transfer > > an AVI-formatted video stream (320x240) to the USB host. > > It would be great if someone could give me some information to make > > writing the driver easier: so far, I have only USB sniffer capture > > logs from the Windows driver. > > Hi Francesco, > > gspca already handles some cameras and some Benq webcams. From a USB > snoop, it may be easy to write a new gspca subdriver. > > I join the tcl script I use to extract the important information from > raw snoop traces. May you send me the result with your logs? Then, I > could see if an existing subdriver could be used or if a new one has to > be created. Hi Jean-Francois, thanks for your interest. In attachment my log from a video streaming session. As you can see, it uses altsetting 5 for streaming, while all altsettings from 0 to 9 have the same isoc endpoints. I have already tried to write a gspca subdriver for it, but the main gspca driver sets altsetting to 9 for streaming, which is not appropriate for this device. But of course I may be missing something, so your help would be very much appreciated. Francesco --=-Cp4hg59gkzsOxqZ1Pp3E Content-Disposition: attachment; filename=dc_e300.log Content-Type: text/x-log; name=dc_e300.log; charset=iso-8859-1 Content-Transfer-Encoding: 7bit