Message ID | AANLkTikZPmJWebfpU2yLpvMygqhzfAKZYL7rTCG45K3b@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Return-path: <mchehab@gaivota> Envelope-to: mchehab@gaivota Delivery-date: Mon, 01 Nov 2010 14:43:09 -0400 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from <mchehab@gaivota>) id 1PCzLY-0002nN-Sb for mchehab@gaivota; Mon, 01 Nov 2010 14:43:09 -0400 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for <mchehab@localhost> (single-drop); Mon, 01 Nov 2010 14:43:08 -0400 (EDT) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PCXm8-0003kV-A0; Sun, 31 Oct 2010 13:16:45 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755576Ab0JaNQm (ORCPT <rfc822; kmpark@infradead.org> + 1 other); Sun, 31 Oct 2010 09:16:42 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:43597 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755526Ab0JaNQl (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 31 Oct 2010 09:16:41 -0400 Received: by vws13 with SMTP id 13so2368816vws.19 for <linux-media@vger.kernel.org>; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=dUytblDgGUi3POfd6XXSoBvdtysTFIJYP+Bh7vLnxpA=; b=HmRN6o34zJpIEmb9DersYAM+2oMvIoqcLdxkdggKDEq34VlmrS8we7jIhFAMN3IHIW lhy++LAvMuS68HKsjUuCTTkP+oUzyrb3CTci3KfhNs8fgW0nr+sHR258MpEyQ1m0dlg6 V1GSJLRAQzvXDbaQKnlQgjX9qfGOQEN4bx15s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=YcD9WHFhUxSwj1xc5Md/XJR3zGXlEFULwMa2QNGpXWLpKjFCTQ3AIWlQF4auni8sHc sQGgEoGau89JnB3a0FMgsf07uH3+/3/alP++pkcUlyvPsHpEZi7weFiPrlybVHjGUae+ Y8cWRN1s0iNBDwHDCHsTJfMQHs/oln6iuxVvM= MIME-Version: 1.0 Received: by 10.224.200.137 with SMTP id ew9mr7252526qab.318.1288531000655; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) Received: by 10.229.247.66 with HTTP; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) Date: Sun, 31 Oct 2010 15:16:40 +0200 Message-ID: <AANLkTikZPmJWebfpU2yLpvMygqhzfAKZYL7rTCG45K3b@mail.gmail.com> Subject: Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519 From: Anca Emanuel <anca.emanuel@gmail.com> To: hdegoede@redhat.com Cc: linux-media@vger.kernel.org, moinejf@free.fr, mchehab@infradead.org Content-Type: multipart/mixed; boundary=20cf30050ec69380e90493e9802c Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab <mchehab@gaivota> |
Commit Message
Anca Emanuel
Oct. 31, 2010, 1:16 p.m. UTC
After this patch, I get: [ 182.680032] usb 8-1: new full speed USB device using uhci_hcd and address 3 [ 182.875331] gspca: probing 05a9:4519 [ 183.064309] ov519: I2C synced in 0 attempt(s) [ 183.064314] ov519: starting OV7xx0 configuration [ 183.076312] ov519: Sensor is an OV7660 [ 184.316950] input: ov519 as /devices/pci0000:00/0000:00:1d.3/usb8/8-1/input/input6 [ 184.317142] gspca: video0 created [ 184.334667] gspca: [v4l_id] open [ 184.334673] gspca: open done [ 184.334741] gspca: [v4l_id] close [ 184.334744] gspca: close done But only a green screen in Cheese. Logs attached.
Comments
On Sun, 31 Oct 2010 15:16:40 +0200 Anca Emanuel <anca.emanuel@gmail.com> wrote: > After this patch, [snip] > I get: > [ 182.680032] usb 8-1: new full speed USB device using uhci_hcd and > address 3 [ 182.875331] gspca: probing 05a9:4519 > [ 183.064309] ov519: I2C synced in 0 attempt(s) > [ 183.064314] ov519: starting OV7xx0 configuration > [ 183.076312] ov519: Sensor is an OV7660 [snip] > But only a green screen in Cheese. Logs attached. Hi Emanuel, The sensor ov7660 has not the same registers as the ov7670, so, your webcam could not work. To make it work, I need a USB trace done with ms-windows. May you do it? In a first step, I need the webcam connection and no more than one second of streaming at the maximum resolution. Please, use a sniffer which creates text files like sniffbin. Best regards.
> To make it work, I need a USB trace done with ms-windows. May you do it? > > In a first step, I need the webcam connection and no more than one > second of streaming at the maximum resolution. > > Please, use a sniffer which creates text files like sniffbin. > > Best regards. Saved in txt and csv formats. Thanks !
On Mon, 1 Nov 2010 22:02:49 +0200
Anca Emanuel <anca.emanuel@gmail.com> wrote:
> Saved in txt and csv formats.
I did not know this sniffer. The trace is compact, but, alas, the
'Request' and 'Value' are lacking... Is it possible to see them?
On Mon, Nov 1, 2010 at 10:31 PM, Jean-Francois Moine <moinejf@free.fr> wrote: > On Mon, 1 Nov 2010 22:02:49 +0200 > Anca Emanuel <anca.emanuel@gmail.com> wrote: > >> Saved in txt and csv formats. > > I did not know this sniffer. The trace is compact, but, alas, the > 'Request' and 'Value' are lacking... Is it possible to see them? I am new to this. Is there a sniffbin for windows ? -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Nov 1, 2010 at 10:31 PM, Jean-Francois Moine <moinejf@free.fr> wrote: > On Mon, 1 Nov 2010 22:02:49 +0200 > Anca Emanuel <anca.emanuel@gmail.com> wrote: > >> Saved in txt and csv formats. > > I did not know this sniffer. The trace is compact, but, alas, the > 'Request' and 'Value' are lacking... Is it possible to see them? This file is stream.ulz compressed http://rapidshare.com/files/428384860/stream.zip To see the data, you need: http://www.usblyzer.com/download.htm And a windows machine. Sorry for the trouble. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, 2 Nov 2010 00:23:23 +0200 Anca Emanuel <anca.emanuel@gmail.com> wrote: > This file is stream.ulz compressed > http://rapidshare.com/files/428384860/stream.zip > > To see the data, you need: http://www.usblyzer.com/download.htm > And a windows machine. > Sorry for the trouble. I got the ms-windows program, and I can see the lacking information, but only on clicking on each exchange. It could take one month to move all information into a readable format! May you redo traces with one of the free SniffUSB's? You may find links in: https://groups.google.com/group/microdia/web/usb-sniffing-on-windows Thanks.
On Tue, Nov 2, 2010 at 10:26 AM, Jean-Francois Moine <moinejf@free.fr> wrote: > On Tue, 2 Nov 2010 00:23:23 +0200 > Anca Emanuel <anca.emanuel@gmail.com> wrote: > >> This file is stream.ulz compressed >> http://rapidshare.com/files/428384860/stream.zip >> >> To see the data, you need: http://www.usblyzer.com/download.htm >> And a windows machine. >> Sorry for the trouble. > > I got the ms-windows program, and I can see the lacking information, > but only on clicking on each exchange. It could take one month to > move all information into a readable format! > > May you redo traces with one of the free SniffUSB's? You may find links > in: > > https://groups.google.com/group/microdia/web/usb-sniffing-on-windows > > Thanks. I am using http://www.pcausa.com/Utilities/UsbSnoop/SniffUSB-x86-2.0.0006.zip now. The data: http://rapidshare.com/files/428460107/log4.zip please let me know if this is what you ask for. Thank you. P.S.: the file is ... 69MB uncompressed. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, 2 Nov 2010 12:33:10 +0200 Anca Emanuel <anca.emanuel@gmail.com> wrote: > I am using > http://www.pcausa.com/Utilities/UsbSnoop/SniffUSB-x86-2.0.0006.zip > now. > > The data: > http://rapidshare.com/files/428460107/log4.zip > > please let me know if this is what you ask for. Hi, Thanks, that's what I wanted. Looking at the trace, I saw that the capture stopped and restarted 3 or 4 times. May you tell me what occured? Anyway, I will try to code your sensor tomorrow. I'll e-mail you when done. Best regards.
> Hi, > > Thanks, that's what I wanted. Looking at the trace, I saw that the > capture stopped and restarted 3 or 4 times. May you tell me what > occured? Just open and close some capture programs. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
I found the datasheet for OV7660: http://www.datasheetarchive.com/OV7660-datasheet.html http://www.datasheetarchive.com/pdf-datasheets/Datasheets-25/DSA-482031.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519 index 6cf6855..47812d1 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c @@ -2561,6 +2561,10 @@ static int ov7xx0_configure(struct sd *sd) PDEBUG(D_PROBE, "Sensor is an OV7648"); sd->sensor = SEN_OV7648; break; + case 0x60: + PDEBUG(D_PROBE, "Sensor is an OV7660"); + sd->sensor = SEN_OV7670; + break; default: PDEBUG(D_PROBE, "Unknown sensor: 0x76%x", low); return -1;