powermanagement

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

powermanagement

Post by jsfarinet »

The main reason why i came over here (from a debian/siduction installation) is: I wanted to get better powermanagement (and suspend/hibernate) on this machine (which, i'm pretty aware, unfortunately is not so "linux-friendly"):

Code: Select all

System:    Host: darkstar.example.net Kernel: 3.10.17 x86_64 (64 bit) Desktop: Fluxbox 1.3.5 Distro: Slackware 14.1
Machine:   System: SAMSUNG (portable) product: 535U3C version: P01RAG serial: HUVA91FC700719 
           Mobo: SAMSUNG model: SAMSUNG_NP1234567890 version: SEC_SW__1234567890ABCD serial: 123490EN400015
           Bios: American Megatrends version: P01RAG.N43.120612.LEO date: 06/12/2012
CPU:       Dual core AMD A6-4455M APU with Radeon HD Graphics (-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) 
           Clock Speeds: 1: 2100.00 MHz 2: 2100.00 MHz
Graphics:  Card: AMD/ATI [Advanced Micro Devices ] Trinity [Radeon HD 7500G] 
           X.org: 1.14.3 drivers: ati,radeon (unloaded: vesa) tty size: 98x41 Advanced Data: N/A for root 
Audio:     Card-1: AMD [Advanced Micro Devices ] FCH Azalia Controller driver: snd_hda_intel Sound: ALSA ver: k3.10.17
           Card-2: AMD/ATI [Advanced Micro Devices ] Trinity HDMI Audio Controller driver: snd_hda_intel 
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: powermanagement

Post by gapan »

What is the question?
Image
Image
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: powermanagement

Post by jsfarinet »

Uh, i see there is missing a part of the msg i posted/wanted to post. Sorry.

1) The machine is running crazily hot. (On the Debian side i realized that was a bit better with kernels > 3.12)
2) Suspend does not work correctly. After pm-suspend the laptop goes to sleep. But re-awakening it the screen remains dead (although i see the hd is working).
3) Hibernate does not work. Have i to set a command in lilo (like "resume=sda3" as it would be in grub)?

Footnote: With the catalyst driver that problems were solved. But with very recent kernels there were tons of compatibility problems. So my question: Would it be sane/safe to install amd catalyst (i saw a how to on the slackware site).

Otherwise, are there statements like "acpi_osi=linux" like they are in grub which eventually might help?
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: powermanagement

Post by gapan »

Why shouldn't it be safe? If it works, it works!

And the statements you're referring to are not grub options. They are kernel options and certainly can be used with lilo too.
Image
Image
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: powermanagement

Post by jsfarinet »

gapan wrote:Why shouldn't it be safe? If it works, it works!

And the statements you're referring to are not grub options. They are kernel options and certainly can be used with lilo too.
How respectively where do in set them in lilo (in grub it is GRUB_CMDLINE_LINUX_DEFAULT)?

I tried to install the fglrx driver, but i get an error about a missing tool:

Code: Select all

/lib/modules/3.10.17/build/include/generated/uapi/linux/version.h cannot be found on this system.
How would i install them?

TIA!
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: powermanagement

Post by jsfarinet »

Small add-on: I retried the installation and now i got this error:

Code: Select all

AMD kernel module generator version 2.1
kernel includes at /usr/src/linux/include not found or incomplete
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware
Might this have to do that there are needed the 32-bit libraries for the install (ia32 or mulitarch?) but not existing on my system?
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: powermanagement

Post by gapan »

Code: Select all

man lilo.conf
you need to add any options to the append line.

And you probably also need the kernel-source package.
Image
Image
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: powermanagement

Post by jsfarinet »

gapan wrote:

Code: Select all

man lilo.conf
you need to add any options to the append line.
That's not really clear to me: Which options i should add to the append line? From reading the manual that's not clear to me. Sorry for being so unskilled ...
gapan wrote:And you probably also need the kernel-source package.
Ok, i did that (first i had to remove the exclusions in gslapt). Btw, i see several packages have in their name something like "noarch-1": What does that mean?
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: powermanagement

Post by jsfarinet »

Ok i installed the kernel sources and after that the build of the slackware package went through. I followed then exactly this instructions:
http://docs.slackware.com/howtos:hardwa ... cs_drivers

But unfortunately, the system now totally hangs. On "Loading Salix_ " nothing happens safe the blinking underline. The only thing i can think of is there broke something while installing the kernel sources with gslapt (but it told me all was done and ok). I'd like pretty much to avoid a complete new installation. Is there anything that can be done?

Thanks a lot in advance for any help!
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: powermanagement

Post by laprjns »

jsfarinet wrote:But unfortunately, the system now totally hangs. On "Loading Salix_ " nothing happens safe the blinking underline. The only thing i can think of is there broke something while installing the kernel sources with gslapt (but it told me all was done and ok).
Installing the kernel-source package, even if it was installed incorrectly, would not result in a hung system at boot up. Something else that you may have done is is responsible for this.
I'd like pretty much to avoid a complete new installation. Is there anything that can be done?
Sounds like you either borked up the kernel or change something in lilo. Did you make any changes to lilo.config file and followed with lilo -v? If so what did you do? We are going to need more details on what you did prior to you last reboot.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply