[Bug 30015] /dev/pilot/ is never used by PDAs

Simon80 Simon80 at gmail.com
Thu Mar 23 08:19:22 UTC 2006


Public bug report changed:
https://launchpad.net/malone/bugs/30015

Comment:
The default symlinks can be changed by adding a rule to any file in
/etc/udev/rules.d/.  For example, in my installation, I have a file at
/etc/udev/rules.d/10-custom.rules, and in it I have two lines:

KERNEL=="tty*" SYSFS{product}=="Palm Handheld",  SYMLINK="pilot%m pilot" GROUP="plugdev"
KERNEL=="tty*" SYSFS{manufacturer}=="Palm_ Inc." SYMLINK="pilot%m pilot" GROUP="plugdev"

To figure out what this means, there's a very helpful udev guide at
http://www.reactivated.net/writing_udev_rules.html.  In short, though,
udev rules let you customise certain properties of devices.  The ==
statements are rules that decide which devices to customize, where
KERNEL is the node name in dev (eg. /dev/ttyUSB0 will match tty*,
/dev/dsp will not), and SYSFS{manufacter} matches a property of the
device that can be found by using udevinfo.

The = statements assign properties to the device in question, and are a
bit easier to understand.  SYMLINK creates symlinks in dev, and GROUP
changes the group of the device node (the original one) so that regular
users can access the device if they are in the correct group.  Syntax
can be found in man udev




More information about the desktop-bugs mailing list