HP Pavilion dv7-3127eg

From Random Projects
Jump to: navigation, search
HP Pavilion dv7-3127eg

This page describes the HP Pavilion dv7-3127eg (product number VY554EA) laptop and how to use it with Debian GNU/Linux.

See also my blog post Using the HP Pavilion dv7-3127eg laptop with Debian GNU/Linux for some more info.

Specification

See the official HP Pavilion dv7-3127eg page for a detailed specification, manuals, and drivers/downloads.

Here's a short overview:

  • CPU: 2.3 GHz AMD Turion II Dual-Core Mobile Processor M520 (512 KB cache per core)
  • Chipset: AMD RS780 / SB700
  • RAM: 4 GB DDR2 (max. 8 GB supported), PC 6400 (800 MHz)
  • Graphics: ATI Radeon HD 4650 (1 GB dedicated DDR3, up to 2815 MB total graphics memory)
  • Display: 17.3" HD LED HP BrightView display (max. 1600 x 900, i.e., WXGA++)
  • Hard drive: 2 x 500 GB SATA drives (this is the killer-feature of this laptop IMHO, allows me to run a RAID-1 on the laptop)
  • Ethernet: 10/100/1000 Gigabit Ethernet LAN (Realtek RTL8111/8168B)
  • Wifi: 802.11b/g/n (Atheros AR9285)
  • Optical Drive: LightScribe SuperMulti DVD+-RW with Double Layer support
  • etc. see full specs for details.

HOWTO

CPU

Works fine, see /proc/cpuinfo for details. CPU frequency scaling using cpufrequtils works fine too, see cpufreqinfo for details.

Graphics

Works out of the box using the radeon driver. For 2D/3D video acceleration support you need to install the firmware-linux package, which contains (among other things) the radeon/RV730_pfp.bin firmware. Otherwise you see this in dmesg:

$ dmesg
platform r600_cp.0: firmware: requesting radeon/RV730_pfp.bin
r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"
[drm:r600_do_init_cp] *ERROR* Failed to load firmware!

The following resolutions and output devices are available:

$ xrandr
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS connected 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
  1600x900       60.0*+
  1440x900       59.9  
  1280x854       59.9  
  1280x800       59.8  
  1280x720       59.9  
  1152x768       59.8  
  1024x768       59.9  
  800x600        59.9  
  848x480        59.7  
  720x480        59.7  
  640x480        59.4  
VGA-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R600 (RV730 9480) 20090101  TCL DRI2

Audio

Works out of the box using the snd_hda_intel driver.

However, you might need to blacklist/rmmod the snd_hda_codec_atihdmi module, otherwise it's used as default and there will be no audio on the laptop.

$ echo "blacklist snd_hda_codec_atihdmi" >> /etc/modprobe.d/blacklist.conf

TODO: Test microphone jack, headphone jack, HDMI audio, etc.

Hard drives

Work out of the box, of course. I'm running a software-RAID-1 using mdadm on them. Both are Toshiba MK5056GSY drives (500 GB SATA, 7200 rpm).

Touchpad

Works out of the box, both in X11 and via gpm in the console.

$ dmesg | grep -i synaptics
Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000/0x0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input13

The special "scroll area" on the right side of the touchpad works fine. You can configure various other touchpad settings using gpointing-device-settings. However, the tapping feature doesn't seem to work for me, not sure why.

Keyboard

Works fine in general, of course. But there are special buttons and touch-sensitive buttons/LEDs too (untested yet).

Tested OK: Fn+F7 and Fn+F8 (brightness control)

Ethernet

Works out of the box using the r8169 driver. You should also install the firmware-linux package, which contains the rtl8168d-1.fw firmware that the driver requests (not sure for what it's needed, I was able to ping hosts even without that firmware loaded; maybe for Gigabit Ethernet). Without that package you see this in dmesg:

$ dmesg
r8169 0000:09:00.0: firmware: requesting rtl8168d-1.fw
eth0: unable to apply firmware patch

Wifi

I did a quick test of the hardware using kismet, no real wifi connections yet.

The rfkill tool works fine for soft-blocking wifi.

$ dmesg | grep -i athe
phy0: Atheros AR9285 MAC/BB Rev:2 AR5133 RF Rev:e0: mem=0xffffc900020e0000, irq=17

Webcam

Works out of the box using the uvcvideo driver and a viewer such as mplayer tv:// or luvcview.

$ lsusb | grep 0408
Bus 001 Device 002: ID 0408:03f0 Quanta Computer, Inc. 
$ dmesg | grep -i uvc
uvcvideo: Found UVC 1.00 device HP Webcam (0408:03f0)
usbcore: registered new interface driver uvcvideo

Express card 54

Untested.

HDMI

Untested.

CD/DVD drive

Reading CDs/DVDs works out of the box. Writing CDs/DVDs is untested so far.

$ wodim -scanbus
scsibus1:
        1,0,0   100) 'hp      ' 'DVD RW AD-7561S ' 'AH73' Removable CD-ROM
$ wodim -checkdrive
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'hp      '
Identification : 'DVD RW AD-7561S '
Revision       : 'AH73'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

USB

Works out of the box.

SD / MemoryStick Pro / MMC / xD card reader

Untested.

Firewire (IEEE 1394)

Untested.

E-SATA

Untested.

VGA out

Untested.

Accelerometer

$ dmesg
lis3lv02d: hardware type DV7 found.
lis3lv02d: 1-byte sensor found
input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input8
lis3lv02d driver loaded.

Docking station connector

Untested.

Consumer IR + HP mobile remote control

Untested.

Details

/proc/cpuinfo

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Turion(tm) II Dual-Core Mobile M520
stepping        : 2
cpu MHz         : 2300.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips        : 4588.48
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
processor  : 1 vendor_id  : AuthenticAMD cpu family  : 16 model  : 6 model name  : AMD Turion(tm) II Dual-Core Mobile M520 stepping  : 2 cpu MHz  : 2300.000 cache size  : 512 KB physical id  : 0 siblings  : 2 core id  : 1 cpu cores  : 2 apicid  : 1 initial apicid  : 1 fpu  : yes fpu_exception  : yes cpuid level  : 5 wp  : yes flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt bogomips  : 4588.60 TLB size  : 1024 4K pages clflush size  : 64 cache_alignment : 64 address sizes  : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate

lspci

$ lspci -tvnn
-[0000:00]-+-00.0  Advanced Micro Devices [AMD] RS780 Host Bridge Alternate [1022:9601]
           +-02.0-[01]--+-00.0  ATI Technologies Inc M96 [Mobility Radeon HD 4650] [1002:9480]
           |            \-00.1  ATI Technologies Inc RV710/730 [1002:aa38]
           +-04.0-[02-07]--
           +-05.0-[08]----00.0  Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
           +-06.0-[09]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168]
           +-0a.0-[0a]--
           +-11.0  ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] [1002:4391]
           +-12.0  ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
           +-12.1  ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
           +-12.2  ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
           +-13.0  ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
           +-13.1  ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
           +-13.2  ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
           +-14.0  ATI Technologies Inc SBx00 SMBus Controller [1002:4385]
           +-14.2  ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
           +-14.3  ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
           +-14.4-[0b]--
           +-18.0  Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration [1022:1200]
           +-18.1  Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map [1022:1201]
           +-18.2  Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller [1022:1202]
           +-18.3  Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control [1022:1203]
           \-18.4  Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control [1022:1204]

See HP Pavilion dv7-3127eg/lspci for a full verbose lspci.

lsusb

$ lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0408:03f0 Quanta Computer, Inc. (this is the webcam)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

See HP Pavilion dv7-3127eg/lsusb for a full verbose lsusb.

cpufreqinfo

$ cpufreqinfo
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
 driver: powernow-k8
 CPUs which run at the same hardware frequency: 0
 CPUs which need to have their frequency coordinated by software: 0
 maximum transition latency: 8.0 us.
 hardware limits: 800 MHz - 2.30 GHz
 available frequency steps: 2.30 GHz, 2.10 GHz, 1.50 GHz, 1.10 GHz, 800 MHz
 available cpufreq governors: powersave, conservative, userspace, ondemand, performance
 current policy: frequency should be within 800 MHz and 2.30 GHz.
                 The governor "ondemand" may decide which speed to use
                 within this range.
 current CPU frequency is 800 MHz (asserted by call to hardware).
 cpufreq stats: 2.30 GHz:2.38%, 2.10 GHz:0.14%, 1.50 GHz:0.18%, 1.10 GHz:0.12%, 800 MHz:97.18%  (1535)
analyzing CPU 1:
 driver: powernow-k8
 CPUs which run at the same hardware frequency: 1
 CPUs which need to have their frequency coordinated by software: 1
 maximum transition latency: 8.0 us.
 hardware limits: 800 MHz - 2.30 GHz
 available frequency steps: 2.30 GHz, 2.10 GHz, 1.50 GHz, 1.10 GHz, 800 MHz
 available cpufreq governors: powersave, conservative, userspace, ondemand, performance
 current policy: frequency should be within 800 MHz and 2.30 GHz.
                 The governor "ondemand" may decide which speed to use
                 within this range.
 current CPU frequency is 800 MHz (asserted by call to hardware).
 cpufreq stats: 2.30 GHz:1.73%, 2.10 GHz:0.13%, 1.50 GHz:0.11%, 1.10 GHz:0.12%, 800 MHz:97.92%  (932)