Difference between revisions of "HP Compaq nc6220"

From ArchWiki
Jump to: navigation, search
(ACPI: duplicates other articles, not specific to hardware)
(kernel26beyond: out of date)
Line 135: Line 135:
  
 
==Other Tweaks==
 
==Other Tweaks==
===kernel26beyond===
 
I use the beyond kernel because I am looking to get [http://wiki.archlinux.org/index.php/Suspend_to_Disk suspend] working.  There is a list of different kernel patches/patchsets [http://wiki.archlinux.org/index.php/Kernel_Patches_and_Patchsets here].
 
Now, lets install the beyond kernel:
 
# pacman -S kernel26beyond
 
Now add the following to the boot loader.  For me, it is grub:
 
# (0) Arch Linux
 
title  Arch Linux
 
root  (hd0,4)
 
kernel /vmlinuz26beyond root=/dev/sda7 ro
 
initrd /kernel26beyond.img
 
 
# (1) Arch Linux
 
title  Arch Linux Fallback
 
root  (hd0,4)
 
kernel /vmlinuz26beyond root=/dev/sda7 ro
 
initrd /kernel26beyond-fallback.img
 
 
 
===Sudo===
 
===Sudo===
 
I like to use sudo to manage my system.  So as root, I do a:
 
I like to use sudo to manage my system.  So as root, I do a:

Revision as of 20:10, 10 August 2011

My plan when I finish is to have my laptop (HP Compaq nc6220) dual booted with Windows XP Pro (work image). I repartitioned my hard drive with Gparted Live CD. It only took a minute or so. I will be doing the install with the arch 0.8 beta2 base cd. There is an installation guide (0.7.2) that may help.I will do my best to give as much detail as possible.

NOTE: Per HP's website, this laptop is Novell Linux Desktop 9 certified. So getting linux on this laptop should not be too hard.

System Specifications

HP Compaq nc6220 - Intel Centrino

  • Intel Pentium M processor 750 (1.86-GHz, 533-MHz FSB, 2-MB L2 cache)
  • Mobile Intel 915GM Express Chipset
  • 512-MB 533-MHz DDR2 SDRAM
  • 60-GB 5400 rpm IDE ATA Harddrive
  • 14.1-inch color TFT SXGA+ (1400 x 1050 resolution and 16 M colors)
  • Intel Graphics Media Accelerator 900 with up to 128 MB of shared system memory
  • ADI AC '97 CODEC
  • 9.5-mm DVD/CD-RW Combo (Matshita UJDA775 IDE ATA 8x DVD/24x CDRW)
  • 56K Fax/Modem
  • NetXtreme Gigabit PCI Express Ethernet Controller (10/100/1000 NIC)
  • Intel PRO/Wireless 2200BG 802.11b/g WLAN
  • One Type I/II PC Card Slot??
  • One Integrated Smart Card Reader??
  • One Integrated Secure Digital Slot??
  • Dual pointing devices (both Pointstick and Touchpad)
  • 6-cell high capacity Lithium-Ion (52Wh)
  • External 65W adapter


Output of lshwd

00:00.0 Host bridge: Intel Corp.|Mobile Memory Controller Hub (intel-agp)
00:02.0 VGA compatible controller: Intel Corp.|Mobile 915GM/GMS/910GML Express Graphics Controller (i810)
00:02.1 Display controller: Intel Corp.|Mobile Graphics Controller (vesa)
00:1c.0 PCI bridge: Intel Corp.|I/O Controller Hub PCI Express Port 0 (unknown)
00:1c.1 PCI bridge: Intel Corp.|I/O Controller Hub PCI Express Port 1 (unknown)
00:1d.0 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.1 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.2 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.7 USB Controller: Intel Corp.|I/O Controller Hub USB2 (unknown)
00:1e.0 PCI bridge: Intel Corp.|82801 Hub Interface to PCI Bridge (hw_random)
00:1e.2 Multimedia audio controller: Intel Corp.|82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (snd-intel8x0)
00:1e.3 Modem: Intel Corp.|I/OController Hub Modem (Hsf:www.linmodems.org)
00:1f.0 ISA bridge: Intel Corp.|I/O Controller Hub LPC (i810-tco)
00:1f.1 IDE interface: Intel Corp.|I/O Controller Hub PATA (piix)
02:04.0 Network controller: Intel Corp.|Intel(R) PRO/Wireless 2200BG (ipw2200)
02:06.0 CardBus bridge: Texas Instruments|Texas Instruments PCIxx21/x515 Cardbus Controller (yenta_socket)
02:06.3 Mass storage controller: Texas Instruments|Texas Instruments PCIxx21 Integrated FlashMedia Controller (unknown)
02:06.4 : Texas Instruments|Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) C (unknown)
02:06.5 : Texas Instruments|Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Smart Card Controller (unknown)
10:00.0 Ethernet controller: Broadcom Corp.|NetXtreme BCM5751M Gigabit Ethernet PCI Express (tg3)
004:001 USB Hub: Virtual|Hub (unknown)
003:001 USB Hub: Virtual|Hub (unknown)
002:001 USB Hub: Virtual|Hub (unknown)
001:001 USB Hub: Virtual|Hub (unknown)


