2014年9月14日日曜日

After installation

After I managed to install arch linux and mate desktop environment. I found configurations about keyboard, screen, backlight, touchpad are also challenging.
I was able to set backlight brightness and set user account but still configuring touch pad and keyboard and fix problems like never come back when sleeping were seems to be not solved just skimming the web.
So I find myself to have to understand more about arch linux system itself and need to read this and this

Setting up Arch Linux on HP chromebook 11

Setting up laptop

Arch wiki

backlight

$ ls /sys/class/backlight/
$ ps8622-backlight
This is the directory for controlling my HP chromebook11's backlight. The name depends on the graphics card. intel_backlight for intel graphics card, acpi_video0 on an ATI card. I eventually found mine is from a company called Parade. A company from Taiwan.

moving on.

$ ls /sys/class/backlight/ps8622-backlight
$ actual_brightness brightness max_brightness ....
What is the maximum value of brightness
$ cat /sys/class/backlight/ps8622-backlight/max_brightness
$ 255
What is actual? $ cat /sys/class/backlight/ps8622-backlight/actual_brightness

The brightness can be set by writing number to brightness. It is possible to go any higher than the maximum brightness
$ tee /sys/class/backlight/ps8622-backlight/brightness <<< 35

touchpad

  • xorg.conf
  • about synaptics
  • Trying to enable touch pad actions like tap to click, two finger scroll or so

    Current settings are in the configuration file downloaded from here when installing the system

    It is found in /etc/X11/xorg.conf.d

    Check out available input-device and their ids

    $ xinput --list

    and verify the properties of touch pad device

    $ xinput --list-props 8

    It shows Synaptics Tap Action (261): 0, 0, 0, 0, 0, 0, 0

    It's weird because I set up TapButton1 to TapButton3 in conf file (/etc/X11/xorg.conf.d/50-synaptics.conf).
    I can enable tap action via
    $ synclient "TapButton1"="1"
    So it's not that my touchpad is not configurable but somehow it fails to configure at boot process by .conf file
    I found it is because I'm using MATE as desktop environment. MATE needs some setting for enabling configure touchpad right. (see here)

2014年9月2日火曜日

Added new user on my arch linux

Added new user
# useradd -m -G wheel -s /bin/bash
and set password
# passwd username

Next to do

  • use sudo as normal user
  • setting up sound
  • find way to two finger scroll on track pad
  • find way to set brightness of screen

2014年9月1日月曜日

Yeah! I made it! Successfully install and setup arch linux on my HP Chromebook 11

Since it seemed that I lost boot.scr.uimg in someway, I forked archarm repo and added line to download it in install.sh (github repo)
And in installation process, used my install.sh and it worked! I successfully install arch linux on my chromebook and boot on it again.
I came here last time and failed post-install.sh. So this time I didn't use post-install.sh. Instead I installed packages by hand one by one for each packages in post-install.sh. Also I edited /etc/pacman.d/mirrorlist to comment out geo location based mirror selection and use Singapore, Taiwan and California.
After installed all packages successfully (sometimes systemd-journald.service got watchdog=1 message scared me but wasn't cause serious problem also I got kernel panic when I run pacman -S mate this also scared me but wasn't cause serious problem.).
Because I failed many times and take long time to come so far I couldn't feel it's gonna work even though all packages seem to be installed without problem.
I rebooted the system. After some text lines flowed as usual, graphical interface appeared to require login info. I logged in as root. The desktop appeared!! I finally got my first linux laptop!!

note: I also found an error in post-install.sh. the line echo "exec mame-session >" should be echo "exec mate-session"