[maemo-developers] Regarding Enabling of USB on restart of NokiaN800
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Fri Oct 26 17:18:17 EEST 2007
- Previous message: Regarding Enabling of USB on restart of NokiaN800
- Next message: Maemo localization to officially non-supported languages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2007-10-26 at 13:50 +0000, ext priyank kumar chourasia wrote: > 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/sh > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > NAME=usbnet > DESC="USB Networking for Nokia 800" > INITFILE=/etc/init.d/$NAME > sudo gainroot > USBNET="`lsmod | grep g_ether`" > if [ "$USBNET" = "" ] > then > insmod /mnt/initfs/lib/modules/2.6.18-omap1/g_ether.ko>>log > 2>>error > fi > sleep 1 > /sbin/ifup usb0>>log > 2>>error > exit 0 > > Added the above script with following commands > update-rc.d usbnet defaults > > Now the problems are as follows > 1. 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 ??? Try adding "export OSSO_KE_RECV_IGNORE_CABLE=1" in the beginning of /etc/init.d/ke-recv. It might be that ke-recv is loading g_file_storage when the USB cable is attached (normally /usr/sbin/osso- usb-mass-storage-enable.sh is executed then). BR; Kimmo > > > Regards, > Priyank > > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: Regarding Enabling of USB on restart of NokiaN800
- Next message: Maemo localization to officially non-supported languages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]