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

From: Oliver Neukum
Date: Tue May 19 2009 - 08:47:24 EST


Am Dienstag, 19. Mai 2009 11:06:12 schrieb Matthew Garrett:
> 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?

udev triggers exactly that.

Regards
Oliver

--
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/