udev and /dev/modem symlink (solved)

Glen Turner glen.turner at aarnet.edu.au
Mon Apr 9 16:32:29 CST 2007


PROBLEM

I have a old-fashioned Hayes modem connected to a USB port via
a Keyspan USA-19HS RS-232/USB dongle.  It has the name /dev/ttyUSB0.
I want /dev/modem to point to /dev/ttyUSB0.

Using Fedora Core 6.

ANSWER USING UDEV

Create a new rules file, say "/etc/udev/rules.d/99-local.rules".
Any number >50 will probably do.  The name must end in ".rules".
It contains:

  # Modem is on the Keyspan dongle
  KERNEL=="ttyUSB0", SYMLINK+="modem"

Then reboot (ouch).


More information about the linuxsa mailing list