Maemo 4.1: unable to run 'make menuconfig' in scratchbox

2009-07-06 Thread Mandeep Sandhu
Hi All, I'm trying to run menuconfig for my diablo source, but it gives me the following error: [sbox-DIABLO_ARMEL: /usr/src/kernel-source-diablo] make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC

Re: Maemo 4.1: unable to run 'make menuconfig' in scratchbox

2009-07-06 Thread Mandeep Sandhu
Awesome! It worked. Thanks to both of you! :) -mandeep On Mon, Jul 6, 2009 at 4:41 PM, Faheem Perveztripp...@gmail.com wrote: Hi, Thanks to Frantisek Dufka: http://talk.maemo.org/showpost.php?p=124726postcount=8 Best Regards, Faheem On Mon, Jul 6, 2009 at 12:07 PM, Mandeep

how to load custom kernel module at bootup?

2009-06-30 Thread Mandeep Sandhu
Hi All, I'm using the n810 tablet for some USB device development work. I've made a custom ethernet gadget driver (modified drivers/usb/gadget/ether.c). I've tested this driver using insmod/rmmod and putting the OTG in peripheral mode. Now I want it to load this module at boot time. Currently

Re: how to load custom kernel module at bootup?

2009-06-30 Thread Mandeep Sandhu
Ok guys. Here's what I plan to do. * Create a script usbetherup in /etc/init.d, which does the require unloading of file_storage module and loading the g_ether one. * Create a link S99usbetherup in /etc/rc2.d Is this enough? Do I need a K99 counterpart as well? Thanks again, -mandeep On

Re: how to load custom kernel module at bootup?

2009-06-30 Thread Mandeep Sandhu
Thanks for the tips. Will look into using update-rc.d to make the scripts. (I'm not building a package, so rc scripts should do fine). Regards, -mandeep On Tue, Jun 30, 2009 at 7:19 PM, Graham Cobbg+...@cobb.uk.net wrote: On Tuesday 30 June 2009 14:06:04 Mandeep Sandhu wrote: Ok guys. Here's