Hi,
I'm trying to connect the ZTE MF626 modem on the embedded linux. I have managed to switch its mode from ZeroCD to normal (modem), but the usbserial driver is not being claimed by the modem interface. Here are the steps which I am doing:
1. install usb-serial driver
Code:
root@zeus root# insmod /lib/modules/2.6.16.28-arcom2-1-zeus/kernel/drivers/usb/serial/usbserial.ko
root@zeus root# lsmod
Module Size Used by
usbserial 25392 0
...
2. plugging in modem
Code:
root@zeus root# SCSI subsystem initialized
Vendor: ZTE Model: MMC Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
sd 0:0:0:0: Attached scsi removable disk sda
3. last lines of the
dmesg output:
Code:
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
usb 1-1: new full speed USB device using pxa27x-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: ZTE Model: MMC Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: device scan complete
sd 0:0:0:0: Attached scsi removable disk sda
4.
Code:
root@zeus root# more /proc/bus/usb/devices
...
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=0031 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE CDMA Technologies MSM
S: SerialNumber=1234567890ABCDEF
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=5ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Code:
root@zeus root# lsusb
Bus 001 Device 002: ID 19d2:0031
Bus 001 Device 001: ID 0000:0000
Accordingly to the info on the website:
http://ru.gentoo-wiki.com/wiki/MF626, interface 3 (line marked red above) should say 'Driver=usbserial_generic'.
Is there any way to force to use this driver by this interface? What else I can do to make it working?
I'm using kernel version:
root@zeus root# uname -r
2.6.16.28-arcom2-1-zeus
By the way, usb_modeswitch did not work for me ('segmentation fault' when running on the embedded system). I have followed the 'Switching off the ZeroCD' chapter on the website given above. it is in russian, but I managed to 'decode' it somehow
Some help would be VEEERRRY appreciated.
Regards,
gromot (LUK)