From owner-freebsd-scsi Wed Jul 4 10:33:18 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [194.222.34.166]) by hub.freebsd.org (Postfix) with ESMTP id 6E01637B403 for ; Wed, 4 Jul 2001 10:33:12 -0700 (PDT) (envelope-from arg@arg1.demon.co.uk) Received: by arg1.demon.co.uk (Postfix, from userid 300) id 238089B03; Wed, 4 Jul 2001 18:33:08 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id 14A815D1D; Wed, 4 Jul 2001 18:33:08 +0100 (BST) Date: Wed, 4 Jul 2001 18:33:07 +0100 (BST) From: Andrew Gordon X-X-Sender: To: Kenneth W Cochran Cc: Subject: Re: USB/umass in addition to "other" SCSI In-Reply-To: <200107041422.KAA21945@world.std.com> Message-ID: <20010704181957.G65863-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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? It should appear of its own accord when usbd sees it. However, this doesn't appear to work properly at present. > And what will > (should :) be its device-name (in /dev)? /dev/daX* where X is the next available number > USB devices in this case can be a ZIP-250 USB and/or a USB > digital camera (which mounts just fine in Linux 2.4.x & is > seen as a MS-DOS filesystem). > > Umass, scbus, da & pass are configured into the running kernel. > OS is RELENG_4 as of 1 July. > > "Camcontrol rescan 0" doesn't show it(?) But I'm thinking > this will be a different bus(?) Yes. > & "camcontrol rescan 1" gives > me an ioctl() error. I haven't found a method that works other than to have the device present at boot time. > I'm guessing that I should probably "wire down" my devices > (or at least the USB one?) in my kernel config, but before I More important to wire down the hard drives - having your root filesystem mounted from the camera is more traumatic than having the camera pop up at an unexpected id. > do that I could use some input from Someone Who Know More > About This Than I(tm). :) That, & I'm not sure about the > kernel-config syntax for this... I am far from an expert in this area, but I am successfully using a USB smartmedia reader on a system that also has SCSI discs. I have the disc wired down: # SCSI Controllers device sym0 # NCR/Symbios Logic (newer chipsets) # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # Wire down the boot disc to avoid being usurped by USB peripherals! device scbus0 at sym0 device da0 at scbus0 target 0 unit 0 If your camera has the usual formatting for smartmedia or compact-flash, it will have an fdisk table and a DOS filesystem in the first slice, so you want something like: mount -t msdos /dev/da1s1 /mnt to mount it when the drive has popped up at da1. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message