so I bought one of those 4G Wifi modems you can find all over Aliexpress.
It initially reports as 05c6:f000 and then mode_switches to 05c6:6000 which is usb_serial.
I can setup a 3g connection via ppp and max out at around 10mbit.
BUT this thing is a true LTE modem, when using it in WIFI mode (plugging it into a usb power socket) it's connecting via 4G and does ~ 150Mbit. I didn't test the dongle mode under Windows, cause I don't want Chinese Spyware.
Anyone also experimenting with those (cheap) devices? Any clue how to switch this thing into LTE mode?
I already wrote my modem is perfectly switching to :6000 and working, it's just not very fast in that legacy mode.
Alternative I found would be :9000 but it doesn't switch to that mode.
There must be some undocumented additional high speed mode in which it presents itself as cdc-ether or something like that.
That is not what we need to know.
Do cat /sys/kernel/debug/usb/devices, switch to another configuration (if possible), repeat.
Publish your results, then we will see what interfaces like QMI, MBIM, etc are available with your modem.
I suppose that should be addressed to usb_modeswitch rather then OpenWrt.
You can also try to request the module documentation from the seller and see if there is an AT command to change the configuration.
BTW, one more interesting thread found: 3g/4g USB dongle not showing up You can try the eject method mentioned there.
If I understand it correctly -K is just a shortcut command for a standard eject message.
I fiddled a bit more on a linux box, basically there are 2 messages out there on the internet:
6000 is working fine and I end up with a serial modem which maxes out at around 10 mbit.
9000 does nothing. although both report
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
Is there a documentation somewhere what the message content actually is. If I understand that maybe I can try to fiddle around with the message itself
But the actual meaning in this context is defined by the modem firmware. So you are out of luck unless the vendor documented it, and very few do that. AFAIK, only Huawei have documented theirs.
1b is "START STOP UNIT", which is the command used for eject
dCBWSignature 55534243 "USBC"
dCBWTag 08306384 arbitrary
dCBWTransLen c0000000 12
bmCBWFlags 80 data in from device
bCBWLUN 00 LUN 0
bCBWCBLen 06
CBWCB 71030000000000000000000000000000
I don't know what 71 is. It's also a bit strange to expect data from the device in a switching command. Not that it matters as long as the firmware and switching code agrees on the expected behaviour.
I have just check on windows machine that modem is switch to :6000 and I can setup ordinary dialup connection on modem port(COM3 in my case) without manufacturer software and I get good speed(about 20Mbps like it should) on OpenWRT is about 1Mbps).
Is it possible that usb serial drivers limits the badu rate of serial connection?