From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthieu castet Date: Fri, 08 Oct 2004 13:27:46 +0000 Subject: [patch] pnp rc Message-Id: <416695D2.2050405@free.fr> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------050208060400000404060306" List-Id: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------050208060400000404060306 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, this patch clean the /etc/hotplug/isapnp.rc. It is based against debian hotplug version. I saw that you add recently in your cvs a pnp.rc. You will see that your version also try to load anolog for PNPB02F instead of the gameport driver ns558. And it is not right because anolog is a joystick driver not the generic gameport driver we want. pnp.rc it is near 4 time longer than the debian version : $ time /etc/hotplug/isapnp.rc start floppy: loaded sucessfully 8250_pnp: loaded sucessfully 8250_pnp: loaded sucessfully parport_pc: loaded sucessfully ns558: loaded sucessfully snd-mpu401-pnp: loaded sucessfully rtc: loaded sucessfully real 0m0.254s user 0m0.103s sys 0m0.109s time ./pnp.rc start floppy: already loaded 8250_pnp: already loaded 8250_pnp: already loaded parport_pc: already loaded ns558: already loaded analog: can't be loaded missing kernel or user mode driver analog snd-mpu401-pnp: already loaded rtc: already loaded pcspkr: loaded successfully psmouse: loaded successfully atkbd: loaded successfully real 0m0.908s user 0m0.430s sys 0m0.376s Also ./pnp.rc list even modules that are compile with the kernel : here pcspkr, psmouse, atkdb... Matthieu --------------050208060400000404060306 Content-Type: text/x-patch; name="hotplug-pnp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hotplug-pnp.patch" --- /etc/hotplug/isapnp.rc 2004-09-03 20:15:37.000000000 +0200 +++ /etc/hotplug/isapnp.rc 2004-10-03 14:04:44.000000000 +0200 @@ -26,7 +26,6 @@ fi cat /sys/bus/pnp/devices/*/id \ - | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ | while read MODULE; do # get the name of the module which should be loaded MODULE=$(modprobe --show-depends -q pnp:d$MODULE | sed -e '$!d;s/.*\/\(.*\)\.ko .*/\1/') --- /tmp/ttt/etc/modprobe.d/isapnp/isapnp.aliases 2004-09-03 20:15:37.000000000 +0200 +++ /etc/modprobe.d/isapnp/isapnp.aliases 2004-10-08 15:14:33.000000000 +0200 @@ -1,12 +1,9 @@ # These aliases are used by /etc/hotplug/isapnp.rc and are needed here # because the modules themselves are not providing them. -alias pnp:dPNP0400 parport_pc -alias pnp:dPNP0401 parport_pc alias pnp:dPNP0510 irtty-sir alias pnp:dPNP0511 irtty-sir alias pnp:dPNP0700 floppy alias pnp:dPNP0800 pcspkr -alias pnp:dPNP0B00 rtc +alias pnp:dPNP0b00 rtc alias pnp:dPNP0303 atkbd -alias pnp:dPNP0F13 psmouse -alias pnp:dPNPB02F analog +alias pnp:dPNP0f13 psmouse --------------050208060400000404060306-- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel