Messages in this thread | | | Subject | Re: removable media revalidation - udev vs. devfs or static /dev | From | Nicolas Mailhot <> | Date | Mon, 12 Jan 2004 14:02:21 +0100 |
| |
Matt Mackall wrote :
> Then the dumb devices (which should be a small minority) just show up > with a harmless excess of partitions.
You are underestimating the hardware manufacturers ingenuity. Cheap stuff (camera card readers...) will always be dumb. In fact people have not even been discussing there how dumb it can get. I happen to own a dual CF/SM reader (was cheaper than the single SM reader I needed at the time). It doesn't appear to support media change notification. In fact the reader chip seems to simple to process both card slots at the same time. The manufacturer solved this problem by using a mechanical plastic flap that prevents insertion of a second card when there is already one in the reader. There is no notification on what slot is in use to the OS. Both windows and linux treat it as a dual reader (even though there can only be a single card inserted at any point of time), export two drives and do continuous polling just to find out which slot is in use.
Since the SM card is slot two, every single time I plug the reader I see the CF part errorring out before the driver take a look at the SM one.
Cheers,
-- Nicolas Mailhot [unhandled content-type:application/pgp-signature] | |