linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* simple udev rule not working
@ 2004-01-26  4:11 Mark Eaton
  2004-01-29  7:29 ` Mark Eaton
  2004-01-29 20:38 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Eaton @ 2004-01-26  4:11 UTC (permalink / raw)
  To: linux-hotplug

I am trying to get a simple udev rule to work with no luck. Could somebody shed some light on what I am doing wrong. I am using 2.6.1 with udev 014.

I have the rule

LABEL, BUS="usb", SYSFS_serial="NA0120307040254530 ", NAME="epson915"

if I do a hexdump on the serial it has a space at the end, but I have tried the rule with and without the space and it makes no difference.

The following is the sysfs tree of relevance to the device

.
|-- 2-0:1.0
|   |-- bAlternateSetting
|   |-- bInterfaceClass
|   |-- bInterfaceNumber
|   |-- bInterfaceProtocol
|   |-- bInterfaceSubClass
|   |-- bNumEndpoints
|   |-- detach_state
|   |-- iInterface
|   `-- power
|       `-- state
|-- 2-1
|   |-- 2-1:1.0 /*
/* Other usb port */
|-- 2-2
|   |-- 2-2.1
|   |   |-- 2-2.1:1.0
|   |   |   |-- bAlternateSetting
|   |   |   |-- bInterfaceClass
|   |   |   |-- bInterfaceNumber
|   |   |   |-- bInterfaceProtocol
|   |   |   |-- bInterfaceSubClass
|   |   |   |-- bNumEndpoints
|   |   |   |-- detach_state
|   |   |   |-- iInterface
|   |   |   `-- power
|   |   |       `-- state
|   |   |-- bConfigurationValue
|   |   |-- bDeviceClass
|   |   |-- bDeviceProtocol
|   |   |-- bDeviceSubClass
|   |   |-- bMaxPower
|   |   |-- bNumConfigurations
|   |   |-- bNumInterfaces
|   |   |-- bcdDevice
|   |   |-- bmAttributes
|   |   |-- detach_state
|   |   |-- idProduct
|   |   |-- idVendor
|   |   |-- manufacturer
|   |   |-- power
|   |   |   `-- state
|   |   |-- product
|   |   |-- serial
|   |   `-- speed
|   |-- 2-2.2
|   |   |-- 2-2.2:1.0
/* This is the built in memory card reader */
|   |-- 2-2:1.0
|   |   |-- bAlternateSetting
|   |   |-- bInterfaceClass
|   |   |-- bInterfaceNumber
|   |   |-- bInterfaceProtocol
|   |   |-- bInterfaceSubClass
|   |   |-- bNumEndpoints
|   |   |-- detach_state
|   |   |-- iInterface
|   |   `-- power
|   |       `-- state
|   |-- bConfigurationValue
|   |-- bDeviceClass
|   |-- bDeviceProtocol
|   |-- bDeviceSubClass
|   |-- bMaxPower
|   |-- bNumConfigurations
|   |-- bNumInterfaces
|   |-- bcdDevice
|   |-- bmAttributes
|   |-- detach_state
|   |-- idProduct
|   |-- idVendor
|   |-- power
|   |   `-- state
|   |-- product
|   `-- speed
|-- bConfigurationValue
|-- bDeviceClass
|-- bDeviceProtocol
|-- bDeviceSubClass
|-- bMaxPower
|-- bNumConfigurations
|-- bNumInterfaces
|-- bcdDevice
|-- bmAttributes
|-- detach_state
|-- idProduct
|-- idVendor
|-- manufacturer
|-- power
|   `-- state
|-- product
|-- serial
`-- speed

Thanks in advance.

--	
Mark Eaton
mark.eaton@vasco.com




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-29 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-26  4:11 simple udev rule not working Mark Eaton
2004-01-29  7:29 ` Mark Eaton
2004-01-29 20:38 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).