From owner-freebsd-questions Thu Jan 3 14:59: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id 179DF37B61B for ; Thu, 3 Jan 2002 14:58:59 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id g03Mwoo59911; Thu, 3 Jan 2002 14:58:50 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Thu, 3 Jan 2002 14:58:50 -0800 (PST) From: Philip Hallstrom To: Anthony Atkielski Cc: FreeBSD Questions Subject: Re: Putting a USB Compact Flash reader on a FreeBSD system In-Reply-To: <054b01c194a8$3c2440f0$0a00000a@atkielski.com> Message-ID: <20020103145555.V57401-100000@teak.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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