From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 14 21:57:46 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 32C6C16A4DD for ; Mon, 14 Aug 2006 21:57:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9821943D49 for ; Mon, 14 Aug 2006 21:57:45 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7ELuqpi017365; Mon, 14 Aug 2006 15:56:53 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 14 Aug 2006 15:56:52 -0600 (MDT) Message-Id: <20060814.155652.1573371768.imp@bsdimp.com> To: des@des.no From: "M. Warner Losh" In-Reply-To: <861wrjjfap.fsf@xps.des.no> References: <86bqqnyhlm.fsf@xps.des.no> <861wrjjfap.fsf@xps.des.no> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 14 Aug 2006 15:56:53 -0600 (MDT) Cc: hackers@freebsd.org, bryants@gmail.com Subject: Re: 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: Mon, 14 Aug 2006 21:57:46 -0000 In message: <861wrjjfap.fsf@xps.des.no> des@des.no (Dag-Erling Sm=F8rgrav) writes: : "Sean Bryant" writes: : > How about when media is loaded. I have a detection routine that'll = ask : > for media, but what about when any media is loaded? Is there some k= ind : > of event or some way I can be notified. : = : Sorry, no. The only way is to poll the device from time to time :-( Warner