Huawei K4203 modem on Arch.

This is a cheap, locked modem you pick up and then throw away once you have used the data. It is better than the hotel wifi. The trouble is that it is recognised as a data stick by Arch. The cure was defined by some ubuntu people, and works for antergos or arch.

sudo usb_modeswitch -v 12d1 -p 1f1c -W -I -M 55534243123456780000000000000011062000000101000100000000000000
Take all parameters from the command line


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

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1f1c
MessageContent="55534243123456780000000000000011062000000101000100000000000000"

Look for default devices ...
  found USB ID 8087:8000
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 0bda:0129
  found USB ID 04f2:b469
  found USB ID 04ca:300d
  found USB ID 12d1:1f1c
   vendor ID matched
   product ID matched
  found USB ID 046d:c52b
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 013 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 8
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: Vodafone(Huawei)
     Product: HUAWEI Mobile
  Serial No.: FFFFFFFFFFFFFFFF
-------------------------
Looking for active driver ...
 OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes), status 0
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!

Leave a Reply