On Tue, 6 Apr 2004, Timmy Li wrote:

>   Is there any notifications when a card(eg. CF card)
> is being inserted into a USB card reader?  My main
> purpose is to know if the card is really there.
>   Currently I use a user mode program to scan the SCSI
> generic driver and send some SCSI commands to see if
> the card is really there. I think this is very ugly, :-(

There is no notification.  That is, the card reader does not send any 
message to the computer when a card is inserted.  The only way to find out 
is for the computer to repeatedly ask the card reader, as you are doing.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to