[maemo-commits] [maemo-commits] r19356 - in projects/haf/tags/ke-recv/3.19-11: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 15 16:09:40 EEST 2009
Author: kihamala
Date: 2009-09-15 16:09:33 +0300 (Tue, 15 Sep 2009)
New Revision: 19356

Modified:
   projects/haf/tags/ke-recv/3.19-11/debian/changelog
   projects/haf/tags/ke-recv/3.19-11/src/pcsuite-disable.sh
Log:
applied modified Felipe's patch


Modified: projects/haf/tags/ke-recv/3.19-11/debian/changelog
===================================================================
--- projects/haf/tags/ke-recv/3.19-11/debian/changelog	2009-09-15 13:00:23 UTC (rev 19355)
+++ projects/haf/tags/ke-recv/3.19-11/debian/changelog	2009-09-15 13:09:33 UTC (rev 19356)
@@ -1,3 +1,10 @@
+ke-recv (3.19-11) unstable; urgency=low
+
+  Felipe:
+  * Don't remove kernel module after USB cable is disconnected.
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Tue, 15 Sep 2009 15:59:51 +0300
+
 ke-recv (3.19-10) unstable; urgency=low
 
   * Fixes NB#137197 - Not able to enable Mass storage when no other

Modified: projects/haf/tags/ke-recv/3.19-11/src/pcsuite-disable.sh
===================================================================
--- projects/haf/tags/ke-recv/3.19-11/src/pcsuite-disable.sh	2009-09-15 13:00:23 UTC (rev 19355)
+++ projects/haf/tags/ke-recv/3.19-11/src/pcsuite-disable.sh	2009-09-15 13:09:33 UTC (rev 19356)
@@ -19,43 +19,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 # 02110-1301 USA
 
-/sbin/lsmod | grep g_nokia > /dev/null
-if [ $? = 0 ]; then
-    logger "$0: removing g_nokia"
+logger "$0: do nothing to pass USB certs"
 
-    initctl emit G_NOKIA_REMOVE
-
-    PNATD_PID=`pidof pnatd`
-    if [ $? = 0 ]; then
-        kill $PNATD_PID
-    else
-        logger "$0: pnatd is not running"
-    fi
-    OBEXD_PID=`pidof obexd`
-    if [ $? = 0 ]; then
-        kill -HUP $OBEXD_PID
-    else
-        logger "$0: obexd is not running"
-    fi
-    SYNCD_PID=`pidof syncd`
-    if [ $? = 0 ]; then
-        kill $SYNCD_PID
-    else
-        logger "$0: syncd is not running"
-    fi
-
-    sleep 2
-    /sbin/rmmod g_nokia
-    if [ $? != 0 ]; then
-        logger "$0: failed to rmmod g_nokia!"
-        exit 1
-    fi
-
-    /sbin/modprobe g_file_storage stall=0 luns=2 removable
-    if [ $? != 0 ]; then
-        logger "$0: failed to install g_file_storage"
-        exit 1
-    fi
-fi
-
 exit 0

More information about the maemo-commits mailing list