From owner-freebsd-questions@FreeBSD.ORG Sun Jan 11 06:34:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0740316A4CE for ; Sun, 11 Jan 2004 06:34:28 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3823343D58 for ; Sun, 11 Jan 2004 06:34:26 -0800 (PST) (envelope-from thomas.pasch@gmx.de) Received: (qmail 1034 invoked by uid 65534); 11 Jan 2004 14:34:24 -0000 Received: from p508E75DB.dip.t-dialin.net (EHLO pourquoi.netzgeneration.com) (80.142.117.219) by mail.gmx.net (mp004) with SMTP; 11 Jan 2004 15:34:24 +0100 X-Authenticated: #2928575 From: Thomas Pasch To: freebsd-questions@FreeBSD.ORG Date: Sun, 11 Jan 2004 15:34:25 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401111534.25561.thomas.pasch@gmx.de> Subject: Using a usb compact flash card reader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 14:34:28 -0000 Hello, I'm successfully using a usb compact flash card reader with FreeBSD-5.2-RC2/amd64. It is a _intern_ reader (and because of this constantly attached to the usb bus). However, I can only use it when I plug the memory card in BEFORE BOOTING. When I try to attach the memory card later, it will not be found. I wonder if a could use the "camcontrol" command somehow to simulate the "reattachment of the usb device" so that my card gets recognized even if I plug it in AFTER BOOT. For this to happen, I should somehow query the device size like it is done in the following snippet of dmesg: GEOM: create disk da0 dp=0xffffff001da24c68 GEOM: create disk da1 dp=0xffffff0000bb2868 GEOM: create disk da2 dp=0xffffff0000c53468 GEOM: create disk da3 dp=0xffffff0000c74068 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 244MB (500736 512 byte sectors: 64H 32S/T 244C) da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present Anyone got an idea. Cheers, Thomas PS: Yes, I tried "camcontrol rescan 0:0:0" and "camcontrol start 0:0:0" but nothing much happend.