Allright, heres another one for the makefile to get make install to work :)
I'm not sure how to add aliases, I think install for kernel modules is usually called modules_install or something.
Anyway, thanks again for your project, I hope people who have this webcam will find this ML entry.

--- Makefile.old    2009-06-13 14:55:40.180176188 +0200
+++ Makefile    2009-06-13 14:55:22.462743086 +0200
@@ -12,7 +12,7 @@
 clean:
     @rm -f *.o *.ko .*.o.d *~ *.mod.c *.symvers .*.cmd
 
-#install:
-#    mkdir -p $(DESTDIR)/lib/modules/$(shell uname -r)/kernel/drivers/usb/media
-#    install -m 644 -o 0 -g 0 slim321c.ko $(DESTDIR)/lib/modules/$(shell uname -r)/kernel/drivers/usb/media
-#    depmod -a
+install:
+    mkdir -p $(DESTDIR)/lib/modules/$(shell uname -r)/kernel/drivers/usb/media
+    install -m 644 -o 0 -g 0 m5603c.ko $(DESTDIR)/lib/modules/$(shell uname -r)/kernel/drivers/usb/media
+    depmod -a


2009/6/13 Erik Andrén <erik.andren@gmail.com>
Yes,
the m5603 code hasn't been actively maintained for a while.

Patches are always welcome :)

Best regards,
Erik

Jakub Novák wrote:
> Hello, I already tried compilling all the branches from SVN, I always get
> something similar to this:
>
> make -C /lib/modules/2.6.28-gentoo-r5/build
> SUBDIRS=/tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011 modules
> make[1]: Entering directory `/usr/src/linux-2.6.28-gentoo-r5'
>   CC [M]  /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.o
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: In function
> 'usb_m5603c_probe':
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c:209: error:
> 'struct video_device' has no member named 'owner'
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c:210: error:
> 'struct video_device' has no member named 'type'
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c:210: error:
> 'VID_TYPE_CAPTURE' undeclared (first use in this function)
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c:210: error: (Each
> undeclared identifier is reported only once
> /tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c:210: error: for
> each function it appears in.)
> make[2]: *** [/tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.o]
> Error 1
> make[1]: *** [_module_/tmp/2/m560x-driver/m560x/branches/m5603c-mt9v011]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r5'
> make: *** [all] Error 2
>
> I removed references to owner and type usb_m5603c_probe instance members in
> m5603c.c and it compiled now.
>
> Now with  I get this at connect:
> hackbox parameters # Jun 13 14:36:08 [kernel] [10472.010016] usb 1-5: new
> high speed USB device using ehci_hcd and address 18
> Jun 13 14:36:08 [kernel] [10472.128292] usb 1-5: configuration #1 chosen
> from 1 choice
> Jun 13 14:36:08 [kernel] [10472.315100] usb 1-5: New USB device found,
> idVendor=0402, idProduct=5603
> Jun 13 14:36:08 [kernel] [10472.315105] usb 1-5: New USB device strings:
> Mfr=0, Product=1, SerialNumber=0
> Jun 13 14:36:08 [kernel] [10472.315108] usb 1-5: Product: ALI M5603C
>
>
> Also, red LED on the device turns on for the first time and I get
> /dev/video0  :) This is however where functionality ends, cheese doesn't
> find it using HAL and mplayer sez:
> ioctl get capabilites failed: Invalid argument
>
>
> Thanks for such prompt answer :) I'll go poking with the struct, I presume
> the code is obsolete with some v4l change now ?
>
>
>
> 2009/6/13 Ilyes Gouta <ilyes.gouta@gmail.com>
>
>> Hi,
>>
>> Have a look at:
>>
>> http://m560x-driver.svn.sourceforge.net/viewvc/m560x-driver/m560x/branches/m5603c-mt9v011/
>>
>> This is a branch for the m5603c bridge and mt9v011 sensor from micron.
>> Checkout a copy using a svn client and give it a try.
>>
>> Regards,
>> Ilyes Gouta.
>>
>> 2009/6/13 Jakub Novák <jc.bl.dws@gmail.com>:
>>> 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
>>> M560x-driver-devel@lists.sourceforge.net
>>> 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
> M560x-driver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel