Arch Linux on a Toshiba Satellite U305

December 11, 2011 // Posted in computer  

Enrico col suo laptop, running Arch Linux

Come probabilmente i lettori di questo blog sanno, linux e’ il sistema operativo di casa sacchibelli. La componente maschile lo usa sul suo laptop (un bel Toshiba Satellite U305) e ultimamente ne sta testando varie distribuzioni. Il laptop in effetti e’ nato con Windows Vista, ma dopo due giorni la migrazione a Ubuntu (con rimozione completa del sistema operativo Microsoft) e’ stata attuata senza rimpianti (se non per il fastidio di aver “pagato” Vista all’atto dell’acquisto del PC). Recentemente abbiamo provato, con notevole soddisfazione, Linux Mint (vedi qui) ma e’ Arch Linux la distribuzione che piu’ mi ha entusiasmato. Sorvoliamo qui sui dettagli dell’installazione, ma soffermiamoci sull’attivazione del bluetooth. In effetti, per quanto ormai quasi qualunque tipo di hardware venga riconosciuto dalle piu’ recenti distribuzioni di Linux, i laptop Toshiba con Phoenix bios, soffrono di un noto problema (vedi qui) nell’attivazione del modulo Bluetooth sotto Linux. Il modulo Omnibook ha brillantemente risolto il problema, anche se per il Satellite 305 si era rivelata necessaria qualche customizzazione (vedi qui). Tuttavia il kernel 3.1.1 usato da Arch Linux non e’ piu’ compatibile col modulo Omnibook, a causa dell’uso di una funzione non piu’ inclusa nel kernel Linux
/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.c:
In function ‘omnibook_key_polling_disable’:
/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.c:128:2:
error: implicit declaration of function ‘cancel_rearming_delayed_workqueue’
make[2]: ***
[/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.o]
Errore 1

La buona notizia e’ pero’ che anche coi nuovi kernel e’ possibile attivare il Bluetooth. Infatti, seguendo questo how-to, e caricando il modulo toshiba-bluetooth, il bluetooth viene riconosciuto ed e’ possibile utilizzarlo.
In particolare

  • Il daemon bluetooth permette l’attivazione del modulo bluetooth
    [enrico@frisco ~]$ hcitool dev
    Devices:
    hci0 00:03:7A:CF:BD:3F
  • Il modulo toshiba-bluetooth permette la comunicazione con gli altri dispositivi

Non so da quanto il modulo toshiba-bluetooth funzioni anche per i laptop toshiba con phoenix bios (credo si tratti di laptop commercializzati con brand Toshiba ma effettivamente realizzati da Compal), ad ogni modo questo sembra rendere inutile il modulo omnibook. Se invece si preferisse compilare e caricare il modulo omnibook per l’attivazione del bluetooth, e’ necessario usare kernel linux precedenti la versione 3.1.1 e non caricare il modulo toshiba-bluetooth (in caso contrario il caricamento del modulo omnibook con il comando modprobe omnibook darebbe errore)


As probably you already know here at Sacchibelli’s we are happy user of Linux as OS of our PCs. In particular the male component is running now Arch Linux on his Toshiba Satellite U305, after many years with Ubuntu and a short period with Linux Mint (the original OS, Microsoft Vista was erased after 2 days of unlucky experiments). Arch Linux philosophy is quite interesting, although the setting of the laptop is a bit tricky compared to Debian based distributions. The good thing, however, is that now Linux is so mature that almost every kind of hardware is easily recognized. For my laptop (it has a Phoenix bios) Bluetooth was usually a pain (see here for details), and only thanks to the Omnibook module (to be compiled with some trick) it has been possible to enable Bluetooth. Unfortunately newest linux kernel (3.1.1 in Arch Linux) does not support anymore a function used within omnibook, and if you try to compile omnibook source you get the following error
/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.c:
In function ‘omnibook_key_polling_disable’:
/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.c:128:2:
error: implicit declaration of function ‘cancel_rearming_delayed_workqueue’
make[2]: ***
[/var/tmp/portage/app-laptop/omnibook-20090628-r1/work/omnibook-20090628/polling.o]
Errore 1

The good news is that starting the daemon bluetooth (see here and then loading the module toshiba-bluetooth, the bluetooth is recognized and activated. Very good (if you prefer to use omnibook, with older kernel, please remember to unload toshiba-bluetooth before loading omnibook, unless you will get an error)

This entry was posted on December 11, 2011 at 3:26 pm and is filed under computer. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply (name & email required)

Time limit is exhausted. Please reload CAPTCHA.