我买了一个 4 端口 USB 2.0 集线器,它出现了一些奇怪的行为,当我将其插入时,我收到以下 dmesg 输出:
[141240.998931] usb 1-5: new full-speed USB device number 32 using xhci_hcd
[141241.163396] usb 1-5: New USB device found, idVendor=0000, idProduct=0606
[141241.163398] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[141241.163400] usb 1-5: Product: USB Hub 2.0
[141241.163401] usb 1-5: Manufacturer: USB Hub 2.0
[141241.163528] usb 1-5: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[141241.163769] hub 1-5:1.0: USB hub found
[141241.163856] hub 1-5:1.0: 5 ports detected
[141241.425732] usb 1-5.5: new full-speed USB device number 33 using xhci_hcd
[141241.499233] usb 1-5.5: New USB device found, idVendor=0000, idProduct=0606
[141241.499235] usb 1-5.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[141241.499236] usb 1-5.5: Product: USB Hub 2.0
[141241.499237] usb 1-5.5: Manufacturer: USB Hub 2.0
[141241.499306] usb 1-5.5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[141241.499953] input: USB Hub 2.0 USB Hub 2.0 as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.5/1-5.5:1.0/0003:0000:0606.0006/input/input11
[141241.500017] hid-generic 0003:0000:0606.0006: input,hiddev0,hidraw4: USB HID v1.10 Keyboard [USB Hub 2.0 USB Hub 2.0] on usb-0000:00:14.0-5.5/input0
如您所见,它检测到一个 5 端口 USB 集线器,但该集线器只有 4 个物理端口。检测到 USB 集线器后,它会检测到连接到端口 5 上的集线器的新 HID 设备。
我是否应该扔掉这个集线器,或者它注册键盘有什么原因吗?对我来说,这看起来有点可疑。我的意思是,理论上制造商可以使用这个键盘下载恶意软件。