Does the m5603-gspca branch work for you?

Regards,
Erik

Jakub Novák wrote:
> Alright, thank you Ilyes and Erik for your help, I report Genius slim321c
> works with mt9v011 branch.
> 
> This is what I had to modify to get it to compile on 2.6.28 kernel stock
> v4l:
> 
> --- m5603c.c.old    2009-06-13 14:51:41.303176451 +0200
> +++ m5603c.c    2009-06-13 14:34:40.219499865 +0200
> @@ -206,8 +206,6 @@
> 
>      strlcpy(cam->vdev->name, name, sizeof(cam->vdev->name));
> 
> -    cam->vdev->owner    = THIS_MODULE;
> -    cam->vdev->type     = VID_TYPE_CAPTURE;
>      cam->vdev->fops     = &v4l_m5603c_fops;
>      cam->vdev->release  = video_device_release;
>      cam->vdev->minor    = -1;
> 
> 
> 2009/6/13 Erik Andrén <[email protected]>
> 
>> Hi,
>> You need to use one of the m5603 branches in the svn tree in order
>> to get a driver that supports the m5603 usb bridge.
>>
>> I'm not sure which one that is oppropriate for your camera.
>> See:
>> http://m560x-driver.svn.sourceforge.net/viewvc/m560x-driver/m560x/branches/
>>
>> Best regards,
>> Erik
>>
>> Jakub Novák wrote:
>>> Hello,
>>> first of all, thanks a lot for all effort you do to help v4l work :)
>>>
>>> I have a Genius slim 321C webcam with lsusb (full output below): VID:PID
>>> 0402:5603 ALi Corp. USB 2.0 Q-tec Webcam 300
>>> the exact VID:PID I found in m560x-driver documentation.
>>> Please note: contrary to documentation, 0402:5603 isn't bound in the
>> driver,
>>> only 0402:5602 is. I had to change it in m5602_core.c to make it work.
>>>
>>> dmesg/syslog:
>>> Jun 13 13:54:07 [kernel] [ 7950.480022] usb 1-5: new high speed USB
>> device
>>> using ehci_hcd and address 17
>>> Jun 13 13:54:07 [kernel] [ 7950.597623] usb 1-5: configuration #1 chosen
>>> from 1 choice
>>> Jun 13 13:54:07 [kernel] [ 7950.597913] gspca: probing 0402:5603
>>> Jun 13 13:54:07 [kernel] [ 7950.597919] ALi m5602: Probing for a po1030
>>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.616861] ALi m5602: Probing for a mt9m111
>>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.625111] ALi m5602: Probing for a s5k4aa
>>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.637235] ALi m5602: Probing for an ov9650
>>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.644859] ALi m5602: Probing for a s5k83a
>>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.656109] ALi m5602: Detected a s5k83a
>> sensor
>>> Jun 13 13:54:07 [kernel] [ 7950.733155] gspca: probe ok
>>> Jun 13 13:54:07 [kernel] [ 7950.733230] usb 1-5: New USB device found,
>>> idVendor=0402, idProduct=5603
>>> Jun 13 13:54:07 [kernel] [ 7950.733234] usb 1-5: New USB device strings:
>>> Mfr=0, Product=1, SerialNumber=0
>>> Jun 13 13:54:07 [kernel] [ 7950.733237] usb 1-5: Product: ALI M5603C
>>>
>>> When I start cheese, it hangs while polling some resource. With mplayer I
>>> get at least a green screen: LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so
>>> mplayer -fps 30 -tv driver=v4l:width=640:height=480:device=/dev/video0
>> tv://
>>> and I keep getting this from mplayer:
>>> libv4l2: error dequeuing buf: Input/output error
>>> with v4l2 driver:
>>> v4l2: select timeout ??% ??,?% 0 0
>>>
>>> I forced brige/sensor dump, beware of ~500K text file:
>>> http://prostor.hopto.org/~jc/webcam-log<http://prostor.hopto.org/%7Ejc/webcam-log>
>>>
>>> I tried forcing individual sensors each time replugging the cam, still
>>> mplayer green screen/cheese hangs.
>>>
>>> Any answer much appreciated. I'm willing to help, I can apply
>>> patches/recompile without problems.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> M560x-driver-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> M560x-driver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to