LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-17-2009, 08:26 AM   #1
gromot
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
/proc/bus/usb/devices and unassigned driver


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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone help me decode the content of the /proc/bus/usb/devices ?? noodlesoup Linux - General 1 06-24-2009 04:39 AM
proc/bus/usb/devices no driver knobby67 Linux - Hardware 8 06-19-2008 03:43 AM
where is /proc/bus/usb/devices???? mrchaos Linux - Software 4 12-04-2005 10:26 PM
question on /proc/bus/usb/devices file ryan_a_hH Linux - Hardware 2 01-21-2005 01:49 PM
/proc/bus/usb/devices missing shellcode Linux - General 11 02-24-2004 10:15 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration