AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › Official Mandriva Linux 2010.0 thread
New Posts  All Forums:Forum Nav:

Official Mandriva Linux 2010.0 thread - Page 2

post #31 of 130
Quote:
Originally Posted by tux99 View Post

That is very unusual and I would strongly suspect a hardware issue, to begin with I would do a memtest to see if maybe you have defective memory.
See here for how to do this:
http://www.linuxtech.net/tips+tricks...stics-pt1.html
Let it run for 12-24 hours don't just do one pass as one pass sometimes is not enough.

Also make sure the BIOS is set on sane values, especially with regards to memory voltage and timing and system frequencies.

Also check that your system is not overheating for some reason, install the lm_sensors package to monitor temperatures.

If you are using the 3D desktop effects (compiz etc) try disabling those too, to be safe.

Have a look in /var/log/messages, but I doubt you find anything relevant in there, system freezes hardly ever generate entries in the logs.

lm_sensors was already installed, here's the output

Code:
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:     +1.39 V  (min =  +0.80 V, max =  +1.80 V)
 +3.3 Voltage:     +3.30 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:       +5.07 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:     +11.85 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:    3214 RPM  (min =  600 RPM)
CHASSIS FAN Speed:   0 RPM  (min =  600 RPM)
POWER FAN Speed:     0 RPM  (min =  600 RPM)
CPU Temperature:   +32.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:    +29.0°C  (high = +45.0°C, crit = +95.0°C)
this is after 1 hour of usage (viewing flash video, browsing etc.), when the system booted up cpu was at 28 deg C & mobo was at 25 deg C.
post #32 of 130
Thread Starter 
Temperatures look good, what about the memtest and the BIOS settings I mentioned?
post #33 of 130
Quote:
Originally Posted by tux99 View Post

Temperatures look good, what about the memtest and the BIOS settings I mentioned?

ok so I checked the BIOS, all settings are normal i.e. no overclocking and most of them are set to "auto".

and memtest....i beleive RAM is the culprit here, I had a crunchbang live CD lying around so I used it to run memtest, after 8 hrs of over-night run it reported 9 errors (items highlighted in red, I have took pictures, can upload if required).

The RAM i am using is this, please let me know if I need to change the brand or specification.

another thing, on the memtest screen it displayed memory as 466MHz PC933, I am confused by this since this RAM is supposed to be either 800 MHz (PC2-6400) or 667 MHz (PC2-5300) or 533 MHz (PC2-4200).
post #34 of 130
Thread Starter 
Quote:
Originally Posted by livinjean View Post

and memtest....i beleive RAM is the culprit here, I had a crunchbang live CD lying around so I used it to run memtest, after 8 hrs of over-night run it reported 9 errors (items highlighted in red, I have took pictures, can upload if required).

The RAM i am using is this, please let me know if I need to change the brand or specification.

another thing, on the memtest screen it displayed memory as 466MHz PC933, I am confused by this since this RAM is supposed to be either 800 MHz (PC2-6400) or 667 MHz (PC2-5300) or 533 MHz (PC2-4200).


The type of RAM you are using is fine (although I prefer Crucial and Kingston, Crucial is the most reliable memory, never had a defective or incompatible one, Kingston is almost as good too) but it looks like your DIMMs are defective if memtest is showing errors.

