Caanoo / WIZ Wiz - Kernel, Dual-Boot And More


mb1967

Still Fresh
Joined
Dec 20, 2009
Messages
6
Hello out here,

1st, please excuse my English ...

I want to develop my own applications - but I have many problems. I've already read many blackboards - but with no success.

Can someone out here post a short but comprehensive instruction to build an new kernel / distribution for the great wiz?
I want to get control over the USB-Interface for controlling and measurement applications (e.g. using the LABJACK U12). I think it could be a great development platform in combination with Python and PyGame (for e.g. robot-control-applications, Peldelc-Controller with OpenStreetMap and much more). My current kernel seems to have problems to load the g_ether module (yes, I have used the corrected one and loaded lf1000_udc.ko before ... kernel is 2.6.24, firmware 1.1.0) and my Python tests failed so far (Mouse-Control etc). The wiz ist great - but currently not really usable for the real open world. I hope, that will change in future.

mb1967
 
Building a new distribution for Wiz probably won't be viable because not all of the source code is available, ie for the menu and various other things they include.

Rebuilding the kernel is doable, and really shouldn't be much different from building any other kernel, for which you can follow the directions included with the kernel. Orkie posted the source to the kernel being used in Wiz (2.6.24 like you said) and it's probably on the archive somewhere. Once you've recompiled it you should be able to replace it easily enough - if you end up bricking your Wiz and you need to revert then the firmware upgrade procedure should still work.

You want to modify it so you can make the USB blacklist changes required for Labjack U12 to work right? I used Labjack U12 at a job I had and I remember having to do this.

Unfortunately I don't know about your problems with g_ether or mouse control in Python. Can you be more specific?
 
TNX for your very fast reply!
I will answer in more detail tomorrow.
 
Ok, here I am ...

My g_ether.ko does not work.

Firmware 1.1.0
uname -a: Linux wiz 2.6.24#663

Using qtopia terminal:

insmod lf1000_udc.ko
Load is ok. lsmod brings up:

lf1000_udc
usbhid
hid
ohci_hcd
usbcore
rtc_pollux_m41t80
rtc_core

dmesg shows no errors

Now I try:
insmod ./g_ether.ko

I get: Using ./g_ether.ko
Segmentation fault :(

dmesg shows much garbage - pc:[...], sp:[...]
looks like a blue screen, dumping the CPU-status...

but - lsmod shows me, that g_ether has been loaded. :unsure: but it does not work.

The MD5-Checksum of this module ends with 3906ea003 - maybe you are using another module which you can post here?

FYI: USBSerial works fine.

Concerning my Python/PyGame problem - I will post details later.

TNX for all your help!
 
Back
Top