![我可以将 /dev/usb/hiddevX 作为存储类型挂载吗?](https://linux22.com/image/1562747/%E6%88%91%E5%8F%AF%E4%BB%A5%E5%B0%86%20%2Fdev%2Fusb%2FhiddevX%20%E4%BD%9C%E4%B8%BA%E5%AD%98%E5%82%A8%E7%B1%BB%E5%9E%8B%E6%8C%82%E8%BD%BD%E5%90%97%EF%BC%9F.png)
我从电视服务提供商那里获得了一个外部硬盘,他们的接收器可以通过 eSATA + USB(y 型电缆)访问。将设备插入我的计算机后,我得到:
这是 dmesg:
[290079.510263] usb 1-1.4: new low-speed USB device number 6 using ehci-pci
[290079.624653] usb 1-1.4: New USB device found, idVendor=0bf0, idProduct=c010
[290079.624657] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[290079.624659] usb 1-1.4: Product: EHD100SD
[290079.624661] usb 1-1.4: Manufacturer: Pace
[290079.624664] usb 1-1.4: SerialNumber: 00000000000000
[290079.630804] hid-generic 0003:0BF0:C010.0008: hiddev2,hidraw6: USB HID v1.11 Device [Pace EHD100SD] on usb-0000:00:1a.0-1.4/input0
udevadm:
$ udevadm info --query=all -n /dev/usb/hiddev2
P: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/usbmisc/hiddev2
N: usb/hiddev2
E: DEVNAME=/dev/usb/hiddev2
E: DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/usbmisc/hiddev2
E: MAJOR=180
E: MINOR=2
E: SUBSYSTEM=usbmisc
这是更多 udevadm 信息:
$ udevadm info -a -p /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/usbmisc/hiddev2
looking at device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/usbmisc/hiddev2':
KERNEL=="hiddev2"
SUBSYSTEM=="usbmisc"
DRIVER==""
这是 USB 信息:
$ lsusb -v -d 0bf0:c010
Bus 001 Device 006: ID 0bf0:c010 Pace Micro Technology PLC
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0bf0 Pace Micro Technology PLC
idProduct 0xc010
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 4
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 51
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
该设备的 cat 没有显示任何内容。
有没有什么办法可以让我不用拆掉封条,不用把内置硬盘放进电脑里就能访问里面的数据?肯定有文件系统。我可能读不到任何数据,但我想至少看到一个device
LUKS 分区或类似的东西……
答案1
HID 是一种用户界面设备。这意味着比键盘和鼠标更多的东西。相当多的设备为其按钮提供 HID 接口。其他设备将其滥用于其他内部技巧和魔术。您的设备也报告为“低速”。
有问题的 Pace 单元通常包含东芝 SATA 设备,因此您应该能够通过 eSATA 端口访问它。