[maemo-developers] Regarding Enabling of USB on restart of NokiaN800

From: priyank kumar chourasia priyank_bhopal at rediffmail.com
Date: Fri Oct 26 16:50:50 EEST 2007
Hi All,I am facing problem in enabling the USB automatically on restart of Nokia N800,Following is the script saved in /etc/init.d/usbnet
#! /bin/shPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binNAME=usbnetDESC="USB Networking for Nokia 800"INITFILE=/etc/init.d/$NAMEsudo gainrootUSBNET="`lsmod | grep g_ether`"if [ "$USBNET" = "" ]theninsmod /mnt/initfs/lib/modules/2.6.18-omap1/g_ether.ko>>log2>>errorfisleep 1/sbin/ifup usb0>>log2>>errorexit 0Added the above script with following commandsupdate-rc.d  usbnet defaultsNow the problems  are as follows1. USB networking icon gets changed but on pinging the device it doesnt repond that means only GUI changes are taking place.2. Having clicked on MMC card(From usbnet) and then OK causes system hangs.Can someone help me that why usb net changes are not happening actually ???Regards,Priyank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20071026/a1522fbf/attachment.htm 
More information about the maemo-developers mailing list