Gentoo hotplug does not make use of the hotplug.d dir, there is an easy fix (from debian): Replace this in /etc/hotplug/hotplug.functions: if grep -q "^$MODULE\$" $HOTPLUG_DIR/blacklist \ >/dev/null 2>&1; then by this: if grep -q "^$(echo $MODULE|sed -e 's/[-_]/[-_]/g')\$" $HOTPLUG_DIR/blacklist \ $HOTPLUG_DIR/blacklist.d/* \ >/dev/null 2>&1; then Thanks in advance STefan Schweizer
I don't understand. Your patch fixes a different issue (- vs _ in module names) right? What exactly is the problem that you are seeing with the hotplug scripts in gentoo?
We need this for slmodem, because we do not want to change the /etc/hotplug/blacklist but place a file in /etc/hotplug/blacklist.d. old one : $HOTPLUG_DIR/blacklist new one: $HOTPLUG_DIR/blacklist \ $HOTPLUG_DIR/blacklist.d/* now clear?
Ok, care to make up a patch that I can apply?
Created attachment 37367 [details] hotplug.functions.diff Here is the patch ..
I wonder why this patch is not in portage as debian uses it. Debian even uses other usefull patches. Can you please sort them out and apply most of them? Just wget http://ftp.debian.org/debian/pool/main/h/hotplug/hotplug_0.0.20040329-14.diff.gz gzcat hotplug_0.0.20040329-14.diff.gz | patch -p1 cd debian/patches in an empty directory. There are other usefull things like isapnp support in the hotplug package of debian. Can you please look into it, when you have time? Stefan
It would be even better if debian pushed them upstream, as they do have commit access to the hotplug cvs repository. Anyway, I'll look at them when I get the time to make a new hotplug release, thanks.
Thanks, I've added this upstream and it will show up in the next release. I'll wait for the debian package to resync and send me the patches, as there are a lot of patches added already that conflict with theirs.