1 May 2005 18:15
[PATCH] usb.rc stop - remove xpad module too
Andrey Borzenkov <arvidjaar <at> mail.ru>
2005-05-01 16:15:37 GMT
2005-05-01 16:15:37 GMT
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 <at> bmx-chemnitz.de>, Oliver Schwartz
<Oliver.Schwartz <at> gmx.de>, Georg Lukas <georg <at> 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
<at> <at> -305,6 +305,7 <at> <at> 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
RSS Feed