> My solution has been to scan all possible port names, such
> as /dev/ttyS*, dev/ttyUSB*, /dev/ttyXR*, etc. and then attempt
> to open each one by using SerOpen (in Serial.pp from fpcsrc- add
> "Serial" the Uses clause) If successful the port exists, and I add
> it to my list, if not, it doesn't
Inviato da iPhone
> Il giorno 28 nov 2022, alle ore 17:00, Bo Berglund via lazarus
> ha scritto:
>
> On Mon, 28 Nov 2022 14:48:20 +0100, Giuliano Colla via lazarus
> wrote:
>
>> /dev/tty* is pretty much useless. It's there for historical reasons.
>> /dev/ttyS* is the one for actual serial a
On Mon, 28 Nov 2022 14:48:20 +0100, Giuliano Colla via lazarus
wrote:
>/dev/tty* is pretty much useless. It's there for historical reasons.
>/dev/ttyS* is the one for actual serial adapters, and, unless you
>override with a command line parameter on boot, it is limited to 0..3 in
>modern kerne
On Mon, 28 Nov 2022 14:44:27 +0100, "Carlos E. R. via lazarus"
wrote:
>> I had thought of this but it looked like an overly complicated way given that
>> the list of tty* ports using ls -l /dev/tty* on my system comprises no less
>> than
>> 98 hits
>
>Please see my post. It is not tty*
OK,
Il 28/11/22 14:08, Bo Berglund via lazarus ha scritto:
On Mon, 28 Nov 2022 13:31:12 +0100, Giuliano Colla via lazarus
wrote:
Hope that it helps,
Thanks, it does.
I had thought of this but it looked like an overly complicated way given that
the list of tty* ports using ls -l /dev/tty* on my s
On 2022-11-28 14:08, Bo Berglund via lazarus wrote:
On Mon, 28 Nov 2022 13:31:12 +0100, Giuliano Colla via lazarus
wrote:
Hope that it helps,
Thanks, it does.
I had thought of this but it looked like an overly complicated way given that
the list of tty* ports using ls -l /dev/tty* on my sys
On Mon, 28 Nov 2022 13:31:12 +0100, Giuliano Colla via lazarus
wrote:
>Hope that it helps,
Thanks, it does.
I had thought of this but it looked like an overly complicated way given that
the list of tty* ports using ls -l /dev/tty* on my system comprises no less than
98 hits
So I am now lim
Il 28/11/22 11:31, Bo Berglund via lazarus ha scritto:
I haved a debugging tool program created on Windows and I am orting it to Linux
Ubuntu.
It seems to build just fine except for a combobox fill function which uses the
Windows way of populating the selectoer box with the serial ports available
On 2022-11-28 11:31, Bo Berglund via lazarus wrote:
I haved a debugging tool program created on Windows and I am orting it to Linux
Ubuntu.
It seems to build just fine except for a combobox fill function which uses the
Windows way of populating the selectoer box with the serial ports available on
On Mon, Nov 28, 2022 at 12:31 PM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
>
> I have looked at /dev/tty* but it lists a large number of items which
> makes it
> impossible for me. I do not belive all of´them are real serial ports...
>
> What can I do to get a selector for re
I haved a debugging tool program created on Windows and I am orting it to Linux
Ubuntu.
It seems to build just fine except for a combobox fill function which uses the
Windows way of populating the selectoer box with the serial ports available on
the system.
This is the code I use on Windows:
funct
11 matches
Mail list logo