Page 1 of 1

List USB (ttyACM) devices by id

Posted: Thursday 09 March 2017 13:04
by mikkel75
Hi,

Please add support in the tty/serial/usb drop-down lists to select from id's instead of 'hard' ttyACM0/1/2...
The list in /dev/serial/by-id/ contains links to the appropriate ttyACMx.

This helps when the device is moved to another slot and thus can change ttyACMx -> ttyACMy and make Domoticz fail to connect.
Using ids this problem is removed.

Thanks,
Mikkel

Re: List USB (ttyACM) devices by id

Posted: Thursday 09 March 2017 13:59
by dervogt
Hi,

how about taking a different approach on that issue and assigning fixed ID's to the USB devices ?

There is a nice wiki article about that:
http://domoticz.com/wiki/PersistentUSBDevices

Re: List USB (ttyACM) devices by id

Posted: Friday 17 March 2017 13:23
by mikkel75
Hi,

Yeah I guess that could work too, but just not as user friendly :)

/M

Re: List USB (ttyACM) devices by id

Posted: Thursday 06 April 2017 20:53
by dba59
it's a geek world here