Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Take all parameters from the command line
- * usb_modeswitch: handle USB devices with multiple modes
- * Version 2.0.1 (C) Josua Dietze 2013
- * Based on libusb1/libusbx
- ! PLEASE REPORT NEW CONFIGURATIONS !
- DefaultVendor= 0x12d1
- DefaultProduct= 0x1505
- HuaweiMode=1
- NeedResponse=0
- InquireDevice enabled (default)
- Look for default devices ...
- found USB ID 8087:0020
- found USB ID 1d6b:0002
- found USB ID 0461:4db6
- found USB ID 12d1:1505
- vendor ID matched
- product ID matched
- found USB ID 138a:0007
- found USB ID 03f0:231d
- found USB ID 8087:0020
- found USB ID 1d6b:0002
- Found devices in default mode (1)
- Access device 005 on bus 001
- Get the current device configuration ...
- OK, got current device configuration (1)
- Use interface number 0
- Use endpoints 0x08 (out) and 0x87 (in)
- Inquire device details; driver will be detached ...
- Looking for active driver ...
- OK, driver detached
- INQUIRY message failed (error -9)
- USB description data (for identification)
- -------------------------
- Manufacturer: HUA?WEI TECHNOLOGIES
- Product: HUAWEI Mobile
- Serial No.: ???????????????????
- -------------------------
- Send old Huawei control message ...
- -> Run lsusb to note any changes. Bye!
- lsusb
- cd /etc/usb_modeswitch.d
- sudo gedit
- DefaultVendor= 0x12d1
- DefaultProduct=0x1505
- MessageContent="55534243123456780000000000000011062000000100000000000000000000"
- sudo usb_modeswitch -I -W -c 12d1:1505
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement