Re: Sakar 57379 USB Digital Video Camera...

2009-06-23 Thread Theodore Kilgore
On Tue, 23 Jun 2009, Andy Walls wrote: On Mon, 2009-06-22 at 10:51 -0500, Theodore Kilgore wrote: On Mon, 22 Jun 2009, Andy Walls wrote: On Sun, 2009-06-21 at 22:39 -0500, Theodore Kilgore wrote: Andy, You are right. Your camera is emitting JPEG while streaming. I just succeeded in creat

Re: Sakar 57379 USB Digital Video Camera...

2009-06-23 Thread Andy Walls
On Mon, 2009-06-22 at 10:51 -0500, Theodore Kilgore wrote: > > On Mon, 22 Jun 2009, Andy Walls wrote: > > > On Sun, 2009-06-21 at 22:39 -0500, Theodore Kilgore wrote: > >> Andy, > >> > >> You are right. Your camera is emitting JPEG while streaming. I just > >> succeeded in creating an image which

Re: Sakar 57379 USB Digital Video Camera...

2009-06-22 Thread Theodore Kilgore
Therefore with a little bit of further tweaking it will presumably come out exactly so. Namely, I have to remember where to stick the two dimensions into the header. Today's progress, so far: 1. I managed to look up where the width and height go, and indeed the image comes out nicely when

Re: Sakar 57379 USB Digital Video Camera...

2009-06-22 Thread Theodore Kilgore
On Mon, 22 Jun 2009, Andy Walls wrote: On Sun, 2009-06-21 at 22:39 -0500, Theodore Kilgore wrote: Andy, You are right. Your camera is emitting JPEG while streaming. I just succeeded in creating an image which resembles your test picture by extracting the frame data for one frame, tacking on

Re: Sakar 57379 USB Digital Video Camera...

2009-06-22 Thread Andy Walls
On Sun, 2009-06-21 at 22:39 -0500, Theodore Kilgore wrote: > Andy, > > You are right. Your camera is emitting JPEG while streaming. I just > succeeded in creating an image which resembles your test picture by > extracting the frame data for one frame, tacking on a header, and running > hex2bin

Re: Sakar 57379 USB Digital Video Camera...

2009-06-21 Thread Theodore Kilgore
Andy, You are right. Your camera is emitting JPEG while streaming. I just succeeded in creating an image which resembles your test picture by extracting the frame data for one frame, tacking on a header, and running hex2bin on the combined file. I did not get the thing quite right, because y

Re: Sakar 57379 USB Digital Video Camera...

2009-06-21 Thread Andy Walls
On Sun, 2009-06-21 at 10:42 -0500, Theodore Kilgore wrote: > > On Sun, 21 Jun 2009, Andy Walls wrote: > > The more I dig into this, the more I think (hope or wish?) the stuff in > > the usb snoop logs looks MJPEG. > > > > I started looking at an AVI file that I recorded with the camera. It > > l

Re: Sakar 57379 USB Digital Video Camera...

2009-06-21 Thread Theodore Kilgore
I mentioned in my last message a couple of things to try in order to make further progress. One of those was 2. Take some of the snoop log output and convert it by hand to a binary file, so that it can actually be looked at with hexdump to see if similar clues are present. I have a few tools t

Re: Sakar 57379 USB Digital Video Camera...

2009-06-21 Thread Theodore Kilgore
On Sun, 21 Jun 2009, Andy Walls wrote: On Sat, 2009-06-20 at 20:04 -0500, Theodore Kilgore wrote: Sure looks that way. I took a closer look at the lines starting with ff ff ff ff strings, and I found a couple more things. Here are several lines from an extract from that snoop, consisting

Re: Sakar 57379 USB Digital Video Camera...

2009-06-20 Thread Andy Walls
On Sat, 2009-06-20 at 20:04 -0500, Theodore Kilgore wrote: > > >>> Sure looks that way. I took a closer look at the lines starting with ff ff > >>> ff ff strings, and I found a couple more things. Here are several lines > >>> from an extract from that snoop, consisting of what appear to be > >>>

Re: Sakar 57379 USB Digital Video Camera...

2009-06-20 Thread Theodore Kilgore
On Sat, 20 Jun 2009, Andy Walls wrote: On Sat, 2009-06-20 at 15:23 -0400, Andy Walls wrote: On Fri, 2009-06-19 at 23:38 -0500, Theodore Kilgore wrote: Now it is using the other pair of endpoints, 0x03 and 0x84. H. I wonder if we can use them anyway, without being connected in "webca

Re: Sakar 57379 USB Digital Video Camera...

