News from the front

The Week in Review 43W2008

/wir | edited on 2008/10/27 -- permalink

Aspire One notes

(cross)Building the kernel on a real machine

  1. Grab the kernel source package from the Acer AA1 Linpus repo. If your version (uname -a) for some reason isn’t 2.6.23.9lw fish around to the correct package.
  2. Pick a directory to hold your AA1 stuff, say ~/acer, and unzip the source into it
  3. Copy the kernel config from /boot/config* on your AA1 (mine is config_080627 - might change on future updates) to your real computer
  4. Go into the kernel source dir and say

    export INSTALL_MOD_PATH=~/acer/
    export ARCH=i386 # this is only important if you're a diferent arch
    make mrproper
    
  5. Copy the you got from the AA1 (config_080627) to .config and say

    make oldconfig
    make modules
    
  6. Now you should have all the “default” modules built. If you don’t, you screwed up somewhere
  7. Say make menuconfig and chose the modules you want
  8. Say

    make modules
    make modules_install
    
  9. You new modules are in ~/acer/lib/… . Copy them over to the /lib/modules tree in the AA1

Note: This will not let you use VirtualBox or VMWare or the likes on the AA1 as you didn’t setup a build tree there!

Instaling extra packages

The very first thing you do is

yum update fedora-release

cause there was a little snafu with the security of the signing keys and that will transition you to the new repo (8.5) signed with the new keys. Remeber to be careful with what you install and do not do yum update.

The “extra” stuff like mplayer comes from DAG instead of freshrpms just to make things a bit more insteresting….

Getting rid of the broken NetworkManager

NetworkManager and nm-applet that shipped originally nearly worked but an updated totally broke it and I was ifuping eth0 for life and network. Good news you can update do fc8-updates NetworkManager which actually works (apart from nm-applet dying on susped which I haven’t figured out yet) and knows about some 3G cards.

  1. Get current gnome-menus and redhat-menus from a fc8 mirror
  2. Say

    rpm -Uvh --force --justdb gnome-menus-2.20.2-1.fc8.i386.rpm redhat-menus-8.9.11-2.fc8.noarch.rpm 
    #replace the version numbers with whatever's current
    

    The param —justdb is very important. NetworkManager requires these but they conflict with the linpus menus so you tell rpm to record on the database they’re installed but never actually write any files to disc.

  3. Say

    yum update NetworkManager
    
  4. Edit /etc/rc.d/slim/nowait.sh and move the line

    sudo /usr/bin/nm-applet &
    

    from around 1/3 up to the end of the file. In my boot nm-applet was starting before gnome-keyring and it couldn’t fetch wireless keys. This delays nm-applet startup a bit and WorksForMe.

Not using the Acer Email client

The “Acer Email” that comes preinstalled on the AA1 looks like an old version of Evo. Don’t use it as it’s a un utter piece of crap. As an example, if you use an IMAP server that says explicitly it doesn’t want plaintext passwords on an unencrypted connection Acer Email will send your password in the clear anyway. That will not only not work but also means there’s a good chance someone else is reading your email if you did it over a open wifi.
TaoOfMac has instructions on how to install thunderbird (or any other, it’s easy as long as you can yum it) and how to edit the acer desktop menu.

Getting Bluetooth HSDPA to work

First, you need the bluetooth kernel modules. You can either build them yourself as I instructed above or you can get my bluetooth modules pack and unpack it as root into /lib/modules/2.6.23.9lw/kernel/drivers/net .

Then you need the bluetooth stuffs. Do

yum install bluez-libs bluez-utils bluez-gnome

then edit /etc/rc.d/slim/nowait.sh and add

sudo /etc/init.d/bluetooth start

after the udev-post line. Execute the bluetooth start command on a shell and start the bluetooth-applet.

Pair your phone your the AA1 using the bluetooth applet. Go into preferences, make your computer discoverable and add it from your phone. You should get a PIN dialog on both sides. Proced as usual.

Go into a shell and do

sdptool  search DUN

you should get something back like (if you don’t try making your phone discoverable)

Searching for DUN on xx:xx:xx:xx:xx:xx ...  
Service Name: Dial-Up Networking
Service RecHandle: 0x1004f
Service Class ID List:
  "Dialup Networking" (0x1103)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Edit /etc/bluetooth/rfcomm.conf and add

rfcomm0 {
bind yes;
device xx:xx:xx:xx:xx:xx;
channel 2;
comment "My Phone";
}

where xx:xx:xx:xx:xx:xx and chanel number are copied from the output on the command above. Execute

sudo /etc/init.d/bluetooth restart

Start system-config-network (yum install it if you didn’t already), go to the Hardware tab, press New and fill in /dev/rfcomm0 on the Modem device input, press OK this should be your Modem0. Go back to the Devices tab, press New, give a nickname to your new connection and check “Allow all users to enable and disable”, go to Advanced, choose Modem0 as your modem port and fill in the appropriate GPRS config line for your provider on modem initialization string,

AT+CGDCONT=1,"IP,"internet"

in my case.
Save and exit system-config-network. If you followed the instructions correctly and I didn’t leave out anything you should be able to do on a terminal

ifup yourconnectionnickname

and ppp0 should come up.

I tried long and hard to get NetworkManager to work with bluetooth dial up network on my phone, failed, decided it would be way to much trouble hacking it in and went low tech. There’s a nifty (albeit slightly broken) xfce4 applet called modemlights that’s perfect for the job. Install it

yum install xfce4-modemlights-plugin

and add it to your panel

xfce4-panel -a

The current version is buggy and ignores Device so you have to fill in /sbin/ifup yourconnectionickname and /sbin/ifdown yourconnectionnickname on the command inputs. Your lockfile should be /var/lock/LCK..rfcomm0. Done, clicking the little phone icon on your pannel should bring up the connection.

/tech | edited on 2008/10/26 -- permalink

The Week in Review 42W2008

  • Luckily a TSA screener was stupid enough to steal a CNN camera and sell it off on eBay otherwise he’d still be lawfully opening people’s bags and then (less lawfully) going ahead and helping himself to whatever looked like sellable for a pretty penny. C’mon TSA, you give these guys a license to go through people’s belongings in a private room and expect not to attract some crooks ?

  • The new Macbooks are out and they sure look shinny. On a sadder note, Firewire seems to be going the way of the dodo. Kind of like SCSI, Firewire is too good to exist in consumer electronics. You know you can actually boot any Firewire enabled Mac in target mode and have it act as an external disk. How often do you need that you ask ? Well, you need it when you really really need it. That’s when!

  • People were still busy getting worked up about the iGoogle canvas when Yahoo when ahead and gave everybody something to get really upset about by apparently killing everybody’s profiles. I don’t use iGoogle all that much so the canvas things doesn’t annoy me that much, nor do I feel threatened by evil canvas stealing applets anyway. On the other hand, if I actually used Yahoo I’d be pretty upset about losing my profiles. Oh well.

/wir | edited on 2008/10/19 -- permalink

New MacBooks

new macbook 13 Apple launched new MacBooks that make the MBP I’m using look and feel like a toshiba.

Bastards

/tech | edited on 2008/10/15 -- permalink

O triunfo do comunismo

Parece que Marx tinha razão. O mundo convergiu natural para o comunismo.
O presidente dos USA é comunista, a FED é comunista, os chefes de estado europeus são comunistas. Depois desta onda de nacionalizações restam poucas bolsas de resistência capitalista no hemisfério ocidental.

Esperamos que o PREC seja calmo e sereno.

/politik | edited on 2008/10/12 -- permalink

two neil gaiman books

It’s pretty obvious by now Neil Gaiman only has one story. It goes like this, a quite normal person, preferably a child, somehow falls through a crack in space-time and finds herself in a strange, magical, parallel world. She procedes to become a hero in that world, defeating a great evil and managing to make it back to her own reality.
It’s also pretty obvious every single time Neil Gaiman tells it, he manages to spin a wonderful tale. All the versions are special, delightful and new. And he’s a really good reader too so go listen to Neil reading The Graveyard Book and pre-order The Graveyard Book from amazon.co.uk.

That reminds me of The Day I Swapped my Dad for Two Goldfish which is as close as Neil Gaiman can come to a children’s book. It’s a much lighter story than The Story but it’s highly fun and not childish at all. Why does The Graveyard Book reminds me of The Day I Swapped my Dad for Two Goldfish ? Because the edition I have is not only beautifully illustrated but also comes with a bonus audio cd with Neil reading. That, I believe, is well worth buying The Day I Swapped my Dad for Two Goldfish even if you don’t have children.

/books | edited on 2008/10/08 -- permalink

Damn It Feels Good To Be a Banksta

Sinfest++ Sinfest comic, follow the link

