• prutsger
  • Registratie: Oktober 2001
  • Laatst online: 28-01 15:28
Bij gebrek aan reacties op het ubuntu forum ook maar een post hier. Hopelijk weet een van jullie het antwoord.

Ik krijg namelijk mijn MCE Remote niet aan de praat als muis onder gnome.

Ik heb alles in de topics
http://ubuntuforums.org/showthread.p...ght=mce+remote
http://ubuntuforums.org/showthread.php?t=425660
al doorgenomen/verwerkt. Ik heb er bijvoorbeeld dus al voor gezorgd dat lirc voor x opstart.

De oplossingen die daar gegeven worden lossen mijn probleem niet op.
Het lastige is dat alles prima lijkt te functioneren, maar als ik op een knop van de remote druk gebeurt er gewoon niets.


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_mceusb2"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
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=""


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

#MCE-Remote
Section "InputDevice"
    Identifier "LIRC-Mouse"
    Driver "mouse"
    Option "Device" "/dev/lirc0"
    Option "Protocol" "IntelliMouse"
    Option "SendCoreEvents"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option      "XkbRules"  "xorg"
    Option      "XkbModel"  "pc105"
    Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
EndSection

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "nvidia"
    Option      "NoLogo"    "True"
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    Defaultdepth    24
EndSection

Section "ServerLayout"
    Identifier  "Default Layout"
    InputDevice "LIRC-Mouse"
    screen "Default Screen"
EndSection
Section "Module"
    Load        "glx"
EndSection


code:
1
2
3
root      4513     1  0 21:12 ?        00:00:00 /usr/sbin/lircd --device=/dev/lirc0
root      4516     1  0 21:12 ?        00:00:00 /usr/sbin/lircmd
root      7967  7758  0 21:29 pts/0    00:00:00 grep lirc


Als ik met irw de remote test krijg ik netjes de correcte knoppen te zien. Ook in XBMC werkt de remote perfect. Maar het gaat om mijn server, die staat in de studeerkamer, naast de woonkamer, en ik kan niet zien wat ik in de studeerkamer met de muis doe. De enige monitor die er aan hangt is de lcd in de woonkamer. Alleen de remote ontvanger haalt het tot in de woonkamer dus ik wil die gebruiken als muis, zodat ik geen draadloze muis hoef te kopen, en volgens mij moet dat toch kunnen met lircmd.

Btw, OS: Ubuntu 8.04.1, kernel 2.6.24-19-generic (SMP) i686.