Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
gajahlemu
Posts: 1
Joined: 10 Aug 2011, 05:06
Contact:

REQ:Smartfren ZTE AC 682 device (vendor=19d2 product=ffde)

Post by gajahlemu » 10 Aug 2011, 06:02

Hi
I have an EVDO rev. A modem which work well using TP-Link 3G modem router TL-MR3420, which i know that using usb_modeswitch
But when i try to use my own openwrt box modeswitch doesn't have any configuration yet for this modem device vendor=19d2 product=ffde

Here is my modem device information are
root@OpenWrt:~# lsusb
Bus 001 Device 012: ID 19d2:ffde ONDA Communication S.p.A.

Code: Select all

root@OpenWrt:~# lsusb -v
Bus 001 Device 012: ID 19d2:ffde ONDA Communication S.p.A.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x19d2 ONDA Communication S.p.A.
  idProduct          0xffde
  bcdDevice            0.00
  iManufacturer           1 China TeleCom
  iProduct                2 CBP7.0
  iSerial                11 ÿÿÿÿÿÿÿÿÿÿ
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 CONF1
    bmAttributes         0x40
      (Missing must-be-set bit!)
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              9 Data Interface3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered
root@OpenWrt:~# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 12 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=ffde Rev= 0.00
S: Manufacturer=China TeleCom
S: Product=CBP7.0
S: SerialNumber=ÿÿÿÿÿÿÿÿÿÿ
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
root@OpenWrt:~# dmesg | tail
usb 1-1: USB disconnect, device number 10
usb 1-1: new full speed USB device number 11 using ar71xx-ehci
usb 1-1: device descriptor read/64, error -71
usb 1-1: USB disconnect, device number 11
eth1: link up (100Mbps/Full duplex)
eth1: link down
eth1: link up (100Mbps/Full duplex)
usb 1-1: new full speed USB device number 12 using ar71xx-ehci
usb 1-1: device descriptor read/64, error -71
Please please help me out.
Thanks in advance.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 25 Aug 2011, 18:07

Sorry for the late reply, failed to notice this topic before ...

It should be fairly easy to add support for your device. There is a limited number of things to try.

Get the latest data package, unpack and see the folder "usb_modeswitch.d". For the first attempts, it's more convenient to use the command line, taking the "MessageContent" string from the respective config file; you can provide it with the "-M" parameter.

Example with the string from "19d2:ffe6":

Code: Select all

# usb_modeswitch -I -v 19d2 -p ffde -M "5553424330f4cf8124000000800108df200000000000000000000000000000"
If that does not work, replace the long string with the one from files "19d2:fff5" or "19d2:0013". It's highly likely that one of those three will do the trick.
Check with lsusb each time. Replug before each new attempt.

I am not sure how usb_modeswitch is called automatically on OpenWRT when plugging in the stick. You may have to figure that out once you found the correct "MessageContent".


taufik
Posts: 2
Joined: 29 Feb 2012, 15:14
Location: Indonesia
Contact:

Post by taufik » 29 Feb 2012, 15:19

You can use this...

Code: Select all

# usb_modeswitch -v 19d2 -p ffde -V 19d2 -P ffdd -M "55534243123456780000000000000011060000000000000000000000000000"
on OpenWRT, you need to modify /etc/modules.d/60-usb-serial first (and reboot before you execute the command above)

Code: Select all

usb_serial vendor=0x19d2 product=0xffdd

Post Reply