linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb.rc stop - remove xpad module too
@ 2005-05-01 16:15 Andrey Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2005-05-01 16:15 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

My 2.6.11-8mdk kernel has xpad module that prevents usbcore from being 
unloaded:

{pts/2}% modinfo xpad
filename:       /lib/modules/2.6.11-8mdk/kernel/drivers/usb/input/xpad.ko.gz
author:         Marko Friedemann <mfr@bmx-chemnitz.de>, Oliver Schwartz 
<Oliver.Schwartz@gmx.de>, Georg Lukas <georg@op-co.de>
description:    driver for Xbox controllers with mouse emulation
license:        GPL

here is trivial patch that adds it to module list to remove.

regards

-andrey

--- /home/bor/tmp/usb.rc.xpad   2004-09-21 02:30:35.000000000 +0400
+++ /home/bor/tmp/usb.rc        2005-05-01 20:11:53.000000000 +0400
@@ -305,6 +305,7 @@ maybe_stop_usb ()
     rmmod visor            >/dev/null 2>&1
     rmmod wacom            >/dev/null 2>&1
     rmmod whiteheat        >/dev/null 2>&1
+    rmmod xpad             >/dev/null 2>&1

     if [ "$STATIC_MODULE_LIST" != "" ]; then
        rmmod $STATIC_MODULE_LIST >/dev/null 2>&1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-01 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01 16:15 [PATCH] usb.rc stop - remove xpad module too Andrey Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).