Sunday, October 04, 2009
playing with powertop on my netbook
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
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:
Now you need to make it
$make
$ sudo depmod -ae
$ sudo modprobe e_powersaver
$ cpufreq-set -g performance
now my cpu is idling at 1200 mhz
cat /proc/cpuinfo
a good idea is to put the module at startup too
in
/etc/modules
e_powersaver
another good command line
or if you need an low noise system
$ cpufreq-set -g ondemand
Monday, September 22, 2008
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
Saturday, September 13, 2008
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
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 ...)
