我试图格式化 USB 密钥以便mkfs.ntfs
在 Windows 上使用它。
当达到 80% 时,我收到一个错误(记不太清了),所以我尝试拔下钥匙并将其放回去。但密钥没有显示在 /dev 中,也没有显示在 中fdisk
,也没有显示在 中lsblk
。
但我在lsusb
输出中看到了它。
如何修复此 USB 密钥以再次使用它?
编辑:当我插入它并查看dmesg
输出时,我看到一个错误:
usb 1-4: device descriptor error -110
因此,设备被检测到,但无法映射到 /dev,我认为这是此错误的原因。我相信有一种(非常低水平的)方法可以修复它。 (该设备列于/sys/class/scsi_host/
)
这是lsusb -v
显示我的设备的方式:
Bus 001 Device 041: ID 1e3d:198a Chipsbank Microelectronics Co., Ltd
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1e3d Chipsbank Microelectronics Co., Ltd
idProduct 0x198a
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
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 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 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 0
这是输出dmesg
:
[123587.211296] usb-storage 1-4:1.0: USB Mass Storage device detected
[123587.212372] scsi host1: usb-storage 1-4:1.0
[123608.945088] usb 1-4: reset high-speed USB device number 40 using xhci_hcd
[123609.072855] usb 1-4: device firmware changed
[123609.073005] usb 1-4: USB disconnect, device number 40
[123609.198787] usb 1-4: new high-speed USB device number 41 using xhci_hcd
[123614.565846] usb 1-4: device descriptor read/64, error -110
[123614.801071] usb 1-4: New USB device found, idVendor=1e3d, idProduct=198a, bcdDevice= 1.00
[123614.801076] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[123614.804628] usb-storage 1-4:1.0: USB Mass Storage device detected
[123614.806186] scsi host1: usb-storage 1-4:1.0
[123636.592122] usb 1-4: reset high-speed USB device number 41 using xhci_hcd