HP Pavilion dv5 1104TU and it completely rocks ! :D
Well, it also came with a neat little remote control with lots of media buttons to make life easy. It worked perfectly under Vista, but refused to work with ubuntu (tried on 8.10 and 9.04). Now, I've finally come up with a way to get it working on Ubuntu.
Just follow this procedure and nothing can go wrong !
Firstly, you'll need to get lirc .
To install lirc, click here
Note : Select "none" and "none" when it asks for configuration during isntallation.
After that, download the configuration file for the Remote from here .This is the configuration file for the remote that comes with the DV6 series, but it works just fine with DV5 series too.
Now save this file as lircd.conf in /etc/lirc/
After this , edit the hardware.conf file to match this :
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES="lirc_dev lirc_serial"
REMOTE_DRIVER="default"
REMOTE_DEVICE=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Save it
Go to the terminal and ..
sudo /etc/init.d/lirc start
and Voila ! if you have done everything correctly, the remote should be working now.
You can try it out from System->Preferences->Keyboard Shortcuts
Hope that helps ! :-)
Cheers !