Created
August 30, 2017 14:18
-
-
Save kanazux/43ee806344f793ff434d9f5de4a36ce7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@current:~ # usbconfig -d ugen1.3 | |
ugen1.3: <HUAWEI HUAWEI Mobile> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) | |
root@current:~ # usbconfig -d ugen1.3 dump_device_desc | |
ugen1.3: <HUAWEI HUAWEI Mobile> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) | |
bLength = 0x0012 | |
bDescriptorType = 0x0001 | |
bcdUSB = 0x0200 | |
bDeviceClass = 0x0000 <Probed by interface class> | |
bDeviceSubClass = 0x0000 | |
bDeviceProtocol = 0x0000 | |
bMaxPacketSize0 = 0x0040 | |
idVendor = 0x12d1 | |
idProduct = 0x14fe | |
bcdDevice = 0x0102 | |
iManufacturer = 0x0002 <HUAWEI> | |
iProduct = 0x0001 <HUAWEI Mobile> | |
iSerialNumber = 0x0000 <no string> | |
bNumConfigurations = 0x0001 | |
root@current:~ # usb_modeswitch -v 0x12d1 -p 0x14fe | |
Look for default devices ... | |
product ID matched | |
Found devices in default mode (1) | |
Access device 003 on bus 001 | |
Get the current device configuration ... | |
Current configuration number is 1 | |
Use interface number 0 | |
with class 8 | |
USB description data (for identification) | |
------------------------- | |
Manufacturer: HUAWEI | |
Product: HUAWEI Mobile | |
Serial No.: not provided | |
------------------------- | |
Warning: no switching method given. See documentation | |
-> Run lsusb to note any changes. Bye! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment