Friday, April 25, 2008

Dist-upgrade Hardy

Just dist-upgraded my Gutsy laptop to Hardy and a few issues have come up.

Gateway 5570Z (model 5570-2607)

Sound

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) [8086:27d8 (rev 02)]

After the upgrade there was no more sound, whereas it was working fine in Gutsy. Needs further investigation.

PARTIALLY SOLVED: Seems the bug is on the headphone output detection. I had external speakers connected to the headphone out and no sound was playing, either on the internal or external speakers. If I unplug the external speakers, sound comes out from the internal ones. If I plug the external, no sound is heard again, only if I manually check the Headphone key on the volume control app. Definitely a bug.
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/126157


WiFi

03:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)

I was using a manually compiled ndiswrapper on Gutsy, and on the upgrade it was probably replaced. Tried using the new b43 driver, which installed fine and even activated the device, but it isn't detecting my wireless network, so I'm going back to ndiswrapper. Seems ndiwrapper doesn't like loading in Hardy tho... hmm.

SOLVED: the ndiswrapper module doesn't like to be loaded after the ssb module, so you must remove b44 and ssb, load ndiswrapper and then load ssb and b44 back again. Fun.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/188621
https://bugs.launchpad.net/ubuntu/+bug/214917


USB Keyboard

I use an external usb keyboard when at home, and Hardy is having issues in detecting the numeric keypad... any key I press there is completely ignored. Needs further investigation.

SOLVED: completely stupid bug, it is fixed by going in System->Preferences->Keyboard and disabling Allow to control the pointer using the keyboard on the Mouse Keys tab.
Thanks to this blog post: Fixing the borked numeric keypad in Ubuntu Hardy


Touchpad

Just doesn't works (completely disabled). A major regression from Gusty, where it was perfectly detected and functioning. No solution yet, just a workaround:

sudo rmmod psmouse && sudo modprobe psmouse

this makes it work, kind of, since no advanced synaptic driver functions are enabled (like the scroll button, tap gestures, touch scrolling, etc).
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/191024


Firefox 3

Firefox 3 is great, but I was having speed issues with it, in that accessing a Flickr picture (for instance) would make it use 100% cpu and lockup. Since it was using my old FF2 profile, I created a new one (Alt+F2 -> firefox -ProfileManager) and tried the same pages, and sure enough it worked fine. So I just imported the old bookmarks to this new profile, installed a few extensions and all was good.

Labels:

Tuesday, March 18, 2008

Votação Open Source Initiative

Votações serão abertas logo para o Executive Board na Open Source Initiative (OSI), principal entidade que promove o movimento.

Quem está se candidatando é Bruce Perens, um dos fundadores originais da organização, lá nos tempos do Netscape, e ele precisa de votos da comunidade para poder entrar como Board Member agora.

A preocupação atual dele é com a proliferação de licenças open source que são OSI-certified, especialmente porque a organização atualmente conta com diversos membros que estão mais ligados ao mundo corporativo do que à comunidade open source em si. Ele defende a redução desse número de licenças para 4, retirando a redundância atual (muitas licenças são parecidas ou iguais na prática) e facilitando a troca de código entre elas.

Bruce Perens era do Debian, e criou a idéia de Open Source enquanto foi líder de projeto no Debian, defende a idéia de Software Livre e da GPLv3, além de estar ligado a diversos projetos importantes, como o Linux Standard Base (LSB), entre outras organizações voltadas ao suporte de projetos e difusão do Open Source e do Software Livre.

Para votar, acesse http://techp.org/p/7, leia a mensagem e vote.

Labels:

Thursday, March 6, 2008

Aprovar ODF como norma ABNT

Vote a favor da aprovação do ODF como norma brasileira (ABNT) para padronização de documentos de escritório.

Entre no site de votação, faça o cadastro e vote.


Aproveite para fazer campanha contra a aprovação do formato MS OpenXML como padrão ISO. Pode usar esse banner que montei no Inkscape, baseado no banner da openxml.info:

Clique na imagem para baixar a versão em SVG.


Labels:

Thursday, October 11, 2007

CowBuilder + CCache

I'm a GetDeb contributor, building Ubuntu packages of new applications. The build system I use is CowBuilder (pbuilder/cowdancer) plus CCache to speedup the process.

Following is a simple guide to setup such an environment on an Ubuntu system.

  1. Install packages:
    sudo apt-get install cowdancer ccache
  2. Edit ~/.pbuilderrc :
    ## Overrides /etc/pbuilderrc

    # Default distribution
    DISTRIBUTION=feisty
    COMPONENTS="main restricted universe multiverse"

    # Repositories
    MIRRORSITE=http://br.archive.ubuntu.com/ubuntu

    # Bash prompt inside pbuilder
    export debian_chroot="pbuild$$"

    # Faster dependency resolution
    PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi"

    # CCache setup
    export CCACHE_DIR="/var/cache/pbuilder/ccache"
    export PATH="/usr/lib/ccache:${PATH}"

    EXTRAPACKAGES=ccache
    BINDMOUNTS="${CCACHE_DIR}"
  3. Create CCache directory (user 1234 is default inside cowbuilder):
    sudo mkdir /var/cache/pbuilder/ccache
    sudo chown 1234 /var/cache/pbuilder/ccache
  4. Create the build environment:
    sudo cowbuilder --create --distribution feisty
After the (rather long) download and install procedure you can start compiling your own packages like this:
sudo cowbuilder --build flv2mpeg4_0+svn3-1~getdeb1.dsc

The resulting package can be found in /var/cache/pbuilder/result/

Labels:

Thursday, October 4, 2007

Software Patents


Guess who patented that?

...

Look closely at the icons.


Guess again.

Labels: