Results 1 to 10 of 25

Thread: Lircm and X

Threaded View

  1. #1
    Join Date
    Mar 2007
    Location
    Portsmouth, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    [SOLVED] Lircm and X

    Greetings!

    I'm posting for some input after exhausting just about every angle I can come up with. I'm using Lirc to use my remote in mplayer etc, and this is working perfectly. The problem I am having here is using the lircm extension to control the mouse cursor with the remote control.

    The device output is /dev/lircm (standard) and running cat /dev/lircm does generate output using the correct remote keys. I have to assume that this means Lirc(m) is running just fine, and that the problem is my xorg.conf (God only knows how). The relevant parts of my current config are:

    Code:
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "LIRC-Mouse"
    EndSection
    
    Section "InputDevice"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        Identifier     "LIRC-Mouse"
        Driver         "mouse"
        Option         "Device" "/dev/lircm"
        Option         "Protocol" "IntelliMouse"
        Option         "SendCoreEvents"
        Option         "Buttons" "5"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection

    I believe my lircmd.conf is fine, but I'll post it anyway:

    Code:
    #UNCONFIGURED
    #
    # To find out how to get a proper configuration file please read:
    # 
    #	/usr/share/doc/lirc/README.Debian
    # 
    # lircmd config file
    # 
    PROTOCOL IntelliMouse
    # ACCELERATOR start max multiplier
    
    ACCELERATOR 2 30 5
    TOGGLE_ACTIVATE * Green
    
    MOVE_N  * Two
    MOVE_NE * Three
    MOVE_E  * Six
    MOVE_SE * Nine
    MOVE_S  * Eight
    MOVE_SW * Seven
    MOVE_W  * Four
    MOVE_NW * One
    
    BUTTON1_TOGGLE * Five
    BUTTON2_TOGGLE * Down
    
    BUTTON1_CLICK * Five
    BUTTON2_CLICK * Star
    BUTTON3_CLICK * Hash

    If anyone's got any ideas about where I'm going wrong, I'd be really grateful

    Grenage.
    Last edited by Grenage; July 20th, 2009 at 09:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •