INSTALLAZIONE GENTOO SU TOSHIBA SATELLITE A80-111

SPECIFICHE TECNICHE ---------------------------------------------------------------------
- Processore Intel Pentium M (Centrino)
2Mb di cache - 1,6 Ghz
- RAM 512 Mb
- HDD 60 Gb SATA
- VIDEO Nvidia GeForce Go 6200 256Mb
- PCMCIA 1 Slot
- MASTERIZZATORE DVD+R/RW - DVD-R/RW - CD-R/RW - DVD-RAM
- CARD READER
- FAST ETHERNET MARVELL 10/100
- MODEM Intel AC' 97 (Chipset ICH6)
- WIRELESS Intel PRO/Wireless IPW2200 b/g
- AUDIO Intel AC' 97 (Chipset ICH6)

WORKING ( 14 Maggio 2005) ---------------------------------------------------------------

VIDEO [OK] (nVidia)
CPUFREQ [OK]
AUDIO [OK] (alsa)
PCMCIA [OK]
WIRELESS [OK]
DVD-R/RW [OK]
DVD+R/RW [OK]
CD-R/RW [OK]
TOUCHPAD [OK]
USB [OK]
ETHERNET [OK] (sky98)
CARD READER [NOT TESTING]
VGA-OUT [NOT TESTING]
S-VIDEO [NOT TESTING]
CPUFREQ [OK]
ACIPD [OK]
MODEM [TESTING] (lsmodem)

CONFIGURAZIONE --------------------------------------------------------------------------

#lspci

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0167 (rev a1)
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
0000:06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
0000:06:04.0 CardBus bridge: Texas Instruments Texas Instruments PCIxx21/x515 Cardbus Controller
0000:06:04.2 FireWire (IEEE 1394): Texas Instruments Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0000:06:04.3 Unknown mass storage controller: Texas Instruments Texas Instruments PCIxx21 Integrated FlashMedia Controller
0000:06:04.4 Class 0805: Texas Instruments Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD)

prendo nota del tipo di chipset, harddisk , audio, video.

CONFIGURAZIONE HDD SATA -----------------------------------------------------------------

Alla compilazione del kernel devo abilitare il supporto SATA per il mio HardDisk altrimenti non sarà possibile il boot.

Device Driver -->
scsi device support -->
scsi low-level driver -->
[*] Serial ATA (SATA) Support
....
<*> Inter PIIX/ICH SATA Support
...


AUDIO ALSA ------------------------------------------------------------------------------

Per il supporto alsa, dopo aver messo nel /etc/make.conf

ALSA_CARDS="intel8x0"

E il momento di aggiungere le voci al mio kernel ed abilitare SOLO il supporto ALSA, senza OSS.

(Utilizzo tutto come moduli per poterli caricare solo quando necessario)

Device Drive -->
sound -->
Advance Sound Linux Architetture -->
PCI Device -->
Intel/SiS/nVidea/AMD/Ali AC97 controll
Intel/SiS/nVidia/AMD/Ali MC97 Modem (per il modem)
Installiamo i tool necessari per gestire il nostro HW

# emerge alsa-utils
modifichiamo il file /etc/modules.d/alsa aggiungendo le seguenti righe

/* Per mantenere la retro compatibilita con OSS, se compilata nel kernel */
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

/* Per gestire il Modem -- ancora in fase di testing */
alias snd-card-1 snd-intel8x0m


al boot /etc/init.d/alsasound start (per farlo partire manualmente)

per farlo partire automaticamente

rc-update add alsasound default

SCHEDA VIDEO ----------------------------------------------------------------------------

Diamo un occhio di riguardo alla nostra scheda video per sfruttare al meglio la potenza dell'accelerazione HW

Abilitiamo nel kernel solo il necessario e poi installiamo i moduli esterni NVIDIA

Device drive -->
Character devices -->
<*> /dev/agpgart
...
<*> Intel 440LX/BX/GX, I8xx chipset support
...
<*> direct Rendering Manager

Device Drive -->
Grafich Support -->
[*] Support for framebuffer Device
<*> Vesa VGA Support
Vesa Drive type (vesafb-tng)
(1024x768@60) VESA Default Mode
...
Console display drive support -->
<*> framebuffer console support
[*] select compiled-in font
<*> VGA 8x16 font
/* Se vogliamo abilitare il supporto per il logo */
Console display driver -- >
/* Abilitiamo tutto come built-in */
Logo Configuration -->
/* Abilitiamo tutto come built-in */
[*]Blacklight & LCD device support -->
/* Abilitiamo tutto come built-in */
[*] Support for the Framebuffer splash

compiliamo il kernel e poi installiamo i moduli:

# emerge nvida-glx (per funzionare l'accelerazione della mia Go6200 ho dovuto mettere quelli masked v. 7174)
[# echo "nvidia-glx ~x86" >> /etc/portage/portage.keywords
# emerge nvidia-glx]

Aggiungiamo le seguenti voce al file /etc/modules.autoload.d/kernel-2.6 per caricare il modulo all'avvio:

nvidia /*Carica all'avvio il modulo nvdia*/


WiFi LAN IPW2200 ------------------------------------------------------------------------


Installiamo i moduli per la nostra WiFi

# emerge ipw2200

Installiamo tool necessari a gestire la scheda

# emerge wireless-tools

Per abilitare la crittografia WEP della nostra WIFI dobbiamo compialre anche

Criptographic Option -->
[*] Criptographic API
<*> AES chiper algorithms (i586)
...
<*> ARC4 chiper algorithms
..
<*> Michael MIC keyed digest algorithms

Aggiungiamo le seguenti voce al file /etc/modules.autoload.d/kernel-2.6 per caricare il modulo all'avvio:

ieee80211_crypt_wep /*Carica all'avvio il modulo per la crittografia WEP*/

Per vedere al rivvio la nostra scheda wifi facciamo :

#lsmod | grep ipw2200

ipw2200 156616 0
firmware_class 8384 1 ipw2200
ieee80211 39204 1 ipw2200
ieee80211_crypt 5320 3 ipw2200,ieee80211,ieee80211_crypt_wep

vediamo se troviamo caricati i moduli in questa maniera

#iwconfig


eth0 radio off ESSID:off/any
Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power=off
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

la mia wifi e vista come eth0 in quanto la scheda ethernet non compare per niente nel sistema,
nel caso in cui avete una scheda on-board Realteck comparirà come wlan0, cmq non preocupatevi l'importante e che funzioni.


MODEM -----------------------------------------------------------------------------------

Fase testing

#emerge slmodem


FAST ETHERNET ---------------------------------------------------------------------------

UPDATE Giugno 2005
Finalmento sono riuscito a configurare la scheda di rete...ho dovuto scaricare e compilare i moduli
che troverete nella sezione Download
Per l'installazione:
1. Scompattare il file tar.gz;
2. Entrate nella Dir appena creata e lanciare: ./configure
3. Diventate root (su -) e digitate : make && make install
4. Da utente Root lanciare : modprobe sklin98 ed il gioco è fatto.

NOTA: Bisogna avere i sorgenti del kernel installati e raggiungibili da /usr/src/linux


RISPARMIO ENERGETICO --------------------------------------------------------------------

Ho seguito l'HowTo del gentoowiki (aggiungere link)

Installare il necessario

# emerge acipd
# emerge cpufreqd
# emerge cpufreq-utils

Aggiungiamo le seguenti voce al file /etc/modules.autoload.d/kernel-2.6 per caricare il modulo all'avvio:

speedstep_centrino /*Carica all'avvio il modulo per lo scaling della CPU*/