From owner-freebsd-mobile Tue Mar 6 6:13: 0 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 7F59C37B722 for ; Tue, 6 Mar 2001 06:12:46 -0800 (PST) (envelope-from nectar@nectar.com) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id DE12319383; Tue, 6 Mar 2001 08:12:45 -0600 (CST) Received: (from nectar@localhost) by hamlet.nectar.com (8.11.2/8.9.3) id f26ECjT29821; Tue, 6 Mar 2001 08:12:45 -0600 (CST) (envelope-from nectar@spawn.nectar.com) Date: Tue, 6 Mar 2001 08:12:45 -0600 From: "Jacques A. Vidrine" To: Randy Bush Cc: FreeBSD Laptoppers Subject: Re: mounting a sandisk Message-ID: <20010306081245.A29785@hamlet.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Randy Bush , FreeBSD Laptoppers References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from randy@psg.com on Mon, Mar 05, 2001 at 03:15:47PM -0800 X-Url: http://www.nectar.com/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 05, 2001 at 03:15:47PM -0800, Randy Bush wrote: > sony 505tx > 4.2-stable > sandisk imagemate smart card > > so i have this usb imagemate for smart cards. it is recognized at boot > > uhci0: port 0xfce0-0xfcff \ > irq 9 at device 7.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > ugen0: SanDisk USB SSFDC, rev 1.10/2.08, addr 2 Hmm, maybe yours is different than mine. umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 4 Looking at its underside, I see `ImageMate: SanDisk Part No.SDDR-31'. I don't have the cheap packaging it came in any longer. > i think i have what is neede configured in the kernel > > device scbus # SCSI bus (required) > device da # Direct Access (disks) > ... > 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 I have ohci as well as uhci, but I don't know the difference between them. Actually I guess I have all the USB devices configured in my kernel. > but it does not show up as daN > > # fdisk /dev/da0 > fdisk: cannot open disk /dev/da0: Device not configured > # fdisk /dev/da1 > fdisk: cannot open disk /dev/da1: Device not configured > # fdisk /dev/da2 > fdisk: cannot open disk /dev/da2: Device not configured > # fdisk /dev/da3 > fdisk: cannot open disk /dev/da3: Device not configured > > so how do i find and mount this sucker? I don't think you will until it shows up as a umass device. Then I use `camcontrol devlist' to finger the right unit: # camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 2 lun 0 (pass1,da1) at scbus1 target 0 lun 0 (pass2,da2) Hope this helps, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message