From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 09:19:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E018716A4BF for ; Sun, 14 Sep 2003 09:19:06 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D6D443FA3 for ; Sun, 14 Sep 2003 09:19:06 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (rwcrmhc13) with ESMTP id <2003091416190501500aj93qe>; Sun, 14 Sep 2003 16:19:05 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h8EGJ4Co075521; Sun, 14 Sep 2003 12:19:04 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h8EGJ3kg075518; Sun, 14 Sep 2003 12:19:03 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Richard Dymond References: <20030913102619.48886dce.richard@myrmidon.freeuk.com> From: Lowell Gilbert Date: 14 Sep 2003 12:19:03 -0400 In-Reply-To: <20030913102619.48886dce.richard@myrmidon.freeuk.com> Message-ID: <447k4b2vig.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.1 and a USB pen drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 16:19:07 -0000 Richard Dymond 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.