Laptop HP Pavilion

From YobiWiki
Jump to navigation Jump to search

Converted with HTML::WikiConverter::MediaWiki from my old phpwiki site


Hardware

This is almost the same hardware as the Laptop Dell Latitude D610 (see also Debian Laptop)
Differences are:

  • Screen resolution of 1280x768
  • IDE controller is not SATA
  • Ethernet card is a Realtek RTL-8139 instead of the Broadcom
  • Cardbus bridge is also TI but another one without smartcard
  • Firewire
  • SD and Flashmedia reader
  • laptop-mode tuning:
    • No ACPI AC events -> set ACPI_WITHOUT_AC_EVENTS=1 in laptop-mode.conf
    • conservative governor always at max speed??? -> set BATT_CPU_GOVERNOR=ondemand in laptop-mode.conf

http://gentoo-wiki.com/HARDWARE_Gentoo_on_HP_Pavillon_dv1067

Screen

  • Use this file in /etc/X11/xorg.conf or run by yourself dpkg-reconfigure xserver-xorg
  • Modify your /etc/X11/xorg.conf as follow:
  ...
  Section "Monitor"
        HorizSync       31.5 - 48.5
        VertRefresh     50-70
        ModeLine        "1280x768" 80.14 1280 1344 1580 1680 768 769 772 795
                                                                                                                                                                            ...
  Section "Screen"
         SubSection "Display"
                Depth           24
                Modes           "1280x768" "800x600" "640x480"
                ViewPort        0 0
  ...
  Section "InputDevice"
         Identifier    "Mouse[1]"
         Driver        "synaptics"
         Option        "Device"                "/dev/psaux"
         Option        "Protocol"              "auto-dev"
         Option        "SHMConfig"             "on"
 # all the other options were for the ALPS touchpad but we have a real Synaptic touchpad
  EndSection

Wireless

  • Wireless on/off led works pretty well:
  • echo "options ipw2200 led=1" > /etc/modprobe.d/ipw2200

Multimedia keys

cd-rom

  • Very annoying message every 2 secs when the drive is empty:
    ATAPI device hdb:
    Error: Not ready -- (Sense key=0x02)
    Incompatible medium installed -- (asc=0x30, ascq=0x00)
  • the solution could be found here
    For Debian, this becomes:


Add the following section in the file /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi (or another file, look for the string hald-addon-storage)
<!-- Handle weird HP Pavilion Laptops that log errors when drive is empty -->
<match key="storage.bus" string="ide">
   <match key="storage.model" string="TSSTcorpCD/DVDW TS-L532M">
      <match key="block.device" string="/dev/hdb">
         <merge key="storage.media_check_enabled" type="bool">false</merge>
      </match>
   </match>
</match>

This has to come before


    <match key="storage.media_check_enabled" bool="true">
      <append key="info.addons" type="strlist">hald-addon-storage</append>
    </match>

You can find the string="TSSTcorpCD/DVDW TS-L532M" by examining the contents of the output from (as root)

lshal | less

TODO

Not supported

  • lightscribe seems to be definitively not supported under Linux :-(