Title: Message
You
need to sort out permissions on /dev/ttyS0. Typically it'll be writable only by
root and members of a certain group, though which one depends on the Linux
distribution, usually "uucp", or "dialout" or similar.
$ ls
-l /dev/ttyS0
crw-rw---- 1 root uucp 4, 64 Jun 6 10:03
/dev/ttyS0
So you
have 2 choices. Have your user added to the uucp (or whatever's appropriate)
group, and don't forget to log off and on before trying it. Or, change the
permissions on /dev/ttyS0 so that everyone can write to it (chmod 666
/dev/ttyS0).
Which
one you choose will depend on the role of the machine and any security concerns.
The first is safer, but takes more management.
-- Peter Denison, Senior Software Engineer Diamond Light
Source Ltd., Diamond House, Harwell Science and Innovation Campus Didcot,
Oxon, OX11 0DE Tel: +44 1235 778511
Dear all,
I have built ASYN on my computer, but there are some problems when
running application. It said: \dev/ttyS0 can't open Permission denied
Should I open the serial port in the Linux first or is
there another problems? what should I do next?
many thanks in advance.
demin zhang
一 起 来,150
万 人 同 时 在 玩 的 梦 幻 西 游
- References:
- problems in running application(ASYN) zhangdemin99
- Navigate by Date:
- Prev:
RE: problems in running application(ASYN) Mark Rivers
- Next:
Re: problems in running application(ASYN) J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: problems in running application(ASYN) Mark Rivers
- Next:
Re: problems in running application(ASYN) J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|