From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Sat, 04 Mar 2006 12:10:55 +0000 Subject: Re: How to check if driver is in-built or module? Message-Id: <20060304121055.GA10068@wonderland.linux.it> List-Id: References: <1141418150.4408a8a625721@cs1.alpha12.l-secure.net> In-Reply-To: <1141418150.4408a8a625721@cs1.alpha12.l-secure.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mar 04, juuso.alasuutari@tamperelainen.org wrote: > Any thoughts on this? These modules are not being loaded automatically because they lack the needed aliases. I added these to the debian package: alias pnp:dPNP0510 irtty-sir alias pnp:dPNP0511 irtty-sir alias pnp:dPNP0700 floppy alias pnp:dPNP0800 pcspkr alias pnp:dPNP0b00 rtc alias pnp:dPNP0303 atkbd alias pnp:dPNP0f13 psmouse alias pnp:dPNPb02f analog And then I use this rule: SUBSYSTEM="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" It's still not perfect, drivers which have card PNP aliases do not export them to sysfs. -- ciao, Marco ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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