Comment 7 for bug 1561821

Revision history for this message
Pierre Equoy (pieq) wrote :

Every time a USB input device is plugged, even if it's the same device and it's plugged in the same USB port, its path (e.g. '/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/0003:06CB:2970.0004/input/input12') changes. More specifically, the last part (inputXX) changes.

In previous versions of the Checkbox provider, we were using this input number as part of the job ID, which avoided the "duplicate job id" error.

An option to do so with the new version of plainbox is to add a parameter (e.g. `input`) to the list of Udev properties available (name, bus, interface, product_id, etc.) for input devices. We could then use this parameter in the job ID and avoid the duplicate job ID exception.