Showing posts with label cloudbook. Show all posts
Showing posts with label cloudbook. Show all posts

Sunday, October 04, 2009

playing with powertop on my netbook

I know that this via netbook does have issues with powermanagement and i want to digg deeper
to get some sort of power/instructions trace
so i have installed powertop


sudo apt-get install powertop
what is interesting C3 state (sleep) is buggy on this cpu (cache incoherent)
and i see that is really used , it should be disabled by bios but i know that bios is buggy too.

Powertop suggested this
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs

so i have added it in /etc/rc.local
before the exit 0

Saturday, November 01, 2008

Enabling frequency scaling on my everex cloudbook
after the upgrade to ubuntu intrepid ibex (kernel 2.6.27.x) i have good sound and the syste is moving faster
maybe is because of the new io sheduler 
but the frequency scaling is not enabled (default cpu speed is 600mhz)
so i have compile it 
download the latest stable kernel from kernel.org

in my case  
$wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.bz2
$tar -jxvf linux-2.6.27.4.tar.bz2
$cd /usr/src/linux-2.6.27.3/arch/x86/kernel/cpu/
$sudo mv cpufreq /opt/build/
$ cd /opt/build/cpufreq

$vi Makefile
default:
$(MAKE) -C /lib/modules/`uname -r`/build M=`pwd` modules
clean:
rm -rf *.o .*.cmd *.ko *.mod.c .tmp_versions Module.symvers
obj-m += e_powersaver.o

Now you need to make it 
$make
$cp e_powersaver.ko /lib/modules/2.6.27-7-generic/kernel/drivers/cpufreq/
$ sudo depmod -ae
$ sudo modprobe e_powersaver
$ cpufreq-set -g performance

now my cpu is idling at 1200 mhz 
cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 13
model name : VIA C7-M Processor 1200MHz
stepping : 0
cpu MHz : 1199.952
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni est tm2 xtpr rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 2399.92
clflush size : 64
power management:

a good idea is to put the module at startup too 
in 
/etc/modules
add 
e_powersaver

another good command line 
cpufreq-info

analyzing CPU 0:
  driver: e_powersaver
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 400 MHz - 1.20 GHz
  available frequency steps: 400 MHz, 500 MHz, 600 MHz, 700 MHz, 800 MHz, 900 MHz, 1000 MHz, 1.10 GHz, 1.20 GHz
  available cpufreq governors: ondemand, userspace, conservative, powersave, performance
  current policy: frequency should be within 400 MHz and 1.20 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.

or if you need an low noise system 
$ cpufreq-set -g ondemand

Monday, September 22, 2008

wirless network is now installed on the everex cloudbook and is pretty fast , tested with airodump-ng and works ok $ sudo airodump-ng wlan0

Now i have to configure the webcam


http://ubuntuforums.org/showthread.php?t=593231

DISABLE SCROLLKEEPER on ubuntu - is good for updates at least on systems with slow hard drives like everex

ScrollKeeper is a cataloging system for documentation on open systems. Hardly anyone ever uses it and it takes ages every time you install anything. Disable it and your installs will fly! Finally add a diversion to stop dpkg from overwriting your changes.

sudo mv /usr/bin/scrollkeeper-update /usr/bin/scrollkeeper-update.real
sudo ln -s /bin/true /usr/bin/scrollkeeper-update
sudo find /var/lib/scrollkeeper/ -name \*.xml -type f -exec rm -f '{}' \;
sudo dpkg-divert --local --divert /usr/bin/scrollkeeper-update.real --add /usr/bin/scrollkeeper-update

TWEAKS TO MAKE BETTER USE OF THE Everex cloudbook'S SMALL SCREEN:

There are various methods that will help you make better use of the Cloudbook's small screen. One of the most important is being able to move windows that are too large to fit on the screen at once. To move a hidden part of the window into view, click and drag with the left mouse button on any part of the window while holding down the ALT key. However, you won't be able to drag windows so the top of the window is above the top of the screen. To fix that, enter the following in a terminal window:

gconftool-2 --set /apps/compiz/plugins/move/allscreens/options/constrain_y --type bool 0


inspired by this page

https://help.ubuntu.com/community/AspireOne#Step%203:%20Tweak%20/%20Fix

Saturday, September 13, 2008

solving the webcam and wireless on everex cloudbook

Here is how to solve the wireless range and stability
http://forum.netbookuser.com/viewtopic.php?id=543

Follow this guide and you'll have amazing range and stability.
http://www.aircrack-ng.org/doku.php?id=r8187 OR

(as root)

wget http://dl.aircrack-ng.org/drivers/rtl81 … 6.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.24v3.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.24v3.patch
make
make install
depmod -ae
echo "r8187" >> /etc/modules
echo "blacklist rtl8187" >> /etc/modprobe.d/blacklist

webcam which is easy

1. apt-get install module-assistant
2. module-assistant prepare
3. module-assistant auto-install linux-uvc
4. modprobe uvcvideo

more about this webcam

Webcam

Like the WLAN card, the webcam is internally connected via USB. It uses a Bison chip that can be found in many notebook and Logitech webcams. A Linux kernel driver is available as an external source package, "linux-uvc-source"; it will be officially included starting with Linux kernel 2.6.27. The Debian distribution kernel 2.6.26 already includes this module; "modprobe uvcvideo" activates it. The webcam can be used, for example, by running xawtv with the command line argument "-d /dev/video0". However, recording from it, for example with ffmpeg, does not work since the camera does not seem to return correct image geometry information.

Tuesday, September 09, 2008

alternate installer pxe for ubuntu 8.04

if you don't have an usb cdrom or don't want to mess with the usb boot install
then you can install with pxe
seems that it works for me and is quite easy

https://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install

ps: i borked my cloudbook with an gos -> hardy upgrade but i don't panic i will find a way to put a good os back (or parts of it :lxde/awn ...)