HARDWARE Intel 945G

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

The i945G chipset is on the D2151 motherboard of the Fujitsu-Siemens Esprimo P5905. (Mine is equipped with a hyperthreading P4-630, which is nice for compiling in the background.) My configuration is rather minimal, because it's my workstation.

Contents

[edit] Kernel Config

I'm not a kernel configuration expert. So here's what worked for me. (I'm using gentoo-sources-2.6.12-r9.)

[edit] Integrated Video: Intel GMA950

See this HowTo.

[edit] SATA

See this HowTo.

(You need ahci and ata_piix compiled into kernel.)

[edit] Integrated Ethernet: Broadcom NetXtreme BCM5751

See this HowTo.

[edit] Integrated Sound: HD Audio

Sound works with the snd-hda-intel driver. I'm just using XMMS every now and then and find I have no need for sequencer and legacy OSS support.

Linux Kernel Configuration: Sound
Device Drivers  --->
    Sound  --->
        <M> Sound card support
            Advanced Linux Sound Architecture  --->
                <M> Advanced Linux Sound Architecture
                < >   Sequencer support
                < >   OSS Mixer API
                < >   OSS PCM (digital audio) API
                      PCI devices  --->
                          <M> Intel HD Audio
            Open Sound System  --->
                < > Open Sound System (DEPRECATED)

Note: The in-kernel snd-hda-intel driver may not work correctly on all boards (maybe that only affects the mobile version of the chipset). I had problems with it on my HP NX7400 notebook, but the external alsa package (media-sound/alsa-driver) works fine! --hoffie

[edit] USB

Besides the usbcore we need the ehci-hcd and uhci-hcd drivers.

Linux Kernel Configuration: USB core support
Device Drivers  --->
    USB support  --->
        <*> Support for Host-side USB
        [*]   USB device filesystem
        <*>   EHCI HCD (USB 2.0) support
        <*>   UHCI HCD (most Intel and VIA) support

Now we still need device drivers as necessary, depending on your other hardware. Most common are probably mass storage (e.g. memory sticks) and mouse/keyboard. For USB mass storage simply add:

Linux Kernel Configuration: USB mass storage support
Device Drivers  --->
    USB support  --->
        <*>   USB Mass storage support

and for a USB mouse/keyboard:

Linux Kernel Configuration: USB HID support
Device Drivers  --->
    USB support  --->
        <*>   USB Human Interace Device (full HID) support
        [*]     HID input layer support

[edit] Hardware Sensors

See also HARDWARE_Sensors on how to use hardware sensors.


After emerging lm_sensors, sensors-detect was willing to identify the I2C interface chipset ICH7, which is supported by the i2c-i801 driver. But then it was unable to indentify any sensor chips. Bummer! So this is how far I got. Without the sensor chip support it's not very usefull though.

Linux Kernel Configuration: I2C support
Device Drivers  --->
    I2C support  --->
        <M> I2C support
        <M>   I2C device interface
              I2C Hardware Bus support  --->
                  <M> Intel 82801 (ICH)

I found out that by updating to kernel 2.6.19-r4 and loading i2c-i801, lm85 and eeprom as modules (eeprom is found under the miscellaneous device section in I2C, which is under Device Drivers and LM85 is found under Hardware Devices) I could get all the sensors on the motherboard to work. This though, on a slightly different mother board (946 instead of 945). Once you load the modules, just run sensors-detect and you should have all your sensors configured.

[edit] Appendices

See also HARDWARE_Detecting_your_Hardware to help identify your hardware.

[edit] Output of lspci

Emerge pciutils

Code: #lspci
0000:00:00.0 Host bridge: Intel Corporation 945G/P Memory Controller Hub (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corporation 945G Integrated Graphics Controller (rev 02)
0000:00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
0000:00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
0000:00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01)
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
0000:05:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
Personal tools