Howto: Debian GNU/Linux on HP Pavilion DV6191

This is a short howto on what I needed to do to get HP Pavilion DV6191 (dv6000 series) working on Debian Etch. I originally installed testing before Etch was released, 2007-03-03, using a daily build installer. 1)

I actually tried installing Ubuntu first, but switched over to Debian as I ran out of luck trying to follow tutorials to get the wireless to work.

Updates

  • 2007-10-13 Works: 2.6.23.1 + linux-uvc r133 + ndiswrapper 1.48

Installer

Boot: wired networking works, sata works. Installed without problems.

Video

$ lspci -v |grep -i geforce
05:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7200 (rev a1) (prog-if 00 [VGA])

Works fine with the proprietary drivers from nvidia.com.

Wireless card

$ lspci -v |grep -i network
03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
$ lspci -vn |grep -i 03:00.0
03:00.0 0280: 14e4:4312 (rev 01)

Listed here:

Works with ndiswrapper 1.38 and drivers from:

Update 2007-07-16: For 2.6.22.1 I had to upgrade to ndiswrapper 1.47.
Debian has old version of ndiswrapper. Be sure to remove it before compiling one yourself.
$ sudo aptitude install cabextract
$ wget ftp://ftp.hp.com/pub/softpaq/sp34001-34500/sp34152.exe
$ wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.47.tar.gz
$ tar zxf ndiswrapper-1.47.tar.gz
$ cd ndiswrapper-1.47/
$ make && sudo make install
$ cd ..
$ mkdir sp34152; cd sp34152;
$ cabextract ../sp34152.exe
$ sudo ndiswrapper -r bcmwl5
$ sudo ndiswrapper -i bcmwl5.inf
$ iwconfig # check whether it works

Card reader (untested)

$ lspci -v |grep -i sdio
07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
$ setpci -s 07:05.1 4c.b=0x02

Sound (snd-hda-intel)

$ lspci -v |grep -i audio
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Card: HDA NVidia
Chip: Conexant ID 5045

Front plug and speakers work with alsa in 2.6.20.1. Use alsamixer to adjust headphone/speaker volume. In 2.6.21.2 inserting the front plug seems to mute the speaker2), unlike earlier kernels.

Web cam

Works.

  • svn co uvc (r90 worked for me), make, make install, modprobe uvcvideo
    svn co -r90 http://svn.berlios.de/svnroot/repos/linux-uvc/
    cd linux-uvc/linux-uvc/trunk
    make
    sudo make install
    sudo modprobe uvcvideo
    
  • apt-get install libpt-plugins-v4l2
  • Run ekiga, in Video Devices select plugin “V4L2”

See also:

Multimedia (QuickPlay) buttons

The keyboard comes with a top row of extra “QuickPlay” buttons. Unlike gnome on Ubuntu Edgy, these were not automatically named and bound by Debian (not at least in KDE, but I don't think in gnome either).

I created ~/.xmodmaprc with following content (you can find out the keycodes using “xev”):

! 205 quickplay 1
! 237 quickplay dvd
! 144 rewind
! 162 play/pause
! 153 forward
! 164 stop
! 160 mute
! 174 vol down
! 176 vol up

keycode 205 = F13
keycode 237 = F14

keycode 144 = XF86AudioPrev
keycode 162 = XF86AudioPause
keycode 153 = XF86AudioNext
keycode 164 = XF86AudioStop
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

Now you can add “xmodmap ~/.xmodmaprc” in your KDE init scripts, for example:

$ echo "xmodmap ~/.xmodmaprc" >> ~/.kde/Autostart/init.sh
$ chmod ugo+x ~/.kde/Autostart/init.sh

After this the keys can be bound in KDE Control center like any other keys. I created a new group for them in “Control Center → Regional & Accessibility → Input Actions”, and use them to control amarok using commands such as:

dcop amarok player pause
dcop amarok player next

etc. See “dcop amarok player” for the available functions.

External/second monitor

Works using nvidia twinview. You can clone the displayed content (same on both screens) or use the screens as combined larger desktop.

I recommend copying Xorg.conf to another name (eg. Xorg.conf.external) and adding something like this in the Device section:

Option "TwinView" "yes"
Option "TwinViewOrientation" "CRT-0 Above DFP-0"
Option "MetaModes" "DFP-0: 1280x800, CRT-0: 1280x1024; DFP-0: 1024x800, CRT-0: 1024x768"
# make WMs recognize laptop screen as first
Option "TwinViewXineramaInfoOrder" "DFP,CRT"
# Xorg :1 -ac -config /etc/X11/xorg.conf.external
$ DISPLAY=:1 startkde

KDE note: you can't move windows freely between the screens unless you do this:

  • right click on task bar
  • Select “configure panel”
  • Hiding
  • Hide mode: (o) Allow other windows to cover the panel

Other notes

  • World of Warcraft seems to work with wine 0.9.37 from winehq.org.

Unsolved issues

  • Boot seems to fail/lock without AC (either reboots at some point, or just locks up). Kernel parameter noacpi may help reboot regardless. Actually, this is either quite random or depends on kernel version. Either way, experimenting with different combinations of noapic, nolapic, noacpi usually helps.
  • Sometimes booting seems to stall at some point, Ctrl-C usually helps against this.

Links

 
howto/hp_pavilion_dv6000.txt · Last modified: 2008/09/12 19:53 by hoxu
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki