Re: topro 6800 driver

2009-04-20 Thread Thomas Champagne
Hello Anders I found a small time for testing your code. But your code doesn't work with my webcam. :-( I think it doesn't have the same sensor. Can you add in the sd_init method the check of the sensor id ? You can adjust this patch with your sensor id : diff -r 5a9a52f1277e linux/drivers/media/v

Fwd: topro 6800 driver

2009-04-05 Thread Andy Shevchenko
On Thu, Apr 2, 2009 at 7:41 PM, Anders Blomdell wrote: >> However I still no luck with it neither on F-9 kernel nor 2.6.29+ (git >> HEAD from Saturday). >> The driver is loaded ok, but no program can capture a picture. > What programs did you try? > > On my 2.6.27.19-170.2.35.fc10.i686 the followi

Re: topro 6800 driver

2009-04-05 Thread Jean-Francois Moine
On Sat, 04 Apr 2009 13:29:09 +0200 Anders Blomdell wrote: > >> Jean-Francois: feel free to add this to gspca if it lives up to > >> your standards, otherwise tell me what needs to be changed. Hi Anders, Your driver seems fine, but, to add it to gspca, I need a full patch, i.e the diff of the sou

Re: topro 6800 driver

2009-04-03 Thread Erik Andrén
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anders Blomdell wrote: > New version attached, handles both 640x480 and 320x240, corrected gamma table. > > Seems to work OK with mplayer, vlc and > https://launchpad.net/python-v4l2-capture > > vlc v4l2://dev/video0:width=320:height=240 > vlc v

topro 6800 driver

2009-03-27 Thread Andy Shevchenko
Hello. Today I became to be (un)happy owner of 06a2:0003 device. I found nice discussion here in this list, but I've just subscribed to it. So, I have some free time to test and improve existent code. If I will be helpful, tell me, please! (I'm using Fedora 9, but I could compile any additional dr

Re: Topro 6800 driver [JPEG decoding solved]

2009-03-25 Thread Anders Blomdell
Thomas Kaiser wrote: > Thomas Kaiser wrote: >> Hello Anders >> >> Good news, I could decode a frame which I extracted from the usbsnoobs I >> did :-). See attached picture frame3-03.jpg. It uses the quality 0. >> >> Your black frame you sent me gets now correctly decode, too (frameA-01.jpg) >> >>

Re: Topro 6800 driver [JPEG decoding solved]

2009-03-18 Thread Thomas Champagne
Youhhhouuu ! You are the King of the snoop ! How did you find an huffman table in the middle of a file ? But, I don't have received any file with the mail ? Have you correctly attached the files in the mail ? Thank you again for this good news ! Thomas 2009/3/18 Thomas Kaiser : > Thomas Kaiser wro

Re: Topro 6800 driver [JPEG decoding solved]

2009-03-18 Thread Thomas Kaiser
Thomas Kaiser wrote: Hello Anders Good news, I could decode a frame which I extracted from the usbsnoobs I did :-). See attached picture frame3-03.jpg. It uses the quality 0. Your black frame you sent me gets now correctly decode, too (frameA-01.jpg) I found the Huffman table in the Windoz d

Re: Topro 6800 driver [JPEG decoding solved]

2009-03-17 Thread Thomas Kaiser
Hello Anders Good news, I could decode a frame which I extracted from the usbsnoobs I did :-). See attached picture frame3-03.jpg. It uses the quality 0. Your black frame you sent me gets now correctly decode, too (frameA-01.jpg) I found the Huffman table in the Windoz driver file (TP6810.sys

Re: Topro 6800 driver

2009-03-11 Thread Thomas Kaiser
Anders Blomdell wrote: Thomas Kaiser wrote: Hello Anders Anders Blomdell wrote: Thomas Kaiser wrote: Hello Anders Anders Blomdell wrote: Thomas Kaiser wrote: which indicates that both DQT and Huffman is present in the stream. It is _not_ present in the stream. Then I don't understand wher

Re: Topro 6800 driver

2009-03-11 Thread Anders Blomdell
Thomas Kaiser wrote: > Hello Anders > > Anders Blomdell wrote: >> Thomas Kaiser wrote: >>> Hello Anders >>> >>> Anders Blomdell wrote: Thomas Kaiser wrote: which indicates that both DQT and Huffman is present in the stream. >>> It is _not_ present in the stream. >> Then I don't understan

Re: Topro 6800 driver

2009-03-09 Thread Thomas Kaiser
Hello Anders Anders Blomdell wrote: Thomas Kaiser wrote: > And a 640*480 image divided in 8*8 subframes gives (640*480/(8*8)) 1200 > subframes, so now the question is how much info about the Huffman table this > gives us? I think nothing :-( , but you found the MCUs :-) As it looks quite

Re: Topro 6800 driver

2009-03-09 Thread Anders Blomdell
Thomas Kaiser wrote: > Hello Anders > > Anders Blomdell wrote: > > When I set the RGB/YUV gains to zero, I get: > >> 5a ff d8 ff fe 14 1e 00 fd f5 45 7e e8 f8 b8 df 49 57 > > ff d8 ff fe 28 3c 01 fc ff 00 45 66 9a 69 a2 95 4d 2a 12 d1 00 a2 b4 > > > > followed by a big number of repeated

Re: Topro 6800 driver

2009-03-09 Thread Thomas Kaiser
Hello Anders Anders Blomdell wrote: > When I set the RGB/YUV gains to zero, I get: >> 5a ff d8 ff fe 14 1e 00 fd f5 45 7e e8 f8 b8 df 49 57 > ff d8 ff fe 28 3c 01 fc ff 00 45 66 9a 69 a2 95 4d 2a 12 d1 00 a2 b4 > > followed by a big number of repeated (0x152c bytes total): > > 02 8a 00 a2

Re: [Fwd: Re: Topro 6800 driver]

2009-03-06 Thread Thomas Kaiser
Thomas Kaiser wrote: I'm trying to write a driver for a webcam based on Topro TP6801/CX0342 (06a2:0003). My first attempt (needs gspca) can be found on: I forgot to write that the USB ID of my cam is 06a2:6810. Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-media" in

[Fwd: Re: Topro 6800 driver]

2009-03-06 Thread Thomas Kaiser
Sorry, did not send it to linux-me...@vger.kernel.org. Original Message Subject: Re: Topro 6800 driver Date: Fri, 06 Mar 2009 22:24:55 +0100 From: Thomas Kaiser To: Anders Blomdell CC: video4linux-l...@redhat.com References: <49a8661a.4090...@control.lth.se> Hello

Re: Topro 6800 driver

2009-03-02 Thread Anders Blomdell
Jean-Francois Moine wrote: > On Sun, 1 Mar 2009 17:33:32 +0100 > Thomas Champagne wrote: > >> I have already tried to create a module for my webcam (Topro TP6800). >> It have the same usb id (06a2:0003). >> But I have the same problem as you about the image data. I don't know >> what is the comme

Re: Topro 6800 driver

2009-03-02 Thread Jean-Francois Moine
On Sun, 1 Mar 2009 17:33:32 +0100 Thomas Champagne wrote: > I have already tried to create a module for my webcam (Topro TP6800). > It have the same usb id (06a2:0003). > But I have the same problem as you about the image data. I don't know > what is the comment tag (FF:FE). I tried to skip the t

Re: Topro 6800 driver

2009-03-01 Thread Thomas Champagne
Hi Anders and others, I have already tried to create a module for my webcam (Topro TP6800). It have the same usb id (06a2:0003). But I have the same problem as you about the image data. I don't know what is the comment tag (FF:FE). I tried to skip the tag or to skip the comment with the length aft

Re: Topro 6800 driver

2009-02-28 Thread Jean-Francois Moine
On Sat, 28 Feb 2009 16:11:36 +0100 Anders Blomdell wrote: > Jean-Francois Moine wrote: > > Thomas Champagne (See To:) was also writing a driver for this > > webcam. Maybe you may merge your codes... > Thomas, if you have DQT/Huffman tables for this camera, please drop > me a note. > > > About th

Re: Topro 6800 driver

2009-02-28 Thread Thomas Kaiser
Hello Anders Anders Blomdell wrote: Jean-Francois Moine wrote: On Fri, 27 Feb 2009 23:15:54 +0100 About the JPEG images, the Huffman table is always the same Does this mean that it's the same for all JPEG images or only for one camera? If it's the same for all images, it should mean that I

Re: Topro 6800 driver

2009-02-28 Thread Anders Blomdell
Jean-Francois Moine wrote: On Fri, 27 Feb 2009 23:15:54 +0100 Anders Blomdell wrote: Hi, I'm trying to write a driver for a webcam based on Topro TP6801/CX0342 (06a2:0003). My first attempt (needs gspca) can be found on: http://www.control.lth.se/user/andersb/tp6800.c Unfortunately the JPEG

Re: Topro 6800 driver

2009-02-28 Thread Thomas Kaiser
Hello Anders Anders Blomdell wrote: Anybody who has a good idea of how to find a DQT/Huffman table that works with this image data? You can search in the Windoz binary driver for JPEG markers (FFxx). Maybe, you can find a basic DQT/Huffman table in there. Regards, Thomas -- To unsubscribe

Re: Topro 6800 driver

2009-02-28 Thread Jean-Francois Moine
On Fri, 27 Feb 2009 23:15:54 +0100 Anders Blomdell wrote: > Hi, > > I'm trying to write a driver for a webcam based on Topro TP6801/CX0342 > (06a2:0003). My first attempt (needs gspca) can be found on: > > http://www.control.lth.se/user/andersb/tp6800.c > > Unfortunately the JPEG images (one e