Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen after a while
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
marco.uk
n00b
n00b


Joined: 06 Jul 2005
Posts: 18
Location: London, UK

PostPosted: Sun Oct 23, 2005 2:43 pm    Post subject: Black screen after a while Reply with quote

Hi all,

I have a strange problem with my Gentoo system:

If I do not work on the computer for a while, some kind of screensaver will be activated because the screen is getting back. I am not in X11, just in the normal shell (bash).

I do not mind at all, but the problem is that I cannot reactivate the screen. I tried to move the mouse, press keys on the keyboard but the screen is staying black. It seems that the computer is hanging, because the numlock, capslock are not working anymore.

Maybe something with the power management? Has anybody an idea?

Thanks,
Marco
Back to top
View user's profile Send private message
evilben
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 128
Location: GA, USA

PostPosted: Sun Oct 23, 2005 5:14 pm    Post subject: Reply with quote

Screen blanking is a normal part of console linux--it normally happens after like 5 minutes. I disable it in the kernel by altering the file

/usr/src/linux/drivers/char/vt.c

, in the function do_blank_screen, which now reads

Code:

void do_blank_screen(int entering_gfx)
{
        struct vc_data *vc = vc_cons[fg_console].d;
        int i;
return;   //my line
        WARN_CONSOLE_UNLOCKED();


I don't know why your computer would be freezing, but if it's not related to the screen blanking, whatever is happening may be more evident when you're not blacked out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum