Hi All,
*Android Version:* 2.3.4
*Kernel Version :* 3.1
*USB Modem:* Huawei e1731
I want to know where do we add the entries corresponding to the USB Modem,
so that the usb_modeswitch can detect and load the driver.
I have pasted below the log by running the usb_modeswitch..
kernel config followed is
usb-mass storage is disabled
------------------------------------------------------------------------
Device Drivers --->
[*] USB support --->
<*> USB Serial Converter support --->
[*] USB Generic Serial Driver
<*> USB driver for GSM and CDMA modems
Device Drivers --->
[*] Network device support --->
<*> PPP (point-to-point protocol) support
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
<*> PPP Deflate compression
<*> PPP BSD-Compress compression
________________________________________________
I have pasted below the logcat of the *usb_modeswitch* command
--------------------------------------------------------------------------------------------
# *mount -t usbfs usbfs /proc/bus/usb*
# */system/xbin/usb_modeswitch -I -W -c /system/xbin/usb_modeswitch.conf*
Reading config file: /system/xbin/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= not set
TargetClass= not set
TargetProductList="1001,1406,140b,140c,1412,141b,1436,14ac"
DetachStorageOnly=1
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=0x01
MessageContent="55534243000000000000000000000011060000000100000000000000000000"
NeedResponse=1
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Looking for target devices ...
searching devices, found USB ID 12d1:1446
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 12d1:1446
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Only detaching storage driver for switching ...
Looking for active driver ...
USB error: could not get bound driver: No data available
No driver found. Either detached before or never attached
Warning: ignoring MessageContent. Can't combine with special mode
Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Original device still present after the timeout
Mode switch most likely failed. Bye.
------------------------------------------------------------------------------------------------
*usb_modeswitch.conf* contents
----------------------------------------------------------------------
########################################################
# Huawei, newer modems
DefaultVendor= 0x12d1
DefaultProduct=0x1446
TargetVendor= 0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,1436,14ac"
CheckSuccess=20
MessageContent="55534243000000000000000000000011060000000100000000000000000000"
-------------------------------------------------------------------------------------
Can anyone tell me what might be wrong ????????
--------------
Regards
Vikas KM
http://arowboat.org
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting