HARDWARE Gateway 6020

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


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


This is a mid-range Gateway notebook which I purchased new in the states in August of 2005.

Contents

[edit] Kernel

Currently using linux-2.6.15-gentoo-r3.

[edit] Hardware

[edit] The Obligatory lspci Dump

Output of lspci:

Code: #lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
02:02.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:02.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:02.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
02:02.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
02:04.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

[edit] CPU (Celeron-M)

There is a single CPU, a Celeron-M rated at 1.40GHz. It is (to the best of my knowledge) fully compatible with the Pentium-M and I have not noticed any problems with setting -march=pentium-m available in gcc 3.4.3 and higher (with earlier gcc versions I have heard that -march=pentium3 -msse2 is about as close as you can get, I recommend updating gcc if you have an older version).

I have not experimented with the special power saving features of this CPU yet.

[edit] Ethernet (Wired)

Ethernet is 10/100 using the Broadcom Corporation BCM4401-B0 100Base-TX (rev 02) Ethernet Controller. I use the b44 driver, compiled as a module:

CONFIG_B44=m

[edit] Hard Drive

Hard drive is a 60GB Hitachi IC25N060ATMR04-0.

Code: hdparm outputs
Model=IC25N060ATMR04-0, FwRev=MO3OAD4A, SerialNo=MRG31YKKGAR7XH
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7884kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:  ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6

I have not experimented with hard drive optimisation settings yet.

[edit] Modem

Never used the modem.

[edit] Sound

I use Intel 8x0 AC97 driver is configured as a module (snd_intel8x0) and it works fine.

[edit] Special Function Keys

Have not experimented with the special functions of the keyboard yet.

[edit] USB

I have not needed or experimented with USB devices yet.

[edit] Video (Intel 855GM)

The i830 driver locks up the computer when X initialises, but the newer i915 driver works fine.

As the lspci indicates, the laptop has an Intel video chipset and an Intel AGP controller, thus the kernel configuration for video modules:

CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_DRM=m
CONFIG_DRM_I915=m

Also the following lines in /etc/modules.autoload.d/kernel-2.6:

intel-agp
i915

...and the following config in /etc/X11/xorg.conf:

Section "Device"
        Option     "DRI"                        "True"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82852/855GM Integrated Graphics Device"
        BusID       "PCI:0:2:0"
EndSection

Section "DRI"
        Mode    0666
EndSection

[edit] Wireless (Broadcom BCM4318)

The wireless chipset in this laptop is (from lspci) a Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller. Like most wireless chipset vendors Broadcom refuses to release specs or anything resembling a Linux driver for its wireless chipsets. Linux kernel 2.6.17 now has a native Broadcom 43xx wireless chipset driver which *should* work with this chipset (though I haven't tested it yet). At the time I configured my wireless, however I was unable to locate a Linux driver for this or any Broadcom wireless chipset. I was still able to successfully configure and use the wireless using the ndiswrapper and the Windows driver. I also wanted to use WPA wireless encryption and was sucessfully able to do so with wpa_supplicant:

cd ~
emerge -an ndiswrapper
wget ftp://ftp.gateway.com/pub/hardware_support/drivers/win_xp/portable/m360/D00268-001-002.exe
mkdir bcm4318
cd bcm4318
unzip -a ../D00268-001-002.exe
ndiswrapper -i bcmwl5a.inf
cd /etc/init.d
ln -s net.lo net.wlan0
emerge -an wpa_supplicant

Add the following line to /etc/modules.autoload.d/kernel-2.6:

ndiswrapper

Edit /etc/wpa_supplicant.conf to set the SID and access key, etc. Then add the following to /etc/conf.d/net:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
config_wlan0=( "dhcp" )

Then...

/etc/init.d/net.wlan0 start
rc-config add net.wlan0 default

At this point your wireless networking should be working like a charm (provided I haven't forgotten any of the steps here).

Linux Kernel 2.6.17 now includes a native Broadcom 43xx wireless driver. Though I haven't tested it yet I would recommend it over the process above and will add a writeup to this section on it when I have gotten the chance to test it.

Personal tools