List Info

Thread: USB card reader




USB card reader
user name
2006-08-19 13:28:26
This belongs on netbsd-help, not tech-kern.

I use a sandisk imagemate 12-in-1 and a nonmae reader and
they attach:

umass0 at uhub4 port 5 configuration 1 interface 0
umass0: SanDisk ImageMate 12 in 1 Reader/Writer, rev
2.00/93.17, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, 4 luns per target
umass1 at uhub4 port 6 configuration 1 interface 0
umass1: Generic USB2.0 Card Reader, rev 2.00/1.9c, addr 3
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, 4 luns per target

sd0 at scsibus1 target 0 lun 0: <Generic, STORAGE DEVICE,
9317> disk removable
sd0: drive offline
sd1 at scsibus1 target 0 lun 1: <Generic, STORAGE DEVICE,
9317> disk removable
sd1: drive offline
sd2 at scsibus1 target 0 lun 2: <Generic, STORAGE DEVICE,
9317> disk removable
sd2: drive offline
sd3 at scsibus1 target 0 lun 3: <Generic, STORAGE DEVICE,
9317> disk removable
sd3: drive offline
sd4 at scsibus2 target 0 lun 0: <Generic, IC1210       
CF, 1.9C> disk removable
sd4: drive offline
sd5 at scsibus2 target 0 lun 1: <Generic, IC1210       
MS, 1.9C> disk removable
sd5: drive offline
sd6 at scsibus2 target 0 lun 2: <Generic, IC1210   
MMC/SD, 1.9C> disk removable
sd6: drive offline
sd7 at scsibus2 target 0 lun 3: <Generic, IC1210       
XD, 1.9C> disk removable
sd7: 1000 MB, 985 cyl, 33 head, 63 sec, 512 bytes/sect x
2048000 sectors


This is on current/i386 with Intel EHCI.

The ehci driver probably is not quite right.  I use current
and I
don't know if there are any specific fixes.  EHCI is a spec
from
intel, and they also make chips.  Others make chips, and
it's been my
impression that other chips may not have exactly the same
interface.

I have found that accessing cards that aren't there can
lead to hangs.
My cards map as follows
sd0 CF
sd1 (probaly MS)
sd2 SD
sd3 xD (probably SM)


-- 
    Greg Troxel <gdtir.bbn.com>
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )