On Mon, 8 Jun 2015 19:57 Stefan G. Weichinger <lists@xunil.at> wrote:
Am 2015-06-08 um 20:25 schrieb J. Roeleveld:
> There was a similar thread here before about USB and suspend. Check
> that for specifics if in a hurry. Not at computer now to find the
> earlier email.didn't find it yet .. but no hurry at all.
> Apart from kernel level USB suspend. There are settings in /sys/....
> where you can disable USB suspend on a per-device level... as mentioned in:
https://wiki.gentoo.org/wiki/USB_Power_Saving
?
> I would assume Fedora disables that for keyboards and mice (think
> previous thread was about mice getting forgotten) when detected as
> such.I browsed their udev rules and found some rules pointing in that
direction but none specifically matching the PCI ID of my keyboard and
the wildcards ... I am not sure.But they seem to do it specifically, yes ->
# cat /sys/module/usbcore/parameters/autosuspend
2# my keyboard
# cat /sys/bus/usb/devices/3-1.6/power/control
onI assume it won't hurt much if I disable USB autosuspend in general for
now? Power savings should be minimal, right? (desktop here, AC etc)
Doesn't the powertop utility have a facility to do this per-device and to see what the current power-save settings are per-device? Surely a bit easier to use than directly messing about with udev rules?