Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Mar 2001 15:35:20 -0800
From:      unsafe at any speed <erich@ucsd.edu>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Laptoppers <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: mounting a sandisk
Message-ID:  <3AA422B8.5040001@ucsd.edu>
References:  <E14a4Ch-000ALA-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The USB mass storage driver isn't recognizing it and claiming it as a mass 
storage device, which needs to happen for it to get a da# device. So 
instead it's appearing as a ugen (generic USB) device.

I have a similar problem with my Casio QV3000 camera. I've added it to 
usbdevs and umass.c, but all the ATAPI code in umass.c is commented out. 
Until that is functional (or I'm brave enough to uncomment that code) I'm 
out of luck.

If your Imagemate uses the SCSI command set instead of the ATAPI command 
set you'll be better off.

Eric

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: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff \
>            irq 9 at device 7.2 on pci0
>     usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
> 
> 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
> 
> 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?
> 
> randy
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AA422B8.5040001>