[NTLUG:Discuss] Serial Ports and Palm Pilot
R P Herrold
herrold at owlriver.com
Sat Sep 29 17:05:28 CDT 2001
On Sat, 29 Sep 2001, Bug Hunter wrote:
> actually, on linux past RedHat 6.0, use
>
> chmod a+rw /dev/ttyS0 (com 1)
> chmod a+rw /dev/ttyS1 (com 2)....etc
Awkkk...
1. s/RedHat/Red Hat/ and RH != Linux <smile>
Better is:
2. To add it properly into the RH security model, so that the
end user at the physical console gets permission 'on the fly
(and it is revoked at logout):
in /etc/security/console.perms
I added
<camera>=/dev/camera /mnt/camera* /dev/ttyS0
..................................^^^^^^^^^^
to permit access by gphoto on the appropiate interface to the
serial port to pull pictures off it.
A pilot has an entry there in a base install:
<pilot>=/dev/pilot
which would be modified to:
<pilot>=/dev/pilot /dev/ttyS0
(or as appropiate as to specific serial port ...)
More information about the Discuss
mailing list