[umass] Need help with quirks for SD-card reader

Artem Naluzhnyy tut at nhamon.com.ua
Sun Sep 28 01:59:36 UTC 2008


Hi,

I have following xD/SDMMC/MS/Pro card reader:

 port 5 addr 2: high speed, power 500 mA, config 1,
USB2.0-CRW(0x0116), Generic(0x0bda), rev 16.10


Which quirk(s) should I configure for it to use cards without umass
module reload? I tried 'camcontrol rescan 0' without success.

-----------------------------------------------------------------------------
SD card had been inserted before 'kldload umass' - card works just fine:

kernel: umass0 on uhub1
kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
kernel: umass0:0:0:-1: Attached to scbus0
kernel: pass0 at umass-sim0 bus 0 target 0 lun 0
kernel: pass0: <Generic- xD/SDMMC/MS/Pro 1.00> Removable Direct Access
SCSI-0 device
kernel: pass0: 40.000MB/s transfers
kernel: GEOM: new disk da0
kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0: <Generic- xD/SDMMC/MS/Pro 1.00> Removable Direct Access
SCSI-0 device
kernel: da0: 40.000MB/s transfers
kernel: da0: 972MB (1990656 512 byte sectors: 64H 32S/T 972C)

-----------------------------------------------------------------------------
umass was loaded without SD card inserted:

kernel: umass0 on uhub1
kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
kernel: umass0:0:0:-1: Attached to scbus0
kernel: pass0 at umass-sim0 bus 0 target 0 lun 0
kernel: pass0: <Generic- xD/SDMMC/MS/Pro 1.00> Removable Direct Access
SCSI-0 device
kernel: pass0: 40.000MB/s transfers
kernel: GEOM: new disk da0
kernel: (da0:umass-sim0:0:0:0): error 6
kernel: (da0:umass-sim0:0:0:0): Unretryable Error
kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0: <Generic- xD/SDMMC/MS/Pro 1.00> Removable Direct Access
SCSI-0 device
kernel: da0: 40.000MB/s transfers
kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
kernel: (da0:umass-sim0:0:0:0): error 6
kernel: (da0:umass-sim0:0:0:0): Unretryable Error
kernel: Opened disk da0 -> 6
kernel: (da0:umass-sim0:0:0:0): error 6
kernel: (da0:umass-sim0:0:0:0): Unretryable Error
kernel: Opened disk da0 -> 6
kernel: (da0:umass-sim0:0:0:0): error 6
kernel: (da0:umass-sim0:0:0:0): Unretryable Error
kernel: Opened disk da0 -> 6
kernel: (da0:umass-sim0:0:0:0): error 6
kernel: (da0:umass-sim0:0:0:0): Unretryable Error
kernel: Opened disk da0 -> 6

-----------------------------------------------------------------------------
Following 'camcontrol rescan 0' result:

kernel: (probe0:umass-sim0:0:0:0): error 6
kernel: (probe0:umass-sim0:0:0:0): Unretryable Error
kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected
kernel: daasync: Unable to attach to new device due to status 0x6
kernel: cam_periph_alloc: attempt to re-allocate valid device pass0 rejected
kernel: passasync: Unable to attach new device due to status 0x6: CCB
request was invalid
-----------------------------------------------------------------------------

-- 
Artem Naluzhnyy


More information about the freebsd-usb mailing list