From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 11 22:44:41 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3EBB16A400 for ; Wed, 11 Apr 2007 22:44:41 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id AAB4E13C458 for ; Wed, 11 Apr 2007 22:44:41 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 2C99720A1; Thu, 12 Apr 2007 00:44:38 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id AA67E2094; Thu, 12 Apr 2007 00:44:37 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 98E42A10AC; Thu, 12 Apr 2007 00:44:37 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: "Ali Mashtizadeh" References: <440b3e930704111458i354a98f8g47a03ed5ca507a5@mail.gmail.com> Date: Thu, 12 Apr 2007 00:44:37 +0200 In-Reply-To: <440b3e930704111458i354a98f8g47a03ed5ca507a5@mail.gmail.com> (Ali Mashtizadeh's message of "Wed, 11 Apr 2007 17:58:26 -0400") Message-ID: <866482msyy.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: ATAPI CD Insertion 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: Wed, 11 Apr 2007 22:44:42 -0000 "Ali Mashtizadeh" writes: > Is there a way to detect a cdrom insert/eject (in the kernel or usermode)? > Or is there a way to check a media change? No, you have to poll. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no