From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 20:38:48 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF3521065672 for ; Wed, 14 Oct 2009 20:38:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4C98FC1C for ; Wed, 14 Oct 2009 20:38:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n9EKclVm074281; Wed, 14 Oct 2009 14:38:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n9EKcljX074278; Wed, 14 Oct 2009 14:38:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 14 Oct 2009 14:38:47 -0600 (MDT) From: Warren Block To: Joe Marcus Clarke In-Reply-To: <1255546422.22880.136.camel@shumai.marcuscom.com> Message-ID: References: <1255542419.22880.131.camel@shumai.marcuscom.com> <1255546422.22880.136.camel@shumai.marcuscom.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Wed, 14 Oct 2009 14:38:47 -0600 (MDT) Cc: current@freebsd.org Subject: Re: Why does hal think my USB devices are fixed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 20:38:48 -0000 On Wed, 14 Oct 2009, Joe Marcus Clarke wrote: > > I don't have any card readers, but as Hans pointed out, this part will > come from the SCSI subsystem. If CAM says the device is not removable, > then hal will go with that. Light sledgehammering in /usr/local/share/hal/fdi/preprobe/20thirdparty and the card reader can be made to work: First, stop hal trying to automount a card twice, once for the redundant "computer_storage" version of a disk: 10-ignore-computer_storage.fdi : true Then set some options for the card reader: 20-check-media.fdi : storage.media_check_enabled true true hal still sometimes doesn't notice new cards being connected, and the card reader's USB cable has to be reconnected. But at this point, it's at least as good as it was under 7-STABLE. -Warren Block * Rapid City, South Dakota USA