From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26562 invoked by alias); 25 Aug 2008 23:31:51 -0000 Received: (qmail 26550 invoked by uid 22791); 25 Aug 2008 23:31:50 -0000 X-Spam-Check-By: sourceware.org Received: from smtpauth01.csee.onr.siteprotect.com (HELO smtpauth01.csee.onr.siteprotect.com) (64.26.60.145) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Aug 2008 23:31:11 +0000 Received: from [192.168.0.5] (unknown [68.187.234.178]) (Authenticated sender: frank@sorosys.com) by smtpauth01.csee.onr.siteprotect.com (Postfix) with ESMTP id 7E9FF1C805C; Mon, 25 Aug 2008 18:31:09 -0500 (CDT) Message-ID: <48B340BD.1050201@sorosys.com> Date: Tue, 26 Aug 2008 04:49:00 -0000 From: Frank Pagliughi User-Agent: Thunderbird 1.5.0.12 (X11/20071019) MIME-Version: 1.0 To: eCos Discussion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Device driver open & close X-SW-Source: 2008-08/txt/msg00064.txt.bz2 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