* [gentoo-user] Console won't un-blank
@ 2013-10-18 1:02 Michael J. Barillier
2013-10-18 4:48 ` Alan McKinnon
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Michael J. Barillier @ 2013-10-18 1:02 UTC (permalink / raw
To: gentoo-user
If I leave my laptop unattended (at a console, not X) and the screen
blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
into the laptop and ran:
# setterm -blank poke >/dev/tty$N
(as root, for the current/active TTY) which according to the man page
should restore the screen - no response. Also tried chvt but that
didn't work either. Any suggestions on where to look to see why the
terminal won't restore? Is this a kernel config (ACPI?) issue, or an
agetty issue?
--
Michael J. Barillier /// http://blackwolfinfosys.net/u/blackwolf/
_O_| "When you have to shoot, shoot. Don't talk."
__O| -- Tuco Ramirez
OOO|
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console won't un-blank
2013-10-18 1:02 [gentoo-user] Console won't un-blank Michael J. Barillier
@ 2013-10-18 4:48 ` Alan McKinnon
2013-10-18 20:40 ` [gentoo-user] " Holger Hoffstaette
2013-10-18 22:17 ` [gentoo-user] " Peter Humphrey
2 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2013-10-18 4:48 UTC (permalink / raw
To: gentoo-user
On 18/10/2013 03:02, Michael J. Barillier wrote:
> If I leave my laptop unattended (at a console, not X) and the screen
> blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
> into the laptop and ran:
>
> # setterm -blank poke >/dev/tty$N
>
> (as root, for the current/active TTY) which according to the man page
> should restore the screen - no response. Also tried chvt but that
> didn't work either. Any suggestions on where to look to see why the
> terminal won't restore? Is this a kernel config (ACPI?) issue, or an
> agetty issue?
>
What video hardware are you using, and what driver?
I've had similar issues in the past myself with a variety of causes:
- dodgy versions of mesa
- dodgy versions of video drivers (both nouveau and radeon)
- incorrect kernel settings, usually getting KMS wrong
- incompatible combinations of framebuffer and KMS
I don't recall any case where the problem was purely userland and the
kernel systems were not involved
hth
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Console won't un-blank
2013-10-18 1:02 [gentoo-user] Console won't un-blank Michael J. Barillier
2013-10-18 4:48 ` Alan McKinnon
@ 2013-10-18 20:40 ` Holger Hoffstaette
2013-10-18 21:15 ` Holger Hoffstaette
2013-10-20 18:02 ` Frank Steinmetzger
2013-10-18 22:17 ` [gentoo-user] " Peter Humphrey
2 siblings, 2 replies; 7+ messages in thread
From: Holger Hoffstaette @ 2013-10-18 20:40 UTC (permalink / raw
To: gentoo-user
On Thu, 17 Oct 2013 21:02:13 -0400, Michael J. Barillier wrote:
> If I leave my laptop unattended (at a console, not X) and the screen
> blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
> into the laptop and ran:
>
> # setterm -blank poke >/dev/tty$N
>
> (as root, for the current/active TTY) which according to the man page
> should restore the screen - no response. Also tried chvt but that didn't
> work either. Any suggestions on where to look to see why the terminal
> won't restore? Is this a kernel config (ACPI?) issue, or an agetty issue?
Very likely kernel or DRM subsystem. I have an T60 Thinkpad with old ATI
graphics and since kernel ~3.7.1 (approx.) it won't unblank any more, just
as you described. I tested some time ago with an early 3.10.x and it still
did not work. Everything works correctly on a second machine without KMS
(plain VESA) and a third system with newer Radeon card, so I always
attributed it to the stone age hardware and bitrot. There were quite a lot
of changes to the Radeon and DRM machinery over the last few kernel
releases.
In order to prevent this from locking me out I simply turned it off in
/etc/local.d/ like this (there might be a canonical way):
$cat /etc/local.d/consoleblank.start
# don't blank console - bug in 3.7.1
setterm -blank 0
You could try to bisect from 3.7.0 onwards.. :-)
cheers
-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Console won't un-blank
2013-10-18 20:40 ` [gentoo-user] " Holger Hoffstaette
@ 2013-10-18 21:15 ` Holger Hoffstaette
2013-10-20 18:02 ` Frank Steinmetzger
1 sibling, 0 replies; 7+ messages in thread
From: Holger Hoffstaette @ 2013-10-18 21:15 UTC (permalink / raw
To: gentoo-user
On Fri, 18 Oct 2013 22:40:32 +0200, Holger Hoffstaette wrote:
> as you described. I tested some time ago with an early 3.10.x and it still
> did not work. [..]
And it still won't unblank with 3.11.6 either, tested just now.
-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Console won't un-blank
2013-10-18 20:40 ` [gentoo-user] " Holger Hoffstaette
2013-10-18 21:15 ` Holger Hoffstaette
@ 2013-10-20 18:02 ` Frank Steinmetzger
2013-10-22 1:52 ` Frank Steinmetzger
1 sibling, 1 reply; 7+ messages in thread
From: Frank Steinmetzger @ 2013-10-20 18:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]
On Fri, Oct 18, 2013 at 10:40:32PM +0200, Holger Hoffstaette wrote:
> On Thu, 17 Oct 2013 21:02:13 -0400, Michael J. Barillier wrote:
>
> > If I leave my laptop unattended (at a console, not X) and the screen
> > blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
> > into the laptop and ran:
> >
> > # setterm -blank poke >/dev/tty$N
>
> Very likely kernel or DRM subsystem. I have an T60 Thinkpad with old ATI
> graphics and since kernel ~3.7.1 (approx.) it won't unblank any more, just
> as you described. I tested some time ago with an early 3.10.x and it still
> did not work. Everything works correctly on a second machine without KMS
> (plain VESA) and a third system with newer Radeon card, so I always
> attributed it to the stone age hardware and bitrot. There were quite a lot
> of changes to the Radeon and DRM machinery over the last few kernel
> releases.
I have here a Samsung P30 (first Centrino generation) with a Radeon 9200
and radeon driver in KMS mode, Kernel 3.10.11. Unblanking works normal.
I [br]arely use that machine, only keep it up to date from time to time
in case I may need it in lieu of my normal laptop. So its setup is
fairly default stage3.
--
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.
Friends may come and go, but enemies accumulate.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Console won't un-blank
2013-10-20 18:02 ` Frank Steinmetzger
@ 2013-10-22 1:52 ` Frank Steinmetzger
0 siblings, 0 replies; 7+ messages in thread
From: Frank Steinmetzger @ 2013-10-22 1:52 UTC (permalink / raw
To: gentoo-user
On Sun, Oct 20, 2013 at 08:02:50PM +0200, Frank Steinmetzger wrote:
> On Fri, Oct 18, 2013 at 10:40:32PM +0200, Holger Hoffstaette wrote:
> > On Thu, 17 Oct 2013 21:02:13 -0400, Michael J. Barillier wrote:
> >
> > > If I leave my laptop unattended (at a console, not X) and the screen
> > > blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
> > > into the laptop and ran:
> > >
> > > # setterm -blank poke >/dev/tty$N
> >
> > Very likely kernel or DRM subsystem. I have an T60 Thinkpad with old ATI
> > graphics and since kernel ~3.7.1 (approx.) it won't unblank any more, just
> > as you described. I tested some time ago with an early 3.10.x and it still
> > did not work. Everything works correctly on a second machine without KMS
> > (plain VESA) and a third system with newer Radeon card, so I always
> > attributed it to the stone age hardware and bitrot. There were quite a lot
> > of changes to the Radeon and DRM machinery over the last few kernel
> > releases.
>
> I have here a Samsung P30 (first Centrino generation) with a Radeon 9200
> and radeon driver in KMS mode, Kernel 3.10.11. Unblanking works normal. […]
Ha! spoken too soon. I upgraded from 3.10.11 to 3.11.6 (including a
whole world update in the same go, unfortunately) and now I can't
unblank either. What brings the screen back, though, is switching to X
for a mo.
--
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.
“There’s no power in the ’verse can stop me.”
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console won't un-blank
2013-10-18 1:02 [gentoo-user] Console won't un-blank Michael J. Barillier
2013-10-18 4:48 ` Alan McKinnon
2013-10-18 20:40 ` [gentoo-user] " Holger Hoffstaette
@ 2013-10-18 22:17 ` Peter Humphrey
2 siblings, 0 replies; 7+ messages in thread
From: Peter Humphrey @ 2013-10-18 22:17 UTC (permalink / raw
To: gentoo-user
On Thursday 17 Oct 2013 21:02:13 Michael J. Barillier wrote:
> If I leave my laptop unattended (at a console, not X) and the screen
> blanks, pressing a key won't un-blank the terminal. As a test, I ssh'ed
> into the laptop and ran:
>
> # setterm -blank poke >/dev/tty$N
>
> (as root, for the current/active TTY) which according to the man page
> should restore the screen - no response. Also tried chvt but that
> didn't work either. Any suggestions on where to look to see why the
> terminal won't restore? Is this a kernel config (ACPI?) issue, or an
> agetty issue?
Have you tried specifying these commands on the kernel line?
consoleblank=0 noclear
The former is AFAIK equivalent to setterm -blank 0 but takes effect right from
the beginning of the boot sequence; the latter prevents blanking out of the
console boot messages just before the login prompt is shown.
One of those might help.
--
Regards,
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-22 1:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 1:02 [gentoo-user] Console won't un-blank Michael J. Barillier
2013-10-18 4:48 ` Alan McKinnon
2013-10-18 20:40 ` [gentoo-user] " Holger Hoffstaette
2013-10-18 21:15 ` Holger Hoffstaette
2013-10-20 18:02 ` Frank Steinmetzger
2013-10-22 1:52 ` Frank Steinmetzger
2013-10-18 22:17 ` [gentoo-user] " Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox