bhalash

huawei / usb_modeswitch 2

Jul 31st, 2011
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.86 KB | None | 0 0
  1. [root][usb_modeswitch.d] # usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1\:142d
  2.  
  3. Reading config file: /etc/usb_modeswitch.d/12d1:142d
  4.  
  5.  * usb_modeswitch: handle USB devices with multiple modes
  6.  * Version 1.1.6 (C) Josua Dietze 2010
  7.  * Based on libusb0 (0.1.12 and above)
  8.  
  9.  ! PLEASE REPORT NEW CONFIGURATIONS !
  10.  
  11. DefaultVendor=  0x12d1
  12. DefaultProduct= 0x142d
  13. TargetVendor=   0x12d1
  14. TargetProduct=  0x1401
  15. TargetClass=    not set
  16. TargetProductList=""
  17.  
  18. DetachStorageOnly=0
  19. HuaweiMode=0
  20. SierraMode=0
  21. SonyMode=0
  22. GCTMode=0
  23. KobilMode=0
  24. MessageEndpoint=  not set
  25. MessageContent="55534243123456780000000000000011062000000100000000000000000000"
  26. NeedResponse=0
  27. ResponseEndpoint= not set
  28. Interface=0x00
  29.  
  30. InquireDevice disabled
  31. Success check disabled
  32. System integration mode disabled
  33.  
  34. usb_set_debug: Setting debugging level to 15 (on)
  35. usb_os_find_busses: Found 005
  36. usb_os_find_busses: Found 004
  37. usb_os_find_busses: Found 003
  38. usb_os_find_busses: Found 002
  39. usb_os_find_busses: Found 001
  40. usb_os_find_devices: Found 001 on 005
  41. usb_os_find_devices: Found 001 on 004
  42. usb_os_find_devices: Found 001 on 003
  43. usb_os_find_devices: Found 001 on 002
  44. usb_os_find_devices: Found 022 on 001
  45. skipped 3 class/vendor specific interface descriptors
  46. skipped 2 class/vendor specific interface descriptors
  47. skipping descriptor 0x25
  48. skipped 1 class/vendor specific endpoint descriptors
  49. skipped 1 class/vendor specific interface descriptors
  50. usb_os_find_devices: Found 021 on 001
  51. skipping descriptor 0xB
  52. skipped 1 class/vendor specific endpoint descriptors
  53. skipped 3 class/vendor specific interface descriptors
  54. usb_os_find_devices: Found 003 on 001
  55. skipping descriptor 0xB
  56. skipped 1 class/vendor specific endpoint descriptors
  57. skipped 6 class/vendor specific interface descriptors
  58. skipping descriptor 0x25
  59. skipped 1 class/vendor specific endpoint descriptors
  60. skipped 9 class/vendor specific interface descriptors
  61. usb_os_find_devices: Found 001 on 001
  62. error obtaining child information: Inappropriate ioctl for device
  63. error obtaining child information: Inappropriate ioctl for device
  64. error obtaining child information: Inappropriate ioctl for device
  65.  
  66. Looking for target devices ...
  67.   searching devices, found USB ID 1d6b:0001
  68.   searching devices, found USB ID 1d6b:0001
  69.   searching devices, found USB ID 1d6b:0001
  70.   searching devices, found USB ID 1d6b:0001
  71.   searching devices, found USB ID 05ac:1293
  72.   searching devices, found USB ID 12d1:142d
  73.    found matching vendor ID
  74.   searching devices, found USB ID 0c45:62c0
  75.   searching devices, found USB ID 1d6b:0002
  76.  No devices in target mode or class found
  77. Looking for default devices ...
  78.   searching devices, found USB ID 1d6b:0001
  79.   searching devices, found USB ID 1d6b:0001
  80.   searching devices, found USB ID 1d6b:0001
  81.   searching devices, found USB ID 1d6b:0001
  82.   searching devices, found USB ID 05ac:1293
  83.   searching devices, found USB ID 12d1:142d
  84.    found matching vendor ID
  85.    found matching product ID
  86.    adding device
  87.   searching devices, found USB ID 0c45:62c0
  88.   searching devices, found USB ID 1d6b:0002
  89.  Found devices in default mode, class or configuration (1)
  90. Accessing device 021 on bus 001 ...
  91. Getting the current device configuration ...
  92.  OK, got current device configuration (1)
  93. Using endpoints 0x01 (out) and 0x81 (in)
  94. Using endpoints 0x01 (out) and 0x81 (in)
  95.  
  96. USB description data (for identification)
  97. -------------------------
  98. Manufacturer: Huawei Incorporated
  99.      Product: HUAWEI Mobile Connect
  100.   Serial No.: 1234567890ABCDEF
  101. -------------------------
  102. Looking for active driver ...
  103.  OK, driver found ("option")
  104.  OK, driver "option" detached
  105. Setting up communication with interface 0 ...
  106. Using endpoint 0x01 for message sending ...
  107. Trying to send message 1 to endpoint 0x01 ...
  108.  OK, message successfully sent
  109. Resetting response endpoint 0x81
  110. Resetting message endpoint 0x01
  111. -> Run lsusb to note any changes. Bye.
Advertisement
Add Comment
Please, Sign In to add comment