Page 1 of 3
powermanagement
Posted: 30. Nov 2014, 10:24
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
Re: powermanagement
Posted: 30. Nov 2014, 11:35
by gapan
What is the question?
Re: powermanagement
Posted: 30. Nov 2014, 14:40
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?
Re: powermanagement
Posted: 30. Nov 2014, 15:24
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.
Re: powermanagement
Posted: 30. Nov 2014, 18:59
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!
Re: powermanagement
Posted: 30. Nov 2014, 19:57
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?
Re: powermanagement
Posted: 30. Nov 2014, 20:40
by gapan
you need to add any options to the append line.
And you probably also need the kernel-source package.
Re: powermanagement
Posted: 30. Nov 2014, 23:18
by jsfarinet
gapan wrote:
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?
Re: powermanagement
Posted: 1. Dec 2014, 00:24
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!
Re: powermanagement
Posted: 1. Dec 2014, 02:07
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.