From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 21 17:24:48 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 E5AFE16A419; Fri, 21 Dec 2007 17:24:48 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id 2840113C447; Fri, 21 Dec 2007 17:24:47 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao106.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071221172447.NOBH476.eastrmmtao106.cox.net@eastrmimpo01.cox.net>; Fri, 21 Dec 2007 12:24:47 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id TVQ01Y00B4iy4EG0000000; Fri, 21 Dec 2007 12:24:01 -0500 Date: Fri, 21 Dec 2007 11:24:47 -0600 To: "Andriy Gapon" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <476A8A01.3040202@icyb.net.ua> <476A9D99.2050804@icyb.net.ua> <476BAAB0.9030303@icyb.net.ua> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <476BAAB0.9030303@icyb.net.ua> User-Agent: Opera Mail/9.25 (Linux) 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 17:24:49 -0000 On Fri, 21 Dec 2007 05:59:44 -0600, Andriy Gapon wrote: > 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 FreeBSD 7 beahves same. I have 7.0-BETA4 (Dec 13). If I put DVD movie in and I will get over 16k lines in message under a minute. http://people.freebsd.org/~mezz/messages.txt.bz2 If I put a blank CD in and I only get less than ten lines in messages. I can't wait for someone to fix FreeBSD because that over 16k lines under a minute is very annoy. Cheers, Mezz > - 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. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org