Difference between revisions of "ASUS Eee PC 1025c"

From ArchWiki
Jump to: navigation, search
m (more concise, remove illegible parts, add template:poor writing)
m (Lahwaacz moved page Asus EEE PC 1025c to ASUS EEE PC 1025c: fixed capitalization)
(No difference)

Revision as of 11:44, 5 August 2014

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements. See Help:Style for reference.Tango-edit-clear.png

Reason: (Discuss in Talk:ASUS Eee PC 1025c#)


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

For UEFI boot, create an USB stick with dd. On boot, enter BIOS with F2. In the menu 'Exit' you'll find the option 'Boot overwrite' where the USBDrive is listed twice, one time below the HDD and one time with 'UEFI:' in front. Choose the entry without the UEFI and it boots without issue.


Mono format

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

pcm.card0 {
  type hw
  card 0

ctl.card0 {
  type hw
  card 0

pcm.monocard {
  slave.pcm card0
  slave.channels 2
#  type plug
  type route
  ttable {
   # Copy both input channels to output channel 0 (Left). 
    0.0 1
    1.0 1
   # Send nothing to output channel 1 (Right). 
    0.1 0
    1.1 0

ctl.monocard {
  type hw
  card 0

pcm.!default monocard

Save and reload ALSA.

To set mono in a PulseAudio, run:

 $ pacmd list-sinks | grep name | head -n1 

To get the master device name. The output of command will look like this:

 name: <alsa_output.pci-0000_00_1b.0.analog-stereo>

Put device name (in my case alsa_output.pci-0000_00_1b.0.analog-stereo) in field 'master' of the command below:

 $ pacmd load-module module-remap-sink sink_name=mono master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 channel_map=front-right,mono

This only works if PulseAudio is running. To make this permanent, add the pacmd argument last to /etc/pulse/default.pa:

 # echo "load-module module-remap-sink sink_name=mono master=alsa_output.pci-0000_00_1b.0.analog-stereo channels=2 channel_map=front-right,mono" >> /etc/pulse/default.pa



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

# xrandr --output DVI-0 --auto


You need to know the number of your sound card and the the HDMI device number:

aplay -l
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.

User specific

See Advanced_Linux_Sound_Architecture#HDMI_Output_Does_Not_Work.


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)

#! /bin/bash
hdmi_status="$(cat /sys/class/drm/card0-DVI-D-1/status)"
ln -f "/etc/alsa/hdmi_$hdmi_status" /etc/alsa/asound.conf
alsactl restore

Configuration files:

pcm.!default {
      type hw
      card 0
      device 3 
pcm.!default {
      type hw
      card 0
      device 0 

Create a symbolic link to /etc/asound.conf

ln -s /etc/alsa/asound.conf /etc/asound.conf

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.

Screen Brightness


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 see here

FN Keys

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

  echo $(($(cat $bl_device)+1)) >$bl_device
  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

When using the Enlightenment 17 window manager, the brightness keys will work without any additional configuration and the backlight can be adjusted using the built-in backlight widget.

AC plug / unplug

        case "$2" in
                case "$4" in
                        logger 'AC unpluged'
                        echo $(($(cat /sys/class/backlight/eeepc-wmi/max_brightness)/2)) > /sys/class/backlight/eeepc-wmi/brightness
                        logger 'AC pluged'
                        echo $(($(cat /sys/class/backlight/eeepc-wmi/max_brightness)-1)) > /sys/class/backlight/eeepc-wmi/brightness
                logger "AC Adapter ACPI action undefined: $2"