Messages in this thread | | | Subject | Re: [RFC/BUG?] ide_cs's removable status | From | Alan Cox <> | Date | Thu, 22 Sep 2005 14:39:42 +0100 |
| |
On Iau, 2005-09-22 at 11:22 +0100, Russell King wrote: > If you have a CF adapter which behaves as you describe above, could > you please check what happens as far as PCMCIA goes when you unplug > the CF card - particularly what happens to cardctl status / cardctl > ident ?
If I remove the CF card I get garbage reported. I don't however get a card plug/unplug event. On the other card I have I get a card plug/unplug event. The pcmcia ide floppy (40MB clik! drive if anyone wants to play) I have always shows up as present. It triggers the same hotplug behaviour being complained about as far as I can see and correctly so.
I dug out some old emails - GNOME does indeed handle this correctly using HAL and the recursive probing problem is true for all removable media types. HAL handles this correctly although David Zeuthen wasn't exactly happy with the kernel behaviour.
So I'm definitely against removing drive->removable when it should be set, although its less serious than 2.4 because we do more flushing anyway. There do seem to be a lot of people who would rather it didnt always generate hotplug events when rescanning partitions. Perhaps we need a ->same_media() check if the partitions match the old ones ?
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |