Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Nearly there, with ACPI partly working, but
1) cannot get any of the Fn key combination to work
2) SOLVED cannot wake from Hibernate (reddish screen+freeze) SOLVED
3) I can suspend (moon will light) but cannot wake up laptop.
4) sound up/down and mute, and contrast not working
5) kmilo-thinkpad does not recognise any special key (acpi=on, works partly when acpi=ht)

Hereafter configuration details and how I got some of it to work,
(seeing that most people have serious problems with ACPI, it might help some.) It also documents everything in one place, instead of 3 or 4 incomplete threads in LQ

acpi=ht contrast and sound buttons working, nothing else (by definition)
with acpi=on, here is what "works"
- laptop will boot (no distro I tried could do that)
- Klaptop will display battery icone, 5 performance profiles available,
throttling of cpu possible, menus for Lock and suspend, suspend, lock and hibernate,
hibernate
-temperatures can be accessed
-suspend to disk works in single mode (echo disk>/sys/power/state)
-suspend to disk now works with X (problem 2 solved)
but I have the 4 acpi issues listed at the top of the post

To get there, I patched drivers/acpi/processor_idle.c withhttp://bugzilla.kernel.org/attachmen...87&action=view
chmod 666 /dev/nvram
I taylored the kernel (see toward the end) and compiled it.
I used ibm-acpi-0.11 http://prdownloads.sourceforge.net/i...ar.gz?download
that is make && make install once the kernel was compiled
Kmilo and Klaptop are installed.
To get hibernate to work, I patched ati-agp http://unixhead.org/docs/thinkpad/suspend.html
from within /usr/src/linux
rm drivers/char/agp/*.o
rm drivers/char/agp/*.ko
make SUBDIRS=drivers/char/agp
make modules_install
(with this method no need to recompile the whole kernel
and I modified very slightly the bash script (above link) (to be posted soon) that
remove some of the modules from the kernel.
(alsa, eth0, wlan0, ndiswrapper etc before suspending to disk)

Also "on Radeon graphics there is a known issue with the X driver:
it configures the video card in a way which prevents Fn-F7 from working."
"There's now a patch for the X.org Radeon driver which
addresses this issue. Some people are reporting success with the patch
while others are still having problems. For more information:"https://bugs.freedesktop.org/show_bug.cgi?id=2000

kmilo is enabled but does not list any of the function key, and
the thinkpad button aka "access ibm" blue button does not work.
I have just learned that Kmilo is a port of "ThinkPad Buttons" utility, see http://www.nongnu.org/tpb/
I compiled this ok, but do not see any OSD display or anything.
I tried anyway, but the R40e is not listed for this software.

However, when using acpi=ht Kmilo must be working because I get at least these OSD messages
- volume up/down
- volume mute
- brightness up/down
- thinkpad light on/off (although I cannot see any difference)

TO DO list
I will keep trying with Kmilo (and xev) and see if the sound keys can be mapped to kde. xev returns 0x0 for Fn (acpi=on) and does not capture any of the Fn+Fkey.
Cannot find yet if I need some xorg or radeon patches

maybe TO DO list
update bios
I cannot understand the syntax for the new HOTKEY_CONFIG in newer kernels.

# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=y
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_CUSTOM_DSDT_INITRD is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_TC1100 is not set
#
# APM (Advanced Power Management) BIOS Support
#
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=m
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_P4_CLOCKMOD=m
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set
#
# shared options
#
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_X86_SPEEDSTEP_LIB=m

the r40e has no clue about apm, disable that the next time you compile. your bios version is seriously old, 1set70ww (11\15\2005) is the latest. if you flash the bios remember to edit processor_idle.c to reflect the new version (change 1set56ww to 1set70ww and save. this will stop acpi from trying to go to levels c2 and c3, which the r40e can't do.

The hibernate in graphics mode now works (have edited my previous post to explain how)

rshaw thanks for your clues. I know the bios is old, but as I "wipped the Zindows partition", and have no floppy drive, I can only upgrade the bios by using the boot CD method from thinwiki. I have made a CD iso,
but I am not ready to make a door-stop yet. In the past, when I looked at the bios update log, I could
not find any clues about whether my acpi problems were related to the oldish bios.

I have not seen a thinkpad bios update method using a small fat32 bootable partition with freedos...
Most of the utilities for this thinkpad bios update are XP, so I did not pursue. Can they be unzipped/unshielded, and ran from some sort of dos partition? (I have kept a small fat32 partition - I could grub chain load/boot it)

Will remove apm from the kernel, as per your advice (was not sure whether some of it was needed to get good
working of acpi).

When most of this works, it might be worth submitting to the acpi howto (I read quite a bit of it, and
there is a small R40e section/heading)