Difference between revisions of "ASUS Eee PC 1025c"

From ArchWiki
Jump to: navigation, search
(Created page with "==Screen Brightness Keys== ===acpi=== Setting brightness in /sys/class/backlight/acpi_video0/ with the scripts for acpid did change the va...")
 
(acpi)
Line 1: Line 1:
 
==Screen Brightness Keys==
 
==Screen Brightness Keys==
 
===acpi===
 
===acpi===
Setting brightness in /sys/class/backlight/acpi_video0/ with the scripts for [[acpid#Enabling_backlight_control|acpid]] did change the values of the files ''brightness'' and ''actual_brightness'' but did not have any effect on current screen brightness.
+
Setting brightness in /sys/class/backlight/acpi_video0/ with the scripts for [[acpid#Enabling_backlight_control|acpid]] change the values of the files ''brightness'' and ''actual_brightness'' but do not have any effect on current screen brightness.
  
 
Set the following as kernel parameters in your bootloader (see [[Backlight#ACPI|here]])
 
Set the following as kernel parameters in your bootloader (see [[Backlight#ACPI|here]])

Revision as of 13:28, 15 December 2012

Screen Brightness Keys

acpi

Setting brightness in /sys/class/backlight/acpi_video0/ with the scripts for acpid change the values of the files brightness and actual_brightness but do not have any effect on current screen brightness.

Set the following as kernel parameters in your bootloader (see here)

acpi_osi=Linux acpi_backlight=vendor

To make this permant...

Now there is a folder eeepc-wmi in /sys/class/backlight and the scripts need to be updated

/etc/acpi/actions/bl_up.sh
  #!/bin/sh
  bl_device=/sys/class/backlight/eeepc-wmi/brightness
  echo $(($(cat $bl_device)+1)) >$bl_device
/etc/acpi/actions/bl_down.sh
  #!/bin/sh
  bl_device=/sys/class/backlight/eeepc-wmi/brightness
  echo $(($(cat $bl_device)-1)) >$bl_device