#998053 powertop: /usr/sbin/powertop --auto-tune disables mouse

Package:
powertop
Source:
powertop
Description:
diagnose issues with power consumption and management
Submitter:
Arthur Marsh
Date:
2025-01-22 15:18:07 UTC
Severity:
normal
#998053#5
Date:
2021-10-29 07:12:57 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Running /usr/sbin/powertop --auto-tune

left the optical mouse LED off and the cursor frozen in X.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

restarting pc and not running:

 /usr/sbin/powertop --auto-tune

left the mouse running fine.

dmesg reports mouse as:

[    1.007928] mousedev: PS/2 mouse device common for all mice
[    2.370820] usb 3-1: Product: USB Optical Mouse
[    2.383472] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.0/0003:046D:C077.0001/input/input1
[    2.383632] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:12.0-1/input0

lsusb reports mouse as:

Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse

/var/log/Xorg.0.log reports mouse as:

[   104.850] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event1)
[   104.850] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[   104.850] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[   104.850] (**) Logitech USB Optical Mouse: always reports core events
[   104.850] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event1"
[   104.850] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc077
[   104.850] (--) evdev: Logitech USB Optical Mouse: Found 3 mouse buttons
[   104.850] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[   104.850] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[   104.850] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[   104.850] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[   104.850] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[   104.850] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[   104.850] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   104.850] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 8)
[   104.850] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[   104.850] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[   104.850] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[   104.850] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[   104.850] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[   104.850] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)


   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#998053#10
Date:
2025-01-22 14:28:47 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Cross-grading from i386 to amd64 must have re-enabled auto-tune and disabled my mouse, found my own bug report from more than 3 years ago.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Removed/purged the powertop progam fixed things.

   * What was the outcome of this action?
   * What outcome did you expect instead?

It would be good to have some confirmation to dmesg/syslog when powertop does something like this.

*** End of the template - remove these template lines ***