[ros-users] using hokuyo getID for udev

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jochen Kläß
日付:  
To: ros-users
題目: [ros-users] using hokuyo getID for udev
Hi,

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äß