2001-04-16 13:02:24

by Rajeev Nigam

[permalink] [raw]
Subject: Serial Port Communication


Hello,

How can I write to, read from the com port. I have linux 6.2 and kernel
2.2.14 version.
Is anybody having a sample code which is performing these operation
including Open and Close com port, Pls send me.

Looking forward for ur help.

Regards,
Rajeev


2001-04-16 22:08:32

by Pavel

[permalink] [raw]
Subject: Re: Serial Port Communication

From: Rajeev Nigam <[email protected]>
Date: Mon, 16 Apr 2001 18:35:54 +0530

Hi,

> How can I write to, read from the com port. I have linux 6.2 and kernel
> 2.2.14 version.

there is no Linux with that version number. Upgrade your kernel.

> Is anybody having a sample code which is performing these operation
> including Open and Close com port, Pls send me.

See Serial-Programming HOWTO or any other *user*space program. Do not do
serial stuff in the kernel itself.
--
Pavel Jan?k

You should stop smoking that stuff, really.
-- Robin S. Socha to Lars Magne Ingebrigtsen (of Gnus fame)


Attachments:
(No filename) (245.00 B)