HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Configuration change for USB modem
Here is an excerpt from my configurationlooking at device '/class/tty/ttyACM6':
KERNEL=="ttyACM6"
SUBSYSTEM=="tty"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/usb9/9-2/9-2:2.0':
KERNELS=="9-2:2.0"
SUBSYSTEMS=="usb"
[......]
looking at parent device '/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/0000:06:00.0/usb9/9-2':
KERNELS=="9-2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
[......]
ATTRS{busnum}=="9"
ATTRS{devnum}=="2"
[......]
ATTRS{manufacturer}=="Multi-Tech Systems, Inc."
ATTRS{product}=="MultiModemUSB"
And the associated udev rule :KERNEL=="ttyACM*", KERNELS=="9-2", SYMLINK+="myfax01"
KERNEL attribute is the device itself.
KERNELS attribute corresponds to one of the parent device.
SYMLINK attribute creates a symbolic link to the value of KERNEL.
You may have to use DEVPATH instead of KERNELS. See your udev manual
The device and symlink rights :
crw------- 1 uucp dialout 166, 4 nov 24 08:14 ttyACM6
lrwxrwxrwx 1 root root 7 nov 10 12:46 myfax01 -> ttyACM6
It works well with Debian Lenny amd64, hylafax-server 4.4.4 from the debian repo, and udev v125