This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PC nonblocking console I/O
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Richardson, Anthony" <ar63 at evansville dot edu>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: 30 Jan 2004 09:57:23 +0000
- Subject: Re: [ECOS] PC nonblocking console I/O
- References: <FBAA835302BB614E9D5B54EBEA335DCB399C05@uemail02.evansville.edu>
"Richardson, Anthony" <ar63@evansville.edu> writes:
>
> I'm trying to get nonblocked input from the keyboard on the target PC.
> That is /dev/ser2 correct? When I use that device name in
> cyg_io_lookup()
> to get a handle, the system crashes. I assume that is because it is not
> a
> real serial device. So am I out of luck, or should using /dev/ser2
> work?
>
> Thanks for all of your help.
Full interrupt driven support for the screen and keyboard on the PC
has never been implemented. We only have HAL level polled support.
To add this it would be necessary to create a device driver similar to
the serial device drivers. The existing HAL code could be copied and
adapted for this driver, so it is not too hard to do.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss