OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: bobbythomas on January 27, 2017, 09:21:37 am

Title: Cannot switch modes on Huawei E3372 LTE USB stick.
Post by: bobbythomas on January 27, 2017, 09:21:37 am
Hi all,

I'm having a hard time bringing up this USB stick. I am on a virtualized environment and was able to map the device to OPNSense VM, and OPNSense detects the devices.

Quote
root@firewall:~ # usbconfig -d ugen1.2 dump_device_desc
ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1, cfg=1 md=HOST spd=FULL (12Mbps) pwr=ON (2mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x00ff
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x157c
  bcdDevice = 0x0102
  iManufacturer = 0x0001  <HUAWEI_MOBILE>
  iProduct = 0x0002  <HUAWEI_MOBILE>
  iSerialNumber = 0x0003  <0123456789ABCDEF>
  bNumConfigurations = 0x0002

I tried switching the modes using the usb_modeswitch, but keep on getting the below error.

Quote
root@firewall:~ # usb_modeswitch -v 12d1 -p 157c -J -W -R
Take all parameters from the command line


 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.4.0 (C) Josua Dietze 2016
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x157c
HuaweiNewMode=1

Look for default devices ...
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0627:0001
  found USB ID 12d1:157c
   vendor ID matched
   product ID matched
 Found devices in default mode (1)
Access device 002 on bus 001
Get the current device configuration ...
Current configuration number is 2
Use interface number 0
Error: message endpoint not given or found. Abort

The LTE USB stick is a carrier unlocked Huawei Hailink device. Any help is highly appreciated.

Thanks in advance.
Regards,
Bobby Thomas.
Title: Re: Cannot switch modes on Huawei E3372 LTE USB stick.
Post by: bobbythomas on February 01, 2017, 10:40:26 am
Bump..

Sent from my ONE A2003 using Tapatalk

Title: Re: Cannot switch modes on Huawei E3372 LTE USB stick.
Post by: moi16201 on June 25, 2017, 09:39:02 am
hi
have you solved you problem ?
if yes who

y thanks