Difference between revisions of "ASUS Eee PC 1025c"

From ArchWiki
Jump to: navigation, search
(acpi)
Line 1: Line 1:
 +
==HDMI==
 +
===Video===
 +
You have to change the [[Poulsbo|video driver]].
 +
If the HDMI cable is plugged in on boot it is enabled automatically. If it is plugged in after boot you can use [[xrandr]] to enable the second monitor:
 +
 +
# xrandr --output DVI-0 --auto
 +
 +
===Audio===
 +
 +
 
==Screen Brightness==
 
==Screen Brightness==
 
===acpi===
 
===acpi===
Line 22: Line 32:
 
</nowiki>}}
 
</nowiki>}}
  
The scripts change the screen brightness everytime I run them. Unfortunately the acpi events for brightnessup and brightnessdown are not available anymore :( --> mybe look [https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDYQFjAA&url=https://bbs.archlinux.org/viewtopic.php?pid=1200593&ei=NZLMUPKhLonasgbX74CgBw&usg=AFQjCNG2D4H-8dfxK1wGjs78YDjvy-kH_A&bvm=bv.1355325884,d.Yms here]
+
The scripts change the screen brightness everytime I run them. Unfortunately the acpi events for brightnessup and brightnessdown are not available anymore :( --> [https://bbs.archlinux.org/viewtopic.php?pid=1200593&ei=NZLMUPKhLonasgbX74CgBw&usg=AFQjCNG2D4H-8dfxK1wGjs78YDjvy-kH_A&bvm=bv.1355325884,d.Yms this may help]
  
 
==== AC plug / unplug ====
 
==== AC plug / unplug ====

Revision as of 15:38, 15 December 2012

HDMI

Video

You have to change the video driver. If the HDMI cable is plugged in on boot it is enabled automatically. If it is plugged in after boot you can use xrandr to enable the second monitor:

# xrandr --output DVI-0 --auto

Audio

Screen Brightness

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

acpi_osi=Linux acpi_backlight=vendor

To make this permant...

FN Keys

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

The scripts change the screen brightness everytime I run them. Unfortunately the acpi events for brightnessup and brightnessdown are not available anymore :( --> this may help

AC plug / unplug

/etc/acpi/handler.sh
 ..
 ac_adapter)
        case "$2" in
            ACPI0003:00)
                case "$4" in
                    00000000)
                        logger 'AC unpluged'
                        echo $(($(cat /sys/class/backlight/eeepc-wmi/max_brightness)/2)) > /sys/class/backlight/eeepc-wmi/brightness
			;;
                    00000001)
                        logger 'AC pluged'
                        echo $(($(cat /sys/class/backlight/eeepc-wmi/max_brightness)-1)) > /sys/class/backlight/eeepc-wmi/brightness
			;;
                esac
                ;;
            *)
                logger "AC Adapter ACPI action undefined: $2"
		;;
        esac
        ;;
 ..