From owner-freebsd-scsi Thu Jul 5 12:22:44 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from kumquat.hlcca.org (kumquat.hlcca.org [209.244.192.145]) by hub.freebsd.org (Postfix) with SMTP id DEF1437B406 for ; Thu, 5 Jul 2001 12:22:40 -0700 (PDT) (envelope-from dakota@kumquat.hlcca.org) Received: (qmail 93213 invoked by uid 143); 5 Jul 2001 15:21:56 -0000 Received: from localhost (HELO kumquat.hlcca.org) (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Jul 2001 15:21:56 -0000 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: freebsd-scsi@freebsd.org, dakota@FreeBSD.ORG From: lists@mediumgreen.com Subject: Re: USB/umass in addition to "other" SCSI In-Reply-To: Message from Andrew Gordon of "Wed, 04 Jul 2001 18:33:07 +0100." <20010704181957.G65863-100000@server.arg.sj.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 05 Jul 2001 15:21:56 +0000 Message-Id: <20010705192240.DEF1437B406@hub.freebsd.org> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think I heard Andrew Gordon say: >On Wed, 4 Jul 2001, Kenneth W Cochran wrote: > >> Hello -scsi: >> >> How do I "connect" a USB "disk" when I already have a SCSI >> HBA & other peripherals installed & operating? What great timing for this discussion.. I've been trying to get a compact flash reader working on my machine at home for a couple of days. >It should appear of its own accord when usbd sees it. However, this >doesn't appear to work properly at present. I've attached the device before startup and have noticed some usbd messages when I remove and reinstall it. Jul 4 22:06:22 blueberry /kernel: ugen0: at uhub0 port 2 (addr 3) discon= nected Jul 4 22:06:22 blueberry /kernel: ugen0: detached Jul 4 22:06:26 blueberry /kernel: ugen0: SIIG DigiFilm-Combo Reader, rev= = 1.00/0.01, addr 3 blueberry# usbdevs addr 1: UHCI root hub, VIA addr 2: Microsoft IntelliMouse=AE Optical, Microsoft addr 3: DigiFilm-Combo Reader, SIIG >> And what will >> (should :) be its device-name (in /dev)? > >/dev/daX* where X is the next available number By the above output, I figured that da3 is what I'd use, but it does seem to work (FWIW, I've tired da[0-4]): blueberry# mount -t msdos /dev/da3s1 /mnt msdos: /dev/da3s1: Device not configured blueberry# camcontrol devlist at scbus0 target 2 lun 0 (pass0,cd0) at scbus0 target 4 lun 0 (pass1,sa0) at scbus0 target 4 lun 1 (pass2,ch0) >> & "camcontrol rescan 1" gives >> me an ioctl() error. > >I haven't found a method that works other than to have the device presen= t >at boot time. Had it present at boot. Have everything that seems relevant in my kernel.... # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sast of options # Sequential Access (tape etc) device cdalso present i# CD device pass # Passthrough device (direct SCSI access)= # 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 Is there anything I've forgotten? -matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message