* 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
* Re: simple udev rule not working
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
1 sibling, 0 replies; 3+ messages in thread
From: Mark Eaton @ 2004-01-29 7:29 UTC (permalink / raw)
To: linux-hotplug
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok I realised that this is now in the 015 release of udev where the
interesting details are in the parent directories of sysfs. so please ignore
the last post.
- --
Mark Eaton
Senior Software Engineer
VASCO The Authentication Company
+67 3511 5404
+67 (0) 403 384 886
meaton@vasco.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAGLZBKd93Pkvz/M4RAuIjAKCRw2ppSHa0jX6keF5rsGVrQbyGrACggu+O
jhY30Mkgxm+IAIC26hHsaMQ=WqrQ
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
* Re: simple udev rule not working
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
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-01-29 20:38 UTC (permalink / raw)
To: linux-hotplug
On Mon, Jan 26, 2004 at 05:11:38AM +0100, Mark Eaton wrote:
> 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.
Please use version 015, it should fix this problem.
If not, please run udevinfo the device you are trying to name:
udevinfo -a /sys/whatever_trying_to_name
thanks,
greg k-h
-------------------------------------------------------
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).