so the compat version in /usr/local/lib is used, but it still fails:
USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE LTE Technologies MSM
Serial No.: MF820DFFFS111111
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
searching devices, found USB ID 19d2:0166
found matching vendor ID
searching devices, found USB ID 1d6b:0003
No new devices in target mode or class found
I opened bug #991004 to have the compat package in Ubuntu. Then installed it manually as described there. Now I have:
$ ldd /usr/sbin/ usb_modeswitch lib/libusb- 0.1.so. 4 (0xb7742000) linux-gnu/ libc.so. 6 (0xb759d000) linux-gnu/ libusb- 1.0.so. 0 (0xb758c000) linux-gnu/ librt.so. 1 (0xb7583000) linux-gnu/ libpthread. so.0 (0xb7568000)
linux-gate.so.1 => (0xb7769000)
libusb-0.1.so.4 => /usr/local/
libc.so.6 => /lib/i386-
libusb-1.0.so.0 => /lib/i386-
/lib/ld-linux.so.2 (0xb776a000)
librt.so.1 => /lib/i386-
libpthread.so.0 => /lib/i386-
so the compat version in /usr/local/lib is used, but it still fails:
USB description data (for identification) ------- ------- ---- ------- ------- ----
-------
Manufacturer: ZTE,Incorporated
Product: ZTE LTE Technologies MSM
Serial No.: MF820DFFFS111111
-------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
searching devices, found USB ID 19d2:0166
found matching vendor ID
searching devices, found USB ID 1d6b:0003
No new devices in target mode or class found