HowTo: Ubuntu Linux on HP Pavilion series laptops

6. Webcam

HP Pavilion DV laptops come with several webcams flavors (use lsusb command to locate yours). For a broader support of USB webcams you may also try installing luvcview:

sudo apt-get install luvcview
sudo modprobe uvcvideo

A) 04f2:b015 Chicony Electronics Co. is fully supported via V4L2 default drivers

This means that it works out of the box with Ekiga Softphone, aMSN, Skype etc.

Also Linux-UVC drivers support this webcam, if you wish you can install them:

sudo apt-get install luvcview
sudo modprobe uvcvideo
luvcview -d /dev/video0 -f yuv -s 640x480

I would like to thank very much Michel and Sylvie Xhaard for their incredible and precious work now providing support for over 300 webcams on linux!

B) 05ca:1810 Ricoh Co., 05ca:1870 Ricoh Co., 05ca:1812 Ricoh Co. (in progress), are featured in various models, including some Pavilion DV9000 series and Pavilion DV6502AU, dv6253cl. These are supported. As always I suggest to install luvcview to ensure maximum webcam compatibility.

For Ubuntu Hardy 8.04 this is supported via an external module.

You need r5u870 module created by Sam Revitch http://wiki.mediati.org/R5u870

You can either choose to compile yourself the sourcecode of the latest version from Sam site or use the precompiled package from Stéphane Galland repository: http://www.arakhne.org/spip.php?article51.

I won’t cover the first method since it is a standard one and clearly described in Sam’s wiki.

In the latter case just add his repository and install the module:

sudo -s
echo "deb http://download.tuxfamily.org/arakhne/ubuntu hardy-arakhne universe" && /etc/apt/sources.list
gpg --keyserver keyserver.mobrien.net --recv-keys 0xBA62BC7E
gpg --export -a 0xBA62BC7E | apt-key add - && apt-get update
apt-get install ricoh-webcam-r5u870
modprobe r5u870

C) 064e:a110 Suyin Corp.

This webcam works out of the box with Ubuntu Jaunty 9.04

D) 090c:c371 Feiya Technology Corp.

This webcam works with luvcview

To install luvcview:

sudo apt-get install luvcview
sudo modprobe uvcvideo

7. Synaptics Touchpad

On Ubuntu Linux Lucid 10.04  and Ubuntu Linux Karmic 9.10 the touchpad is fully supported (except for the disable/enable button).

Under 9.10 as well as 10.04 some people reported problems with the touchpad after disabling it with the touchpad’s “on/off”-button. Re-enabling did not work, although the button’s light changed from off to on. Restarting X or rebooting did not work, either. Here is the workaround for this bug (many thanks to Uwe for reporting it!)

Cause: The gnome-settings-daemon interferes with the Synaptics touchpad driver and saves the “off” state forever.

Remedy: Run “gconf-editor”, navigate to “apps”-”gnome-settings-daemon”-”keybindings” and change the value of “touchpad” to “” (empty string).

Source: Ubuntu Bug #549727, https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/549727/comments/103

No more freezing, no more need to edit xorg.conf file.

On older distributions the touchpad is supported, however some issues may be randomly present: it may happen that during a work session the touchpad loses the vertical scroll functionality. It then freezes for a few seconds more and more often until you get locked out from both touchpad and keyboard. This appears to be a problem related to the touchpad communication protocol which is mistakenly set to ‘experimental’.

A workaround that has gained some positive feedback is editing xorg.conf

gksu gedit /etc/X11/xorg.conf

go to

Section “InputDevice”

Identifier “Synaptics Touchpad”

Driver “synaptics”

and ensure in this line you have only “auto” and not “auto-dev”

Option “Protocol” “auto”

save and restart Xserver (or simply reboot).

For some advanced tweaking options install GSynaptics (or KSynaptics if you use KDE) through Synaptic Package Manager. If you decided to use G/Ksynaptics edit xorg.conf to enable Touchpad app to use touchpad.

sudo gedit /etc/X11/xorg.conf

Scroll down to the “Synaptic Touchpad” section and add the following line:

Option         "SHMConfig" "true"
Section "InputDevice"
    Identifier     "Synaptics Touchpad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "true"
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto"
    Option         "HorizScrollDelta" "0"
    Option         "SHMConfig" "true"
EndSection

Xserver must be restarted for this to take effect. You can do this by logging out and in again.

Return to index

Related posts:

  1. Linux Power Saving Tweaks for HP Pavilion laptops
  2. Call for enabling HP Pavilion internal softmodem
  3. Ottimizzazioni per il Risparmio Energetico per portatili HP Pavilion su Ubuntu Linux
  4. [EN] Configure HP Pavilion QuickPlay multimedia buttons in Ubuntu Linux
  5. Guida per Ottimizzare Ubuntu Linux sui portatili HP Pavilion
  6. How to update ALSA to latest version easily
  7. Ad Hoc Wireless Networking in Linux

Go to page 1 2 3 4 5 6 7 8 9 10 11 12 of this post

| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

311 Responses to “HowTo: Ubuntu Linux on HP Pavilion series laptops”

  1. Uwe says:

    Thank you very much, Aldeby, for this great collection of tips! I found it after solving almost all problems in 9.04 and wished that I had found your site much earlier.

    One hint for the suspend/hibernate chapter: I run a dv9500 with the most recent BIOS, but after a clean install of 9.10, the machine hung while trying to hibernate. There are two more solutions to this topic, one is to use the package “uswsusp” instead of the default pm-utils. The other is to list modules (mostly wifi) to unload before suspending or hibernating. Google “SUSPEND_MODULES” or have a look here:

    http://www.ubuntugeek.com/fix-for-suspend-and-hibernation-problem-for-laptops.html

    Best regards,
    Uwe

  2. Makis says:

    i runed the script setup_alsa and it gets to a point where it says “Choose the mode which best fits you” but when i type my prefered number and i hit enter doesnt do anything.am i doing something wrong?

    • aldeby says:

      Makis, why don’t you use an utility like meld to compare the original and your customized script to highlight all the differences (and eventually the mistakes)?

  3. Kyle says:

    In the audio section, sudo apt-get install linux-backports-modules-alsa-karmic should be sudo apt-get install linux-backports-modules-alsa-karmic-generic.

  4. str8upx says:

    This site saved my 9.04 + 9.10 ubuntu installations on my HP dv 7 (3165dx) notebook. Thank you! I just did a clean install of Ubuntu 10.04 LTS and everything works perfectly: sound, front audio jacks, wireless card, web cam, etc. I hope this helps If your considering upgrading.

    • CharlesdArvay says:

      I confirm my flawless upgrade to 10.04 from 9.10 – on the 6th of May 2010 – kra20kra!

      Thanks for this wonderful website that helped in the first place, when I doubted about buying this machine for Linux.

      So I guess HP should be thankful as well…

      Charlot

      • aldeby says:

        I’m happy to read your feedback CharlesdArvay!

        By the way I haven’t heard a word from HP yet.
        They seem way too busy making profit to even bother understanding what the opensource approach is!

  5. Darren says:

    Thanks for your detailed site. I look forward to delving in to it. My initial task however is to install 10.04 Server on a Pavillion notebook using an external monitor as the LCD screen is not working. The external monitor initially shows the cdś loading progress and then the screen is completely black. When the off button is pressed the external monitor again details the shutting down process. Is there some way of seeing what is occurring through the whole process? Thanks for any help that can be offered.

    • aldeby says:

      Hi Darren!
      As far as I recall the external monitor would switch off when the video driver takes control of the video card. As long as is the BIOS controlling both internal and external screens are enabled. You should then be able to enable the external screen from within the driver settings.
      But I guess your laptop has a broken screen…

      Basically I would suggest you to install the operative system in text only mode (so that you would benefit from the BIOS controller and be able to use the external monitor) and not forget to install SSH support so that you could access via network cable your install. Now it would be fairly easy to enable the external monitor by configuring your laptop driver ( /etc/X11/xorg.conf for instance).

  6. Scott says:

    Linux newbit who installed the newest version of Linux Ubuntu 10.04 on my HP Pavilion dv6000 Laptop. Both my wired and wireless connections do not work. Thank you for your help.

    Below is the output of sudo lshw -C network

    *-network
    description: Ethernet interface
    product: MCP67 Ethernet
    vendor: nVidia Corporation
    physical id: a
    bus info: pci@0000:00:0a.0
    logical name: eth0
    version: a2
    serial: 00:1b:24:8c:7b:fa
    size: 100MB/s
    capacity: 100MB/s
    width: 32 bits
    clock: 66MHz
    capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
    resources: irq:27 memory:f6488000-f6488fff ioport:30f8(size=8) memory:f6489c00-f6489cff memory:f6489800-f648980f
    *-network
    description: Network controller
    product: BCM4311 802.11b/g WLAN
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:03:00.0
    version: 02
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list
    configuration: driver=b43-pci-bridge latency=0
    resources: irq:19 memory:f6000000-f6003fff
    *-network DISABLED
    description: Wireless interface
    physical id: 1
    logical name: wlan0
    serial: 00:1a:73:84:5e:66
    capabilities: ethernet physical wireless
    configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg

    • aldeby says:

      It seems your hardware is supported. Have you had a look at System -> Administration -> Hardware Drivers to see whether your computer needs restricted drivers?

      By the way I find it suspicious to read: *-network DISABLED

      If you have installed the default packages and had not modified any file inside /etc by hand you should at least be able to connect via ethernet. Check right clicking on the Network Manager applet if you can tick Enable Networking.

  7. Neva says:

    Broadcom also offers closed STA drivers for those chipsets that aren’t yet covered by the b43 driver. Their compiling instructions are pretty distro-inspesific, I found it easier to connect the laptop to a wired connection and install the same closed driver offered by Ubuntu.
    http://www.broadcom.com/support/802.11/linux_sta.php

    • aldeby says:

      Thank you for sharing your suggestion Neva!
      I’ve added it to the tutorial. Have a nice day!

  8. Uwe says:

    Hi Aldeby, it’s me again. ;-)
    This time with an addition to 7. (Touchpad):
    Under 9.10 as well as 10.04 I had problems with the touchpad after disabling it with the touchpad’s “on/off”-button. Re-enabling did not work, although the button’s light changed from off to on. Restarting X or rebooting did not work, either.

    Cause: The gnome-settings-daemon interferes with the Synaptics touchpad driver and saves the “off” state forever.
    Remedy: Run “gconf-editor”, navigate to “apps”-”gnome-settings-daemon”-”keybindings” and change the value of “touchpad” to “” (empty string).

    Source: Ubuntu Bug #549727, https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/549727/comments/103

    Best regards,
    Uwe

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.