Detecting cards in USB card reader
Polytropon
freebsd at edvax.de
Sat Feb 6 18:25:43 UTC 2010
On Sat, 6 Feb 2010 15:11:11 +0000, Mike Clarke <jmc-freebsd2 at milibyte.co.uk> wrote:
> Although this gets round the
> problem I can't help feeling uncomfortable about attempting to write to
> raw devices and was wondering if there was any suitable usbconfig or
> HAL incantation which could be used to achieve the desired effect in a
> safer looking way.
I can understand this. Maybe accessing the "SCSI layer" of
the card reader can help? If
% camcontrol reset all
will cause the same effect (of creating the correct nodes in
/dev), you can be more precise (e. g. just reset da0); see
% man camcontrol
for further (and maybe more elegant) details.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list