What works/What doesn't

Pretty much everything works on this laptop except the SD-card reader. I am still working on it. The screen needs a little tweaking to get the full resolution and works great. Also I have not tried the modem (no POTS line) or tried to suspend the laptop yet.

Xorg

Video Driver

The NC6220 has an onboard Intel 9xx series VGA, supported by the xf86-video-intel driver.

Mouse

There is a synaptic touchpad on this laptop. If you follow this howto, you should have no problems getting this to work. It works great for me. Note: Make sure you update the modules in /etc/rc.conf.

Compiz Fusion

This laptop supports Compiz Fusion. So I followed the wiki, and it worked great.

Fix Resolution

xf86-video-i810 used to required 915resolution to get a correct resolution. This isn't needed anymore by the superseeding xf86-video-intel driver.

Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true" 
EndSection

Section "Monitor"
        Identifier "Monitor0"
                Option "DPMS" "true"
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
        # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
        ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "Unknown Board"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
                Modes "1400x1050"
        EndSubSection
EndSection

Audio

See ALSA.

Network

Wired

The wired connection worked out of the box. The Neworkmanager, that we will setup in the next section, will manage this as well as the wireless.

Wireless

To enable the blue wireless LED, add the following to /etc/modprobe.d/modprobe.conf:

options ipw2200 led=1

Troubles with wireless

The default bios settings maximize power savings by only allowing either power to be given to the wireless card or the ethernet card. Either disable the "LAN/WLAN Switching" in the bios, eject the "tg3" module when you want to use the wireless card, or unplug the ethernet cable.

Modem

Have not tried.

Card Readers

PCMCIA

As far as I've understood from other reports, the pcmcia card works as expected. I don't have one at this time, so I can't confirm it.

Compact Flash

The same goes for the Compact Flash. It's supposed to work as it uses the same interfaces as the PCMCIA does, but I can't confirm anything since I don't have a CF-card.

Secure Digital

The SD-card reader on the other hand is a pain! It uses proprietary drivers from ricoh under windows and there are no drivers under linux. I would really want this working but I think the only chance would be to reverse engineer the reader and I guess not enough coders have this device. Subsequently, there are no drivers now and there won't be in the foreseeable future...

Other Tweaks

Sudo

I like to use sudo to manage my system. So as root, I do a:

# pacman -S sudo

Then I do a give myself rights:

# visudo -f /etc/sudoers

Add myself under root.

DISABLE IPV6

I disabled the IPV6 module because I do not need it. Here is the howto to get this.

SSHfs

To connect to other shares and doing updates I use SSHfs. Here is a howto for that.

Packages

affinity
firefox
thunderbird
flashplugin
flashplayer-standalone
jre # Java
mplayer
vlc
Glipper
tomboy
gaim
ms-fonts
ntp
tracker
affinity
f-spot

Files Edited

rc.local
rc.conf
pacman.conf
modprobe.conf
inittab
xorg.conf
sudoers

External Links