chantk/panasonic-laptop
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
README ====== * Manually merged panasonic-laptop.patch with kernel version * Compile a debug kernel * cdpower works (power on/off) * Compile and install acpi_call module (hacking/acpi_call) * cdpower hardware switch turns off optical drive * Add support for ECO (battery charging threshold) mode What does not work ---------------------- * ECO mode is not persistent across reboots. Any help is appreciated. :) Setting up the devel environment ======================================== Enabling debug mode ------------------------ # LILO configuration file * Compile kernel with CONFIG_DYNAMIC_DEBUG=y and CONFIG_ACPI_DEBUG=y * CONFIG_KERNEL_VERSION="-dbg" * Add kernel parameter: addappend = "log_buf_len=16M" * Mount debugfs # mount -t debugfs none /sys/kernel/debug * Enable debug mode by adding this line: # echo -n 'file ec.c +p' | sudo tee /sys/kernel/debug/dynamic_debug/control