From: Ilyes G. <ily...@gm...> - 2008-01-01 09:54:34
|
Hi Joel, Thanks for the update. I'm glad it worked for you! :) Concerning the video device enumeration, then yes you're right. LiveCam should be modified to take into account the multiple video devices attached to the machine so that the user can select which one should be used as a video source. Good point! :) BR, Ilyes Gouta. Joel Sanger wrote: > Hi Ilyes, > > I've just managed to get this to work on my laptop too, the pitch was 648 as you have seen before and the picture is dark (until you are in a strong light then it is nearly normal, could possibly need some kind of gain control?). My laptop is a CLEVO M57U with an inbuilt web cam (ID 0402:5602 ALi Corp.) > > P.S. > I needed to make a slight adjustment to your livecam viewer (as I have two video devices and I needed to set your v4l2viewer widget to initialise for /dev/video1) I don't know how big a change it would be to prompt for the device first, but it is nothing major I can hard code it on my machine for testing purposes... > > Thanks for all your work if there's anything that I can do to help, just say! > > Best Regards > Joel Sanger > > > ---------------------------------------- >> Date: Mon, 31 Dec 2007 08:49:27 +0100 >> From: ily...@gm... >> To: whe...@gm... >> CC: m56...@li...; je...@ed... >> Subject: Re: [M560x-driver-devel] m5602-ov9650-2 branch >> >> >> Hi, >> >> No, it's not about multiplying the pitch by 5. >> >> Jérémy, what was your correct pitch? >> >> My previous work on Rémi's machine showed that a standard pitch of 648 >> pixels (but then later I got also pictures w/ a 666 pitch...). I got >> also two persons who reported that 648 did the job for them too. >> >> BR, >> Ilyes Gouta. >> >> David Sharp wrote: >>> are you sure you don't need to just multiply the pitch by "like five" times? >>> >>> On Dec 30, 2007 7:56 AM, Jérémy Lal wrote: >>>> at least i got "something" this time (kernel 2.6.23) : >>>> i got some very dark, black and white picture, "interlaced" and repeated like five times horizontally. >>>> i played around with the pitch to get vertical alignment better. >>>> >>>> happy new year ! >>>> >>>> >>>> Ilyes Gouta a écrit : >>>> >>>>> Hi! >>>>> >>>>> I'm glad to hear that! Now you're the second person to confirm that it's >>>>> working. In order to get that branch (m5602-ov9650-2) to evolve, we need >>>>> one or more committed developers (who have to own the proper hardware) >>>>> to continue working on it. You know, I wrote that code blindly on a >>>>> remote machine (I don't own a laptop with a 0402:5602 and thank you >>>>> again Rémi) and all of it is just based on a trace that Jérémy provided >>>>> me with. I'll be more that happy if someone steps up to take over the >>>>> development of that branch and to explain to him/her what remains to be >>>>> done and answer any related questions. The driver itself is a piece of >>>>> cake, one has just to pay attention when writing the code and to always >>>>> handle all the possible cases (including failures). >>>>> >>>>> Concerning the grainy black and white picture, it's normal. What you're >>>>> viewing is the non-processed raw bayer picture just as it was received >>>>> from the webcam. In order to get the final one (with colors) we need to >>>>> interpolate between the pixels to recreate the missing R, G, B >>>>> components. The picture is dark because of a lack of lighting or bad >>>>> settings for the exposure, brightness registers. It's alright. >>>>> >>>>> Waiting for the community response and commitment. >>>>> >>>>> Best regards, >>>>> Ilyes Gouta. >>>>> >>>>> Michael Neuendorf wrote: >>>>>> Hi Ilyes, >>>>>> >>>>>> I tested the driver from svn revision 106. >>>>>> >>>>>> It compiles fine and livecam gives me a video. I have to adjust the >>>>>> pitch to 648. The image is black and white and very dark. >>>>>> >>>>>> I also had a system hang (while adjusting the pitch), but no further >>>>>> information (log entries). >>>>>> >>>>>> My system information: >>>>>> Cam: integrated in a Asus PW201 LC Display (ID 0402:5602 ALi Corp.) >>>>>> Ubuntu 7.10 >>>>>> >>>>>> Hope, this helps a little. Just ask for more information, if needed >>>>>> >>>>>> Best regards >>>>>> >>>>>> Mik >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> This SF.net email is sponsored by: Microsoft >>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>>> _______________________________________________ >>>>>> M560x-driver-devel mailing list >>>>>> M56...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel >>>>> ------------------------------------------------------------------------- >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> M560x-driver-devel mailing list >>>>> M56...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> M560x-driver-devel mailing list >>>> M56...@li... >>>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel >>>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> M560x-driver-devel mailing list >> M56...@li... >> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel |