[maemo-developers] N800 experimental host mode patches updated

From: Frantisek Dufka dufkaf at seznam.cz
Date: Wed Oct 17 12:14:50 EEST 2007
Juuso Räsänen wrote:
> What is the role of this latter file? 

kernel modules (i.e. drivers), you need to extract it somewhere and use 
insmod (as root) to add some of them to kernel at runtime (depends on 
device you want to use).

For usb storage you need to insert those in drivers/scsi/ and 
drivers/usb/storage/. For keyboard you need drivers/usb/input/usbhid.ko



> 
> Currently I just flashed the kernel with following command:
> ./flasher-3.0 -f -k zImage-usbhost --enable-usb-host-mode --enable-rd-mode -R

You don't need "--enable-usb-host-mode --enable-rd-mode" for this.

> So, what could be of help there??

Google for 'linux kernel modules' to get familiar with the concept.

BTW there is some issue with mounting cards (related to ke-recv 
service). Once you switch to host mode with ke-recv running, cards get 
unmounted (and swap turned off). You can prevent this by stopping 
ke-recv before switching and starting it after switch.

/etc/init.d/ke-recv stop
/etc/init.d/ke-recv start

Similar for switching back - usb icon will go away after setting mode 
back to 'peripheral' and restarting ke-recv.

Frantisek

More information about the maemo-developers mailing list