The weird Mhz displayed by memtest could be either because the version of memtest you used is too old (so it doesn't recognize your chipset/mobo/ram correctly) or it could be a because the system bus speed and/or the multiplier are set incorrectly in the BIOS or it could be another symptom of your memory being defective.

Can you post the BIOS settings for the system clock and multiplier and the complete BIOS memory settings here?

Also check that the memory voltage is set correctly in the BIOS, it should be 1.8V.
post #35 of 130
Also check in the BIOS that some sort of auto-overclocking isn't set to Auto !!
post #36 of 130
Thread Starter 
Quote:
Originally Posted by tux99 View Post

I have XBMC svn24298 (svn version from last night) up and running on Mandriva 2010.0.

I might make the binaries available on my web site soon, if there is demand.
I don't know if I'll find the time to make a proper rpm so far it's just a tar.gz that goes into /opt/xbmc/.

I'm proud to announce that I now have a XBMC 9.11.svn24682 Mandriva 2010.0 RPM package ready.
At first I tried to reuse a Suse specfile to build the RPM, but then I decided to write my own specfile, which turned out to be actually much cleaner than the Suse one I had found.

With this specfile I will be able to easily and quickly build new versions of XBMC for Mandriva whenever I want.

I will put it on my website tomorrow, will let you know here once it's online.
post #37 of 130
Awesome news! I should be upgrading my HTPC very soon (I hope) and when that happens, I will definitely take advantage of this!

Thank you, tux99! You're awesome for taking the time to set this up!
post #38 of 130
thanks a lot tux99, I am looking forward to install this.
post #39 of 130
Thread Starter 
Thanks to the help of livinjean, who helped me to test the xbmc RPM package and fix some dependencies, we now have a Mandriva Linux 2010.0 RPM package of XBMC 9.11-svn available at:

http://www.linuxtech.net/downloads/X...driva_rpm.html

Further feedback about the package is very welcome, both about any install issues and positive reports about successful installs too!

Remember, I didn't write XBMC, I only packaged it up for Mandriva, so I'm not responsible for any runtime bugs.

From time to time I will update the package with a newer svn build.
Also once the offcial release version of 9.11 is out I will update the package with it.
post #40 of 130
I know I should know this, but in all my n00bness, I do not.

I am upgrading (soon hopefully) my HTPC to a Core2Quad with 2GB of ram. Do I need the 32bit Mandriva or the 64bit? I'll be using the PC for the following:

Watching videos/movies using Moovida/Elisa and XBMC
Ripping DVDs and transcoding them using Handbrake
Creating slideshow movies from pictures using imagination or similar program
Creating DVDs of those slideshows using DeVeDe or similar program
Some Web surfing and functions

I didn't know if there would be program conflicts in the 64bit or not.

Thanks guys.
post #41 of 130
Quote:
Originally Posted by shane2943 View Post


I am upgrading (soon hopefully) my HTPC to a Core2Quad with 2GB of ram. Do I need the 32bit Mandriva or the 64bit?

let me quote the guru tux99 here, "32-bit to avoid hassle"
this is deja-vu, I had the exact same question here
post #42 of 130
Thread Starter 
I'm hardly a guru, I'm just one of the several more experienced regulars on here!

With 2GB RAM definitely 32bit, the small performance gain of 64bit is not worth the hassle, for example XBMC is relatively untested in 64bit and I won't be making a 64bit Mandriva package for it anytime soon, as I don't have a 64bit Mandriva development environment set up for doing that.
post #43 of 130
Kewl. Thanks, livinjean! And Tux99 too for the original answer!

And Tux, compared to me, you're definitely a guru.

Many thanks to all the guru's here (tux99, RGB, Quantumstate, Mythmaster, Zim2dive, and the rest of you).
post #44 of 130
I'm just the resident grouchy old man.

{"Hey you kids, get off my lawn!"}
post #45 of 130
Quote:
Originally Posted by quantumstate View Post

I'm just the resident grouchy old man.

{"Hey you kids, get off my lawn!"}

than Mr. Wilson, I am Dennis the Menace
post #46 of 130
after replacing the RAM system is working fine now, no more random freezing.

next issue is the IR remote, I have a GP-IR02BK usb remote and have installed the lirc & lirc-remotes package; but i am not getting any output from irw, even though the light on IR usb receiver blinks when I press keys on the remote.

Following are my lirc config details :
- /etc/sysconfig/lircd (drive & hwmod lines)
Code:
DRIVER=default
HWMOD=lirc_mceusb
- remote config is also copied
Code:
cp /usr/share/lirc-remotes/mceusb/lircd.conf.mceusb /etc/lirc/lircd.conf
- device detected
Code:
ls -lrt /dev/lirc/0
crw-rw---- 1 root root 61, 0 2009-11-22 10:33 /dev/lirc/0
- dmesg | grep lirc
Code:
usbcore: deregistering interface driver lirc_mceusb
lirc_mceusb[2]: usb remote disconnected
lirc_dev: IR Remote Control driver registered, major 61
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander , Martin Blatter , Dan Conti 
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_mceusb[2]: Topseed Technology Corp. eHome Infrared Transceiver on usb3:2
- lsmod | grep lirc
Code:
lirc_mceusb            15432  1
lirc_dev               10972  3 lirc_mceusb
usbcore               185776  6 lirc_mceusb,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
- lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1784:0008 TopSeed Technology Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 045e:009d Microsoft Corp.
all over the net the info seems to be that these "anyware GR remotes" work out of the box, what am i missing in my config / setup ?
post #47 of 130
Thread Starter 
Quote:
Originally Posted by livinjean View Post

all over the net the info seems to be that these "anyware GR remotes" work out of the box, what am i missing in my config / setup ?

They work out of the box with XBMC Live, as XBMC Live includes lirc preconfigured for MCE compatible remotes, on any other install you still have to manually configure lirc, as far as I know.

That said, I don't know what's missing in your config (I'm no lirc expert, I have struggled with it myself for my serial-port remote in the past), but I will try to retrieve the config out of a XBMC Live iso image later tonight and post it here.
post #48 of 130
Quote:
Originally Posted by quantumstate View Post

I'm just the resident grouchy old man.

{"Hey you kids, get off my lawn!"}

May be old, but you can still be tough...

http://www.youtube.com/watch?v=z7X2_V60YK8

post #49 of 130
Quote:
Originally Posted by livinjean View Post

after replacing the RAM system is working fine now, no more random freezing.

next issue is the IR remote, I have a GP-IR02BK usb remote and have installed the lirc & lirc-remotes package; but i am not getting any output from irw, even though the light on IR usb receiver blinks when I press keys on the remote.

Following are my lirc config details :
- /etc/sysconfig/lircd (drive & hwmod lines)
Code:
DRIVER=default
HWMOD=lirc_mceusb
- remote config is also copied
Code:
cp /usr/share/lirc-remotes/mceusb/lircd.conf.mceusb /etc/lirc/lircd.conf
- device detected
Code:
ls -lrt /dev/lirc/0
crw-rw---- 1 root root 61, 0 2009-11-22 10:33 /dev/lirc/0

You also need the device in the /etc/sysconfig/lircd file.
DEVICE=/dev/lirc/0

And you'll need to restart.
post #50 of 130
Quote:
Originally Posted by wnewell View Post

You also need the device in the /etc/sysconfig/lircd file.
DEVICE=/dev/lirc/0

And you'll need to restart.

This is what I have currently
Code:
# with devfs enabled
DEVICE=/dev/lirc/0
#DEVICE=/dev/lirc/serial

# without devfs
#DEVICE=/dev/lirc
I also tried commenting the devfs DEVICE line and setting /dev/lirc/0 for without devfs with lircd restart, still no output in irw.
post #51 of 130
Thread Starter 
Ok, while I had never really used it until now, I had a HP Media Center USB IR receiver (model: OVU400102/71) lying around here, which is MCE compatible.
I have no specific remote for it, but I tried using it with my Harmony H655 configured as Microsoft MCE remote.

I have installed the following:

Code:
# rpm -qa|grep lirc
liblirc0-0.8.6-2mdv2010.0
lirc-kernel-2.6.31.5-desktop586-1mnb-0.8.6-2mdv2010.0
lirc-remotes-0.8.3-0.20080704.4mdv2010.0
lirc-0.8.6-2mdv2010.0
lirc-kernel-desktop586-latest-0.8.6-1.20091026.2mdv2010.0
(yes I know I should really switch the kernel to kernel-desktop instead of kernel-desktop586 but I couldn't be bothered so far)

Code:
# lsusb
Bus 004 Device 002: ID 045e:006d Microsoft Corp. eHome Remote Control Keyboard keys
Code:
# lsmod|grep lirc
lirc_mceusb            15432  0
lirc_dev               10972  1 lirc_mceusb
usbcore               185776  6 lirc_mceusb,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
Code:
# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander , Martin Blatter , Dan Conti 
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_mceusb[2]: Microsoft Microsoft IR Transceiver on usb4:2
usbcore: registered new interface driver lirc_mceusb
Code:
# ls -la /dev/lirc/0
crw-rw---- 1 root root 61, 0 2009-11-23 00:39 /dev/lirc/0
So this looks pretty much like your output.

I have verified that my IR receiver is working by doing the following:

ps -ef|grep lirc
then killed lircd and lircmd

then ran:
irrecord -d /dev/lirc/0 /tmp/lircd.conf

when following the on-screen instructions I get feedback for my remote key-presses and in the end I get a valid lircd.conf for my remote (which actually looks different than the default mceusb one, maybe because I'm using the Harmony remote).

After that I copied /tmp/lircd.conf to /etc/lirc/ and restarted lircd and lircmd (or reboot the PC) and ran irw again and now I get output for each key-press.

See this page too:
http://www.lirc.org/html/help.html
And this one:
http://xbmc.org/wiki/?title=HOW-TO_s...rning_Commands

As I said, I'm not a lirc expert so I'm not sure this is the best/easiest way to do this but it seems to work for me.
post #52 of 130
Quote:
Originally Posted by livinjean View Post

next issue is the IR remote, I have a GP-IR02BK usb remote and have installed the lirc & lirc-remotes package; but i am not getting any output from irw, even though the light on IR usb receiver blinks when I press keys on the remote.

lsmod | grep lirc
Code:
lirc_mceusb            15432  1
lirc_dev               10972  3 lirc_mceusb
usbcore               185776  6 lirc_mceusb,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

I have the GP-IR01BK, and I am not sure how similar it is to the GP-IR02BK. On my Ubuntu setups, it uses the lirc_mceusb2 and lirc_dev kernel modules.

That is another reason that I now use Ubuntu/Mythbuntu. The lirc setup for these remotes is super simple in those distros.
post #53 of 130
Thread Starter 
Quote:
Originally Posted by waterhead View Post

That is another reason that I now use Ubuntu/Mythbuntu. The lirc setup for these remotes is super simple in those distros.

I don't wanna sound polemic, but in which way exactly is the setup any simpler?
AFAIK Ubuntu uses the same lircd that any other distro uses, or is there some kind of Ubuntu-exclusive GUI setup tool?

Maybe you could post how you setup your remote on Ubuntu step by step as the same procedure will almost certainly work on any other distro too (unless Ubuntu has some kind of proprietary GUi to configure it, which I have never heard of).

Edit to add:
lirc_mceusb and lirc_mceusb2 are the same thing these days so livinjean is using the correct kernel module:
Quote:


# modinfo lirc_mceusb
filename: /lib/modules/2.6.31.5-desktop586-1mnb/dkms-binary/drivers/input/misc/lirc_mceusb.ko.gz
alias: lirc_mceusb2
license: GPL
author: Daniel Melander , Martin Blatter , Dan Conti
description: Windows Media Center Edition USB IR Transceiver driver for LIRC
srcversion: BA0315C77547295D8658E19
[...]
alias: usb:v1784p0008d*dc*dsc*dp*ic*isc*ip*
[...]
alias: usb:v045Ep006Dd*dc*dsc*dp*ic*isc*ip*
[...]
post #54 of 130
More investigation tells me you should be using the lirc_mceusb2 module instead of the lirc_mceusb module.Your IR receiver:
Code:
Bus 003 Device 002: ID 1784:0008 TopSeed Technology Corp.
Code:
 modinfo lirc_mceusb2 | grep 1784
alias:          usb:v1784p0008d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0007d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0006d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1784p0001d*dc*dsc*dp*ic*isc*ip*
post #55 of 130
Thread Starter 
See the addition to my post above, lirc_mceusb includes lirc_mceusb2 these days, your lirc version is probably older.
post #56 of 130
Quote:
Originally Posted by tux99 View Post

I don't wanna sound polemic, but in which way exactly is the setup any simpler?
AFAIK Ubuntu uses the same lircd that any other distro uses, or is there some kind of Ubuntu-exclusive GUI setup tool?

Maybe you could post how you setup your remote on Ubuntu step by step as the same procedure will almost certainly work on any other distro too (unless Ubuntu has some kind of proprietary GUi to configure it, which I have never heard of).

When you install lirc through apt, you get this set up screen:

You can also bring this up with this command:
Code:
sudo dpkg-reconfigure lirc
Of course, this is meaningless in a Mandriva thread
Quote:


Edit to add:
lirc_mceusb and lirc_mceusb2 are the same thing these days so we livinjean is using the correct kernel module:

I disagree, unless once again Ubuntu is somehow different.
LL
post #57 of 130
Thread Starter 
That remote selection screen can surely be useful for a complete newbie, but ultimately all it does is copy the specific lircd.conf config file from /usr/share/lirc-remotes/ to /etc/lirc which livinjean did, so in this case it wouldn't help him any further.

I think if you could post your /etc/lirc/lircd.conf file, that might be useful to see which one you are using.

Quote:


I disagree, unless once again Ubuntu is somehow different.

The only thing that could be differnt is the version of lirc you are using, tell us which version you use.
post #58 of 130
The version that Ubuntu is using is 0.8.5.

As for the lircd.conf file, Ubuntu does do this differently. Instead of the fie containing the IR info, it merely points to the file that does contain the info:
Code:
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Windows Media Center Remotes (new version Philips et al.) remote:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"
The lircd.conf.mceusb file that it points to is this:
Code:
#
# brand:                        HP 
# model no. of remote control:  TSGH-IR01
# devices being controlled by this remote: HP Slimline S3100y
#
# Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at:
# https://help.ubuntu.com/community/Install_Lirc_Feisty

#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
#         http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti  dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note: 
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
# Note: 
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote

begin remote

  name        mceusb
  bits                 16
  flags  RC6|CONST_LENGTH
  eps                  30
  aeps                100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits        21
  pre_data        0x37FF0
  gap              105000
  toggle_bit           22
  rc6_mask    0x100000000


      begin codes

#unused by HP remote
    Blue          0x00007ba1
    Yellow          0x00007ba2
    Green          0x00007ba3
    Red          0x00007ba4
    Teletext      0x00007ba5

#ba6 - bae unused 
        BA6           0x00007ba6
        BA7           0x00007ba7
        BA8           0x00007ba8
        BA9           0x00007ba9
        BAA           0x00007baa
        BAB           0x00007bab
        BAC           0x00007bac
        BAD           0x00007bad
        BAE           0x00007bae

        Radio         0x00007baf
        Print         0x00007bb1

#bb2 - bb4 unused  
        BB2           0x00007bb2
        BB3           0x00007bb3
        BB4           0x00007bb4

        Videos        0x00007bb5
        Pictures      0x00007bb6
        RecTV         0x00007bb7
        Music         0x00007bb8
        TV            0x00007bb9

#bba - bbf unused 
        BBA           0x00007bba
        BBB           0x00007bbb
        BBC           0x00007bbc
        BBD           0x00007bbd
        BBE           0x00007bbe
        BBF           0x00007bbf
#bc1 - bca unused 
        BC1           0x00007bc1
        BC2           0x00007bc2
        BC3           0x00007bc3
        BC4           0x00007bc4
        BC5           0x00007bc5
        BC6           0x00007bc6
        BC7           0x00007bc7
        BC8           0x00007bc8
        BC9           0x00007bc9
        BCA           0x00007bca

        Eject         0x00007bcb
        SlideShow     0x00007bcc
        Visualization 0x00007bcd

#bce - bcf unused 
        BCE           0x00007bce
        BCF           0x00007bcf
#bd1 - bd7 unused 
        BD1           0x00007bd1
        BD2           0x00007bd2
        BD3           0x00007bd3
        BD4           0x00007bd4
        BD5           0x00007bd5
        BD6           0x00007bd6
        BD7           0x00007bd7

        Aspect        0x00007bd8
        Guide         0x00007bd9
        LiveTV        0x00007bda
        DVD           0x00007bdb
#NoGap
        Back          0x00007bdc
        OK            0x00007bdd
        Right         0x00007bde
        Left          0x00007bdf
        Down          0x00007be0
        Up            0x00007be1
#NoGap
        Star          0x00007be2
        Hash          0x00007be3
#NoGap
        Replay        0x00007be4
        Skip          0x00007be5
        Stop          0x00007be6
        Pause         0x00007be7
        Record        0x00007be8
        Play          0x00007be9
        Rewind        0x00007bea
        Forward       0x00007beb
#NoGap
        ChanDown      0x00007bec
        ChanUp        0x00007bed
        VolDown       0x00007bee
        VolUp         0x00007bef
#NoGap
        More          0x00007bf0
        Mute          0x00007bf1
        Home          0x00007bf2
        Power         0x00007bf3
#NoGap
        Enter         0x00007bf4
        Clear         0x00007bf5
#NoGap
        Nine          0x00007bf6
        Eight         0x00007bf7
        Seven         0x00007bf8
        Six           0x00007bf9
        Five          0x00007bfa
        Four          0x00007bfb
        Three         0x00007bfc
        Two           0x00007bfd
        One           0x00007bfe
        Zero          0x00007bff
      end codes

end remote
I hope this helps get it working.
post #59 of 130
Thread Starter 
Thanks, the /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb file you posted is the same file livingjean is using, and lirc 0.8.5 is older than the 0.8.6 that comes with Mandriva 2010.0, which explains why you still have the separate lirc_mceusb and lirc_mceusb2 modules.

See here:
http://www.lirc.org/html/install.html#updating085
Quote:


The functionality of the lirc_mceusb2 driver has been merged into the lirc_mceusb driver. The lirc_mceusb2 driver is now obsolete and has been removed. You should use lirc_mceusb from now on.
post #60 of 130
One other thing.

I have a customized .lircrd file in my home directory, that I found on the internet. It contains key mappings for VLC, Xine, Mplayer, MythTV and Open Office Impress Presentation (using the irxevent daemon). Maybe someone can find it useful too.
Code:
#Button mappings for VLC, Xine, Mplayer, MythTV and Open Office Presentation (using irxevent).
#VLC
begin
    prog = vlc
    button = play
    config = key-play
end

begin
    prog = vlc
    button = pause
    config = key-pause
end

begin
    prog = vlc
    button = stop
    config = key-quit
end

begin
    prog = vlc
    button = chandown
    config = key-prev
end

begin
    prog = vlc
    button = chanup
    config = key-next
end
    
begin
    prog = vlc
    button = rewind
    config = key-slower
end

begin
    prog = vlc
    button = forward
    config = key-faster
end

begin
    prog = vlc
    button = VolDown
    config = key-vol-down
end

begin
    prog = vlc
    button = VolUp
    config = key-vol-up
end

begin
    prog = vlc
    button = mute
    config = key-vol-mute
end

begin
    prog = vlc
    button = left
    config = key-nav-left
end

begin
    prog = vlc
    button = right
    config = key-nav-right
end

begin
    prog = vlc
    button = down
    config = key-nav-down
end

begin
    prog = vlc
    button = up
    config = key-nav-up
end

begin
    prog = vlc
    button = ok
    config = key-nav-activate
end

begin
    prog = vlc
    button = dvd
    config = key-disc-menu
end


######XINE############
begin
    prog = xine
    button = back
    config = ToggleAspectRatio
end

begin
    prog = xine
    button = ok
    config = EventSelect
end

begin
    prog = xine
    button = info
    config = OSDStreamInfos
end

begin
    prog = xine
    button = VolUp
    config = Volume+
end

begin
    prog = xine
    button = VolDown
    config = Volume-
end

begin
    prog = xine
    button = forward
    config = SeekRelative+15
end

begin
    prog = xine
    button = rewind
    config = SeekRelative-15
end


begin
    prog = xine
    button = skip
    config = EventNext
end

begin
    prog = xine
    button = replay
    config = EventPrior
end

begin
    prog = xine
    button = pause
    config = Pause
end

begin
    prog = xine
    button = up
    config = EventUp
end

begin
    prog = xine
    button = right
    config = EventRight
end

begin
    prog = xine
    button = down
    config = EventDown
end

begin
    prog = xine
    button = left
    config = EventLeft
end

begin
    prog = xine
    button = enter
    config = Enter
end

begin
    prog = xine
    button = mute
    config = Mute  
end

begin
    prog = xine
    button = play
    config = Play  
end

begin
   prog = xine
   button = stop
   config = Quit
end

begin
   prog = xine
   button = home
   config = Menu
end

begin
   prog = xine
   button = dvd
   config = RootMenu
end

begin
   prog = xine
   button = rsurf
   config = RootMenu
end

#####MPLAYER#################
begin
    prog = mplayer
    button = ok
    config = pause
end

begin
    prog = mplayer
    button = VolUp
    config = volume +1
end

begin
    prog = mplayer
    button = VolDown
    config = volume -1
end

begin
    prog = mplayer
    button = forward
    config = seek +30 0
end

begin
    prog = mplayer
    button = rewind
    config = seek -30 0
end


begin
    prog = mplayer
    button = skip
    config = seek +15 0
end

begin
    prog = mplayer
    button = replay
    config = seek -15 0
end

begin
    prog = mplayer
    button = pause
    config = pause
end

begin
    prog = mplayer
    button = up
    config = seek +60 0
end

begin
    prog = mplayer
    button = right
    config = seek +6 0
end

begin
    prog = mplayer
    button = down
    config = seek -60 0
end

begin
    prog = mplayer
    button = left
    config = seek -6 0
end

begin
    prog = mplayer
    button = enter
    config = pause
end

begin
    prog = mplayer
    button = mute
    config = mute
end

begin
    prog = mplayer
    button = play
    config = pause
end

begin
   prog = mplayer
   button = power
   config = quit
end

begin
   prog = mplayer
   button = stop
   config = quit
end

begin
   prog = mplayer
   button = home
   config = vo_fullscreen
end

begin
   prog = mplayer
   button = menu
   config = vo_fullscreen
end

##########LAUNCHING BUTTONS#######################

#Launch Myth
#begin
#    prog = irexec
#    button = power
#    delay= 6
#    config = /home/supermario/.checkmythrunning.sh
#end

#Turn TV Off
#begin
#    prog = irexec
#    button = power
#    config = irsend -d /dev/lircd1 SEND_ONCE Samsung power
#end

#Put monitor into low power mode & turn off tv
#begin
#    prog = irexec
#    button = back
#    config = DISPLAY=:0 xset dpms force off; irsend -d /dev/lircd1 SEND_ONCE Samsung power
#end

#########MythTV######################
begin 
    prog = mythtv
    button = chanup
    config = PgUp
end

begin
    prog = mythtv
    button = chandown
    config = PgDown
end

begin
    prog = mythtv
    button = ok
    config = Return
end

begin
    prog = mythtv
    button = home
    config = M
end

begin
    prog = mythtv
    button = menu
    config = M
end

begin
    prog = mythtv
    button = info
    config = I
end

begin
    prog = mythtv
    button = VolUp
    repeat = 3
    config = ]
end

begin
    prog = mythtv
    button = VolDown
    repeat = 3
    config = [
end

begin
    prog = mythtv
    button = forward
    repeat = 3
    config = >
end

begin
    prog = mythtv
    button = rewind
    repeat = 3
    config = <
end

begin
    prog = mythtv
    button = pause
    config = P
end

begin
    prog = mythtv
    button = up
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = right
    repeat = 3
    config = Right
end

begin
    prog = mythtv
    button = down
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = left
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = enter
    config = Enter
end

begin
    prog = mythtv
    button = zero
    config = 0
end

begin
    prog = mythtv
    button = one
    config = 1
end

begin
    prog = mythtv
    button = two
    config = 2
end

begin
    prog = mythtv
    button = three
    config = 3
end

begin
    prog = mythtv
    button = four
    config = 4
end

begin
    prog = mythtv
    button = five
    config = 5
end

begin
    prog = mythtv
    button = six
    config = 6
end

begin
    prog = mythtv
    button = seven
    config = 7
end

begin
    prog = mythtv
    button = eight
    config = 8
end

begin
    prog = mythtv
    button = nine
    config = 9
end

begin
   prog = mythtv
   button = replay
# Use for backwards commercial skip
    config = Q  
end

begin
   prog = mythtv
   button = skip
# Use for forward commercial skip
    config = Z  
end

begin
   prog = mythtv
   button = exit
   config = D  
end

begin
    prog = mythtv
    button = mute
    config = |  
end

begin
    prog = mythtv
    button = guide
    config = S
end

begin
    prog = mythtv
    button = play
    config = P  
end

begin
    prog = mythtv
    button = livetv
    config = %
end

begin
  prog = mythtv
  button = record
  config = R  
end

begin
   prog = mythtv
   button = rectv
   config = &
end

begin
   prog = mythtv
   button = dvd
   config = #
end

begin
   prog = mythtv
   button = caption
   config = T
end

begin
   prog = mythtv
   button = power
   config = Escape
end

begin
   prog = mythtv
   button = stop
   config = Escape
end

begin
   prog = mythtv
   button = back
   config = W
end

##############################################
#### Evince y OpenOffice (Presentations) ####
##############################################

begin
   prog = irxevent
   button = OK
   config = Key F5 CurrentWindow
   repeat = 0
end

begin
   prog = irxevent
   button = Back
   config = Key Escape CurrentWindow
   repeat = 0
end

begin
   prog = irxevent
   button = Down
   config = Key alt-Page_Up CurrentWindow
   repeat = 0
end

begin
   prog = irxevent
   button = Up
   config = Key alt-Page_Down CurrentWindow
   repeat = 0
end

begin
   prog = irxevent
   button = Right
   config = Key Next CurrentWindow
   #config = Key ctrl-plus CurrentWindow
   repeat = 0
end

begin
   prog = irxevent
   button = Left
   config = Key Prior CurrentWindow
   #config = Key ctrl-minus CurrentWindow
   repeat = 0
end
There are some key mapping commented out. These are for launching MythTV and turning a TV on/off. I never used them, so I left them commented out.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: HTPC - Linux Chat
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › Official Mandriva Linux 2010.0 thread