Hi Ivan, I'm glad you got it working! My comments are inlined.
Ivan Vucica wrote: > Hi Ilyes, > > I have to report success with m5603c on Kopete with Sweex webcam! > There are some video related warnings, occasionally errors, and > occasionally some visual artefacts though. > > I start Kopete: > $ kopete --noconnect > I immediately get some errors/warnings. I'm cutting out only those > video related: > VIDIOC_ENUM_FMT: Invalid argument > VIDIOC_STREAMOFF error 22, Invalid argument > VIDIOC_ENUM_FMT: Invalid argument > VIDIOC_STREAMOFF error 22, Invalid argument > > Then when I go to Settings->Configure->Devices, this gets printed out. > VIDIOC_ENUM_FMT: Invalid argument Yeah, that's normal. Kopete looks for a couple of other formats (I think including raw bayer) but for some reasons it picks RGB32. > Occasionally, the image messes up for a few frames (a lot of purple > rectangles randomly appearing and disappearing on the image) - this > might be hardware problem, but I haven't experienced it under Win32. > (On the other hand, I didn't use the camera under Win32 a lot since I > don't use Win32 much in the first place :) ) I think that it means we're not properly detecting a start of a raw frame... > Then, I was turning around the camera, and at some point I got this > printed out repeatedly: > VIDIOC_DQBUF error 5, Input/output error > and the image is not updated until I close the dialogue. > > So I get: > ... > VIDIOC_DQBUF error 5, Input/output error > VIDIOC_DQBUF error 5, Input/output error > VIDIOC_STREAMOFF error 5, Input/output error > and the video does not work until Kopete is restarted. This shouldn't really happen. May be it's related to the fact that we're not detecting a real SOF properly. > Otherwise, Ilyes, great work! Even the controls work properly. > > > > Could you just look into why the image appears zoomed in? Looks like a > lot of it is clipped out. Otherwise it's pretty usable. Yes, true. That's because I didn't enable yet horizontal row decimation. Basically the drivers does only 640x480 which gets clipped depending on the requirements of the calling application. The next step is to enable 320x240 through decimation. > Some images are here: > http://tornado.zrs.hr/~ivucica/webcam/ > In folder "noise/" there's a demo of those rectangles. > In folder "clippedout/" you can see the image produced by the webcam, > and the image I took of the camera while it was producing the image. I > think it's fairly obvious that the image should contain much more :) Regards, Ilyes Gouta. > On Thu, May 1, 2008 at 10:57 AM, Ilyes Gouta <[EMAIL PROTECTED]> wrote: >> Hi Ivan, >> >> I've recently committed my latest changes to the m5603c driver and I'm >> having Kopete working nicely on my machine. Could you please test it and >> report any success/failures? >> >> I'm interested in the dmesg output once you insert the compiled module such >> as: >> >> $ insmod m5603c.ko debug=2 >> >> Please don't use the make install target to install the driver in the >> /lib/modules/<kernel version> folder. Don't use modprobe, use insmod instead. >> >> Regards, >> Ilyes Gouta. >> > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
