Author Message

<  The PPP Widget Family for Android  ~  Huawei e353 & Acer Iconia A500 & CM10 ROM = OK

PostPosted: Tue Jul 31, 2012 7:58 am Reply with quote
Posts: 1 Joined: Tue Jul 31, 2012 7:47 am

Just wanted to report that the above configuration is working fine for me :)
The exact ROM I used is this ... ?t=1792618

PPPWidget version was 0.96.

below are the modeswitch logs, not sure if there is anything interesting in there though...

USB_ModeSwitch log from Mon Jul  30 22:40:14 EEST 2012

Raw args from udev: 1-1/1-1:1.0

Using global config file: /sdcard/pppwidget/usb_modeswitch.conf
Using top device dir /sys/bus/usb/devices/1-1
USB values from sysfs:
  manufacturer    HUAWEI
  product    HUAWEI Mobile
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.14fe
! matched. Reading config data
config: TargetVendor set to 12d1
config: TargetProduct set to 1506
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1

Logger is: /system/bin/log
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 8 -v 12d1 -p 14fe -f $configBuffer

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.3 (C) Josua Dietze 2011
 * Based on libusb0 (0.1.12 and above)


DefaultVendor=  0x12d1
DefaultProduct= 0x14fe
TargetVendor=   0x12d1
TargetProduct=  0x1506
TargetClass=    not set

MessageEndpoint=  not set
ResponseEndpoint= not set

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled

Use given bus/device number: 001/008 ...
Looking for default devices ...
 bus/device number matched
  searching devices, found USB ID 12d1:14fe
   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 first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)

USB description data (for identification)
Manufacturer: HUAWEI
     Product: HUAWEI Mobile
  Serial No.: not provided
Looking for active driver ...
 OK, driver found; name unknown, limitation of libusb1
 OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x0f for message sending ...
Trying to send message 1 to endpoint 0x0f ...
 OK, message successfully sent
Resetting response endpoint 0x8f
 Could not reset endpoint (probably harmless): -34
Resetting message endpoint 0x0f
 Could not reset endpoint (probably harmless): -6
 Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.

(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.) ...
 Waiting for device file system (4 sec.) ...
 Waiting for device file system (5 sec.) ...
 Waiting for device file system (6 sec.) ...
 Reading attributes ...
 All attributes matched
Mode switching was successful, found 12d1:1506 (HUAWEI: HUAWEI Mobile)
Now checking for bound driver ...
 driver has bound, device is known
Checking for AVOID_RESET_QUIRK kernel attribute

All done, exiting


USB_ModeSwitch log from Mon Jul  30 22:40:23 EEST 2012

Raw args from udev: 1-1/portcheck

Using global config file: /sdcard/pppwidget/usb_modeswitch.conf
Using top device dir /sys/bus/usb/devices/1-1
SymLinkCheck called with /sys/bus/usb/devices/1-1/1-1:1.0/ttyUSB0

 My name is ttyUSB0

Checking my endpoints ...
 in /sys/bus/usb/devices/1-1/1-1:1.0
  checking ep_8f ...
  ep_8f has interrupt transfer type

--> I am an interrupt port

--> No interrupt interface below me

Adding port tag file "app_tmp/ttyUSB0" and return

Thanks for the great widget, nice to be able to use my tablet with 3g stick also if needed.

PostPosted: Tue Jul 31, 2012 9:31 pm Reply with quote
Site Admin Posts: 6469 Joined: Sat Nov 03, 2007 12:30 am
Thanks for the report and the "working" log !

It may help others to see how it should look like ...


Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
2 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum