ASUS Eee PC 1025c
# xrandr --output DVI-0 --auto
You need to now the number of your sound card and the the number of HDMI device:
**** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: Intel [HDA Intel], Gerät 0: ALC269VB Analog [ALC269VB Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 0: Intel [HDA Intel], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0
In /usr/shared/alsa/alsa.conf search the lines
default.pcm.card 0 default.pcm.device 0
If you change the numbers to your card and device (in my case card is 0 and device is 3) and reboot the audio output switches to HDMI. (I am looking for a way, that is more dynamic --> maybe this)
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
To make this permant see here
Now there is a folder eeepc-wmi in /sys/class/backlight and the scripts need to be updated
#!/bin/sh bl_device=/sys/class/backlight/eeepc-wmi/brightness echo $(($(cat $bl_device)+1)) >$bl_device
#!/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 although the brightnessup key sets brightness to maximum and the brightnessdown key sets the brightness to max_brightness-1 :( (do not now where this happens) --> this may help
AC plug / unplug
.. 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 ;; ..