Configuration file:
Patch for usb_modeswitch:usb_modeswitch.d/0408:ea25 wrote:Code: Select all
# Quanta 1K3 TargetVendor= 0x0408 TargetProduct= 0xea26 QuantaMode=1
[patch] Quanta 1K3 supportHello! I've made a patch to support new LTE modem Quanta 1K3.
Configuration file: Patch for usb_modeswitch: Re: [patch] Quanta 1K3 supportWow, thank you!
I suppose you have tried the switching method for the known Quanta device before (see config for 0408:f000) ? Re: [patch] Quanta 1K3 supportYes, it was the first thing I tried. It didn't work, I had to use USB sniffer. Just FYI:
Re: [patch] Quanta 1K3 supportFine, so the new "special procedure" is needed. I will apply the patch, probably adding a little error handling for the "ret" value. Thank you again! If you want you can give me your name (or any nickname of your choice) via PM or mail, and I'll include you as code contributor in the source. Re: [patch] Quanta 1K3 supportThe first version of the patch had error checking. I had to remove it later, because for some reason usb_control_msg() returns LIBUSB_ERROR_TIMEOUT for this specific request. The modem is connected to the router with the modified custom firmware (http://code.google.com/p/wl500g/ - custom kernel with tons of patches + libusb-1.0.8 + usb_modeswitch-1.2.5 patched for libusb1). I can't test the modem with a regular Linux PC (the modem is not mine, I'm just maintaining the modded firmware), so I thought it's better to remove the return code check. The device doesn't disappear after request, it actually sends the reply, then switches after a couple of seconds. I don't know why usb_control_msg() returns LIBUSB_ERROR_TIMEOUT. May be libusb doesn't like the request to read 0 bytes from device? In Windows, the status is STATUS_SUCCESS. Code: Select all
Re: [patch] Quanta 1K3 supportO.K., good to know - I'll just report errors then, without interrupting the process.
Thanks again! Re: [patch] Quanta 1K3 supportI see the Quanta support added in usb-modeswitch 1.2.6, but there is no config file in the latest usb-modeswitch-data.
|