Bill:

Actually, I was hoping that /dev/serial/by-id (symlinks automatically
created by modern udev under Linux kernels newer than 2.6.18) could be made
visible to the dropdowns. I'm uncertain if there's a method for that under
QT..
However, I've noted that the aliases created by udev are NOT visible in the
dropdowns. my /dev/ttyRB (which I've got set up in udev to be created when
my RigBlaster Advantage connects) does not show up.
As I stated, I can manually enter /dev/ttyRB into the fields (and it works
that way), and that's a step, but having the ability to use
/dev/serial/by-id/* listings in the dropdowns would be even more helpful
for those who don't wish (or don't have the knowledge) to create udev rules
for their devices.
If QT won't parse those directories, or anything that is a link to a
"system" ttyUSB? or ttyS?, then I'm wondering if there isn't another method
that could be used to be able to (at least) use the /dev/serial/by-id links.
Thank you for the time you took to answer.

73 de AI8W, Chris

On Thu, Mar 7, 2019 at 12:22 PM Bill Somerville <g4...@classdesign.com>
wrote:

> On 07/03/2019 17:01, Topher Petty wrote:
> > I'm not certain whether this is an OS limitation or a limitation in
> > the way WSJTX parses the /dev files, and, as I stated, I am able to
> > manually enter the symlink alias and get it working. I'm just bringing
> > this limitation to your attention in case there is something that can
> > be done to make the dropdowns see the symlinks in WSJTX.
> >
> > Thank you for your time.
> >
> > 73 de AI8W, Chris
>
> Hi Chris,
>
> you are expecting arbitrary symlinks to be discovered as serial port
> devices, that isn't going to happen. If you really want mnemonic device
> file names for your serial devices then use you udev rules to do that.
> WSJT-X uses the Qt QSerialPortInfo::availablePorts() function to
> enumerate serial devices and on a udev system that will return all
> devices with a 'tty' sub-system type.
>
> 73
> Bill
> G4WJS.
>
>
>
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to