root@prod:/home/bernie22# journalctl -b |grep usbguard
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 1d6b:0002 serial "0000:00:1a.0" name "EHCI Host Controller" hash "ej1WVedyLyUMLiQxzEcrwbY45zCodwV85Kzy7hm2Gv4=" parent-hash "e/RW0mMbM+TSFQxpRiMEfL7/3RJfKVdqffBm9F5qA+E=" via-port "usb1" with-interface 09:00:00 with-connect-type ""' device.system_name='/devices/pci0000:00/0000:00:1a.0/usb1' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1a.0/usb1' target.new='allow' device.rule='allow id 1d6b:0002 serial "0000:00:1a.0" name "EHCI Host Controller" hash "ej1WVedyLyUMLiQxzEcrwbY45zCodwV85Kzy7hm2Gv4=" parent-hash "e/RW0mMbM+TSFQxpRiMEfL7/3RJfKVdqffBm9F5qA+E=" via-port "usb1" with-interface 09:00:00 with-connect-type ""' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 1d6b:0002 serial "0000:00:1d.0" name "EHCI Host Controller" hash "WHBTxNaEoMGNSNc31KpFNSAeFF4HbLMQgSBqORlC6S8=" parent-hash "jW2YTPWRLeQOE7Q8I2f0pdN13zFYXVQGQoNmr1gDZgg=" via-port "usb2" with-interface 09:00:00 with-connect-type ""' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2' target.new='allow' device.rule='allow id 1d6b:0002 serial "0000:00:1d.0" name "EHCI Host Controller" hash "WHBTxNaEoMGNSNc31KpFNSAeFF4HbLMQgSBqORlC6S8=" parent-hash "jW2YTPWRLeQOE7Q8I2f0pdN13zFYXVQGQoNmr1gDZgg=" via-port "usb2" with-interface 09:00:00 with-connect-type ""' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 1d6b:0002 serial "0000:04:00.0" name "xHCI Host Controller" hash "BXm6Ov4dzFbPriLpYudpl67dp9SgJJT5pwPN7LhqJjs=" parent-hash "D0MEcVDqbxzrI/95DfOet6VpAU9txvdJFQ1AzeKPWbo=" via-port "usb3" with-interface 09:00:00 with-connect-type ""' device.system_name='/devices/pci0000:00/0000:00:1c.7/0000:04:00.0/usb3' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1c.7/0000:04:00.0/usb3' target.new='allow' device.rule='allow id 1d6b:0002 serial "0000:04:00.0" name "xHCI Host Controller" hash "BXm6Ov4dzFbPriLpYudpl67dp9SgJJT5pwPN7LhqJjs=" parent-hash "D0MEcVDqbxzrI/95DfOet6VpAU9txvdJFQ1AzeKPWbo=" via-port "usb3" with-interface 09:00:00 with-connect-type ""' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 1d6b:0003 serial "0000:04:00.0" name "xHCI Host Controller" hash "XOOKeCPcN88u5oekvj+iABZYHhFfAta/CGPZchhkFgA=" parent-hash "D0MEcVDqbxzrI/95DfOet6VpAU9txvdJFQ1AzeKPWbo=" via-port "usb4" with-interface 09:00:00 with-connect-type ""' device.system_name='/devices/pci0000:00/0000:00:1c.7/0000:04:00.0/usb4' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1c.7/0000:04:00.0/usb4' target.new='allow' device.rule='allow id 1d6b:0003 serial "0000:04:00.0" name "xHCI Host Controller" hash "XOOKeCPcN88u5oekvj+iABZYHhFfAta/CGPZchhkFgA=" parent-hash "D0MEcVDqbxzrI/95DfOet6VpAU9txvdJFQ1AzeKPWbo=" via-port "usb4" with-interface 09:00:00 with-connect-type ""' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 8087:0024 serial "" name "" hash "kv3v2+rnq9QvYI3/HbJ1EV9vdujZ0aVCQ/CGBYIkEB0=" parent-hash "ej1WVedyLyUMLiQxzEcrwbY45zCodwV85Kzy7hm2Gv4=" via-port "1-1" with-interface 09:00:00 with-connect-type "hardwired"' device.system_name='/devices/pci0000:00/0000:00:1a.0/usb1/1-1' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1a.0/usb1/1-1' target.new='allow' device.rule='allow id 8087:0024 serial "" name "" hash "kv3v2+rnq9QvYI3/HbJ1EV9vdujZ0aVCQ/CGBYIkEB0=" parent-hash "ej1WVedyLyUMLiQxzEcrwbY45zCodwV85Kzy7hm2Gv4=" via-port "1-1" with-interface 09:00:00 with-connect-type "hardwired"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 8087:0024 serial "" name "" hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" parent-hash "WHBTxNaEoMGNSNc31KpFNSAeFF4HbLMQgSBqORlC6S8=" via-port "2-1" with-interface 09:00:00 with-connect-type "hardwired"' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1' target.new='allow' device.rule='allow id 8087:0024 serial "" name "" hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" parent-hash "WHBTxNaEoMGNSNc31KpFNSAeFF4HbLMQgSBqORlC6S8=" via-port "2-1" with-interface 09:00:00 with-connect-type "hardwired"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 05e3:0610 serial "" name "USB2.0 Hub" hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" parent-hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" via-port "2-1.1" with-interface { 09:00:01 09:00:02 } with-connect-type "unknown"' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1' target.new='allow' device.rule='allow id 05e3:0610 serial "" name "USB2.0 Hub" hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" parent-hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" via-port "2-1.1" with-interface { 09:00:01 09:00:02 } with-connect-type "unknown"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 03f0:231d serial "" name "HP Integrated Module" hash "o2Ff+wQo38hp/biQ9nd3Zjdlzpv4mLdGE0hgKmdw6Ws=" parent-hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" via-port "2-1.6" with-interface { e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 ff:ff:ff fe:01:01 } with-connect-type "hardwired"' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6' target.new='block' device.rule='allow id 03f0:231d serial "" name "HP Integrated Module" hash "o2Ff+wQo38hp/biQ9nd3Zjdlzpv4mLdGE0hgKmdw6Ws=" parent-hash "Zx7v0FMQEjScKSAFENAiobEs1OGPPB0YWR+yXDCVE04=" via-port "2-1.6" with-interface { e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 e0:01:01 ff:ff:ff fe:01:01 } with-connect-type "hardwired"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 03f0:0024 serial "" name "HP Basic USB Keyboard" hash "GrQtjgorAzY96RAccilDVHRx8Bl4qrhcbM4y3whQZGk=" parent-hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" via-port "2-1.1.1" with-interface 03:01:01 with-connect-type "unknown"' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1' target.new='allow' device.rule='allow id 03f0:0024 serial "" name "HP Basic USB Keyboard" hash "GrQtjgorAzY96RAccilDVHRx8Bl4qrhcbM4y3whQZGk=" parent-hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" via-port "2-1.1.1" with-interface 03:01:01 with-connect-type "unknown"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.rule='allow id 0461:4d17 serial "" name "USB Optical Mouse" hash "T0J3r0rPvpheU/3060BTwQiRczv7HfiL7msdRRxqTko=" parent-hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" via-port "2-1.1.3" with-interface 03:01:02 with-connect-type "unknown"' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.3' type='Device.Present'
Mai 26 06:50:31 prod usbguard-daemon[828]: uid=0 pid=811 result='SUCCESS' device.system_name='/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.3' target.new='allow' device.rule='allow id 0461:4d17 serial "" name "USB Optical Mouse" hash "T0J3r0rPvpheU/3060BTwQiRczv7HfiL7msdRRxqTko=" parent-hash "7UipSO8V0Ra6Qqig2KqmYyhiMdroBZAGuGBVX00qNPs=" via-port "2-1.1.3" with-interface 03:01:02 with-connect-type "unknown"' target.old='allow' type='Policy.Device.Update'
Mai 26 06:50:31 prod usbguard-daemon[828]: Cannot resolve realpath for /sys/bus/usb/devices/../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0
Mai 26 06:50:31 prod usbguard-daemon[828]: Cannot resolve realpath for /sys/bus/usb/devices/../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1
Mai 26 06:50:31 prod usbguard-daemon[828]: Cannot resolve realpath for /sys/bus/usb/devices/../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.2
Mai 26 06:50:31 prod usbguard-daemon[828]: Cannot resolve realpath for /sys/bus/usb/devices/../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.3
Mai 26 06:50:31 prod usbguard-daemon[828]: Ignoring unknown UEvent action: sysfs_devpath=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6 action=change
root@prod:/home/bernie22#
this particular USB HW tree gets assembled wrong for /sys tree
root@prod:/home/bernie22# lsusb -tvvv
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/sys/bus/usb/devices/usb4 /dev/bus/usb/004/001
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/sys/bus/usb/devices/usb3 /dev/bus/usb/003/001
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/sys/bus/usb/devices/usb2 /dev/bus/usb/002/001
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
/sys/bus/usb/devices/2-1 /dev/bus/usb/002/002
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
ID 05e3:0610 Genesys Logic, Inc. Hub
/sys/bus/usb/devices/2-1.1 /dev/bus/usb/002/003
|__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 03f0:0024 HP, Inc KU-0316 Keyboard
/sys/bus/usb/devices/2-1.1.1 /dev/bus/usb/002/005
|__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 0461:4d17 Primax Electronics, Ltd Optical Mouse
/sys/bus/usb/devices/2-1.1.3 /dev/bus/usb/002/006
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/sys/bus/usb/devices/usb1 /dev/bus/usb/001/001
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
/sys/bus/usb/devices/1-1 /dev/bus/usb/001/002