[EMAIL PROTECTED]:~/Scrivania/webcam$ svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver m560x-driver .... .... .... A m560x-driver/m560x/tags/km_m560x_0.3/fw/m560x.inf A m560x-driver/m560x/tags/km_m560x_0.3/Makefile A m560x-driver/m560x/tags/km_m560x_0.3/README Estratta revisione 352.
[EMAIL PROTECTED]:~/Scrivania/webcam$ [EMAIL PROTECTED]:~/Scrivania/webcam$ cd m560x-driver/m560x/branches/m5602-mt9m111/ [EMAIL PROTECTED]:~/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111$ make make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic' CC [M] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.o In file included from /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c:37: /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602_v4l2.c: In function 'v4l_m5602_mmap': /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602_v4l2.c:678: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int' /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602_v4l2.c:709: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int' Building modules, stage 2. MODPOST 1 modules CC /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.mod.o LD [M] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic' [EMAIL PROTECTED]:~/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111$ make load sudo modprobe videodev [sudo] password for gab: sudo modprobe compat_ioctl32 sudo insmod ./m5602.ko ----- no light turns on ----- [EMAIL PROTECTED]:~/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111$ dmesg [ 636.249175] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c: m5602 Webcam driver startup [ 636.249594] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c: BisonCam webcam found [ 636.251333] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602_mt9m111.c: Probing for a mt9m111 sensor [ 636.261844] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602_mt9m111.c: Sensor reported 0xffff [ 636.261855] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c: Initialization of the m5602 WebCam failed [ 636.261909] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c: m5602 WebCam driver is now controlling video device 0 [ 636.261934] usbcore: registered new interface driver m5602 [ 636.261939] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602-mt9m111/m5602.c: 0.3.0:M5602 Webcam Driver livecam tells "couldn' find any device" or something like that so I tried with the "general" m5602 (make & make load) with dmesg: [ 792.610982] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602.c: ALi m5602 webcam driver startup [ 792.611054] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602.c: BisonCam webcam found [ 792.611928] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602_mt9m111.c: Probing for a mt9m111 sensor [ 792.622556] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602_s5k4aa.c: Probing for a s5k4aa sensor [ 792.634284] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602_ov9650.c: Probing for an ov9650 sensor [ 792.642536] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602_s5k83a.c: Probing for a s5k83a sensor [ 792.646529] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602_s5k83a.c: Detected a s5k83a sensor [ 792.714392] /home/gab/Scrivania/webcam/m560x-driver/m560x/branches/m5602/m5602.c: ALi m5602 webcam driver is now controlling video device 0 [ 792.714424] usbcore: registered new interface driver m5602 the green light turns on and with livecam I get the image in attachment: only half the image is detected. btw, a couple of hours ago, the "make load" command detected (just one time) the s5k4aa sensor... I don't know how it can happen... It's really strange. A question: why did you, Erik, ask me to use the mt9m111 branch, if I got the best results with the s5k83a one? does my sensor look like a mt9m111, as far as the usb snoops are concerned? thanks for your work & best regards! Gabriele 2008/8/31 Erik Andrén <[EMAIL PROTECTED]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Gabriele Zanardo wrote: > | 2008/8/28 Erik Andrén <[EMAIL PROTECTED]>: > | > | > | Gabriele Zanardo wrote: > | | 2008/8/28 Erik Andrén <[EMAIL PROTECTED]>: > | |> > | |> 2008/8/27 Gabriele Zanardo <[EMAIL PROTECTED]> > | |>> Thanks for your suggestion, Dorneles. > | |>> > | |>> I'm going to describe my last experiment, hope it wll help. > | |>> > | |>> > | |>> 0) I plugged the power cable in, and turned the latop on > | |>> 1) In linux, "make load" of the driver. The green light turns on, > | but with > | |>> livecam I could see just a pixel sensible to the light. > | |> This is strange. > | |> > | |>> 2) rebooted the laptop (that was therefore not completely powered > off, I > | |>> suppose the camera was still "supplied with electricity", so it > | could have > | |>> not lost all its settings), chose "windows" in grub and tried to > use the > | |>> webcam: I didn't get anything understandable. > | |> So it didn't work in windows either? > | | > | | no, it didn't... (but it had always been working, before putting the > | | linux driver to the test) > | | > | |>> 3) turned the lapop off and unplugged the power cable. Turned it on in > | |>> windows and the webcam worked: got colour pictures > | |>> 4) rebooted the laptop in linux, as I did in punkt 2, ie always > | supplying > | |>> power. Now the webcam works, even if in black and white. > | |> Black and white is expected, as this is the result when using the bayer > | |> mode. > | | > | | Ok ;) > | | > | |>> This test makes me think, something is not (or wrong) written in the > | |>> webcam configuration. Do you agree? Should I do some other testing? > | |> If you get issues both in windows and in linux there might be some > | hardware > | |> issues. > | | > | | I agree with you, if I got the same issues both in Windows and in > | | linux, it'd be an hardware problem. But since working and non-working > | | situations are very reproducible, I suppose it is not an hardware > | | problem. > | | In particoular, the camera works in linux on the both conditions (both > | | necessary): having worked in windows and the laptop having been > | | rebooted from windows. And for working in windows, a "deep" boot is > | | necessary (ie a boot from a completely "shut down" situation). Sorry > | | for the terms used, but I don't know how to express better the two > | | different kinds of booting. Hope them were understandable. > | | > | | Well, thank you all for reading and for any suggestion you will write. > | | > | > | Ok, so the windows driver probably does some initialization that we > | miss. In order to help you further I need some usb snoops from windows. > | This page [1] gives some good instructions on how to capture usb sniff > | logs. Follow them and put them up somewhere on the web and send the > | links to this mailing list. > | > |> Ok, it should be here: http://www.gest.unipd.it/~zanardo/snoop/snoop.zip > | > | Thanks, > | Erik > | > > Hi, > I've investigated your usb snoop and couldn't find anything new. I've > added some more init code from your snoop to the m5602-mt9m111 test > branch. Please update to the latest svn and check if this branch works > with livecam in bayer mode @ 640x480 when you _haven't_ used windows and > rebooted before. > > Let me know if it works better. > > Regards, > Erik > > > |> I'm the one who has to thank... I don't want to abuse your patience > |> and your time, and make you do something you have already done, I > |> mean, to find out an already known sensor... Thanks again and good > |> night > | > |> Gabriele > | > | [1] http://groups.google.com/group/microdia/web/usb-sniffing-on-windows > | > | > | | Best regards > | | Gabriele > | | > |> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIukweN7qBt+4UG0ERAtmfAJ9QJp09Toe3w+YPtXZ1JKldFi13HwCcCgCc > TKeqMqgkkpiTDhQWcQtFV38= > =PdKp > -----END PGP SIGNATURE----- >
<<attachment: snapshot0.jpg>>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
