diff -Naur busybox.orig/examples/mdev_fat.conf busybox/examples/mdev_fat.conf --- busybox.orig/examples/mdev_fat.conf 2010-05-25 20:48:33.000000000 +0400 +++ busybox/examples/mdev_fat.conf 2010-05-27 22:12:39.201983533 +0400 @@ -13,7 +13,7 @@ # @|$|*: run $cmd on delete, @cmd on create, *cmd on both # support module loading on hotplug -$MODALIAS=.* root:root 660 @modprobe "$MODALIAS" +-$MODALIAS=.* root:root 660 @modprobe "$MODALIAS" # null may already exist; therefore ownership has to be changed with command null root:root 666 @chmod 666 $MDEV @@ -52,6 +52,7 @@ -net/.* root:root 600 @nameif tun[0-9]* root:root 600 =net/ tap[0-9]* root:root 600 =net/ +bnep([0-9]+) root:root 600 =panu/ # alsa sound devices and audio stuff pcm.* root:audio 660 =snd/ @@ -108,3 +109,7 @@ # zaptel devices zap(.*) root:dialout 660 =zap/%1 dahdi!(.*) root:dialout 660 =dahdi/%1 + +# PNP: load supporting modules +pnp/.* root:root 600 @/bin/sh -c 'sed s/^/pnp:d/ /sys/$DEVPATH/id | xargs modprobe -qa' +