This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB modem not working on Android 2.3

Hi sir,

  I am Keerthi from Tenet Technetronics. I have problem in bringing up my USB modem on Beagleboard-xm using Android 2.3 OS. I have tried out the steps
  mentioned in the below link

  http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.1_PortingGuides#USB_3G_Modem

  But still I have problem in accessing internet using my MTS blaze (ZTE) modem. I have pasted the logcat of "dmesg" and "/system/xbin/usb_modeswitch -I
 -W -c /system/xbin/usb_modeswitch.conf" commands for your reference.

  Logcat of  /system/xbin/usb_modeswitch -I -W -c /system/xbin/usb_modeswitch.conf command


Reading config file: /system/xbin/usb_modeswitch.conf

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.9 (C) Josua Dietze 2011
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0xfff5
TargetVendor=   0x19d2
TargetProduct=  0xfff1
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=0x0a
MessageContent="”5553424312345678c00000008000069f010000000000000000000000000000″"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check disabled
System integration mode disabled

Logcat of dmesg command

<6>enabling adb
<6>adb_open
<6>adb_release
<6>adb_open
<6>warning: `rild' uses 32-bit capabilities (legacy support in use)
<6>android_usb gadget: high speed config #1: android
<6>usb 1-2.4: USB disconnect, address 5
<6>usb 1-2.4: new low speed USB device using ehci-omap and address 6
<6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
<6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-2.4: Product: U+P Mouse
<6>usb 1-2.4: Manufacturer: SIGMACH1P
<6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input5
<6>generic-usb 0003:1C4F:0003.0004: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
<6>usb 1-2.4: USB disconnect, address 6
<6>usb 1-2.4: new low speed USB device using ehci-omap and address 7
<6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
<6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-2.4: Product: U+P Mouse
<6>usb 1-2.4: Manufacturer: SIGMACH1P
<6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input6
<6>generic-usb 0003:1C4F:0003.0005: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
<6>usb 1-2.4: USB disconnect, address 7
<6>usb 1-2.4: new low speed USB device using ehci-omap and address 8
<6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
<6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-2.4: Product: U+P Mouse
<6>usb 1-2.4: Manufacturer: SIGMACH1P
<6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input7
<6>generic-usb 0003:1C4F:0003.0006: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
<6>usb 1-2.4: USB disconnect, address 8
<6>usb 1-2.4: new low speed USB device using ehci-omap and address 9
<6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
<6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-2.4: Product: U+P Mouse
<6>usb 1-2.4: Manufacturer: SIGMACH1P
<6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input8
<6>generic-usb 0003:1C4F:0003.0007: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
<6>usb 1-2.2: new full speed USB device using ehci-omap and address 10
<6>usb 1-2.2: New USB device found, idVendor=19d2, idProduct=fff5
<6>usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>usb 1-2.2: Product: USB Storage
<6>usb 1-2.2: Manufacturer: ZTE, Incorporated
<6>usb 1-2.2: SerialNumber: 000000000002
<6>scsi0 : usb-storage 1-2.2:1.0
<5>scsi 0:0:0:0: CD-ROM            ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
<5>scsi 0:0:0:1: Direct-Access     ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
<5>sd 0:0:0:1: [sda] Attached SCSI removable disk

   I think I have to set some rules in udev folder  but I dont find a udev folder in my filesystem.

  Please help me out in this context as I have to do project using this module.

  Hoping a quick reply from your side.

  Thanks,
   Keerthi
  Tenet Technetronics
  • Hi Keerthi,

    Are you able to see the /dev/ttyUSB* entry getting created?

  • Hi ,

       No, it is not created.Here is the my dmesg output.

    Logcat of dmesg command

    <6>enabling adb
    <6>adb_open
    <6>adb_release
    <6>adb_open
    <6>warning: `rild' uses 32-bit capabilities (legacy support in use)
    <6>android_usb gadget: high speed config #1: android
    <6>usb 1-2.4: USB disconnect, address 5
    <6>usb 1-2.4: new low speed USB device using ehci-omap and address 6
    <6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
    <6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    <6>usb 1-2.4: Product: U+P Mouse
    <6>usb 1-2.4: Manufacturer: SIGMACH1P
    <6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input5
    <6>generic-usb 0003:1C4F:0003.0004: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
    <6>usb 1-2.4: USB disconnect, address 6
    <6>usb 1-2.4: new low speed USB device using ehci-omap and address 7
    <6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
    <6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    <6>usb 1-2.4: Product: U+P Mouse
    <6>usb 1-2.4: Manufacturer: SIGMACH1P
    <6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input6
    <6>generic-usb 0003:1C4F:0003.0005: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
    <6>usb 1-2.4: USB disconnect, address 7
    <6>usb 1-2.4: new low speed USB device using ehci-omap and address 8
    <6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
    <6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    <6>usb 1-2.4: Product: U+P Mouse
    <6>usb 1-2.4: Manufacturer: SIGMACH1P
    <6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input7
    <6>generic-usb 0003:1C4F:0003.0006: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
    <6>usb 1-2.4: USB disconnect, address 8
    <6>usb 1-2.4: new low speed USB device using ehci-omap and address 9
    <6>usb 1-2.4: New USB device found, idVendor=1c4f, idProduct=0003
    <6>usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    <6>usb 1-2.4: Product: U+P Mouse
    <6>usb 1-2.4: Manufacturer: SIGMACH1P
    <6>input: SIGMACH1P U+P Mouse as /devices/platform/ehci-omap.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input8
    <6>generic-usb 0003:1C4F:0003.0007: input: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-ehci-omap.0-2.4/input0
    <6>usb 1-2.2: new full speed USB device using ehci-omap and address 10
    <6>usb 1-2.2: New USB device found, idVendor=19d2, idProduct=fff5
    <6>usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    <6>usb 1-2.2: Product: USB Storage
    <6>usb 1-2.2: Manufacturer: ZTE, Incorporated
    <6>usb 1-2.2: SerialNumber: 000000000002
    <6>scsi0 : usb-storage 1-2.2:1.0
    <5>scsi 0:0:0:0: CD-ROM            ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
    <5>scsi 0:0:0:1: Direct-Access     ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
    <5>sd 0:0:0:1: [sda] Attached SCSI removable disk


      In normal Linux we  write device rules (major/minor number) in udev, so same thing should we do it in Android?

    Thanks,

    Keerthi

  • Hi,

    if your device is detected it will create a node under /dev like /dev/ttyUSB0 try to enable the drivers needed in kernel

    cd kernel

    make menuconfig

    and enable the drivers in usb serial converter support  for testing first enable all possible options and check if the node is created under /dev

    Regards,

    Dibin