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

From: Oliver Neukum
Date: Tue May 19 2009 - 02:27:49 EST


Am Dienstag, 19. Mai 2009 07:14:24 schrieb Marcel Holtmann:
> > > When coming out of S3 if the killswitch isn't activated, the logical
> > > USB mouse isn't coldplugged again preventing the udev rule from being
> > > matched upon.  You can manually run hid2hci and the device will switch
> > > modes.
> >
> > 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.

In order to do this we'd have to put hid2hci into usbcore and maintain
a list of devices it should operate on.

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/