ttyUSB* is not created when my USB modem is attached.
Posted: 06 Jan 2012, 17:14
I'm using D11LC USB modem on Fedora 16 with usb_modeswitch-1.2.0-1.fc16.x86_64 package and 3.1.1-1.fc16.x86_64 kernel,
and when I plug the device in, but /dev/ttyUSB* was not created correctly.
As I tried usb_modeswitch-1.1.7-1.fc15.x86_64.rpm package, /dev/ttyUSB* is created succesfully and works fine.
How can we fix this problem?
I retrieved some error logs,
I also look into /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/ttyUSB0/tty/ttyUSB0,
but i didn't understand what is wrong.
Please tell me if you need more infomation to solve this problem.
Regards.
and when I plug the device in, but /dev/ttyUSB* was not created correctly.
As I tried usb_modeswitch-1.1.7-1.fc15.x86_64.rpm package, /dev/ttyUSB* is created succesfully and works fine.
How can we fix this problem?
I retrieved some error logs,
Code: Select all
cat /var/log/usb_modeswitch_ttyUSB0
USB_ModeSwitch log from Fri Jan 06 23:22:50 JST 2012
* called with --symlink-name: params /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/ttyUSB0/tty/ttyUSB0 *
My name is ttyUSB0
Could not find interface number in path
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/ttyUSB0/tty/ttyUSB0. Aborting
Code: Select all
cat /var/log/usb_modeswitch_ttyUSB1
USB_ModeSwitch log from Fri Jan 06 23:22:50 JST 2012
* called with --symlink-name: params /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.1/ttyUSB1/tty/ttyUSB1 *
My name is ttyUSB1
Could not find interface number in path
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.1/ttyUSB1/tty/ttyUSB1. Aborting
Code: Select all
cat /var/log/usb_modeswitch_ttyUSB2
USB_ModeSwitch log from Fri Jan 06 23:22:50 JST 2012
* called with --symlink-name: params /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.2/ttyUSB2/tty/ttyUSB2 *
My name is ttyUSB2
Could not find interface number in path
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.2/ttyUSB2/tty/ttyUSB2. Aborting
but i didn't understand what is wrong.
Code: Select all
ll
-r--r--r-- 1 root root 4.0K 1月 7 00:09 dev
lrwxrwxrwx 1 root root 0 1月 7 00:09 device -> ../../../ttyUSB0
drwxr-xr-x 2 root root 0 1月 7 00:09 power
lrwxrwxrwx 1 root root 0 1月 7 00:09 subsystem -> ../../../../../../../../../../class/tty
-rw-r--r-- 1 root root 4.0K 1月 7 00:09 uevent
Regards.