Bug ID 1095700
Summary setterm reports "cannot (un)set powersave mode: Inappropriate ioctl for device"
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter per@computer.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Trying to re-establish screen blanking and power saving for virtual consoles on
machines without X, I am trying to use "setterm -powersave on".  This works on
some machines, but not on others. 

I have added the following drop-in:

/etc/systemd/system/getty\@.service.d/powersave.conf

[Service]
Environment=TERM=linux
ExecStartPost=-/usr/bin/setterm -powersave on >/dev/%I
ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 >/dev/%I

I have split the setterm into two, because the 'powersave on' keeps fasiling
and reporting "cannot (un)set powersave mode: Inappropriate ioctl for device".  

If I run it when logged into a console, it does not complain, but it also
doesn't work.  On older openSUSE, e.g. 12.3, it works, but I'm wondering if it
might be a graphics driver issue? 

Maybe also refer to bug#1094452 which prompted me to look for a solution.


You are receiving this mail because: