You are not logged in.

#1 2012-07-29 15:08:48

mjainit
Member
Registered: 2012-07-29
Posts: 2

3G USB modem problem with usb_modeswithch

Hi,


                           Recently I bought new USB 3g modem. Modem is HSPADataCard LW 272 (Teracom). Here is my lsusb output after connecting the modem,

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6409 Microdia Webcam
Bus 002 Device 004: ID 230d:0101 

The last one is my modem. I have installed modemmanager. I'm trying to switch mode using usb_modeswitch, Here is the output,

Command :- sudo usb_modeswitch -v 230d -p 0101 -u 3


Output :-

Looking for default devices ...
   found matching product ID
Getting the current device configuration ...
OK, got current device configuration (1)
Found device in default mode, class or configuration (1)
Accessing device 004 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x07 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HSPA
   Model String: CD-ROM
Revision String: 0000
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HSPADataCard
     Product: HSPADataCardA
  Serial No.: 8444311594054030
-------------------------
Changing configuration to 3 ...
Device is busy, trying to detach kernel driver
Looking for active driver ...
No driver found. Either detached before or never attached
Device is busy, trying to detach kernel driver
Looking for active driver ...
No driver found. Either detached before or never attached
Device is busy, trying to detach kernel driver
Looking for active driver ...
No driver found. Either detached before or never attached
Device is busy, trying to detach kernel driver
Looking for active driver ...
No driver found. Either detached before or never attached
Setting the configuration returned error -2. Trying to continue
-> Run lsusb to note any changes. Bye.


If I'm not wrong then my modem is mounted as usb storage device with kernel driver scsi_mod , But usb_modeswitch is not able to find driver to detach the device.

Can someone tell how to switch mode or detect my modem?

Offline

#2 2012-07-29 16:36:47

real
Member
Registered: 2012-07-18
Posts: 31

Re: 3G USB modem problem with usb_modeswithch

See,
       https://bbs.archlinux.org/viewtopic.php?id=145311
       https://bbs.archlinux.org/viewtopic.php?id=145608

follow the link , and at last , to load the driver of the modem. type  the command
#usb_modeswitch -c /etc/usb_modeswitch.d/230d:0101 
#modprobe usbserial vendor=0x230d product=0x_____                               <------------------------< (Type  your switched modem product  id   in fill in the blanks).
Finally,  install  , wvdial...... configure "wvdial"......   and  connect   your  modem  with  wvdial.

Last edited by real (2012-07-29 16:43:41)

Offline

#3 2012-07-29 17:36:11

mjainit
Member
Registered: 2012-07-29
Posts: 2

Re: 3G USB modem problem with usb_modeswithch

This is what I'm doing exactly, I have pasted my output in first post. However I have created 230d:0101 file and added configurations and the same output as in above post. Do you have any ideas?, I'm also using BSNL 3G, Teracom LW272 modem

Offline

Board footer

Powered by FluxBB