From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 21 11:59:47 2007 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9002416A421; Fri, 21 Dec 2007 11:59:47 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 3A8D113C474; Fri, 21 Dec 2007 11:59:47 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 699B774400C; Fri, 21 Dec 2007 13:59:45 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQJsS9Yp7rnp; Fri, 21 Dec 2007 13:59:45 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id F402674400A; Fri, 21 Dec 2007 13:59:44 +0200 (EET) Message-ID: <476BAAB0.9030303@icyb.net.ua> Date: Fri, 21 Dec 2007 13:59:44 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Jeremy Messenger References: <476A8A01.3040202@icyb.net.ua> <476A9D99.2050804@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kde@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: multislot cardreader and hald X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 11:59:47 -0000 on 20/12/2007 19:03 Jeremy Messenger said the following: > I am no expert on hald, but if I understand it correct. If there is no > probe in hald then hald will never know if you put/keep your da disks in > and pull out. I bet other OSs do the same things. Correct me if I am wrong. I now see what you are saying and this makes a lot of sense indeed. And I agree that FreeBSD kernel is overly verbose about such a condition - after all it is normal that a device with a ("field") removable media can have no media. I need to check how FreeBSD 7 behaves in this respect - I still use 6.2. BTW, it seems that the messages come from SCSI/CAM code, so USB code might not be a culprit here, it's just a "transport" for SCSI. OTOH, I wonder why the same doesn't happen for empty CD tray ? - I mean the constant querying (errors are still printed on access). This is a very un-educated guess: maybe HAL knows that acd/cd can have have no media and does some checks before accessing it, but maybe it expects that da always has media and so it tries to access it without any special checks ? I.e. one can simply open and try to read da device or one could issue some SCSI commands to query the actual HW. -- Andriy Gapon