From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 13 22:08:45 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CA2516A4DA for ; Sun, 13 Aug 2006 22:08:45 +0000 (UTC) (envelope-from bryants@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA3243D45 for ; Sun, 13 Aug 2006 22:08:45 +0000 (GMT) (envelope-from bryants@gmail.com) Received: by py-out-1112.google.com with SMTP id w49so1192524pyg for ; Sun, 13 Aug 2006 15:08:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hrqx4nq6GxAjJGWRiQJkyMwNIUH9etJvCKqYiFQP+NIe7XH9+3/0sj38ba+iv1zkq8d7ICdD8VCaBZHLIjMYt7SFzOzXWxI+FzmVPLxJT59UbWv3ssYsfOdUlyNgGNu+rRtvdK7Tiznv8AeKmQpSqKwrGtNmD4Xx0CyBZxAaiI8= Received: by 10.64.179.11 with SMTP id b11mr6208430qbf; Sun, 13 Aug 2006 15:08:44 -0700 (PDT) Received: by 10.65.20.2 with HTTP; Sun, 13 Aug 2006 15:08:44 -0700 (PDT) Message-ID: Date: Sun, 13 Aug 2006 18:08:44 -0400 From: "Sean Bryant" To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Questions about devices and input. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 22:08:45 -0000 I'm writing some cd buring software using burncd as a reference. I was wondering if its possible to detect opening and closing of the doors. I don't see it very often in unix. i wrote a media detection routine but it'd be nice to detect when the door is opened and when its closed so I'm not polling and praying. Excuse my ignorance in advanced. I've been looking I just can't seem to find any information on obtaining this kind of information. -- Sean Bryant