Udev script not working

Matthias Kirschner mk at fsfe.org
Thu Jun 29 16:24:35 CEST 2006


* Mark Brown <broonie at sirena.org.uk> [2006-06-29 14:56:19 +0100]:

> On Thu, Jun 29, 2006 at 01:34:26PM +0200, Matthias Kirschner wrote:
> 
> > On sarge, with hotplug, I did not have any problems. It is just now on
> > etch with udev.
> 
> Ah, if this is etch then you definately need the newer style
> configuration using udev directly that I posted previously.

So you mean I should use:

SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”04e6″,
SYSFS{idProduct}==”e003″, GROUP=”scard”, MODE=”0664″
SUBSYSTEM==”usb_device”, SYSFS{bDeviceClass}==”0×0B”, GROUP=”scard”,
MODE=”0664″
SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”04e6″,
SYSFS{idProduct}==”5115″, GROUP=”scard”, MODE=”0664″

Should I add the above to /etc/udev/udev.rules and remove this three
rules?

# usbfs-like devices
SUBSYSTEM=="usb_device",	PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
				NAME="%c"


Thanks,
Matze

-- 
Join the Fellowship and protect your freedom!      (http://www.fsfe.org)



More information about the Gnupg-devel mailing list