wok-next rev 4240

Fix: udev/HAL USB automounting (udev rules for hal)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 20:45:53 2009 +0200 (2009-09-24)
parents ed8cb1e3b21b
children 085349c91f6a
files udev/receipt udev/stuff/90-permissions.rules udev/stuff/92-hal.rules
line diff
     1.1 --- a/udev/receipt	Thu Sep 24 17:50:39 2009 +0000
     1.2 +++ b/udev/receipt	Thu Sep 24 20:45:53 2009 +0200
     1.3 @@ -50,6 +50,7 @@
     1.4  	mv -f $fs/lib/udev/rules.d $fs/etc/udev
     1.5  	cp stuff/udev.conf $fs/etc/udev
     1.6  	cp stuff/90-permissions.rules $fs/etc/udev/rules.d
     1.7 +	cp stuff/92-hal.rules $fs/etc/udev/rules.d
     1.8  	cp $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
     1.9  	cp $src/rules/packages/40-zaptel.rules $fs/etc/udev/rules.d
    1.10  	# Fix permissions
     2.1 --- a/udev/stuff/90-permissions.rules	Thu Sep 24 17:50:39 2009 +0000
     2.2 +++ b/udev/stuff/90-permissions.rules	Thu Sep 24 20:45:53 2009 +0200
     2.3 @@ -2,3 +2,11 @@
     2.4  # sound devices
     2.5  SUBSYSTEM=="sound",				GROUP="audio"
     2.6  SUBSYSTEM=="sound",				MODE="0664"
     2.7 +
     2.8 +# storage
     2.9 +SUBSYSTEM=="ide",				GROUP="root"
    2.10 +SUBSYSTEM=="ide",				MODE="0660
    2.11 +SUBSYSTEM=="ata",				GROUP="root"
    2.12 +SUBSYSTEM=="ata",				MODE="0660
    2.13 +SUBSYSTEM=="scsi",				GROUP="root"
    2.14 +SUBSYSTEM=="scsi",				MODE="0660
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/udev/stuff/92-hal.rules	Thu Sep 24 20:45:53 2009 +0200
     3.3 @@ -0,0 +1,2 @@
     3.4 +# pass all events to hal daemon
     3.5 +RUN+="socket:@/org/freedesktop/hal/udev_event"