/politik | edited on 2008/10/06 -- permalink

Nokia 5800 “Tube”

Today Nokia presented their first S60 touchscreen phone, the 5800 “Tube”. As usual there wasn’t a lot of surprise on account of the leaked photos. Being a MusicXpress instead of a N or E I was a bit uneasy about the specs as 5000 phones don’t usually pack a lot of punch. Nokia however threw in the usual goodies this days including WiFi and A-GPS (fairly surprising) and a not so hot 3.2Mpx camera (take that iPhone!). The punchline of the specs is obviously the 3.2” screen with a wopin 640x360 pixels which pretty much tramples the iPhone’s and G1’s 480x320. On the other hand the iPhone’s capacitive touchscreen wins hands down against the 5800’s resistive touchscreen and Nokia signalled defeat there by including a pen and a fashion guitar pick. The 81M “internal memory” should be enough for the job.

The S60v5 UI isn’t revolutionary, big thumbable buttons and making things slide across the screen. The onscreen keyboard looks decent (I’m holding out till I see the localized keyboards) and it include handwriting recognition (decent enough excuse for the pen) which brings a joyful tear to PalmIII affictionados like myself.

Nokia did a steady job on the connectors with a 3.5mm headset connector, micro-usb and TV-out as opposed to HTC’s extUSB brainfart for instance. We really should congratulate makers for not succumbing to fake shine of the crappy accessory’s revenue stream. Surprisingly we get WiFi b/g and unsurprisingly we get HSDPA. The 1.3Ah battery should up for the job and Nokia claims it’s good for a bit over 5h of 640x360 “nHD” (eheh) MPEG4, which means MPEG4-SP which is not h.264 but more like xvid/divx so get ready to transcode your stuff if you want it to play on the 5800 (or any other mobile anyway …).

Media claims it will show up on the street unlocked under 300 EUR so Nokia is really taking the iPhone serious and pulling no punches. For that price I’m sure to retire my N80 as soon as the 5800 is available.

Links:

/mobile | edited on 2008/10/03 -- permalink

Magalhães, o pedagogico

O Magalhães vai ser distribuído gratuitamente aos alunos 1o ciclo como parte do plano tecnológico. Excelente medida para as nossas crianças aprenderem a usar computadores ? Hum … não.

O Magalhães, para quem estado debaixo de uma pedra, é uma espécie de sub-netbook desenhado pela Intel como resposta ao OLPC e a sua característica principal é ser barato. Vai ser disponibilizado às crianças pelo Governo pré configurado em paralelo com CaixaMagica na opção de boot por omissão e com Microsoft Windows XP, uma pseudoshell lúdica e Microsoft Office em alternativa como ambiente pedagógico. Para quem não tem experiência com estas coisas, Windows+Office é um ambiente desenhado e estruturado para o Sr. Fagundes, escriturário da 4a repartição pública, 42 anos, calvo e ligeiramente barrigudo. O Sr. Fagundes foi aprender a mexer em computadores num curso de formação profissional, voltou a saber escrever uma carta a duplo espaço mas o “guardar” ainda lhe causa alguma incerteza. O ambiente Caixa Mágica tem um menu simples tipo netbook com acesso a jogos (bons, giros mas jogos) e OpenOffice, a versão OSS do ambiente do Sr. Fagundes.
Parece-vos o ambiente correcto para um aluno da 1a classe ?

Quem respondeu sim nunca encontrou uma criança da 1a classe. As crianças do 1o ciclo não aprendem a usar em computadores, simplesmente usam. Experimentam, descobrem, percebem o potencial e procuram o que imaginam. Não precisam de “instrução”, especialmente não precisam de ser ensinadas a “mexer” em computadores por professores largamente desmotivados e infelizmente ignorantes no tema.
Em vez do ambiente do Sr. Fagundes os alunos do 1o ciclo necessitam de um ambiente que lhes permita descobrir e organizarem-se de acordo com os seus modelos da realidade. Esse ambiente chama-se Sugar e existe e pode fazer parte do verdadeiro choque tecnologico, que cria competencias de desenvolvimento nos engenheiros, gera conhecimento nos investigadores e gera criança que sabem computadores.
Em vez disso estamos estamos a criar Sr.s Fagundes que só vão conseguir usar produtos pré-empacotados na Irlanda para criar a ilusão da produtividade.

/portugal | edited on 2008/10/03 -- permalink
Archive: