[fpc-pascal] How to use serial or usb-ports in linux

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Mon Sep 7 09:11:11 CEST 2015


Henry Vermaak wrote:
> On Sun, Sep 06, 2015 at 12:16:31PM +0200, P. vanderWal wrote:
>> Hello all,
>>
>> I wrote a program to control a hobby milling machine.(Profiler, see
>> Elektor-forum). The programm is written in fpc-pascal and using
>> synaser in the windows version for control of the serial port(s).  Now
>> I want to use the program in Debian 8... and or Ubuntu 15... Compiling
>> and running the present version gives "no permission" for the
>> serial/usb ports.  Please advise how to get the program running with
>> these ports. (lazarus 1.2.4 fpc 2.6.4).
> 
> For Debian you usually have to be part of the "dialout" group to have
> access to the serial ports.

Same for Slackware and possibly others. Always catches me out, despite 
doing quite a lot of this sort of stuff.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list