LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-28-2003, 03:58 PM   #1
corwax
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Two problems: Resolution and shutdown


I've been configuring my new Debian 3.0r1 woody for the last couple of days, and now there are only two problems left:

1. When I start X (startx-command), the screen resolution is a bit strange. It is kind of zoomed in on the upper left corner, and I have to press Ctrl+Alt+(-) to get the proper screen. It is not a big problem, but I'd really like to fix this.

2. When I shut down the computer ("init 0" or "shutdown -h now"), the power-supply doesn't turn itself off automaticly. I have to manually press the power-button to turn the computer off. A bit annoying, but not a big problem.

Does anyone know how to fix any of these "problems"? I would be really grateful
 
Old 08-28-2003, 04:12 PM   #2
Kermet
LQ Newbie
 
Registered: Aug 2003
Location: Italy
Distribution: Debian 3.0 r0 Woody
Posts: 10

Rep: Reputation: 0
Re: Two problems: Resolution and shutdown

Quote:
Originally posted by corwax
I've been configuring my new Debian 3.0r1 woody for the last couple of days, and now there are only two problems left:

1. When I start X (startx-command), the screen resolution is a bit strange. It is kind of zoomed in on the upper left corner, and I have to press Ctrl+Alt+(-) to get the proper screen. It is not a big problem, but I'd really like to fix this.
maybe an erroneus resolution that you set manually?

Quote:
2. When I shut down the computer ("init 0" or "shutdown -h now"), the power-supply doesn't turn itself off automaticly. I have to manually press the power-button to turn the computer off. A bit annoying, but not a big problem.

Does anyone know how to fix any of these "problems"? I would be really grateful
I've the same problem!anyone knows the solution?
 
Old 08-28-2003, 08:55 PM   #3
redcane
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
The soft-off function uses ACPI or (can't remember the name of the other power management scheme).

You need to have this supported in the kernel. Once the kernel has finished it's shutdown, it will issue the power off using the power management functions of your hardware if the kernel has support for it.

Which kernel are you using?
 
Old 08-29-2003, 04:20 AM   #4
pferdekaemper
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Re: Two problems: Resolution and shutdown

[QUOTE]Originally posted by corwax
[B]I've been configuring my new Debian 3.0r1 woody for the last couple of days, and now there are only two problems left:

2. When I shut down the computer ("init 0" or "shutdown -h now"), the power-supply doesn't turn itself off automaticly. I have to manually press the power-button to turn the computer off. A bit annoying, but not a big problem.


Hi,
I had the some problem until yesterday. The following did work:
(With kernel 2.4.20 and ECS K7S5A)
- Make sure that ACPI is switched on in BIOS setup.
- Make new kernel with ACPI support (in make menuconfig in "General setup". Also include ACPI Bus manager, System, Processor and Button.
- (Do not forget to switch on the modules with modconf or similar, if compiled as modules.)
- Perhaps you have to switch on the experimental parts in "Code maturity options..."

Then, halt, poweroff or shutdown -h should switch the computer off...

The following did NOT work:
- using APM did not work. Make sure that the APM module is not loaded / included in the kernel. It even did not work with "Power off in real mode"
- switching off ACPI in my BIOS did not work

Regards,
Thorsten
 
Old 08-29-2003, 09:25 AM   #5
corwax
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for your help, guys!

I've got kernel 2.4.18-bf.24. Yeah, I know I should have compiled my own, but when (nearly) everything seemed to work, I decided to keep it.

I'll try your suggestions!
 
Old 08-29-2003, 10:50 AM   #6
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Re: Two problems: Resolution and shutdown

Quote:
Originally posted by corwax
I've been configuring my new Debian 3.0r1 woody for the last couple of days, and now there are only two problems left:

1. When I start X (startx-command), the screen resolution is a bit strange. It is kind of zoomed in on the upper left corner, and I have to press Ctrl+Alt+(-) to get the proper screen. It is not a big problem, but I'd really like to fix this.
Look for the lines SubSection "Display"
in the /etc/X11/XF86Config-4 file or the older format file /etc/X11/XF86Config and make sure the first resolution is the one u desire

In my case :
Code:
Section "Screen"
	Identifier	"Default Screen"
	Device		"NVidia GeForce2 MX/MX400"
	Monitor		"Visa LR8750"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600"
	EndSubSection
EndSection
As u can easily see the 1024x768 resolution is always present on the first position.This is the default res-i mean the first.

In your case it might be the other way around..
 
Old 08-30-2003, 11:17 AM   #7
corwax
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you, pe2338! Now everything works! (WOW)
 
Old 08-30-2003, 02:48 PM   #8
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
No problem! Everything for the linux comunity
 
Old 08-31-2003, 12:21 PM   #9
carstenbjensen
Member
 
Registered: Aug 2003
Location: Denmark, Europe, Earth
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Re: Two problems: Resolution and shutdown

Quote:
Originally posted by corwax
[B
2. When I shut down the computer ("init 0" or "shutdown -h now"), the power-supply doesn't turn itself off automaticly. I have to manually press the power-button to turn the computer off. A bit annoying, but not a big problem.
[/B]
I found, that it's really easy (no need to recompile the kernel) to get soft-off to work...
I initially played a little around with it, but I found that if you just install 'apmd' (and the dependencies...) it works just fine..

Carsten B. Jensen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolution change causes login/shutdown issues analogue40 Linux - Newbie 1 04-28-2005 06:39 PM
'shutdown now' problems microsoft/linux Mandriva 3 09-18-2004 01:09 PM
shutdown problems LYK Linux - Laptop and Netbook 3 05-28-2004 08:13 PM
shutdown problems u02gtt Linux - Newbie 0 04-15-2002 04:09 AM
shutdown problems oxman Linux - Newbie 2 04-14-2002 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration