I recently purchased a laptop, Acer Aspire 5742G, and /dev/gsmmodem no longer gets created.
I have tested with usb-modeswitch 1.1.7 and 1.1.9, 2.6.32.x and 2.6.39.x kernels, and three different USB modems. On any of my other computers, /dev/gsmmodem gets created for all three modems.
On this laptop, modem switching occurs ok, and I get /dev/ttyUSB*, and get the "switch success" message in the log. But, no /dev/gsmmodem.
Note, I also tested with both the old libusb0 and libusb0-compat libraries.
Josh, could you advise me how I could manually test this? I have just now plugged in my Vodafone modem, which uses 'option' driver, and the log creates these files:
usb_modeswitch_2-1.3:1.0
usb_modeswitch_ttyUSB0
usb_modeswitch_ttyUSB1
usb_modeswitch_ttyUSB2
usb_modeswitch_ttyUSB3
usb_modeswitch_ttyUSB4
However, all of the *ttyUSB* files have the same thing in them, for example, file usb_modeswitch_ttyUSB4:
---------------------------------
Code:
USB_ModeSwitch log from Wed Sep 07 18:39:34 GMT-8 2011
* called with --symlink-name: params /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.4/ttyUSB4/tty/ttyUSB4 *
My name is ttyUSB4
Could not find interface number in path
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.4/ttyUSB4/tty/ttyUSB4. Aborting
---------------------------------
Does this information help?:
---------------------------------------
Code:
# cd /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.4/ttyUSB4/tty/ttyUSB4
# ls
dev device power subsystem uevent
# cat /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.4/ttyUSB4/tty/ttyUSB4/uevent
MAJOR=188
MINOR=4
DEVNAME=ttyUSB4
# cat /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.4/ttyUSB4/tty/ttyUSB4/dev
188:4
---------------------------------------
Regards,
Barry Kauler