Hi,
i have Samsung Galaxy Note II (GT-N7100, Kernel 3.0.31-590308) and vodafone usb internet (K3520-Z) and i would like to use your solution how use this internet trought usb otg. I tryed to install drivers (copied to specified directory) but that works only in half way, i havent driver not found error now but connection still could not be done (connect->connecting->disconnected). Could you help me pls?
usb_modeswitch.log:
USB_ModeSwitch log from Thu Jan 10 18:53:41 CET 2013
Raw args from udev: 2-1/2-1:1.0
Using top device dir /sys/bus/usb/devices/2-1
----------------
USB values from sysfs:
manufacturer Qualcomm, Incorporated
product USB ZTE Storage
serial P671M8VDF_MS
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/19d2.2000
! matched. Reading config data
devList 1:
config: TargetVendor set to 19d2
config: TargetProductList set to 0001,0002,0015,0016,0017,0031,0037,0052,0055,0061,0063,0064,0066,0091,0108,0117,0128,0157,1402,2002,2003
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 2 -g 2 -v 19d2 -p 2000 -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.4 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0x2000
TargetVendor= 0x19d2
TargetProduct= not set
TargetClass= not set
TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0061,0063,0064,0066,0091,0108,0117,0128,0157,1402,2002,2003"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 002/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 19d2:2000
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 0x09 (out) and 0x89 (in)
USB description data (for identification)
-------------------------
Manufacturer: Qualcomm, Incorporated
Product: USB ZTE Storage
Serial No.: P671M8VDF_MS
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x09 for message sending ...
Trying to send message 1 to endpoint 0x09 ...
OK, message successfully sent
Reading the response to message 1 (CSW) ...
OK, response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x09 ...
OK, message successfully sent
Reading the response to message 2 (CSW) ...
Response reading got error -6
Device is gone, skipping any further commands
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.) ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Reading attributes ...
Warning: USB attribute "2-1:1.0/bInterfaceClass" not found
Essential attributes are missing, continue wait ...
Target config not matching - current values are
2-1:1.0/bInterfaceClass:
bConfigurationValue: 1
bNumConfigurations: 1
busnum: 2
devnum: 3
idProduct: 0055
idVendor: 19d2
manufacturer: Qualcomm, Incorporated
product: ZTE CDMA Technologies MSM
serial:
Mode switching may have failed. Exiting
ppp.log:
Using port ttyACM0 for connection
I hope U have now all information needed
PS: sorry for my english, im not from english speaking country