Date: Thu, 3 Jan 2002 14:58:50 -0800 (PST) From: Philip Hallstrom <philip@adhesivemedia.com> To: Anthony Atkielski <anthony@freebie.atkielski.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Putting a USB Compact Flash reader on a FreeBSD system Message-ID: <20020103145555.V57401-100000@teak.adhesivemedia.com> In-Reply-To: <054b01c194a8$3c2440f0$0a00000a@atkielski.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is easily doable. I do it at home right now. If you get an Sandisk
Imagemate there are some issues with which model (some of which *look*
identical). Search the archives for "SDDR" and you'll find the threads.
I added this to my kernel config:
# needed for USB mass storage device.
device scbus # SCSI bus (required)
device da # Direct Access (disks)
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uscanner # Scanners
Then enabled usb in /etc/rc.conf. My /etc/usbd.conf looks like this. I
have the SDDR-31 (I think, I'm not at home right now).
-----------------------------------------------------------------
device "ImageMate SanDisk"
product 0x0002
vendor 0x0781
release 0x0009
class 0x0000
subclass 0x0000
protocol 0x0000
devname "umass0"
# The fallthrough entry: Nothing is specified, nothing is done. And it isn't
# necessary at all :-). Just for pretty printing in debugging mode.
#
device "USB device"
-----------------------------------------------------------------
and an entry in /etc/fstab like this:
/dev/da0s1 /sandisk msdos rw,noauto 0 0
Works great for me.
On Thu, 3 Jan 2002, Anthony Atkielski wrote:
> My FreeBSD box has a USB interface built in to the MB. Since I've had no
> end of trouble trying to read Compact Flash cards from my digital camera on
> my Windows box, I've been thinking of buying some sort of USB CF reader so
> that I can read them on the FreeBSD machine. Is there a driver or something
> for such a device so that I could access CF cards from my FreeBSD machine?
> The ideal would be to set up the CF card (a PCMCIA adapter with a CF card in
> it, probably) so that it looks like a filesystem, which I could then mount,
> read, format, and then dismount.
>
> Does the necessary software for this exist? If so, is it part of the
> FreeBSD distribution, or where should I look for it?
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020103145555.V57401-100000>
