Auto-detection of Gimx usb adapter

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

Auto-detection of Gimx usb adapter

Post by Lucashsmello » Fri May 17, 2019 1:56 pm

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: 5395
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Auto-detection of Gimx usb adapter

Post by Matlo » Sun May 19, 2019 9:44 pm

You mean, detecting the right serial port?
GIMX creator Donate Shop

User avatar
GoDlike
Posts: 842
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Auto-detection of Gimx usb adapter

Post by GoDlike » Mon May 20, 2019 10:49 am

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 | Xbox One S
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike

Lucashsmello
Posts: 16
Joined: Tue Nov 20, 2018 11:44 am
Location: Brazil
Contact:

Re: Auto-detection of Gimx usb adapter

Post by Lucashsmello » Mon May 20, 2019 3:16 pm

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: 5395
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Auto-detection of Gimx usb adapter

Post by Matlo » Mon May 27, 2019 12:14 pm

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

Post Reply