So you can create a script that links asound.conf to a configuration depending on the hdmi cable plugged in or not: (for some reason my HDMI device is listed as DVI)

So you can create a script that links asound.conf to a configuration depending on the hdmi cable plugged in or not: (for some reason my HDMI device is listed as DVI)

Line 67:

Line 136:

If the user is allowed to run the hdmi_switch.sh script and is also allowed to change files in /etc/alsa folder you can bind that script to a key :D

If the user is allowed to run the hdmi_switch.sh script and is also allowed to change files in /etc/alsa folder you can bind that script to a key :D

−

If you also want to change to monitor read [[Advanced_Linux_Sound_Architecture#Using_udev_to_automatically_turn_HDMI_audio_on_or_off|this]].

+

If you also want to change to monitor read [[Advanced_Linux_Sound_Architecture#Using_udev_to_automatically_turn_HDMI_audio_on_or_off|this]]{{Broken section link}}.

−

==Screen Brightness==

+

== Screen Brightness ==

−

===acpi===

−

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 [[Backlight#ACPI|following]] as kernel parameters in your bootloader

+

The backlight directory is /sys/class/backlight/acpi_video0. The display keys are now handled by the kernel.

−

acpi_osi=Linux acpi_backlight=vendor

−

−

To make this permant [[Kernel_parameters#GRUB|see here]]

−

−

==== FN Keys ====

−

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

−

{{hc|/etc/acpi/actions/bl_up.sh|<nowiki>

−

#!/bin/sh

−

bl_device=/sys/class/backlight/eeepc-wmi/brightness

−

echo $(($(cat $bl_device)+1)) >$bl_device

−

</nowiki>}}

−

−

{{hc|/etc/acpi/actions/bl_down.sh|<nowiki>

−

#!/bin/sh

−

bl_device=/sys/class/backlight/eeepc-wmi/brightness

−

echo $(($(cat $bl_device)-1)) >$bl_device

−

</nowiki>}}

−

−

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) --> [https://bbs.archlinux.org/viewtopic.php?pid=1200593&ei=NZLMUPKhLonasgbX74CgBw&usg=AFQjCNG2D4H-8dfxK1wGjs78YDjvy-kH_A&bvm=bv.1355325884,d.Yms this may help]

Contents

Bootloader

Use i686 even if Intel ARK mentions support for Intel 64. The Arch ISO will detect i686.

For BIOS legacy boot, create a USB stick with dd. Press F2 to go into the boot menu. Choose the entry for your USB stick that doesn't say "UEFI:".
The BIOS gives an option for UEFI booting but the option seems to be broken.

Audio

Mono format

In case of missing voices, play all sounds in mono format. Using ALSA add to .asoundrc:

User specific

Dynamic

The audio device can also be configured with /etc/asound.conf
So you can create a script that links asound.conf to a configuration depending on the hdmi cable plugged in or not: (for some reason my HDMI device is listed as DVI)

If the user is allowed to run the hdmi_switch.sh script and is also allowed to change files in /etc/alsa folder you can bind that script to a key :D
If you also want to change to monitor read this[broken link: invalid section].

Screen Brightness

The backlight directory is /sys/class/backlight/acpi_video0. The display keys are now handled by the kernel.