On Tue, 26 Dec 2006 21:53:25 +0100
Rainer Stratmann <[EMAIL PROTECTED]> wrote:
> How to do that?
> The code for initialisation of the serial interface:
Run stty --help
with clocal you can disable all the modem control signals.
(I believe the ioctl have an equivalent)
John
On Tuesday 26 December 2006 21.53, Rainer Stratmann wrote:
>
> How to do that?
> The code for initialisation of the serial interface:
>
> const
> iflagoff = BRKINT or INPCK or ISTRIP or IGNCR or INLCR or ICRNL or IUCLC
> or IXON or IXANY or IXOFF or IMAXBEL;
> iflagon = IGNBRK or IGNPAR;
> ofla
Am Dienstag, 26. Dezember 2006 19:28 schrieb John Coppens:
> On Tue, 26 Dec 2006 15:10:27 +0100
>
> Rainer Stratmann <[EMAIL PROTECTED]> wrote:
> > In my program it works for writing, but reading is not possible at the
> > moment.
>
> Did you check if (hardware) handshaking is enabled? I've found q
On Tue, 26 Dec 2006 15:10:27 +0100
Rainer Stratmann <[EMAIL PROTECTED]> wrote:
> In my program it works for writing, but reading is not possible at the
> moment.
Did you check if (hardware) handshaking is enabled? I've found quite
regularly that one of the lines is stopping the input. If you have
Am Dienstag, den 26.12.2006, 15:10 +0100 schrieb Rainer Stratmann:
> How to open correct the serial interface ('/dev/ttyS0')
> In my program it works for writing, but reading is not possible at the moment.
> Has someone an idea or example code?
You want to have a look at the serial.pp unit coming
Am Dienstag, 26. Dezember 2006 14:32 schrieb Johann Glaser:
> Hi!
>
> Am Dienstag, den 26.12.2006, 15:38 +0100 schrieb Rainer Stratmann:
> > Am Dienstag, 26. Dezember 2006 14:07 schrieb Michael Van Canneyt:
> > > On Tue, 26 Dec 2006, Rainer Stratmann wrote:
> > > > How to open correct the serial in
Op Tue, 26 Dec 2006, schreef Michael Van Canneyt:
>
>
> On Tue, 26 Dec 2006, Rainer Stratmann wrote:
>
> > How to open correct the serial interface ('/dev/ttyS0')
>
> As far as I know, this is a terminal, so the terminal emulator will mess up
> the IO. You should open the raw device.
The ra
Hi!
Am Dienstag, den 26.12.2006, 15:38 +0100 schrieb Rainer Stratmann:
> Am Dienstag, 26. Dezember 2006 14:07 schrieb Michael Van Canneyt:
> > On Tue, 26 Dec 2006, Rainer Stratmann wrote:
> > > How to open correct the serial interface ('/dev/ttyS0')
> >
> > As far as I know, this is a terminal, so
Op Tue, 26 Dec 2006, schreef Rainer Stratmann:
> How to open correct the serial interface ('/dev/ttyS0')
> In my program it works for writing, but reading is not possible at the moment.
> Has someone an idea or example code?
What goes wrong while reading? Does strace give any clues?
Daniël
Am Dienstag, 26. Dezember 2006 14:07 schrieb Michael Van Canneyt:
> On Tue, 26 Dec 2006, Rainer Stratmann wrote:
> > How to open correct the serial interface ('/dev/ttyS0')
>
> As far as I know, this is a terminal, so the terminal emulator will mess up
> the IO. You should open the raw device.
Isn
On Tue, 26 Dec 2006, Rainer Stratmann wrote:
> How to open correct the serial interface ('/dev/ttyS0')
As far as I know, this is a terminal, so the terminal emulator will mess up
the IO. You should open the raw device.
> In my program it works for writing, but reading is not possible at the mo
11 matches
Mail list logo