{"id":1481,"date":"2011-12-11T15:26:49","date_gmt":"2011-12-11T14:26:49","guid":{"rendered":"http:\/\/www.sacchibelli.it\/?p=1481"},"modified":"2011-12-11T15:26:49","modified_gmt":"2011-12-11T14:26:49","slug":"arch-linux-on-a-toshiba-satellite-u305","status":"publish","type":"post","link":"https:\/\/www.sacchibelli.it\/?p=1481","title":{"rendered":"Arch Linux on a Toshiba Satellite U305"},"content":{"rendered":"<p><div style=\"width: 330px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.sacchibelli.it\/pictures\/enrico_arch.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/www.sacchibelli.it\/pictures\/enrico_arch_a.jpg\" title=\"Enrico col suo laptop, running Arch Linux\" width=\"320\" height=\"240\" \/><\/a><p class=\"wp-caption-text\">Enrico col suo laptop, running Arch Linux<\/p><\/div>Come probabilmente i lettori di questo blog sanno, linux e&#8217; 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&#8217; nato con Windows Vista, ma dopo due giorni la migrazione a Ubuntu (con rimozione completa del sistema operativo Microsoft) e&#8217; stata attuata senza rimpianti (se non per il fastidio di aver &#8220;pagato&#8221; Vista all&#8217;atto dell&#8217;acquisto del PC). Recentemente abbiamo provato, con notevole soddisfazione, <a href=\"http:\/\/linuxmint.com\/\">Linux Mint<\/a> (vedi <a href=\"https:\/\/www.sacchibelli.it\/?p=1417\">qui<\/a>) ma e&#8217; <a href=\"http:\/\/www.archlinux.org\/\">Arch Linux<\/a> la distribuzione che piu&#8217; mi ha entusiasmato. Sorvoliamo qui sui dettagli dell&#8217;installazione, ma soffermiamoci sull&#8217;attivazione del <a href=\"http:\/\/www.bluetooth.com\/Pages\/Bluetooth-Home.aspx\">bluetooth<\/a>. In effetti, per quanto ormai quasi qualunque tipo di hardware venga riconosciuto dalle piu&#8217; recenti distribuzioni di Linux, i laptop Toshiba con Phoenix bios, soffrono di un noto problema (vedi <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=316358\">qui<\/a>) nell&#8217;attivazione del modulo Bluetooth sotto Linux. Il modulo <a href=\"http:\/\/sourceforge.net\/apps\/mediawiki\/omnibook\/index.php?title=Main_Page\">Omnibook<\/a> ha brillantemente risolto il problema, anche se per il Satellite 305 si era rivelata necessaria qualche customizzazione (vedi <a href=\"https:\/\/www.sacchibelli.it\/?p=1417\"> qui<\/a>). Tuttavia il kernel 3.1.1 usato da Arch Linux non e&#8217; piu&#8217; compatibile col modulo Omnibook, a causa dell&#8217;uso di una funzione non piu&#8217; inclusa nel kernel Linux<br \/>\n<code>\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.c:<br \/>\nIn function \u2018omnibook_key_polling_disable\u2019:<br \/>\n\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.c:128:2:<br \/>\nerror: implicit declaration of function \u2018cancel_rearming_delayed_workqueue\u2019<br \/>\nmake[2]: ***<br \/>\n[\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.o]<br \/>\nErrore 1<\/code><br \/>\nLa buona notizia e&#8217; pero&#8217; che anche coi nuovi kernel e&#8217; possibile attivare il Bluetooth. Infatti, seguendo questo <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Bluetooth\">how-to<\/a>, e caricando il modulo toshiba-bluetooth, il bluetooth viene riconosciuto ed e&#8217; possibile utilizzarlo.<br \/>\nIn particolare<\/p>\n<ul>\n<li>Il daemon bluetooth permette l&#8217;attivazione del modulo bluetooth<br \/>\n<code>[enrico@frisco ~]$ hcitool dev<br \/>\nDevices:<br \/>\n\thci0\t00:03:7A:CF:BD:3F<\/code>\n<\/li>\n<li>Il modulo toshiba-bluetooth permette la comunicazione con gli altri dispositivi<\/li>\n<\/ul>\n<p>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&#8217;attivazione del bluetooth, e&#8217; 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 <code>modprobe omnibook<\/code> darebbe errore)<\/p>\n<hr \\>\nAs probably you already know here at Sacchibelli&#8217;s we are happy user of Linux as OS of our PCs. In particular the male component is running now <a href=\"http:\/\/www.archlinux.org\">Arch Linux<\/a> on his Toshiba Satellite U305, after many years with <a href=\"http:\/\/www.ubuntu.com\">Ubuntu<\/a> and a short period with <a href=\"http:\/\/www.linuxmint.com\">Linux Mint<\/a> (the original OS, Microsoft Vista was <strong>erased<\/strong> after 2 days of unlucky experiments). Arch Linux philosophy is quite interesting, although the setting of the laptop is a bit tricky compared to <a href=\"http:\/\/www.debian.org\">Debian<\/a> 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) <a href=\"http:\/\/www.bluetooth.com\/Pages\/Bluetooth-Home.aspx\">Bluetooth<\/a> was usually a pain (see  <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=316358\">here<\/a> for details), and only thanks to the  <a href=\"http:\/\/sourceforge.net\/apps\/mediawiki\/omnibook\/index.php?title=Main_Page\">Omnibook<\/a> module (to be compiled with some trick) it has been possible to enable Bluetooth. Unfortunately newest linux <a href=\"www.kernel.org\">kernel<\/a> (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<br \/>\n<code>\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.c:<br \/>\nIn function \u2018omnibook_key_polling_disable\u2019:<br \/>\n\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.c:128:2:<br \/>\nerror: implicit declaration of function \u2018cancel_rearming_delayed_workqueue\u2019<br \/>\nmake[2]: ***<br \/>\n[\/var\/tmp\/portage\/app-laptop\/omnibook-20090628-r1\/work\/omnibook-20090628\/polling.o]<br \/>\nErrore 1<\/code><br \/>\nThe good news is that starting the daemon <code>bluetooth<\/code> (see  <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Bluetooth\">here<\/a> and then loading the module <code>toshiba-bluetooth<\/code>, the bluetooth is recognized and activated. Very good (if you prefer to use omnibook, with older kernel, please remember to unload <code>toshiba-bluetooth<\/code> before loading <code>omnibook<\/code>, unless you will get an error)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Come probabilmente i lettori di questo blog sanno, linux e&#8217; 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&#8217; nato con Windows Vista, ma dopo due giorni la migrazione a Ubuntu (con rimozione [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-1481","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/posts\/1481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1481"}],"version-history":[{"count":13,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/posts\/1481\/revisions"}],"predecessor-version":[{"id":1495,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=\/wp\/v2\/posts\/1481\/revisions\/1495"}],"wp:attachment":[{"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sacchibelli.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}