Skip to content

Instantly share code, notes, and snippets.

@Ash-Crow Ash-Crow/Afripedia Keys
Last active Dec 19, 2015

Embed
What would you like to do?
== Clef A (marche sur les deux types de plug) ==
$ tail -f /var/log/syslog
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.966549] usb 3-2.7: new high-speed USB device number 22 using xhci_hcd
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987187] usb 3-2.7: New USB device found, idVendor=090c, idProduct=1000
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987199] usb 3-2.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987205] usb 3-2.7: Product: Flash Disk
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987211] usb 3-2.7: Manufacturer: USB
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987216] usb 3-2.7: SerialNumber: FBH1209070704880
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987484] usb 3-2.7: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.987493] usb 3-2.7: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Jul 11 11:02:27 wmfr-sylvain kernel: [149073.988628] scsi14 : usb-storage 3-2.7:1.0
Jul 11 11:02:27 wmfr-sylvain mtp-probe: checking bus 3, device 22: "/sys/devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/usb3/3-2/3-2.7"
Jul 11 11:02:27 wmfr-sylvain mtp-probe: bus: 3, device: 22 was not an MTP device
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.314981] scsi 14:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 4
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.317501] sd 14:0:0:0: Attached scsi generic sg4 type 0
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.317833] sd 14:0:0:0: [sdd] 62652416 512-byte logical blocks: (32.0 GB/29.8 GiB)
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.318323] sd 14:0:0:0: [sdd] Write Protect is off
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.318333] sd 14:0:0:0: [sdd] Mode Sense: 43 00 00 00
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.318808] sd 14:0:0:0: [sdd] No Caching mode page present
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.318814] sd 14:0:0:0: [sdd] Assuming drive cache: write through
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.325177] sd 14:0:0:0: [sdd] No Caching mode page present
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.325192] sd 14:0:0:0: [sdd] Assuming drive cache: write through
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.325982] sdd: sdd1
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.327819] sd 14:0:0:0: [sdd] No Caching mode page present
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.327832] sd 14:0:0:0: [sdd] Assuming drive cache: write through
Jul 11 11:02:28 wmfr-sylvain kernel: [149075.327842] sd 14:0:0:0: [sdd] Attached SCSI removable disk
Jul 11 11:02:29 wmfr-sylvain udisksd[2388]: Mounted /dev/sdd1 at /media/sylvain/KIWIX on behalf of uid 1000
Jul 11 11:02:30 wmfr-sylvain dbus[926]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Jul 11 11:02:30 wmfr-sylvain dbus[926]: [system] Successfully activated service 'org.freedesktop.hostname1'
$ cat /sys/bus/usb/devices/3-2.7/version
2.00
$ lsusb
[...]
Bus 003 Device 036: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
[...]
$ lsusb -v
[...]
Bus 003 Device 036: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
idProduct 0x1000 64MB QDI U2 DISK
bcdDevice 11.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
[...]
== Clef B (marche sur les Dreamplug uniquement) ==
$ tail -f /var/log/syslog
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.898818] usb 3-2.2: new high-speed USB device number 23 using xhci_hcd
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919448] usb 3-2.2: New USB device found, idVendor=090c, idProduct=3261
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919459] usb 3-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919466] usb 3-2.2: Product: Flash Disk
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919471] usb 3-2.2: Manufacturer: USB
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919476] usb 3-2.2: SerialNumber: FBI1302250706793
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919697] usb 3-2.2: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.919700] usb 3-2.2: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Jul 11 11:05:57 wmfr-sylvain kernel: [149283.920686] scsi15 : usb-storage 3-2.2:1.0
Jul 11 11:05:57 wmfr-sylvain mtp-probe: checking bus 3, device 23: "/sys/devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/usb3/3-2/3-2.2"
Jul 11 11:05:57 wmfr-sylvain mtp-probe: bus: 3, device: 23 was not an MTP device
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.512238] scsi 15:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 4
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.514427] sd 15:0:0:0: Attached scsi generic sg5 type 0
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.514446] sd 15:0:0:0: [sde] 62652416 512-byte logical blocks: (32.0 GB/29.8 GiB)
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.514916] sd 15:0:0:0: [sde] Write Protect is off
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.514925] sd 15:0:0:0: [sde] Mode Sense: 43 00 00 00
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.515393] sd 15:0:0:0: [sde] No Caching mode page present
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.515402] sd 15:0:0:0: [sde] Assuming drive cache: write through
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.522345] sd 15:0:0:0: [sde] No Caching mode page present
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.522350] sd 15:0:0:0: [sde] Assuming drive cache: write through
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.523414] sde: sde1
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.524855] sd 15:0:0:0: [sde] No Caching mode page present
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.524868] sd 15:0:0:0: [sde] Assuming drive cache: write through
Jul 11 11:05:59 wmfr-sylvain kernel: [149285.524879] sd 15:0:0:0: [sde] Attached SCSI removable disk
Jul 11 11:05:59 wmfr-sylvain udisksd[2388]: Mounted /dev/sde1 at /media/sylvain/USB DISK on behalf of uid 1000
$ cat /sys/bus/usb/devices/3-2.2/version
2.00
$ lsusb
[...]
Bus 003 Device 037: ID 090c:3261 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
[...]
$ lsusb -v
[...]
Bus 003 Device 037: ID 090c:3261 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
idProduct 0x3261
bcdDevice 11.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.