Tricks on samsung chromebook

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Tricks on samsung chromebook

Postby p4u » Wed Aug 27, 2014 8:33 pm

I've recently installed ArchLinux in my Samsung Chromebook. I removed chromeOS from the internal flash and installed full archlinux, it is as easy as follow the current instructions made for installing arch in USB or SD but changing mmcblk1/sda for mmcblk0.

To make the video work I'm using fbdev driver (it performs better than armsoc)

$this->bbcode_second_pass_code('', 'Section "Device"
Identifier "card0"
# Driver "armsoc"
Driver "fbdev"
Screen 0
EndSection')

For viewing videos in full screean, I'm using this trick in mplayer (add this to ~/.mplayer/config)

$this->bbcode_second_pass_code('', 'lavdopts=fast=1:threads=2:skiploopfilter=all
vo=x11
framedrop=1
zoom=1
')

For making suspension work I added this code to /etc/acpi/handler.sh

$this->bbcode_second_pass_code('', ' button/lid)
case "$3" in
close)
logger 'LID closed'
xset -dpms
xset s 10
pm-suspend
;;
open)
logger 'LID opened'
xset +dpms
xset s 60
;;
*)
logger "ACPI action undefined: $3"
;;
')

Frequency scaling

$this->bbcode_second_pass_code('', ' ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
logger 'AC unpluged'
sudo cpupower frequency-set -g ondemand
;;
00000001)
logger 'AC pluged'
sudo cpupower frequency-set -g performance
;;
esac
;;
*)
')

I hope this is useful for someone, please share your tricks to make the chromebook even better!
p4u
 
Posts: 1
Joined: Wed Aug 27, 2014 8:20 pm

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests