May 26 19:03:48 Midgard kernel: [36412.160010] usb 2-4: USB disconnect, device number 29May 26 19:03:48 Midgard upowerd[1172]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4
May
我在使用udev时遇到了一个问题:我想在Ubuntu16.04上实现USB热插拔,所以我编写了一个udev规则如下:
KERNEL=="sd[a-z]*", ACTION=="add",SUBSYSTEM4/2-4:1.0/host2/target2:0:0/2:0:0:0/block/sdb and /sys/devices/pci0000:00/0000:00:15.0/usb2/2-4<