[ros-users] using hokuyo getID for udev

Jochen Kläß klaehs at informatik.uni-bonn.de
Mon Apr 12 15:51:47 UTC 2010


I tried using the hokuyo getID program to identify a hokuyo.
The program works correct and returns the serial-number by using it from a
normal shell.
However udev doesn't create a symlink when the hokuyo is plugged in.
Oddly, running a "udevadm test" on the ttyACM device the rule is executed
and the symlink is created.

here is my udev rule (karmic system):
SUBSYSTEM=="usb", KERNEL=="ttyACM*",PROGRAM="/getID /dev/ttyACM%n q",
ATTRS{manufacturer}=="Hokuyo Data Flex for USB",
ATTRS{product]=="URG-Series USB Driver", SYMLINK+="hokuyo_%c", MODE="0666"

Has anyone seen this behavior before?

- Jochen Kläß

More information about the ros-users mailing list