Hi all,
I have an Aircard 320 U Mobile Broadband USB stick.
I'm trying to use usb_modeswitch and I've been reading lots of
discussions. However, all the solutions that have worked so far for the
others, do not work for me. I've tried everything.
Linux Version:
Linux LGwebOSTV 3.16.0-56 #1 SMP PREEMPT Tue Jan 20 15:16:32 KST 2015
armv7l GNU/Linux
Config(0f3d:68aa) file is as follows.
============================================================
# Telstra Aircard
DefaultVendor=0x0f3d
DefaultProduct=0x68aa
TargetVendor=0x0f3d
TargetProduct=0x0257
MessageContent="55534243123456782400000080000685000000240000000000000000
000000"
CheckSuccess=20
============================================================
Here is the main issue:
==============================================================
usb_modeswitch -I -W -c 0f3d\:68aa
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 003 on bus 003
Get the current device configuration ...
OK, got current device configuration (1)
Use interface number 0
Error: can't use storage command in MessageContent with interface 0;
interface class is 255, expected 8. Abort
===============================================================
lsusb:
//Sierra
Bus 001 Device 002: ID 043e:3100
Bus 003 Device 002: ID 0461:4e22
Bus 006 Device 003: ID 0f3d:68aa
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
Bus 005 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0002
Bus 007 Device 001: ID 1d6b:0001
Bus 008 Device 001: ID 1d6b:0001
dmesg for the same is as follows
================================================================
[ 31.486631] CFG80211-ERROR) wl_android_priv_cmd : Unknown PRIVATE
command CHIP_VER - ignored
[ 31.927462] usb 6-1: new high-speed USB device number 2 using ehci-
platform
[ 32.116614] usb 6-1: config 1 has an invalid interface number: 9 but
max is 0
[ 32.123901] usb 6-1: config 1 has no interface number 0
[ 32.132871] usb-storage 6-1:1.9: USB Mass Storage device detected
[ 32.143608] usb-storage: probe of 6-1:1.9 failed with error -5
[ 32.703812] cfg80211: Calling CRDA to update world regulatory domain
[ 35.596788] usb 6-1: USB disconnect, device number 2
[ 36.015024] usb 6-1: new high-speed USB device number 3 using ehci-
platform
[ 36.176360] usb 6-1: config 1 has an invalid interface number: 7 but
max is 4
[ 36.185125] usb 6-1: config 1 has no interface number 2
[ 37.296155] LOGM_Open.668: device opened (1810:0)
[ 37.296285] kadp NOT (02141) KADP_InitSystem : 232 ] KAdaptor
Init [1] PS nyx-cmd, LK 0x85d (Kernel Adaptation Layer for LG115x)
[ 37.313331] kadp NOT (02141) KADP_InitSystem : 249 ] KAdaptor
Init Done. status=0x00000001,0x00000000
[ 37.332121] LOGM_Close.713: device closed (1810:0)
================================================================
I have tried with all the below commands. Still ttyUSB* are not created.
ls dev/ttyUSB* fails to create ttyUSB interfaces.
usb_modeswitch -v 0x0f3d -p 0x68aa -V 0x0f3d -P 0x0257 -M
"55534243123456782400000080000685000000240000000000000000000000"
usb_modeswitch -v 0x0f3d -p 0x68aa -V 0x0f3d -P 0x68aa -M
"55534243123456782400000080000685000000240000000000000000000000"
usb_modeswitch -I -W -c 0f3d\:68aa
usb_modeswitch -v 0f3d -p 68aa -S 1 -W
====================================================================
Also i have tried with the following
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.0.1 (coffee) Josua Dietze 2013
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x0f3d
DefaultProduct= 0x68aa
SierraMode=1
NeedResponse=0
InquireDevice enabled (default)
Look for default devices ...
found USB ID 043e:3100
found USB ID 0f3d:68aa
vendor ID matched
product ID matched
found USB ID 0461:4e22
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 1d6b:0002
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
Found devices in default mode (1)
Access device 003 on bus 006
Get the current device configuration ...
OK, got current device configuration (1)
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
Not a storage device, skip SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Sierra Wireless, Incorporated
Product: AirCard 320U
Serial No.: 357272045121757
-------------------------
Send Sierra control message
-> Run lsusb to note any changes. Bye!
===================================================
The dmesg for Ubuntu system is as follows
=============================================
[ 494.811616] usb 1-1.3: New USB device found, idVendor=1199,
idProduct=0fff
[ 494.811623] usb 1-1.3: New USB device strings: Mfr=3, Product=2,
SerialNumber=4
[ 494.811627] usb 1-1.3: Product: USB MMC Storage
[ 494.811631] usb 1-1.3: Manufacturer: Sierra Wireless, Incorporated
[ 494.811634] usb 1-1.3: SerialNumber: SWOC22905731
[ 494.815052] usb-storage: probe of 1-1.3:1.9 failed with error -5
[ 498.675750] usb 1-1.3: USB disconnect, device number 13
[ 498.874152] usb 1-1.3: new high-speed USB device number 14 using
ehci_hcd
[ 498.967734] usb 1-1.3: config 1 has an invalid interface number: 7
but max is 4
[ 498.967740] usb 1-1.3: config 1 has no interface number 2
[ 498.969571] usb 1-1.3: New USB device found, idVendor=0f3d,
idProduct=68aa
[ 498.969578] usb 1-1.3: New USB device strings: Mfr=3, Product=2,
SerialNumber=4
[ 498.969582] usb 1-1.3: Product: AirCard 320U
[ 498.969586] usb 1-1.3: Manufacturer: Sierra Wireless, Incorporated
[ 498.969589] usb 1-1.3: SerialNumber: 357272045121757
[ 498.971578] sierra 1-1.3:1.0: Sierra USB modem converter detected
[ 498.973204] usb 1-1.3: Sierra USB modem converter now attached to
ttyUSB0
[ 498.973354] sierra 1-1.3:1.1: Sierra USB modem converter detected
[ 498.973786] usb 1-1.3: Sierra USB modem converter now attached to
ttyUSB1
[ 498.973968] sierra 1-1.3:1.3: Sierra USB modem converter detected
[ 498.974433] usb 1-1.3: Sierra USB modem converter now attached to
ttyUSB2
[ 498.974594] sierra 1-1.3:1.4: Sierra USB modem converter detected
[ 498.975061] usb 1-1.3: Sierra USB modem converter now attached to
ttyUSB3
[ 498.977686] sierra_net 1-1.3:1.7: wwan0: register 'sierra_net' at
usb-0000:00:1a.0-1.3, Sierra Wireless USB-to-WWAN Modem,
9e:81:ba:15:03:07
lg@si-japantv:~$
lg@si-japantv:~$ ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
Please provide the solution and suggestions for the same. I suspect that
kernel driver is not supporting this. Also let me know how to support
this in kernel.
Thanks & Regards
Shivakumar BP
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html