Caanoo / WIZ Wiz Kernel Usbdevfs Support?


jpleveillee

Still Fresh
Joined
Apr 19, 2010
Messages
11
Is the usbdevfs enabled in the wiz kernel ?
I managed to get gphoto2 or multican working on my wiz but my camera
is not detected because of missing kernel config like usbdevfs :(

Can someone help me with setting a cross_compile environment
for compiling a new kernel with all the USB options needed?

Thanks
JP
 
i dont think it is supported. but i dont think you need to reflash your firmware anyway? wouldn't it be just sufficient to compile usbdevfs as a module and just use the insmod command and what else it needs before executing your software?
 
it works :)
I recompiled usbcore.ko and ohci_hcd.ko with usbfs support

now I can see my camera in /proc/bus/usb

but I need to set the USB permission

I think this is the last thing to do to make gphoto2 and multican working :)
 
It work !!
Multican run well with Libusb and my modified usbcore.ko kernel module ..
I can now control my Canon camera via USB for remote shooting!!

Libgphoto2 does not work because we need to set USB permission with udev but anyway I dont need it for now.

For those interested .. I want to develop a software for remote shooting DSLR with the gp2x wiz.
It will be usefull for doing HDRI photography, Timelapse or astrophotography.

Thanks for the help :)

JP
 
so how did you do? insmod or did you create your own 'custom' firmware?
 
I recompiled the kernel modules with USB DEVICE FILESYSTEM .
Replaced the usbcore.ko and ohci-hcd.ko in /lib/modules .. drivers/usb
added "usbfs /proc/bus/usb usbfs rw 0 0" in /etc/fstab
compiled libusb and put it in /lib

With that we can see the usb devices in /proc/bus/usb and
my application using libusb can see the usb devices :)


crow_riot said:
so how did you do? insmod or did you create your own 'custom' firmware?
 
Last edited by a moderator:
Back
Top