This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PC nonblocking console I/O


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]