public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bob Wya <bob.mt.wya@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] some keyboard lag
Date: Sat, 13 Jun 2015 07:50:10 +0000	[thread overview]
Message-ID: <CANH8R7-BSmZFKEDgQrmKi0nH_TwZfrJakuG34EP0ns29=Uw_vw@mail.gmail.com> (raw)
In-Reply-To: <5575E54D.9010607@xunil.at>

[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]

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
on

I 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?

[-- Attachment #2: Type: text/html, Size: 1870 bytes --]

  parent reply	other threads:[~2015-06-13  7:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 12:01 [gentoo-user] some keyboard lag Stefan G. Weichinger
2015-06-08 12:22 ` Andrew Lowe
2015-06-08 12:32   ` Stefan G. Weichinger
2015-06-08 14:44     ` Daniel Frey
2015-06-08 17:50       ` Stefan G. Weichinger
2015-06-08 18:25         ` J. Roeleveld
2015-06-08 18:56           ` Stefan G. Weichinger
2015-06-08 19:28             ` Daniel Frey
2015-06-13  7:50             ` Bob Wya [this message]
2015-06-16 13:46             ` J. Roeleveld
2015-06-08 13:05 ` [gentoo-user] " James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANH8R7-BSmZFKEDgQrmKi0nH_TwZfrJakuG34EP0ns29=Uw_vw@mail.gmail.com' \
    --to=bob.mt.wya@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox