Closed hnez closed 9 months ago
Looks okay from the configuration side, but it will break a lot of existing place matches. Is it worth it?
To keep compatibility, we could just add :1.0
to the "default" match under lxatac-usb-ports-p1
.
add
:1.0
to the "default" match underlxatac-usb-ports-p1
.
That's okay with me. Did that just now.
@Bastian-Krause Are you fine with this?
The less-specific
{{sysfs}}
match also matches on{{sysfs}}:1.1
,{{sysfs}}:1.2
,{{sysfs}}:1.3
etc.. This results in labgrid being rightfully confused about udev events for said devices.Match on the more specific
{{sysfs}}:1.0
instead.A side-effect of this change is that the first port is now exported as
lxatac-usb-ports-p1.0
instead oflxatac-usb-ports-p1
.This fixes #66.