All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
@ 2010-10-31 13:16 Anca Emanuel
  2010-11-01 19:15 ` Jean-Francois Moine
  0 siblings, 1 reply; 16+ messages in thread
From: Anca Emanuel @ 2010-10-31 13:16 UTC (permalink / raw)
  To: hdegoede; +Cc: linux-media, moinejf, mchehab

[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]

After this patch,

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;


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.

[-- Attachment #2: log2.zip --]
[-- Type: application/zip, Size: 28155 bytes --]

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-10-31 13:16 Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519 Anca Emanuel
@ 2010-11-01 19:15 ` Jean-Francois Moine
  2010-11-01 20:02   ` Anca Emanuel
  0 siblings, 1 reply; 16+ messages in thread
From: Jean-Francois Moine @ 2010-11-01 19:15 UTC (permalink / raw)
  To: Anca Emanuel; +Cc: linux-media, mchehab

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.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-01 19:15 ` Jean-Francois Moine
@ 2010-11-01 20:02   ` Anca Emanuel
  2010-11-01 20:31     ` Jean-Francois Moine
  0 siblings, 1 reply; 16+ messages in thread
From: Anca Emanuel @ 2010-11-01 20:02 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media, mchehab

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

> 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 !

[-- Attachment #2: log3.zip --]
[-- Type: application/zip, Size: 44767 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-01 20:02   ` Anca Emanuel
@ 2010-11-01 20:31     ` Jean-Francois Moine
  2010-11-01 21:27       ` Anca Emanuel
  2010-11-01 22:23       ` Anca Emanuel
  0 siblings, 2 replies; 16+ messages in thread
From: Jean-Francois Moine @ 2010-11-01 20:31 UTC (permalink / raw)
  To: Anca Emanuel; +Cc: linux-media, mchehab

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?

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-01 20:31     ` Jean-Francois Moine
@ 2010-11-01 21:27       ` Anca Emanuel
  2010-11-01 22:23       ` Anca Emanuel
  1 sibling, 0 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-11-01 21:27 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media, mchehab

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 ?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-01 20:31     ` Jean-Francois Moine
  2010-11-01 21:27       ` Anca Emanuel
@ 2010-11-01 22:23       ` Anca Emanuel
  2010-11-02  8:26         ` Jean-Francois Moine
  1 sibling, 1 reply; 16+ messages in thread
From: Anca Emanuel @ 2010-11-01 22:23 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media, mchehab

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-01 22:23       ` Anca Emanuel
@ 2010-11-02  8:26         ` Jean-Francois Moine
  2010-11-02 10:33           ` Anca Emanuel
  0 siblings, 1 reply; 16+ messages in thread
From: Jean-Francois Moine @ 2010-11-02  8:26 UTC (permalink / raw)
  To: Anca Emanuel; +Cc: linux-media

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.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-02  8:26         ` Jean-Francois Moine
@ 2010-11-02 10:33           ` Anca Emanuel
  2010-11-02 19:18             ` Jean-Francois Moine
       [not found]             ` <20101104194206.41b8d517@tele>
  0 siblings, 2 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-11-02 10:33 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-02 10:33           ` Anca Emanuel
@ 2010-11-02 19:18             ` Jean-Francois Moine
  2010-11-02 19:25               ` Anca Emanuel
       [not found]             ` <20101104194206.41b8d517@tele>
  1 sibling, 1 reply; 16+ messages in thread
From: Jean-Francois Moine @ 2010-11-02 19:18 UTC (permalink / raw)
  To: Anca Emanuel; +Cc: linux-media

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.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-11-02 19:18             ` Jean-Francois Moine
@ 2010-11-02 19:25               ` Anca Emanuel
  0 siblings, 0 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-11-02 19:25 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media

> 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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
       [not found]             ` <20101104194206.41b8d517@tele>
@ 2010-11-05  6:20               ` Anca Emanuel
  0 siblings, 0 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-11-05  6:20 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media

I found the datasheet for OV7660:
http://www.datasheetarchive.com/OV7660-datasheet.html

http://www.datasheetarchive.com/pdf-datasheets/Datasheets-25/DSA-482031.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-10-31  7:28   ` Hans de Goede
  2010-10-31  8:03     ` Anca Emanuel
@ 2010-11-09 22:34     ` Anca Emanuel
  1 sibling, 0 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-11-09 22:34 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: linux-media, mchehab, hdegoede

Short update: Jean-Francois Moine is cooking something.
http://moinejf.free.fr/gspca-2.11.3.tar.gz
My camera works now.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-10-31  7:28   ` Hans de Goede
@ 2010-10-31  8:03     ` Anca Emanuel
  2010-11-09 22:34     ` Anca Emanuel
  1 sibling, 0 replies; 16+ messages in thread
From: Anca Emanuel @ 2010-10-31  8:03 UTC (permalink / raw)
  To: Hans de Goede; +Cc: linux-media, moinejf, mchehab

[-- Attachment #1: Type: text/plain, Size: 2592 bytes --]

On Sun, Oct 31, 2010 at 9:28 AM, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
> On 10/30/2010 12:40 PM, Anca Emanuel wrote:
>>
>> On Fri, Oct 29, 2010 at 3:12 PM, Anca Emanuel<anca.emanuel@gmail.com>
>>  wrote:
>>>
>>> Hi all, sorry for the noise, but in current mainline (2.6.36-git12)
>>> there are some updates in ov519.c
>>> I'm running this kernel now and my camera is still not working (tested
>>> in windows and it works).
>>>
>>> lsusb:
>>> Bus 008 Device 002: ID 05a9:4519 OmniVision Technologies, Inc. Webcam
>>> Classic
>>
>> found this:
>> http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource
>> and this: http://packages.ubuntu.com/maverick/ov51x-jpeg-source
>>
>> but I get an error when I try to compile:
>> ov51x-jpeg-core.c:87: fatal error: linux/autoconf.h: No such file or
>> directory
>> compilation terminated.
>>
>
> Please do the following (as root):
> echo 63 > /sys/module/gspca_main/parameters/debug
>
> Then unplug your camera, re plug it, and then do
> dmesg > plug.log
>
> Try to use it and then do:
> dmesg > stream.log
>
> Then send another mail with plug.log and stream.log
> attached. Please CC me on that mail (I'm not sure of
> the list will allow the attachments).
>
> Regards,
>
> Hans

Paste from stream.log:
[120072.413192] PM: Finishing wakeup.
[120072.413194] Restarting tasks ... done.
[120072.547856] r8169 0000:04:00.0: eth0: link up
[120072.547859] r8169 0000:04:00.0: eth0: link up
[120075.689618] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,commit=0
[120083.128018] eth0: no IPv6 routers present
[135409.704036] usb 8-1: new full speed USB device using uhci_hcd and address 7
[135409.899928] gspca: probing 05a9:4519
[135410.088287] ov519: I2C synced in 0 attempt(s)
[135410.088292] ov519: starting OV7xx0 configuration
[135410.100254] ov519: Unknown sensor: 0x7660
[135410.100259] ov519: Failed to configure OV7xx0
[135410.100262] ov519: OV519 Config failed
[135410.100280] ov519: probe of 8-1:1.0 failed with error -16
[135435.448072] usb 8-1: USB disconnect, address 7
[135440.288037] usb 8-1: new full speed USB device using uhci_hcd and address 8
[135440.483924] gspca: probing 05a9:4519
[135440.672278] ov519: I2C synced in 0 attempt(s)
[135440.672282] ov519: starting OV7xx0 configuration
[135440.684242] ov519: Unknown sensor: 0x7660
[135440.684245] ov519: Failed to configure OV7xx0
[135440.684249] ov519: OV519 Config failed
[135440.684267] ov519: probe of 8-1:1.0 failed with error -16

plug.log and stream.log commpressed in log.zip

[-- Attachment #2: log.zip --]
[-- Type: application/zip, Size: 40064 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-10-30 10:40 ` Anca Emanuel
@ 2010-10-31  7:28   ` Hans de Goede
  2010-10-31  8:03     ` Anca Emanuel
  2010-11-09 22:34     ` Anca Emanuel
  0 siblings, 2 replies; 16+ messages in thread
From: Hans de Goede @ 2010-10-31  7:28 UTC (permalink / raw)
  To: Anca Emanuel; +Cc: linux-media, moinejf, mchehab

Hi,

On 10/30/2010 12:40 PM, Anca Emanuel wrote:
> On Fri, Oct 29, 2010 at 3:12 PM, Anca Emanuel<anca.emanuel@gmail.com>  wrote:
>> Hi all, sorry for the noise, but in current mainline (2.6.36-git12)
>> there are some updates in ov519.c
>> I'm running this kernel now and my camera is still not working (tested
>> in windows and it works).
>>
>> lsusb:
>> Bus 008 Device 002: ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic
>
> found this: http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource
> and this: http://packages.ubuntu.com/maverick/ov51x-jpeg-source
>
> but I get an error when I try to compile:
> ov51x-jpeg-core.c:87: fatal error: linux/autoconf.h: No such file or directory
> compilation terminated.
>

Please do the following (as root):
echo 63 > /sys/module/gspca_main/parameters/debug

Then unplug your camera, re plug it, and then do
dmesg > plug.log

Try to use it and then do:
dmesg > stream.log

Then send another mail with plug.log and stream.log
attached. Please CC me on that mail (I'm not sure of
the list will allow the attachments).

Regards,

Hans

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
  2010-10-29 12:12 Anca Emanuel
@ 2010-10-30 10:40 ` Anca Emanuel
  2010-10-31  7:28   ` Hans de Goede
  0 siblings, 1 reply; 16+ messages in thread
From: Anca Emanuel @ 2010-10-30 10:40 UTC (permalink / raw)
  To: linux-media; +Cc: moinejf, mchehab

On Fri, Oct 29, 2010 at 3:12 PM, Anca Emanuel <anca.emanuel@gmail.com> wrote:
> Hi all, sorry for the noise, but in current mainline (2.6.36-git12)
> there are some updates in ov519.c
> I'm running this kernel now and my camera is still not working (tested
> in windows and it works).
>
> lsusb:
> Bus 008 Device 002: ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic

found this: http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource
and this: http://packages.ubuntu.com/maverick/ov51x-jpeg-source

but I get an error when I try to compile:
ov51x-jpeg-core.c:87: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.

(please CC)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519
@ 2010-10-29 12:12 Anca Emanuel
  2010-10-30 10:40 ` Anca Emanuel
  0 siblings, 1 reply; 16+ messages in thread
From: Anca Emanuel @ 2010-10-29 12:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-media, moinejf, mchehab

Hi all, sorry for the noise, but in current mainline (2.6.36-git12)
there are some updates in ov519.c
I'm running this kernel now and my camera is still not working (tested
in windows and it works).

lsusb:
Bus 008 Device 002: ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic

But on the case it writes: GRANDTEC Grand IP CAMERA PRO Model: 2
In have an LAN or USB switch mode.

Picture: http://tinypic.com/r/292llcg/7

Chips:
0705C07353 label on W9812G2GH-6 chip

MX chip:
T073520
29LV160CBTC-70G
2W417500

IC+ chip:
IP101A LF
0731S15
FNS1877.1

The errors I get:
Camorama Webcam Viewer: Could not connect to video device (/dev/video0).
Please check connection.

Cheese Webcam Booth: No device found.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-11-09 22:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-31 13:16 Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519 Anca Emanuel
2010-11-01 19:15 ` Jean-Francois Moine
2010-11-01 20:02   ` Anca Emanuel
2010-11-01 20:31     ` Jean-Francois Moine
2010-11-01 21:27       ` Anca Emanuel
2010-11-01 22:23       ` Anca Emanuel
2010-11-02  8:26         ` Jean-Francois Moine
2010-11-02 10:33           ` Anca Emanuel
2010-11-02 19:18             ` Jean-Francois Moine
2010-11-02 19:25               ` Anca Emanuel
     [not found]             ` <20101104194206.41b8d517@tele>
2010-11-05  6:20               ` Anca Emanuel
  -- strict thread matches above, loose matches on Subject: below --
2010-10-29 12:12 Anca Emanuel
2010-10-30 10:40 ` Anca Emanuel
2010-10-31  7:28   ` Hans de Goede
2010-10-31  8:03     ` Anca Emanuel
2010-11-09 22:34     ` Anca Emanuel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.