Le mardi 29 juillet 2008 à 00:04 +0800,
=?GB2312?B?IrPCzsS1wiIgPDc5MzQ3NDEzOUBxcS5jb20+?= a écrit :
>  hi, Laurent,
> 
> 
> [EMAIL PROTECTED]:~/m560x-driver/m560x/branches/m5603c-ov7640# make
> make -C /lib/modules/2.6.24-19-generic/build
> SUBDIRS=/root/m560x-driver/m560x/branches/m5603c-ov7640 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
>   Building modules, stage 2.
>   MODPOST 1 modules
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
> [EMAIL PROTECTED]:~/m560x-driver/m560x/branches/m5603c-ov7640# make
> load
> make: *** No rule to make target `load'.  Stop.
> [EMAIL PROTECTED]:~/m560x-driver/m560x/branches/m5603c-ov7640# 
> 
> but i can
> 
>  insmod ./m560x.ko debug=16
> 
> 
>  and dmesg gives me this log and nothing else.
> 
> [6942.395999] usbcore: registered new interface driver m5603c
> 
> why it is so different from the mandriva rpm package?

The Mandriva package doesn't seem to be the last version (20080229) but
maybe this branch have no change since the 29 February 2008.

And i'm not sure this driver is for your webcam, i believe it's only for
0402:5602.

Maybe i'm wrong.

Try to find another driver


> 
> Thank you.
> Tan Boon Teck
> from Singapore
> 
> 
> ------------------ 原始邮件 ------------------
> 发件人: "Laurent BARRAILLE"<[EMAIL PROTECTED]>;
> 发送时间: 2008年7月28日(星期一) 晚上11:20
> 收件
> 人: "m560x-driver-devel"<[email protected]>; 
> 
> 主题: Re: [M560x-driver-devel]回复:041e:4055 Creative Live! Cam Video
> IM Pro
>  
> Hi,
> 
> Your install method is not really good, you don't get the last version
> of this driver. 
> 
> To install the last m560x driver, it's better to use this method :
> 
> -get the last release with svn :
> 
> svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver
> m560x-driver
> 
> -go in the main branch or another :
> 
> cd m560x-driver/m560x/branches/m5602
> 
> -compile the driver :
> 
> make
> 
> -load the driver :
> 
> make load
> 
> -to unload the driver use
> 
> make unload
> 
> 
> If you have already made a make install remove m560x.ko
> from /lib/modules...
> 
> 
> Regards
> 
> Laurent BARRAILLE
> (from FRANCE)
> 
> 
> Le lundi 28 juillet 2008 à 23:02 +0800,
> =?GB2312?B?IrPCzsS1wiIgPDc5MzQ3NDEzOUBxcS5jb20+?= a écrit :
> > here is more info about this webcam. It is using ov7640 sensor. this
> is
> > how i got it.  pls correct me if i am wrong!
> > 
> > I download dkms-m560x-0.4.0-0.20080229 from
> >
> http://rpmfind.net/linux/rpm/mandriva/devel/cooker/x86-64/mandriva.html
> > 
> > i change it to deb using alien
> > 
> > i install the debian package
> > 
> > and the file is installed under usr/src/
> > 
> > i open up the file m560x_core.c
> > 
> > and i add this
> > { USB_DEVICE(0x041e, 0x4055), .driver_info=CAMERA_M5603 },
> > under this
> > { USB_DEVICE(0x0402, 0x5603), .driver_info=CAMERA_M5603 },
> > 
> > i open this file as well m560x_core.c.hardware
> > and add this
> > { USB_DEVICE(0x041e, 0x4055), .driver_info=CAMERA_M5603 },
> > under this
> > { USB_DEVICE(0x0402, 0x5603), .driver_info=CAMERA_M5603 },
> > 
> > and then
> > make
> > 
> > this is the output
> > 
> > [EMAIL PROTECTED]:/usr/src/m560x-0.4.0-0.20080229.1mdv2008.1# make
> > make -C /lib/modules/2.6.24-19-generic/build
> > SUBDIRS=/usr/src/m560x-0.4.0-0.20080229.1mdv2008.1 modules
> > make[1]: Entering directory
> `/usr/src/linux-headers-2.6.24-19-generic'
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.o
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_model’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1615:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_in_use’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1616:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_streaming’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1617:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_palette’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1618:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_frames_total’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1619:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_frames_read’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1620:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_packets_dropped’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1621:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘show_decoding_errors’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1622:
> warning:
> > initialization from incompatible pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘m560x_create_sysfs_files’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1626:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1627:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1628:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1629:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1630:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1631:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1632:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1633:
> warning:
> > passing argument 2 of ‘video_device_create_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c: In function
> > ‘m560x_remove_sysfs_files’:
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1638:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1639:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1640:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1641:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1642:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1643:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1644:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:1645:
> warning:
> > passing argument 2 of ‘video_device_remove_file’ from incompatible
> > pointer type
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5603_mt9v011.o
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5603_ov7640.o
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5602_mt9v111.o
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5602_ov9650.o
> >   CC [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5602_ov7640.o
> >   LD [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x.o
> >   Building modules, stage 2.
> >   MODPOST 1 modules
> >   CC      /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x.mod.o
> >   LD [M]  /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x.ko
> > make[1]: Leaving directory
> `/usr/src/linux-headers-2.6.24-19-generic'
> > 
> > and
> > make install
> > 
> > and here is the output
> > [EMAIL PROTECTED]:/usr/src/m560x-0.4.0-0.20080229.1mdv2008.1# make
> install
> > mkdir -p /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media
> > install -m 644 -o 0 -g 0 m560x.ko
> > /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media
> > depmod -a
> > 
> > and then
> > modprobe videodev
> > modprobe v4l1-compat
> > insmod ./m560x.ko debug=16
> > 
> > and here is the log when i type dmesg
> > 
> >  
> >
> [ 5734.123919] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > usb_m560x_init - M560x-based WebCam driver startup
> >
> [ 5734.123989] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > m560x_probe - M560x-based WebCam connected
> >
> [ 5734.124005] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [usb_m560x_probe:2738] cam eaec8000
> >
> [ 5734.124017] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_m5603_camera:1038] initialize_m5603_camera
> >
> [ 5734.508997] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > error from m5603_init_from_script
> >
> [ 5734.509015] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [usb_m560x_probe:2804] Initialization failed. I will retry on
> open().
> > [ 5734.173833]
> > /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5603_mt9v011.c:
> > [m5603_probe_mt9v011:366] probe mt9v011 sensor id 00 00
> >
> [ 5734.173842] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5603_ov7640.c:
> > [m5603_probe_ov7640:170] probe ov7640 sensor id 00 00
> >
> [ 5734.173854] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m5603_ov7640.c:
> > [m5603_probe_ov7640:172] detected ov7640 sensor
> >
> [ 5734.173861] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [m560x_attach_sensor:1102] attach sensor
> >
> [ 5734.173924] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:948] initialize controls to default values
> 2312 68
> > 34 OV7640
> >
> [ 5734.173932] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 0
> >
> [ 5734.173939] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'exposure' control
> >
> [ 5734.173947] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 1
> >
> [ 5734.173953] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'global gain'
> control
> >
> [ 5734.173960] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 2
> >
> [ 5734.173965] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'horizontal
> mirror'
> > control
> >
> [ 5734.173970] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 3
> >
> [ 5734.173974] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'vertical mirror'
> > control
> >
> [ 5734.174006] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 4
> >
> [ 5734.174012] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'red balance'
> control
> >
> [ 5734.174019] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 5
> >
> [ 5734.174025] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'blue balance'
> control
> >
> [ 5734.174057] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 6
> >
> [ 5734.174064] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:961] Image sensor supports 'green balance'
> control
> >
> [ 5734.174096] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 7
> >
> [ 5734.174102] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 8
> >
> [ 5734.174133] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 9
> >
> [ 5734.174163] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 10
> >
> [ 5734.174194] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 11
> >
> [ 5734.174224] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 12
> >
> [ 5734.174231] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 13
> >
> [ 5734.174261] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 14
> >
> [ 5734.174292] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 15
> >
> [ 5734.174298] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 16
> >
> [ 5734.174328] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 17
> >
> [ 5734.174359] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 18
> >
> [ 5734.174390] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 19
> >
> [ 5734.174420] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 20
> >
> [ 5734.174451] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 21
> >
> [ 5734.174482] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 22
> >
> [ 5734.174512] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 23
> >
> [ 5734.174543] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 24
> >
> [ 5734.174574] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 25
> >
> [ 5734.174580] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 26
> >
> [ 5734.174586] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 27
> >
> [ 5734.174616] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 28
> >
> [ 5734.174647] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 29
> >
> [ 5734.174678] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 30
> >
> [ 5734.174708] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 31
> >
> [ 5734.174739] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 32
> >
> [ 5734.174745] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > [initialize_v4l_camera:950] i 33
> >
> [ 5734.174776] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > m560x_probe - Ali_M560x WebCam driver is now controlling video
> device 0
> > [ 5734.174817] usbcore: registered new interface driver m560x
> >
> [ 5734.174825] /usr/src/m560x-0.4.0-0.20080229.1mdv2008.1/m560x_core.c:
> > 0.4.0:Ali M560x Webcam Driver
> > 
> > unfortunately when i run camorama or livecam, it is not working
> > 
> > I hope somebody can help out on this.
> > 
> > Thank you.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> -------------------------------------------------------------------------
> > 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
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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

Reply via email to