All of lore.kernel.org
 help / color / mirror / Atom feed
* Method to power off HID device from driver?
@ 2016-12-02  2:05 Roderick Colenbrander
  2016-12-07  0:25 ` Roderick Colenbrander
  0 siblings, 1 reply; 12+ messages in thread
From: Roderick Colenbrander @ 2016-12-02  2:05 UTC (permalink / raw)
  To: linux-input

Hi,

Some of the devices I'm dealing with have methods to disconnect the
device through HID reports. This is mostly useful for wireless devices
to save battery and power them off e.g. when no activity in a wihle or
user wants to turn device off (some devices don't have a power off
button).

I was trying to figure out if it there is some generic way without
inventing a driver specific method. So far I haven't found anything on
the HID side. The use case is not that common often a user would
unplug a cable, but for some devices there is no real other way.

The closest thing I found was 'poweroff' as supported by device power
management spec:
https://www.kernel.org/doc/Documentation/power/devices.txt. The HID
drivers only support a subset of this so far.

Does anyone have a good suggestion for handling this?

Thanks,
Roderick

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-01-24 15:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-02  2:05 Method to power off HID device from driver? Roderick Colenbrander
2016-12-07  0:25 ` Roderick Colenbrander
2016-12-07  3:20   ` Cameron Gutman
2016-12-07 21:21     ` Roderick Colenbrander
2016-12-08  3:39     ` Bastien Nocera
2017-01-10  2:28       ` Roderick Colenbrander
2017-01-19 13:37         ` Jiri Kosina
2017-01-19 13:42           ` Bastien Nocera
     [not found]             ` <CANndSKkp+wYjp4DpWX5VK7MLWEn60tgcc5QX=r87gPQJKvkoPg@mail.gmail.com>
2017-01-19 16:26               ` Bastien Nocera
2017-01-19 18:07                 ` Roderick Colenbrander
2017-01-24  9:47                   ` Bastien Nocera
2017-01-24 15:29                     ` Roderick Colenbrander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.