2009-06-20 Thread Andy Walls
On Sat, 2009-06-20 at 15:23 -0400, Andy Walls wrote: > On Fri, 2009-06-19 at 23:38 -0500, Theodore Kilgore wrote: > > > >> > > >> Now it is using the other pair of endpoints, 0x03 and 0x84. > > > > > > H. I wonder if we can use them anyway, without being connected in > > > "webcam" mode. > >

Re: Sakar 57379 USB Digital Video Camera...

2009-06-20 Thread Theodore Kilgore
On Sat, 20 Jun 2009, Andy Walls wrote: On Fri, 2009-06-19 at 23:38 -0500, Theodore Kilgore wrote: Now it is using the other pair of endpoints, 0x03 and 0x84. H. I wonder if we can use them anyway, without being connected in "webcam" mode. Nope. That was the previously mentioned bug

Re: Sakar 57379 USB Digital Video Camera...

2009-06-20 Thread Andy Walls
On Fri, 2009-06-19 at 23:38 -0500, Theodore Kilgore wrote: > >> > >> Now it is using the other pair of endpoints, 0x03 and 0x84. > > > > H. I wonder if we can use them anyway, without being connected in > > "webcam" mode. > > Nope. That was the previously mentioned bug in the Linux mass stor

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Theodore Kilgore
On Fri, 19 Jun 2009, Andy Walls wrote: On Fri, 2009-06-19 at 19:26 -0500, Theodore Kilgore wrote: On Fri, 19 Jun 2009, Andy Walls wrote: On Fri, 2009-06-19 at 12:47 -0500, Theodore Kilgore wrote: On Fri, 19 Jun 2009, Andy Walls wrote: On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Andy Walls
On Fri, 2009-06-19 at 19:26 -0500, Theodore Kilgore wrote: > > On Fri, 19 Jun 2009, Andy Walls wrote: > > > On Fri, 2009-06-19 at 12:47 -0500, Theodore Kilgore wrote: > >> > >> On Fri, 19 Jun 2009, Andy Walls wrote: > >> > >>> On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: > > >>

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Theodore Kilgore
On Fri, 19 Jun 2009, Andy Walls wrote: On Fri, 2009-06-19 at 12:47 -0500, Theodore Kilgore wrote: On Fri, 19 Jun 2009, Andy Walls wrote: On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: On Thu, 18 Jun 2009, Andy Walls wrote: Interesting. To answer your question, I have no

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Theodore Kilgore
On Fri, 19 Jun 2009, Andy Walls wrote: On Fri, 2009-06-19 at 12:47 -0500, Theodore Kilgore wrote: On Fri, 19 Jun 2009, Andy Walls wrote: On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: On Thu, 18 Jun 2009, Andy Walls wrote: Interesting. To answer your question, I have no

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Andy Walls
On Fri, 2009-06-19 at 12:47 -0500, Theodore Kilgore wrote: > > On Fri, 19 Jun 2009, Andy Walls wrote: > > > On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: > >> > >> On Thu, 18 Jun 2009, Andy Walls wrote: > >>> > >>> > >>> > >> > >> Interesting. To answer your question, I have no idea

Re: Sakar 57379 USB Digital Video Camera...

2009-06-19 Thread Theodore Kilgore
On Fri, 19 Jun 2009, Andy Walls wrote: On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: On Thu, 18 Jun 2009, Andy Walls wrote: Interesting. To answer your question, I have no idea off the top of my head. I do have what seems to be a similar camera. It is Bus 005 Device 006:

Re: Sakar 57379 USB Digital Video Camera...

2009-06-18 Thread Andy Walls
On Thu, 2009-06-18 at 21:43 -0500, Theodore Kilgore wrote: > > On Thu, 18 Jun 2009, Andy Walls wrote: > > > > > > > > Interesting. To answer your question, I have no idea off the top of my > head. I do have what seems to be a similar camera. It is > > Bus 005 Device 006: ID 0979:0371 Jeilin Tec

Re: Sakar 57379 USB Digital Video Camera...

2009-06-18 Thread Theodore Kilgore
On Thu, 18 Jun 2009, Andy Walls wrote: My daughter just got one of these toy digital video recorder & webcam unit. It normally shows up as a mass storage drive. If I hold down the shutter button while connecting the USB cable, the camera LCD show a "webcam mode" icon and it shows up as a dif

Sakar 57379 USB Digital Video Camera...

2009-06-18 Thread Andy Walls
My daughter just got one of these toy digital video recorder & webcam unit. It normally shows up as a mass storage drive. If I hold down the shutter button while connecting the USB cable, the camera LCD show a "webcam mode" icon and it shows up as a different USB device. Any chance of this worki