Hi,

I can't use the "cu" command to open a terminal on the serial port
"ttyS0".

When I type (login as "root" of course):
cu --parity=none --line /dev/ttyS0 --speed 9600

I always have the error message:
cu: open (/dev/ttyS0): Permission denied
cu: /dev/ttyS0: Line in use

-> The permission of the file "/dev/ttyS0" are correct (I have checked
it - and I am root).
-> when I type "ps -x" I don't see anything related to "/dev/ttyS0".
-> I have deleted "/dev/ttyS0" and then recreate it with the "mknod"
command (mknod /dev/ttyS0 c 4 64), but it doen't do anything.
-> I have used "stty" to set up the speed, ...
-> the serial port is working because I can make a "wcho" into it (echo
"toto" > /dev/ttyS0) and see the output on a externel console connected
to the serial port.
-> I can also "read" the serial port (more /dev/ttyS0.
-> I have read the serial-HOWTO.

Does somebody have any idea ?

Thank you very much for your help.

PS: I use Suse 6.1, kernel 2.2.7.
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

Reply via email to