On Fri, Nov 27, 2009 at 10:58 PM, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote: > On Fri, Nov 27, 2009 at 09:26:23PM +0100, andrej.gelenberg@xxxxxxx wrote: > >> The eepc-latop-rfkill should be hard block. If the LED is not on, >> my wlan-card won't transmit. The eeepc-laptop is only driver >> which use hotplug-subsystem to hide the hardware. > > No. The *hardware* disables the PCI device, at which point all reads > return errors and drivers fall over. The eeepc-laptop driver then hides > the device because it's no longer there. > > Now, it's entirely possible that this behaviour is no longer present on > the 1005h. That's fine, and it necessitates changing the behaviour of > the driver. But it's not a reason for removing the functionality > entirely, because the 700s, 900s and earlier 1000 series *do* require > that PCI hotplugging be peformed. > > (Well. There's a separate situation where the PCI runtime power > management code is going to interfere with the way eeepc-laptop does > things, and this functionality is going to need to be added to the PCI > core and removed from eeepc-laptop) Matthew, do you think that we could skip the hotplug code when all rfkill notifier (_SB.PCI0.P0P[5,6,7]) fail to register ? This should work at least for 1005ha. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html