Page 1 of 1

Auto-detection of Gimx usb adapter

Posted: Fri May 17, 2019 1:56 pm
by Lucashsmello
I was wondering if its is possible to implement in GIMX core an auto-detection of the usb gimx adapter. My first idea of implementation is to send a message to each candidate usb device and wait for a reasonable response. Any other ideas?

Re: Auto-detection of Gimx usb adapter

Posted: Sun May 19, 2019 9:44 pm
by Matlo
You mean, detecting the right serial port?

Re: Auto-detection of Gimx usb adapter

Posted: Mon May 20, 2019 10:49 am
by GoDlike
I think he's talking about auto-starting gimx when adapter is connected. That could lead to too many problems I think.

Re: Auto-detection of Gimx usb adapter

Posted: Mon May 20, 2019 3:16 pm
by Lucashsmello
Matlo wrote: Sun May 19, 2019 9:44 pm You mean, detecting the right serial port?
Yes. Found out the X in /dev/ttyUSBX.

Re: Auto-detection of Gimx usb adapter

Posted: Mon May 27, 2019 12:14 pm
by Matlo
It looks easier to have a service detecting new ttyUSB devices and launching gimx instances.