Skip to content

chantk/panasonic-laptop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

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


About

Panasonic HotKey and LCD brightness control driver

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors