linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

Too broad matching of USBSerialPorts #66

Closed Bastian-Krause closed 9 months ago

Bastian-Krause commented 9 months ago

When exporting separate USBSerialPorts on the same USB port, the match of the lxatac-usb-ports-px USBSerialPort should be '{{sysfs}}:1.0' instead of '{{sysfs}}'. Otherwise udev events might confuse labgrid leading to the same ttyUSBx being used for both lxatac-usb-ports-px and lxatac-usb-ports-px.y. https://github.com/linux-automation/meta-lxatac/blob/6b6cbb54276bfbc4152603fab02a4ee7ed7f28cd/meta-lxatac-software/recipes-devtools/python/python3-labgrid/configuration.yaml#L89-L102