Re: [PATCH] Explicitly disable BT radio using rfkill interface onsuspend

From: Matthew Garrett
Date: Tue May 19 2009 - 05:06:26 EST


On Mon, May 18, 2009 at 10:14:24PM -0700, Marcel Holtmann wrote:
> Hi Matthew,
> > Ok. I don't think the right way to implement this is forcing dell-laptop
> > to simulate an unplug. The HCI driver should be responsible for saving
> > and restoring state of the device in its suspend/resume method.
>
> what do you expect the generic USB driver to do? I don't see anything we
> can do about it, if the device gets removed from underneath us.

If the device is getting removed from underneath you, why isn't hid2hci
being run again when it reappears as the hid device?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/