Hello,

I'm sure sudo works but you should just add yourself to the group that owns the 
USB seriol port.  On this machine, I just plugged one in and it is the uucp 
group.

Just check by typing ls -l /dev/ttyUSB0 (or whatever you get when you plug it 
in, check with dmesg)

You can add yourself to the group by typing 

usermod -a -G uucp userid (where userid is your user id).

Then you should have access to the serial port.

Or fiddle with a udev script.  I just add myself to a whole list of groups, but 
I do as little as possible as root or with sudo.

Jonathan

[email protected]
________________________________________
Från: M100 [[email protected]] för John R. Hogerhuis 
[[email protected]]
Skickat: den 29 november 2017 06:39
Till: [email protected]
Ämne: Re: [M100] dlplus on linux mint

On Tue, Nov 28, 2017 at 9:34 PM Peter Vollan 
<[email protected]<mailto:[email protected]>> wrote:
Success at last!!!

You guys were right about the permssions issue. Not only that... I
change permissions on /dev/ttyUSB0 and it changes back for some
reason? Well anyway "sudo" avoids that problem.

Usb devices are auto mounted using udev triggers / scripts.

So whenever the device is plugged in it gets permissions set on that trigger.

To fix the permission problem you need your regular user to be added to 
whichever group owns serial poets.

Or you can fiddle with udev. One thing of value to do with udev is get a given 
device... based on serial number or manufacturer to always show up as the same 
device name. Then you don’t need to play guessing games.


I am afraid that, on top of that, the Radio Shack serial to USB cable
did not work. I suspected as much when dmesg reported that it was
using the generic driver which was only for experimental purposes.

Linux only has generic serial drivers. Generally there are two common usb 
serial devices around: prolific and FTDI. Both seem to work fine with Linux.

— John.

Reply via email to