On my rooted phone, I have installed the PPP Widget. When I connect my USB Modem (Tata Photon Plus, HUAWEI EC156), ModeSwitch seems to happen fine.
Device ID on plugging in: 12d1:1505
After ModeSwitch I get : 12d1:140b
Its also indicated similarly in the logs. However, there is no driver found after that. I looked around to see if there are any drivers for this device/ kernal but did not find one. The details are below.
Phone Name: HTC VLE_U (HTC One S)
Android Version: 4.1.1
Kernal version: 3.4.10-g0f5103e (Stock HTC ROM)
The log from the widget is below. Please help
Code: Select all
PPP Widget version 1.3.3
USB_ModeSwitch log from Wed Nov 20 02:46:06 IST 2013
Raw args from udev: 1-1.1/1-1.1:1.0
Using top device dir /sys/bus/usb/devices/1-1.1
----------------
USB values from sysfs:
manufacturer HUAÿWEI TECHNOLOGIES
product HUAWEI Mobile
serial ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/12d1.1505
! matched. Reading config data
devList 1:
config: TargetVendor set to 12d1
config: TargetProductList set to 140b,1506,150f,150a
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 20 -v 12d1 -p 1505 -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.7 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1505
TargetVendor= 0x12d1
TargetProduct= not set
TargetClass= not set
TargetProductList="140b,1506,150f,150a"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
QuantaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
BlackberryMode=0
PantechMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/020 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 12d1:1505
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x08 (out) and 0x87 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUA�WEI TECHNOLOGIES
Product: HUAWEI Mobile
Serial No.: �������������������
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
OK, message successfully sent
Resetting response endpoint 0x87
Resetting message endpoint 0x08
Could not reset endpoint (probably harmless): -34
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Waiting for device file system (2 sec.) ...
Waiting for device file system (3 sec.) ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 12d1:140b (HUAÿWEI TECHNOLOGIES: HUAWEI Mobile)
Device class of first interface is ff
Now checking for bound driver ...
No driver has bound to interface 0 yet
Module loader is /system/bin/insmod
Trying to find and install main driver module "option"
Checking for active driver path: /sys/bus/usb-serial/drivers/option1
Driver not active, try to find module "option"
Can't find module "option"
Existing path found:
No way to use driver "option"
- try falling back to "usbserial"
Module "usb_serial" not found, can't do more here
Driver binding did not work for this device
All done, exiting