Flash High CPU Usage on Intrepid: a better solution

September 27, 2008

There is a better alternative to solve the Flash High CPU usage on the Ubuntu Intrepid 8.10, using a possible official patch. This patch will generate a new .deb that can be installed and removed using the Debian’s Package Manager. To quickly install just follow the commands below on a Terminal (Applications -> Accessories -> Terminal).

sudo apt-get install build-essential fakeroot devscripts
cd /tmp
wget http://launchpadlibrarian.net/17178225/flashplugin-nonfree_10.0.1.218%2B10.0.0.569ubuntu1.debdiff
apt-get source flashplugin-nonfree
sudo apt-get build-dep flashplugin-nonfree
cd flashplugin-nonfree-
patch -p1 < ../flashplugin-nonfree_10.0.1.218+
debuild -uc -us
sudo dpkg -i ../flashplugin-nonfree_10.0.1.218+

This will generate a .deb and install it.

Update: patch was misspelled. Thanks Doug!

e1000e banned on 2.6.27-4

September 24, 2008

As a desperated measure, the maintainers of Ubuntu Kernel decided to put the e1000e driver on the blacklist. It is a temporary measure to avoid more problems, but also disabled ethernet on a huge number o machines (including mine ūüôā ).

I hope this issue will be solved as soon as possible.

Intrepid ships hardware-blower driver

September 23, 2008

In the Ubuntu 8.10 Intrepid Alpha, the kernel used is the 2.6.27 which contains a very dangerous version of the e1000e driver. This specific version of the driver maps the firmware of the hardware on memory and gives write access to it, so a misbehaved kernel (which is common in a development branch) can overwrite the firmware.

The attempts to recover the firmware using the Intel’s tools just make the things worse and brick the entire network card (the card is not recognized as PCI device anymore).

In other words, the driver allows a sequence of events to destroy the network card, which in many cases is onboard or at a laptop (there is already some occurrences of this fact).

You can track the bug on LaunchPad.

Flash 10 High CPU usage on Ubuntu 8.10 Intrepid

September 22, 2008

When I try to use the Flash 10 that comes in the repository I suffer from a very high CPU usage on websites that contain Flash animations.

A temporary solution while the version in the repository is not fixed is to use the Adobe’s version installed manually. To do so, follow the steps bellow:

  1. Go to http://labs.adobe.com/downloads/flashplayer10.html
  2. Download the Linux .tar.gz version
  3. Extract it to a temporary directory
  4. Execute the flashplayer-installer
  5. Answer the questions

Now the issues related to the high cpu usage shall disappear.

PS: The FlashBlock still doesn’t work

Impressions on Ubuntu 8.10 Intrepid Alpha 6

September 22, 2008

First of all, I know it is an Alpha version, however it is the last alpha version and today just happened the Beta Freeze. So, I decided to try the new Ubuntu on my Lenovo’s Thinkpad T61 (all chipsets are Intel). My impressions were very good at a first glance, however after installing I needed to remove a lot of Gnome’s configuration files.

What surprised me:

  • Network Manager 0.7 is becoming a very powerful tool, now supporting also GSM and ADSL.
  • Network interfaces can be activated at boot time (configurable also via Network Manager).
  • Flash Plugin upgraded to 10, solving the annoying issues of overlapping over menus and other page items.
  • New Kernel 2.6.27 with new drivers (Now my wifi light is on)
  • The Pidgin was upgraded to 2.5.1
  • The volume control is now integrated with Pulse Audio.

What disappointed me:

  • The Network Manager does not recognise my mobile phone over Bluetooth or USB
  • My Flash Blocker plugin is not working anymore (tryied to reinstall everything)
  • The Kernel still in development, so the suspend does not work
  • My Ricoh Card Reader still does not support Memory Stick due the lack of a kernel driver
  • The is some graphical bugs related to X and my Intel video.

In conclusion, the Ubuntu 8.10 will be very promising. There is a lot of bugs to be fixed until it reaches beta. Until then, I will be filling bugs and tracking then very closely on Launchpad.

Portuguese: pyCorreios para rastrear suas encomendas

September 21, 2008

Post in portuguese

Muitas vezes eu me vi paranoicamente atualizando o site dos Correios para verificar onde minhas encomendas se encontravam. Daí surgiu a idéia de construir uma aplicação que fizesse isso para mim de forma automática. Então surgiu o pyCorreios, feito em Python e GTK me permite monitorar encomendas nacionais no site dos correios. Atualmente roda apenas em Linux devido a algumas dependências de diretório, quem sabe no futuro uma versão Windows.

pyCorreios - Tela Principal

pyCorreios - Tela Principal

pyCorreios - Adicionar Novo Código

pyCorreios - Adicionar Novo Código

A aplicação ainda está em desenvolvimento e falta alguns polimentos. Caso queira acompanhar o desenvolvimento, acesse o site dela.

Google Code and me

September 21, 2008

I always was very keen on the SourceForge.net to host my open source projects. But in the last week I’ve been developing a very small application to track my packages at the Brazilian Post Office Service, Correios. Since it is a very nice application, I tough that would be a good idea to share this application using a public license like GPLv3.

However it is a small application and the bureaucracy of SourceForge.net does not encourage me on subscribing the application on it. Then, I remembered of Google Code and decided to give a try.

Well, for my (positive) surprise, it took only a few minutes to have my project subscribed and with a functional SVN repository. There is absolute no bureaucracy and it satisfy all my project’s needs (Main page, Wiki, Download section and SVN). From now on I would recommend to everyone that is starting a small project the Google Code system.