Auto-detection of Gimx usb adapter

Talk about anything concerning the source code.
Post Reply
Lucashsmello
Posts: 17
Joined: Tue Nov 20, 2018 11:44 am
Location: Brazil
Contact:

Auto-detection of Gimx usb adapter

Post 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?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Auto-detection of Gimx usb adapter

Post by Matlo »

You mean, detecting the right serial port?
GIMX creator
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Auto-detection of Gimx usb adapter

Post by GoDlike »

I think he's talking about auto-starting gimx when adapter is connected. That could lead to too many problems I think.
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
Lucashsmello
Posts: 17
Joined: Tue Nov 20, 2018 11:44 am
Location: Brazil
Contact:

Re: Auto-detection of Gimx usb adapter

Post 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.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Auto-detection of Gimx usb adapter

Post by Matlo »

It looks easier to have a service detecting new ttyUSB devices and launching gimx instances.
GIMX creator
Post Reply