missin ttyUSB* after usb_switchmode
Posted: 11 Jan 2013, 17:30
Hello all,
I have a Vodafone K3770 dongle which I am trying to integrate to an embedded linux system running an ARM. I have taken the usb_switchmode from buildroot
I have prepared a conf file as below
Currently I implement everything manually.
Once I run usb_modeswitch, here is the log output that I get
I can see that the switching operation is successful
However no ttyUSB* files are generated under /dev folder.
Can you please guide me about this problem?
Thanks a lot in advance for your help.
Rifat
I have a Vodafone K3770 dongle which I am trying to integrate to an embedded linux system running an ARM. I have taken the usb_switchmode from buildroot
Code: Select all
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.5 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS ! Code: Select all
#####################################
# Huawei, newer modems
DisableSwitching=0
EnableLoggin=1
#HuaweiMode=1
#DetachStorageOnly=1
DefaultVendor=0x12d1
DefaultProduct=0x14d1
TargetVendor=0x12d1
TargetProduct=0x1c05
CheckSuccess=20
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
Code: Select all
# mount usbfs -t usbfs /proc/bus/usb/
# insmod ./usbserial.ko vendor=0x12d1 product=0x1c05
# ./usb_modeswitch -W -c ./usb_modeswitch.conf
Code: Select all
Reading config file: ./usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.5 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x14d1
TargetVendor= 0x12d1
TargetProduct= 0x1c05
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled
Looking for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 12d1:14d1
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0424:2517
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 0bda:8176
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 12d1:14d1
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0424:2517
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 0bda:8176
Found device in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x0f (out) and 0x8f (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: Vodafone
Model String: CD ROM (Huawei)
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: Vodafone Mobile Broadband (Huawei)
Serial No.: not provided
-------------------------
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
libusb:error [op_clear_halt] clear_halt failed error -1 errno 71
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
Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0424:2517
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 0bda:8176
Searching for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0424:2517
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 0bda:8176
Searching for target devices ...
searching devices, found USB ID 12d1:1c05
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 0424:2517
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 1199:68a3
searching devices, found USB ID 0bda:8176
Found target device, now opening
Found target device 003 on bus 001
Target device description data
-------------------------
Manufacturer: HUAWEI
Product: Vodafone Mobile Broadband (Huawei)
Serial No.: not provided
-------------------------
Found correct target device
Mode switch succeeded. Bye.
I can see that the switching operation is successful
Code: Select all
# lsusb
Bus 001 Device 003: ID 12d1:1c05
Can you please guide me about this problem?
Thanks a lot in advance for your help.
Rifat