logitech-flow-kvm icon indicating copy to clipboard operation
logitech-flow-kvm copied to clipboard

`/dev/hidraw*` device can change, and when it does, device disconnection/reconnections will not be detected

Open coddingtonbear opened this issue 2 years ago • 1 comments

Proposal:

  • Instead of using /dev/hidraw* devices, use device serial numbers for identifying particular devices.
  • When necessary (periodically?) check for new receivers to listen to.
  • Cache the receiver ID and device number for matched devices to improve startup time.

coddingtonbear avatar Dec 28 '22 21:12 coddingtonbear

As this is a python project how about instead using pyudev to discover the right device?

superm1 avatar Mar 31 '25 20:03 superm1