This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Device driver open & close
- From: Frank Pagliughi <frank at sorosys dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 25 Aug 2008 19:31:09 -0400
- Subject: [ECOS] Device driver open & close
Hey All,
Is there a mechanism by which a device driver can be notified when the
application opens or closes the device. For example, I have an LCD in my
system, and I would like to turn it on when the application opens the
device and turn it off when it gets closed. Then turn it back on again
if it gets re-opened, etc.
Thanks,
Frank
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss