> Are you sure that's the right approach?  As I understand it, a hotplug 
> event occurs when the card reader is attached to the computer, _not_ when 
> a card is inserted into the reader.

Yes, unfortunately this is true. IMHO polling in kernel is a bad idea,
so for such devices he has to do it in user space.

> In fact, I don't think the card reader informs the computer at all when a 
> card is inserted.  The only way to find out when that happens may be to 
> poll for it continually.

Some hardware does tell you. The Amiga's floppy drives, which IIRC are
supported, generate interrupts under such circumstances.
In these cases you need kernel support. It seems to me that there's
no generic answer.

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to