HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] faxaddmodem - how to specify new USB modem?
Hello:
I am running Hylafax 4.4.4 under Ubuntu 8.04 server.
I have 4 usb ports and a Zoom USB modem configured and working.
I have a Multitech USB modem that I want to configure as a spare in case the Zoom USB modem dies.
I removed the Zoom modem, inserted the Multitech modem, and issued: lsusb, with the result:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 06e0:f107 Multi-Tech Systems, Inc. MT5634ZBA-USB-V92 MultiModemUSB
Bus 001 Device 001: ID 0000:0000
My question is: I don't know what modem identifier to give to faxaddmodem when it asks:
Serial port that modem is connected to [ttyS0]?
Should it be ttyACM0? ttyACM1? ttyUSB0? something else?
With the Zoom modem installed (and the Multitech NOT installed), running ps -lax shows getty running on ttyACM0.
Another question: Is the following a good idea to implement:
I am aware that device file names change when different USB devices are plugged in and removed. Once I
understand what usb device name I am dealing with, I plan on using udev to create a symbolic link to the modem.
With just the Multitech modem plugged in, and issuing: udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0)
I get:
looking at device '/devices/pci0000:00/0000:00:10.0/usb1/1-1/1-1:2.0/tty/ttyACM0':
KERNEL=="ttyACM0"
SUBSYSTEM=="tty"
DRIVER==""
ATTR{dev}=="166:0"
looking at parent device '/devices/pci0000:00/0000:00:10.0/usb1/1-1/1-1:2.0/tty':
KERNELS=="tty"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:10.0/usb1/1-1/1-1:2.0':
KERNELS=="1-1:2.0"
SUBSYSTEMS=="usb"
DRIVERS=="cdc_acm"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="01"
ATTRS{bInterfaceClass}=="02"
ATTRS{bInterfaceSubClass}=="02"
ATTRS{bInterfaceProtocol}=="01"
ATTRS{modalias}=="usb:v06E0pF107d0100dc02dsc00dp00ic02isc02ip01"
ATTRS{interface}=="Multi-Tech Win95 Modem USB"
ATTRS{bmCapabilities}=="7"
looking at parent device '/devices/pci0000:00/0000:00:10.0/usb1/1-1':
KERNELS=="1-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{dev}=="189:1"
ATTRS{configuration}=="Data Interface"
ATTRS{bNumInterfaces}==" 2"
ATTRS{bConfigurationValue}=="2"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}=="400mA"
ATTRS{urbnum}=="16"
ATTRS{idVendor}=="06e0"
ATTRS{idProduct}=="f107"
ATTRS{bcdDevice}=="0100"
ATTRS{bDeviceClass}=="02"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="2"
ATTRS{bMaxPacketSize0}=="8"
ATTRS{speed}=="12"
ATTRS{busnum}=="1"
ATTRS{devnum}=="2"
ATTRS{version}==" 1.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Multi-Tech Systems, Inc."
ATTRS{product}=="MultiModemUSB"
Thanks for your help....
-John