HP nx6310

From ArchWiki
Revision as of 13:38, 7 February 2007 by Abarilla (Talk | contribs) (HP nx6310)

Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:HP nx6310#)

HP nx6310

Work in progress - by Andy Barilla

Arch Linux is currently running successfully on this laptop. As of February 2007, it is the only linux distribution I have tried which correctly reports the battery/power status. This is the version with a Celeron M processor, and originally with 256MB RAM and no wireless. I've since upgraded to 1GB RAM and the Intel 3945 Wireless which is the standard card for other nx6310s which come with it.

Modules

  • Ethernet: b44
  • Wireless: ipw3945
  • Audio: snd-intel
  • Video: i810

xorg

I'm running xorg 7 with the i810 driver installed separately through pacman (xf86-video-i810), using KDE as my environment and Beryl as my window manager. However, instructions on how to enable Beryl will not be included here.

To get everything working I started with the script generated by Xorg --configure. After installing the xf86-video-i810 package, I changed the driver from vesa to i810. I duplicated the Screen0, Card0 and Monitor0 sections to enable the external VGA port. I then installed the synaptics package to enable the correct mousepad driver although it does function without it except for the scrolling area. I then replaced the original mouse section with the Mouse[1] section below.

This is my xorg.conf for Xorg7:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" 0 0
	InputDevice    "Mouse[1]" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option         "AIGLX" "true"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
	Load  "xtrap"
	Load  "dbe"
	Load  "record"
	Load  "extmod"
	Load  "dri"
	Load  "type1"
	Load  "freetype"
	Load  "glx"
	Load  "gbe"
	Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
    Driver        "synaptics"
    Identifier    "Mouse[1]"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"      "auto-dev"
    Option        "LeftEdge"      "1700"
    Option        "RightEdge"     "5300"
    Option        "TopEdge"       "1700"
    Option        "BottomEdge"    "4200"
    Option        "FingerLow"     "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "180"
    Option        "MaxTapMove"    "220"
    Option        "VertScrollDelta" "100"
    Option        "MinSpeed"      "0.06"
    Option        "MaxSpeed"      "0.12"
    Option        "AccelFactor" "0.0010"
    Option        "SHMConfig"     "on"
    #  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps" "true"
	Option      "DRI" "true"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card1"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "XAANoOffscreenPixmaps"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

Hardware info

lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01)
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

wireless

To enable the Intel 3945 Wireless card I had to install the ipw3945 package. I then added ipw3945 to the MODULES section of rc.conf and ipw3945d to the DAEMONS section before network. I use NetworkManager to handle the mutiple wireless networks I need to connect to and there were issues with no wireless devices showing up in KNetworkManager. There were two different causes of this:

  • My user wasn't part of the users group
  • You need to turn the wireless card on buy pressing the button next to the power button - this isn't needed everytime I boot up so I'm not sure what the pattern is

sound

Worked out of the box