![每当将 USB 插入 Linux PC 时,打印机都会打开,但在 Windows 10 中不会打开](https://linux22.com/image/1592652/%E6%AF%8F%E5%BD%93%E5%B0%86%20USB%20%E6%8F%92%E5%85%A5%20Linux%20PC%20%E6%97%B6%EF%BC%8C%E6%89%93%E5%8D%B0%E6%9C%BA%E9%83%BD%E4%BC%9A%E6%89%93%E5%BC%80%EF%BC%8C%E4%BD%86%E5%9C%A8%20Windows%2010%20%E4%B8%AD%E4%B8%8D%E4%BC%9A%E6%89%93%E5%BC%80.png)
正如标题所述,我对这种现象有一个疑问。每当我将随机的 USB 插入 Linux 笔记本电脑上的随机 USB 端口时,我的打印机就会开始移动其内部。每次插入时都会发生这种情况。我在同一个网络上有另一台运行 Windows 10 的计算机,但是,当我在那台机器上插入 USB 时,打印机什么也没发生,我试过的任何其他设备也没有发生任何变化。此外,这种情况在我插入它的那一刻就发生了,甚至在我编写 mount 命令之前。有人能告诉我这种现象吗?这看起来很奇怪。
此输出直接取自 journalctl:
Command: journalctl --since "2019-06-28 15:00:00"
-- Logs begin at Sun 2018-01-28 16:58:17 CET, end at Tue 2019-05-28 17:44:19 CEST. --
-- No entries --
这是我多次插入和拔出 USB 后的 dmesq 输出:
Command: dmesg
[342423.846402] sdb: sdb1
[342423.855949] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[342492.677063] usb 1-2: USB disconnect, device number 68
[342512.983535] usb 1-1: new high-speed USB device number 69 using xhci_hcd
[342513.135137] usb 1-1: New USB device found, idVendor=13fe, idProduct=3100
[342513.135140] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[342513.135142] usb 1-1: Product: STORE N GO
[342513.135144] usb 1-1: Manufacturer: Verbatim
[342513.135145] usb 1-1: SerialNumber: 07B40B08943D8FBB
[342513.135582] usb-storage 1-1:1.0: USB Mass Storage device detected
[342513.136825] scsi host4: usb-storage 1-1:1.0
[342514.180457] scsi 4:0:0:0: Direct-Access Verbatim STORE N GO PMAP PQ: 0 ANSI: 0 CCS
[342514.181036] sd 4:0:0:0: Attached scsi generic sg1 type 0
[342515.900508] sd 4:0:0:0: [sdb] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
[342515.904270] sd 4:0:0:0: [sdb] Write Protect is off
[342515.904275] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[342515.908022] sd 4:0:0:0: [sdb] No Caching mode page found
[342515.908032] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[342515.938679] sdb: sdb1
[342515.947882] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[342819.613569] python2[17356]: segfault at 18 ip 00007f86d41d4e4a sp 00007ffe571435c0 error 4 in libgdk-x11-2.0.so.0.2400.32[7f86d417c000+b0000]
[343061.089108] usb 1-1: USB disconnect, device number 69
[343674.493639] usb 1-1: new high-speed USB device number 70 using xhci_hcd
[343674.649304] usb 1-1: New USB device found, idVendor=13fe, idProduct=3100
[343674.649310] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[343674.649314] usb 1-1: Product: STORE N GO
[343674.649317] usb 1-1: Manufacturer: Verbatim
[343674.649320] usb 1-1: SerialNumber: 07B40B08943D8FBB
[343674.650025] usb-storage 1-1:1.0: USB Mass Storage device detected
[343674.650733] scsi host4: usb-storage 1-1:1.0
[343675.710754] scsi 4:0:0:0: Direct-Access Verbatim STORE N GO PMAP PQ: 0 ANSI: 0 CCS
[343675.711348] sd 4:0:0:0: Attached scsi generic sg1 type 0
[343677.455222] sd 4:0:0:0: [sdb] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
[343677.459010] sd 4:0:0:0: [sdb] Write Protect is off
[343677.459015] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[343677.462723] sd 4:0:0:0: [sdb] No Caching mode page found
[343677.462732] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[343677.494533] sdb: sdb1
[343677.503280] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[343738.750009] usb 1-1: USB disconnect, device number 70