Advertisement
Guest User

USB Sticks

a guest
Jul 22nd, 2015
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. dmesg
  2.  
  3. [ 141.749220] usb 1-1.2: new high-speed USB device number 3 using ehci-pci
  4. [ 141.843180] usb 1-1.2: New USB device found, idVendor=abcd, idProduct=1234
  5. [ 141.843184] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  6. [ 141.843185] usb 1-1.2: Product: 1
  7. [ 141.843186] usb 1-1.2: Manufacturer: 1
  8. [ 141.843187] usb 1-1.2: SerialNumber: \xffffffd0\xffffff89\xffffff89
  9. [ 142.028959] usb-storage 1-1.2:1.0: USB Mass Storage device detected
  10. [ 142.029559] scsi6 : usb-storage 1-1.2:1.0
  11. [ 142.029922] usbcore: registered new interface driver usb-storage
  12. [ 143.031591] scsi 6:0:0:0: Direct-Access General 5.00 PQ: 0 ANSI: 2
  13. [ 143.031803] sd 6:0:0:0: Attached scsi generic sg2 type 0
  14. [ 143.035437] sd 6:0:0:0: [sdc] 31539200 512-byte logical blocks: (16.1 GB/15.0 GiB)
  15. [ 143.036173] sd 6:0:0:0: [sdc] Write Protect is off
  16. [ 143.036177] sd 6:0:0:0: [sdc] Mode Sense: 0b 00 00 08
  17. [ 143.036969] sd 6:0:0:0: [sdc] No Caching mode page found
  18. [ 143.036973] sd 6:0:0:0: [sdc] Assuming drive cache: write through
  19. [ 143.040975] sd 6:0:0:0: [sdc] No Caching mode page found
  20. [ 143.040978] sd 6:0:0:0: [sdc] Assuming drive cache: write through
  21. [ 143.041728] sdc: sdc1
  22. [ 143.045898] sd 6:0:0:0: [sdc] No Caching mode page found
  23. [ 143.045901] sd 6:0:0:0: [sdc] Assuming drive cache: write through
  24. [ 143.045904] sd 6:0:0:0: [sdc] Attached SCSI removable disk
  25.  
  26.  
  27. ------------------------------------------------------------------------
  28. hdparm -t /dev/sdc
  29.  
  30. /dev/sdc:
  31. Timing buffered disk reads: 62 MB in 3.04 seconds = 20.42 MB/sec
  32.  
  33. ------------------------------------------------------------------------
  34.  
  35. lsusb -v
  36.  
  37. Bus 001 Device 003: ID abcd:1234 Unknown
  38. Couldn't open device, some information will be missing
  39. Device Descriptor:
  40. bLength 18
  41. bDescriptorType 1
  42. bcdUSB 2.00
  43. bDeviceClass 0 (Defined at Interface level)
  44. bDeviceSubClass 0
  45. bDeviceProtocol 0
  46. bMaxPacketSize0 64
  47. idVendor 0xabcd Unknown
  48. idProduct 0x1234
  49. bcdDevice 1.00
  50. iManufacturer 1
  51. iProduct 2
  52. iSerial 3
  53. bNumConfigurations 1
  54. Configuration Descriptor:
  55. bLength 9
  56. bDescriptorType 2
  57. wTotalLength 32
  58. bNumInterfaces 1
  59. bConfigurationValue 1
  60. iConfiguration 0
  61. bmAttributes 0x80
  62. (Bus Powered)
  63. MaxPower 100mA
  64. Interface Descriptor:
  65. bLength 9
  66. bDescriptorType 4
  67. bInterfaceNumber 0
  68. bAlternateSetting 0
  69. bNumEndpoints 2
  70. bInterfaceClass 8 Mass Storage
  71. bInterfaceSubClass 6 SCSI
  72. bInterfaceProtocol 80 Bulk-Only
  73. iInterface 0
  74. Endpoint Descriptor:
  75. bLength 7
  76. bDescriptorType 5
  77. bEndpointAddress 0x01 EP 1 OUT
  78. bmAttributes 2
  79. Transfer Type Bulk
  80. Synch Type None
  81. Usage Type Data
  82. wMaxPacketSize 0x0200 1x 512 bytes
  83. bInterval 0
  84. Endpoint Descriptor:
  85. bLength 7
  86. bDescriptorType 5
  87. bEndpointAddress 0x81 EP 1 IN
  88. bmAttributes 2
  89. Transfer Type Bulk
  90. Synch Type None
  91. Usage Type Data
  92. wMaxPacketSize 0x0200 1x 512 bytes
  93. bInterval 0
  94.  
  95. ------------------------------------------------------------------------
  96. dd if=tails-i386-1.4.1.iso of=/dev/sdc bs=1M
  97.  
  98. 925+1 records in
  99. 925+1 records out
  100. 970584064 bytes (971 MB) copied, 39,7946 s, 24,4 MB/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement