Difference between revisions of "HP nx6310"

From ArchWiki
Jump to: navigation, search
(New page: Category:Laptops (English) Category:HOWTOs (English) {{stub}} == HP nx6310 == Work in progress - by Andy Barilla Arch Linux is currently running successfully on this laptop. As o...)
 
Line 14: Line 14:
  
 
=== xorg ===
 
=== xorg ===
I'm running xorg 7 with the i810 driver installed separately through pacman (xf86-video-i810), using KDE as my environment.
+
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.
  
This is my xorg.conf for Xorg7 (modular):
+
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:
 
<pre>
 
<pre>
 
Section "ServerLayout"
 
Section "ServerLayout"
 
Identifier    "X.org Configured"
 
Identifier    "X.org Configured"
Screen "Screen0"
+
Screen     0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
+
Screen      1  "Screen1" 0 0
 +
InputDevice    "Mouse[1]" "CorePointer"
 
InputDevice    "Keyboard0" "CoreKeyboard"
 
InputDevice    "Keyboard0" "CoreKeyboard"
 +
Option        "AIGLX" "true"
 
EndSection
 
EndSection
  
 
Section "Files"
 
Section "Files"
RgbPath "/usr/share/X11/rgb"
+
RgbPath     "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
+
ModulePath   "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
+
FontPath     "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
+
FontPath     "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
+
FontPath     "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
+
FontPath     "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
+
FontPath     "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/artwiz-fonts"
+
FontPath "/usr/share/fonts/cyrillic"
+
FontPath "/usr/share/fonts/terminus"
+
FontPath "/usr/share/fonts/util"
+
 
EndSection
 
EndSection
  
 
Section "Module"
 
Section "Module"
Load "record"
+
Load "xtrap"
Load "xtrap"
+
Load "dbe"
Load "glx"
+
Load "record"
Load "dbe"
+
Load "extmod"
Load "dri"
+
Load "dri"
Load "extmod"
+
Load "type1"
Load "freetype"
+
Load "freetype"
Load "type1"
+
Load "glx"
 +
Load  "gbe"
 +
Load  "synaptics"
 
EndSection
 
EndSection
  
 
Section "InputDevice"
 
Section "InputDevice"
Identifier "Keyboard0"
+
Identifier "Keyboard0"
Driver "kbd"
+
Driver     "kbd"
Option "XkbLayout" "no"
+
Option "XkbVariant" ",qwerty"
+
Option "XkbRules" "xorg"
+
 
EndSection
 
EndSection
  
 
Section "InputDevice"
 
Section "InputDevice"
Identifier "Mouse0"
+
    Driver        "synaptics"
Driver "mouse"
+
    Identifier    "Mouse[1]"
Option "Protocol" "imps/2"
+
    Option       "Device"       "/dev/psaux"
Option "Device" "/dev/input/mice"
+
    Option       "Protocol"     "auto-dev"
Option "Buttons" "5"
+
    Option       "LeftEdge"     "1700"
Option "ZAxisMapping" "4 5"
+
    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
 
EndSection
  
 
Section "Monitor"
 
Section "Monitor"
Identifier "Monitor0"
+
Identifier   "Monitor0"
VendorName "HP LCD"
+
VendorName   "Monitor Vendor"
ModelName "0"
+
ModelName   "Monitor Model"
Option "DPMS" "true"
+
EndSection
 +
 
 +
Section "Monitor"
 +
Identifier  "Monitor1"
 +
VendorName  "Monitor Vendor"
 +
ModelName    "Monitor Model"
 
EndSection
 
EndSection
  
 
Section "Device"
 
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"
 
Identifier  "Card0"
Driver      "ati"
+
Driver      "i810"
VendorName  "ATI Technologies Inc"
+
VendorName  "Intel Corporation"
BoardName  "Radeon R250 Lf [FireGL 9000]"
+
BoardName  "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID      "PCI:1:0:0"
+
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
 
EndSection
  
Line 86: Line 127:
 
Device    "Card0"
 
Device    "Card0"
 
Monitor    "Monitor0"
 
Monitor    "Monitor0"
DefaultDepth 24
 
 
SubSection "Display"
 
SubSection "Display"
 
Viewport  0 0
 
Viewport  0 0
Modes "1680x1050" "1024x768"  
+
Depth    1
 +
EndSubSection
 +
SubSection "Display"
 +
Viewport  0 0
 +
Depth    4
 +
EndSubSection
 +
SubSection "Display"
 +
Viewport  0 0
 
Depth    8
 
Depth    8
 
EndSubSection
 
EndSubSection
 
SubSection "Display"
 
SubSection "Display"
 
Viewport  0 0
 
Viewport  0 0
Modes "1680x1050" "1024x768"  
+
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
 
Depth    16
 
EndSubSection
 
EndSubSection
 
SubSection "Display"
 
SubSection "Display"
 
Viewport  0 0
 
Viewport  0 0
Modes "1680x1050" "1024x768"
 
 
Depth    24
 
Depth    24
 
EndSubSection
 
EndSubSection
Line 105: Line 184:
  
 
Section "DRI"
 
Section "DRI"
Group "users"
+
Mode 0666
Mode 0660
+
EndSection
 +
 
 +
Section "Extensions"
 +
Option "Composite" "Enable"
 
EndSection
 
EndSection
 
</pre>
 
</pre>
Line 113: Line 195:
 
==== lspci ====
 
==== lspci ====
 
<pre>
 
<pre>
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
+
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
+
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
+
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
+
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
+
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
+
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
+
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
+
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
+
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
+
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
+
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
+
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [FireGL 9000] (rev 01)
+
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
+
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 20)
+
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
+
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus 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)
 
</pre>
 
</pre>
Please note that this output shows a ipw2200 wireless card, instead of a ipw2100. Thats because I've changed it myself. It originally came with a ipw2100.
 
  
 +
=== 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
  
More info later.. (hopefully)
+
=== sound ===
 +
Worked out of the box

Revision as of 13:37, 7 February 2007

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