Subject: Re: USB card readers?
To: Simon J. Gerraty <sjg@crufty.net>
From: Peter Seebach <seebs@plethora.net>
List: port-i386
Date: 03/27/2006 00:06:29
In message <20060327060104.8BD536692@void.crufty.net>, "Simon J. Gerraty" write
s:
>Possibly dumb question follows...
>
>Up to now I've got pics off my cameras by plugging the CF card into a
>pcmcia slot on a laptop - it "just works".
>
>Now I have to look at getting data of SD cards and so dug out a USB
>card reader which probes as:
>
>Mar 26 21:38:44 very /netbsd: umass0 at uhub0 port 2 configuration 1 interface 0
>Mar 26 21:38:44 very /netbsd: umass0: Acer Labs USB 2.0 Storage Device, rev 2.00/0.80, addr 2
>Mar 26 21:38:44 very /netbsd: umass0: using SCSI over Bulk-Only
>Mar 26 21:38:44 very /netbsd: umass0: no buffer memory
>
>but plugging a card - SD or CF makes no difference, doesn't achieve
>much.  wd* and sd* all claim to be unconfigured.
>
>Do I need a specific driver for this job? 
>Do I need a kernel that supports more than wd* on umass?

You need to plug the device in at boot.  Otherwise you may get the "no buffer
memory".  There's some chunk of kernel memory that ends up too fragmented to
support the umass driver's allocation needs.

If you get past that, you should see the drive just fine.

-s