Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 15:34:25 +0100
From:      Thomas Pasch <thomas.pasch@gmx.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Using a usb compact flash card reader
Message-ID:  <200401111534.25561.thomas.pasch@gmx.de>

next in thread | raw e-mail | index | archive | help

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: <IC USB Storage-CFC 301b> 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: <IC USB Storage-SMC 301b> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401111534.25561.thomas.pasch>