RE: USB SanDisk SmartMedia - some results.

Dunlap, Randy (randy.dunlap@intel.com)
Thu, 29 Jun 2000 17:29:43 -0700


Hi Drew,

> SanDisk has some interest in helping with a Linux driver for their USB
> SmartMedia device. I really hope so, but while I hold my breath, I'd
> like some help with the next step.

I'm a little confused. Are you working with SanDisk on this?
Also, have you tried to use the usb-storage driver with this
device? Matt Dharm has been working with SanDisk on
CompactFlash, but I don't know about SmartMedia.

Phil Davis (pmd@azad.demon.co.uk) reported on 2000-apr-11 on
the linux-usb mailing list:
"I have got the Fujifilm SM-R1 SmartMedia reader "working" sometimes."
so I think that the usb-storage driver is the right one to use,
although it may need some tweaking.

> After
> insmod usbcore; insmod uhci; mount -t usbdevfs /proc/bus/usb /mnt/usb
>
> I was able to get the following...
>
> # ls /mnt/usb/
> 001 devices drivers
>
> # ls /mnt/usb/001/
> 001 002 <----- What are these ??

These are device descriptor data for devices 1 and 2 as listed
below in ASCII in /proc/bus/usb/devices , uh, I mean in /mnt/usb/devices .

> # cat /mnt/usb/drivers
> hub
> usbdevfs
>
> # cat /mnt/usb/devices
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB UHCI-alt Root Hub
> S: SerialNumber=a000
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=0781 ProdID=0200 Rev= 1.00
> S: Manufacturer=SanDisk
> S: Product=USB SSFDC
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=255ms
>
> # uname -r
> 2.4.0-test2-ac2
>
> # cat /proc/modules
> uhci 20152 0 (unused)
> usbcore 56160 1 [uhci]
> 3c59x 23356 1 (autoclean)
> es1371 36652 0
> soundcore 4612 4 [es1371]
> ac97_codec 7492 0 [es1371]
>
> Anyone know the next step?

Try the usb-storage driver. Check the linux-usb email archives
for other SmartMedia attempts and results.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/