linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@mail.ru>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] usb.rc stop - remove xpad module too
Date: Sun, 01 May 2005 16:15:37 +0000	[thread overview]
Message-ID: <200505012015.38579.arvidjaar@mail.ru> (raw)

[-- 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 --]

                 reply	other threads:[~2005-05-01 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200505012015.38579.arvidjaar@mail.ru \
    --to=arvidjaar@mail.ru \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).