From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6F4C059CA4 for ; Mon, 7 Mar 2016 00:00:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 668A121C073; Mon, 7 Mar 2016 00:00:29 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF88521C02D for ; Mon, 7 Mar 2016 00:00:27 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id l68so87640438wml.0 for ; Sun, 06 Mar 2016 16:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=kqHH3ZIoVhdBQNbxEP3TbfxU0OUSracKCp+5aeBEDUg=; b=GQQyKKESNeFWsC5VoP5WBXErRgE5RN4wWeDO1IB+rNKpQgqlryoE2ecMjWankxjNHZ uCokYK4XmSMMKhlP3u0SGlBBTZf5tPAozo0tfZLvQE+2IuEmQi2vm4RYd9qI3aFSef6g aSQsI/5JUi+DBBe6ljRmPn8CdC8LvFs9lA1B0ICHhTAAgDi/t27XDPPkwOqqiY8GtCiY cktujDWIBWXZOdJJc0W9UBXh3DTaXCAwJ3E9Le5kl3Xg9ry84d/fbbFEeihtaCdF+9Fi Z4NEvAAPG8dUPWdMYxC8wz1Cxug7uJ4Vq75Giwaha3XVXzDuqFPcABeO8m/7t8dfq/+p UDIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=kqHH3ZIoVhdBQNbxEP3TbfxU0OUSracKCp+5aeBEDUg=; b=kk5wtVPdCC34/FwuldYQO3Wx/zOc1HpDmdeEHNJJaEM1hGB8m0pBxjDzQoF/BHQ4XC E/GMUW1F3zuZnxSpZL/W9mRmHQsT06XY9eOSSAqaWuS9cWVGzdbL/Cy/t9Kabl5mE06E 1ttTwLGcZMGIGv4xH5LCcT7I6ux/U1WmGhWO4T6YFxXTv3pb+YaFGVZGUO/Egw0RWkQG jfw4H1oiXXbiS9s2QjKBxUvaDPNsh56UtPN9BL7F9fyS8s3pSGwafple9DjffYRKf0wL lPR4aJHysikbPdz/pkzPBONv+Gu06BKCnKtXLbT1JSknN0GOSH6YE26qsCHmCCP+eeMZ 4lbw== X-Gm-Message-State: AD7BkJIOPbrzvMq/ZftFCxFBVJC4OpGIL6R8+iUvggLjoKk0t8oaXk0U1WOvI2NSEZpFlIk9KXJ1WEeAprS4TQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.194.57.16 with SMTP id e16mr19706089wjq.105.1457308826480; Sun, 06 Mar 2016 16:00:26 -0800 (PST) Received: by 10.194.178.34 with HTTP; Sun, 6 Mar 2016 16:00:26 -0800 (PST) In-Reply-To: <20160306161551.0b7b66605d938b348f078eca@op.pl> References: <20160306161551.0b7b66605d938b348f078eca@op.pl> Date: Mon, 7 Mar 2016 11:00:26 +1100 Message-ID: Subject: Re: [gentoo-user] Kernel 4.x and (probably) event issues From: Adam Carter To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=047d7b86db24ee39dc052d6a267c X-Archives-Salt: d5aadc79-e375-4105-bb79-0819056e7583 X-Archives-Hash: d0776890ad3c8627abe433d33bfeae05 --047d7b86db24ee39dc052d6a267c Content-Type: text/plain; charset=UTF-8 > 1. After successful boot, I've noticed, that buttons above the > touchpad[1] stopped working. Tried to debug the thing, but they do > nothing even under xev or in showkey - seems like they dead. Didn't find > anything interesting by searching the net. > Longshot (since i've had one instance in the last few years where i need to rebuild xorg after a kernel update) have you tried rebuilding the xf86-input-* packages against the new kernel? > > 2. This one is more annoying. After boot to the new shiny 4.x kernel, > devices connected via the usb seems to have aggressive power safe mode. > For example - if I typing for a while everything is fine, if I stop for > a couple of seconds, and then start to type, for approximately 2 seconds > there is no response from the device, and after that i can type again. > Note, that during those 2s no buffering is done, so whatever I'm typing > in this short period, is lost. Same goes to the mouse movement and > buttons. > I haven't had much luck with USB power saving working in a useful way and leave it off. Strange its been enabled by default for you. cat /sys/bus/usb/devices/*/power/control will show you what the current settings are. The options are on/auto. "on" means that the device should be resumed and autosuspend is not allowed. so that's what you want. It can blanket set with; echo on | tee /sys/bus/usb/devices/*/power/control Or you could work out which devices are actually a problem and just "on" those particular ones. --047d7b86db24ee39dc052d6a267c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
1. After successful boot, I've noticed, that buttons above the
touchpad[1] stopped working. Tried to debug the thing, but they do
nothing even under xev or in showkey - seems like they dead. Didn't fin= d
anything interesting by searching the net.

<= div>Longshot (since i've had one instance in the last few years where i= need to rebuild xorg after a kernel update) have you tried rebuilding the = xf86-input-* packages against the new kernel?

2. This one is more annoying. After boot to the new shiny 4.x kernel,
devices connected via the usb seems to have aggressive power safe mode.
For example - if I typing for a while everything is fine, if I stop for
a couple of seconds, and then start to type, for approximately 2 seconds there is no response from the device, and after that i can type again.
Note, that during those 2s no buffering is done, so whatever I'm typing=
in this short period, is lost. Same goes to the mouse movement and
buttons.

I haven= 't had much luck with USB power saving working in a useful way and leav= e it off. Strange its been enabled by default for you.

cat /sys/bus/= usb/devices/*/power/control will show you what the current settings are.
The options are on/auto.
&qu=
ot;on" means that the device should be resumed and autosuspend is not =
allowed.
so that's what you want. It can blanket set with;
echo on | tee /sys/bus/usb/devices/*/power/control

Or you could work out which devices are actually a problem= and just "on" those particular ones.
--047d7b86db24ee39dc052d6a267c--