To use a IR remote in Linux, you need to install and configure lirc. It is usually available through your sytem's package management software. You can also get the source (and some lirc info) from their web site. LIRC - Linux Infrared Remote Control
Lirc needs two config files, a lircd file that lists the buttons and the code associated with it, and a lircrc file that maps the buttons to programs.
There are many sample lircd files with lirc, usually found in the /usr/share/doc section. You can also get them online: Index of /remotes
I don't see anything for a DV5 under the HP folder, but you should use the remote's model number. It may also maybe under a different folder. The file then is renamed lircd.conf and placed in the /etc/lirc folder.
The lircrc file is not provided. If you cannot locate one for your remote, you will have to make one. A good source for remote info is the MythTV Wiki. It may not have your remote listed, but you can see a few examples of the lircrc file.
The lircrc file is then saved in your home folder as a hidden file .lircrc.
I sort of glossed over it, as it can get somewhat complicated if you remote isn't supported out-of-the-box. You can get one to work, even if you have to do it from scratch (I have never done this).
I was wondering if your mouse may be actually a IR device. You could maybe use lirc to control that too.
__________________
Paul
Please do not PM me with requests for help. I will not reply.
|