Advertisement
Guest User

usb-modeswitch2

a guest
Oct 12th, 2020
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1.  
  2.  
  3. USB_ModeSwitch log from Mon Oct 12 10:03:12 2020
  4.  
  5. Use global config file: /etc/usb_modeswitch.conf
  6.  
  7.  
  8. Started via upstart
  9. Adjust delay for USB storage devices ...
  10. Current value is higher or equal to 0. Leave it alone
  11. Raw args from udev: /1-4.2
  12.  
  13. Bus ID for device not given by udev.
  14. Trying to determine it from kernel name (1-4.2) ...
  15. Use top device dir /sys/bus/usb/devices/1-4.2
  16.  
  17. USB dir exists: /sys/bus/usb/devices/1-4.2
  18. Warning: USB attribute "serial" not readable.
  19.  
  20. SCSI dir exists: /sys/bus/usb/devices/1-4.2
  21. Warning: SCSI attribute "vendor" not readable.
  22. Warning: SCSI attribute "model" not readable.
  23. Warning: SCSI attribute "rev" not readable.
  24. Check class of first interface ...
  25. Device is in install mode.
  26. Use interface (null)
  27. ----------------
  28. USB values from sysfs:
  29. idVendor 12d1
  30. idProduct 1f01
  31. manufacturer HUAWEI
  32. product HUAWEI HiLink
  33. serial (null)
  34. bNumConfigurations 1
  35. ----------------
  36. bNumConfigurations is 1 - don't check for active configuration
  37. Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
  38. Searching entries named: /usr/share/usb_modeswitch/12d1:1f01*
  39. Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1f01*
  40. SCSI attributes not needed, move on.
  41.  
  42. Extract config 12d1:1f01 from collection /usr/share/usb_modeswitch/configPack.tar.gz
  43. config: TargetVendor set to 12d1
  44. config: TargetProduct set to 14db,14dc
  45. config: NoDriverLoading is set to active
  46. Driver will not be handled by usb_modeswitch
  47. ! matched, now switching
  48. Command to be run:
  49. /usr/sbin/usb_modeswitch -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -v 12d1 -p 1f01 2>&1
  50.  
  51. Verbose debug output of usb_modeswitch and libusb follows
  52. (Note that some USB errors are expected in the process)
  53. --------------------------------
  54.  
  55. Read config file: /run/usb_modeswitch/current_cfg
  56.  
  57. * usb_modeswitch: handle USB devices with multiple modes
  58. * Version 2.1.1 (C) Josua Dietze 2014
  59. * Based on libusb1/libusbx
  60.  
  61. ! PLEASE REPORT NEW CONFIGURATIONS !
  62.  
  63. DefaultVendor= 0x12d1
  64. DefaultProduct= 0x1f01
  65. TargetVendor= 0x12d1
  66. TargetProductList="14db,14dc"
  67. MessageContent="55534243123456780000000000000011062000000101000100000000000000"
  68. NeedResponse=0
  69. Success check enabled, max. wait time 20 seconds
  70. System integration mode enabled
  71.  
  72. Look for target devices ...
  73. found USB ID 1d6b:0003
  74. found USB ID 12d1:1f01
  75. vendor ID matched
  76. found USB ID 1a40:0101
  77. found USB ID 0a46:1269
  78. found USB ID 04d9:1702
  79. found USB ID 05e3:0610
  80. found USB ID 1d6b:0002
  81. No devices in target mode or class found
  82. Look for default devices ...
  83. found USB ID 1d6b:0003
  84. found USB ID 12d1:1f01
  85. vendor ID matched
  86. product ID matched
  87. found USB ID 1a40:0101
  88. found USB ID 0a46:1269
  89. found USB ID 04d9:1702
  90. found USB ID 05e3:0610
  91. found USB ID 1d6b:0002
  92. Found devices in default mode (1)
  93. Access device 007 on bus 001
  94. Use interface number 0
  95. Use endpoints 0x01 (out) and 0x81 (in)
  96.  
  97. USB description data (for identification)
  98. -------------------------
  99. Manufacturer: HUAWEI
  100. Product: HUAWEI HiLink
  101. Serial No.: not provided
  102. -------------------------
  103. Looking for active driver ...
  104. OK, driver detached
  105. Set up interface 0
  106. Use endpoint 0x01 for message sending ...
  107. Trying to send message 1 to endpoint 0x01 ...
  108. OK, message successfully sent
  109. Reset response endpoint 0x81
  110. Could not reset endpoint (probably harmless): -99
  111. Reset message endpoint 0x01
  112. Could not reset endpoint (probably harmless): -99
  113.  
  114. Check for mode switch (max. 20 times, once per second) ...
  115. Search for target devices ...
  116. found USB ID 1d6b:0003
  117. found USB ID 1a40:0101
  118. found USB ID 0a46:1269
  119. found USB ID 04d9:1702
  120. found USB ID 05e3:0610
  121. found USB ID 1d6b:0002
  122. Search for target devices ...
  123. found USB ID 1d6b:0003
  124. found USB ID 1a40:0101
  125. found USB ID 0a46:1269
  126. found USB ID 04d9:1702
  127. found USB ID 05e3:0610
  128. found USB ID 1d6b:0002
  129. Search for target devices ...
  130. found USB ID 1d6b:0003
  131. found USB ID 1a40:0101
  132. found USB ID 0a46:1269
  133. found USB ID 04d9:1702
  134. found USB ID 05e3:0610
  135. found USB ID 1d6b:0002
  136. Search for target devices ...
  137. found USB ID 1d6b:0003
  138. found USB ID 1a40:0101
  139. found USB ID 0a46:1269
  140. found USB ID 04d9:1702
  141. found USB ID 05e3:0610
  142. found USB ID 1d6b:0002
  143. Search for target devices ...
  144. found USB ID 12d1:14db
  145. vendor ID matched
  146. product ID matched
  147. found USB ID 1d6b:0003
  148. found USB ID 1a40:0101
  149. found USB ID 0a46:1269
  150. found USB ID 04d9:1702
  151. found USB ID 05e3:0610
  152. found USB ID 1d6b:0002
  153.  
  154. Found target device, open it
  155.  
  156. Found target device 008 on bus 001
  157.  
  158. Target device description data
  159. -------------------------
  160. Manufacturer: HUAWEI
  161. Product: HUAWEI HiLink
  162. Serial No.: not provided
  163. -------------------------
  164. Found correct target device
  165.  
  166. Mode switch succeeded. Bye!
  167.  
  168. ok:
  169. --------------------------------
  170. (end of usb_modeswitch output)
  171.  
  172. USB dir exists: /sys/bus/usb/devices/1-4.2
  173. Warning: USB attribute "serial" not readable.
  174. Doing no driver check or bind for this device
  175.  
  176. All done, exit
  177.  
  178.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement