Skip site navigation (1)Skip section navigation (2)
Date:      14 Sep 2003 12:19:03 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Richard Dymond <richard@myrmidon.freeuk.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5.1 and a USB pen drive
Message-ID:  <447k4b2vig.fsf@be-well.ilk.org>
In-Reply-To: <20030913102619.48886dce.richard@myrmidon.freeuk.com>
References:  <20030913102619.48886dce.richard@myrmidon.freeuk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Dymond <richard@myrmidon.freeuk.com> writes:

> I've googled and Usenet-ed high and low for info on this, but to no
> avail.
> 
> I've got one of those handy 256MB USB pen drives that I'd like to get
> working with FreeBSD 5.1. As a long-time linux user I'm used to plugging
> the device in, loading the usb-storage kernel module - which recognises
> the device and slaps it on /dev/sda - and then issuing an appropriate
> mount command.
> 
> I'm assuming the process with FreeBSD is similar, but I need some tips.
> Specifically, what options/devices do I need to enable in the kernel? (I
> thought I'd picked the relevant ones already - usb, ugen, umass, scbus,
> da - but perhaps I'm missing something.) And once I've plugged the USB
> drive in, what commands do I need to run to get the device recognised,
> and to mount the vfat filesystem thereon?
> 
> At the moment, all that happens when I plug the USB drive in is a big
> fat nothing. No kernel log messages. Not even a flicker of the little
> power light on the device.

Half a minute reading the first, obvious, manual (usb(4)) told me that
you need the uhub device.  I don't know if that's all you need (you'll
probably need usbd(8) to attach devices, at a guess), but it's a start.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447k4b2vig.fsf>