28-in-1 Acorp card reader

Rashid N. Achilov achilov-rn at askd.ru
Tue Aug 4 09:48:49 UTC 2009


Recenlty I have installed 28-in-1 card reader

Aug  3 19:53:40 to-495 kernel: da1: <Generic USB CF Reader 1.01> Removable 
Direct Access SCSI-0 device 
Aug  3 19:53:40 to-495 kernel: da1: 40.000MB/s transfers
Aug  3 19:53:40 to-495 kernel: da1: Attempt to query device size failed: NOT 
READY, Medium  not present
Aug  3 19:53:40 to-495 kernel: da2 at umass-sim0 bus 0 target 0 lun 2
Aug  3 19:53:40 to-495 kernel: da2: <Generic USB SM Reader 1.02> Removable 
Direct Access SCSI-0 device 
Aug  3 19:53:40 to-495 kernel: da2: 40.000MB/s transfers
Aug  3 19:53:40 to-495 kernel: da2: Attempt to query device size failed: NOT 
READY, Medium  not present
Aug  3 19:53:40 to-495 kernel: da3 at umass-sim0 bus 0 target 0 lun 3
Aug  3 19:53:40 to-495 kernel: da3: <Generic USB MS Reader 1.03> Removable 
Direct Access SCSI-0 device 
Aug  3 19:53:40 to-495 kernel: da3: 40.000MB/s transfers
Aug  3 19:53:40 to-495 kernel: da3: Attempt to query device size failed: NOT 
READY, Medium  not present

As usual, any removable card will be mounted only when I have booted with it. 
When I insert another card it does not detected. I have searched and found 
this (assumed, that flash inserted in da0):

cat /dev/null > /dev/da0 

This leads to destroy any MBR geoms for da0 and reconstruct it again. But I 
think, that is extremely radical way - open raw device for writing. Is there 
any less radical way to detect inserted flash? 

(I don't speak nothing about HAL, in spite of that, what inserting new flash 
MUST generate HAL-processed event, which MUST lead to auto-mount it, hehe)
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), JID: citycat4 at jabber.org
   OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A


More information about the freebsd-usb mailing list