Ubuntu Pastebin

Paste from mogaj at Fri, 23 Oct 2015 11:16:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$ lsusb
Bus 003 Device 002: ID 8087:8000 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b40a Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 19d2:0017 ZTE WCDMA Technologies MSM 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
--------------------------------------------------------------
>>>>>/etc/usb_modeswitch.conf file content<<<<<

DefaultVendor=0x19d2
DefaultProduct=0x0017

TargetVendor=0x19d2
TargetProduct=0x0017

StandardEject=1
MessageEndpoint=0x01
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
#MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
#MessageContent="5553424312345678000000000000061b000000030000000000000000000000" 
NeedResponse=1

---------------------------------------------------------------------
$ sudo usb_modeswitch -c /etc/usb_modeswitch.conf
Look for target devices ...
   product ID matched
 Found devices in target mode or class (1)
Look for default devices ...
   product ID matched
 Found devices in default mode (1)
Access device 006 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
Error: can't use storage command in MessageContent with interface 0;
       interface class is 255, expected 8. Abort
Download as text