Skip to content

Allow to select symlink for USB device #59

@technyon

Description

@technyon

The Adapter allows to select the USB device via a drop down box. Unfortunately only real devices are listed, not symlinked devices. This is fine as only one serial USB device is plugged in. In my case I have two devices:

/dev/ttyUSB0
/dev/ttyUSB1

Which serial adapter gets assigned to which device is random at boot, so eventually I have to select a different device after boot. This is not optimal.

Suggested alternatives:

  1. Don't use a drop-down but put a textfield there like the iobroker.zigbee adapter does
  2. Include symlinked devices in the dropdown (e. g. everything that's named /dev/tty*, both real and symlinked). Best case this also includes all devices in /dev/serial/by-id/, to prevent tedious fiddling with udev rules.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions