From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 22:23:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18D0816A416 for ; Wed, 3 Jan 2007 22:23:21 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay1.av-mx.com (relay1.av-mx.com [137.118.16.126]) by mx1.freebsd.org (Postfix) with ESMTP id BC1DF13C469 for ; Wed, 3 Jan 2007 22:23:20 +0000 (UTC) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.55] (HELO mx3.av-mx.com) by relay1.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 540541134 for freebsd-questions@freebsd.org; Wed, 03 Jan 2007 16:23:16 -0500 Received: (qmail 20476 invoked from network); 3 Jan 2007 21:23:16 -0000 Received: from dsl13221.ywave.com (HELO ?127.0.0.1?) (micahjon@ywave.com@66.243.212.221) by mx3.av-mx.com with SMTP; 3 Jan 2007 21:23:16 -0000 X-CLIENT-IP: 66.243.212.221 X-CLIENT-HOST: dsl13221.ywave.com Message-ID: <459C1EC2.7030000@ywave.com> Date: Wed, 03 Jan 2007 13:23:14 -0800 From: Micah User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Alexander Pohoyda References: <200701012217.l01MHciY000672@oak.pohoyda.family> <44sles6jpp.fsf@be-well.ilk.org> <200701032106.l03L64pr000540@oak.pohoyda.family> In-Reply-To: <200701032106.l03L64pr000540@oak.pohoyda.family> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problem with built-in USB memory card reader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 22:23:21 -0000 Alexander Pohoyda wrote: > Lowell Gilbert writes: > >> Alexander Pohoyda writes: >> >>> Everything works perfect if the system is started with a memory card >>> inserted into the reader. >>> >>> The problem arises when the system is started without the memory card >>> inserted. Since the reader is built-in (permanently attached to the >>> motherboard), it is detected by the system at startup and no umass >>> device is created. Inserting a memory card at some later time has no >>> visible effect whatsoever. >>> >>> I'm using the 5.4 release. Is there a solution for this? >> USB handling would be better in a more recent release of FreeBSD, but >> I think you should be getting the basic da(4) device, just not the >> slices (which aren't there yet) if the medium isn't available at >> boot. Is that the case? [I haven't done this in a while, and don't >> have access to a card reader at the moment.] > > Yes, exactly. If no memory cards were inserted at the boot, only > da(4) devices are created and inserting/removing memory cards > afterwards has no visible effect. This behavior is well known also > for external USB card readers, but those are easily > detached/re-attached which triggers their re-scanning. > > I'm asking because Ms Windows somehow gets the insertion event and > mounts the memory card automatically. So that is be possible. > > Does anybody know how that is done? > There is a hack, but I can't quite remember it. I think it was "true > /dev/da0" to get devfs to reread the partitions and create the dev entires. I haven't been able to get to a reader to test it though. Test on a junk media card just in case I'm totally off base. - Micah