Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Mce keyboard

  1. #1
    Join Date
    May 2008
    Location
    Sweden
    Beans
    3
    Distro
    Ubuntu 8.04 Hardy Heron

    Mce keyboard

    Hello guys
    I just start with Ubuntu. all work great but i have some problems with config of "Microsoft Remote Keyboard for WinXP MCE v1.0"
    I install lirc and lirc_mod_mce drives..
    i try with "irw" and i see commands i set up is to VLC and work great but..
    but only media keys.
    I wonder how to make Mce keyboard to work in system,openoffice generaly in ubuntu. Now I type with my old usb key but i wanna get MCE keys to work.
    its my dmesg | grep -i lirc
    Code:
    [   35.846905] lirc_dev: IR Remote Control driver registered, major 61 
    [   35.856824] lirc_mceusb2: no version for "lirc_get_pdata" found: kernel tainted.
    [   35.860593] lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.36 $
    [   35.860598] lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
    [   36.236794] lirc_dev: lirc_register_plugin: sample_rate: 0
    [   36.240775] lirc_mceusb2[2]: Philips eHome Infrared Transceiver on usb4:2
    [   36.240806] usbcore: registered new interface driver lirc_mceusb2
    [   36.284305] lirc_mod_mce: Input driver for Microsoft MCE 2005 keyboard v0.2.0
    [   36.284309] lirc_mod_mce: Florian Demski
    [   36.308099] usbcore: registered new interface driver lirc_mod_mce
    pls help
    peace

  2. #2
    Join Date
    May 2008
    Location
    Sweden
    Beans
    3
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mce keyboard

    some1?

  3. #3
    Join Date
    Apr 2009
    Beans
    14
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mce keyboard

    This is exactly how it looks for me too! Keyboard and mouse pointer still doesn't work...

  4. #4
    Join Date
    Apr 2009
    Beans
    14
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mce keyboard lirc_mod_mce HOW-TO

    YEEES! Finally I've made it all work. Here's an HOW-TO for Ubuntu Jaunty Jackalope 9.04:

    1. Install some required modules with

    Code:
    $ sudo apt-get install lirc lirc-modules-source module-assistant
    2. and then run the following command

    Code:
    $ sudo dpkg-reconfigure lirc-modules-source
    3. Open the the hardware.conf file with this command

    Code:
    $ sudo vi /etc/lirc/hardware.conf
    4. Change two of the lines so they look like this:

    Code:
    REMOTE_MODULES="lirc_mod_mce"
     
    LOAD_MODULES="true"
    Save and exit.

    5. Run the following commands

    Code:
    $ sudo m-a update,prepare
     
    $ sudo m-a clean lirc
     
    $ sudo m-a a-i -f lirc    (if this one fails, choose "skip and continue with the next operation")
     
    $ sudo depmod -a
    6. Download one of the archives I've attached and extract/decompress the containing files "lircd.conf" and "lircrc". Put them in /etc/lirc. (some dists don't have any archive manager, resolved by executing "sudo apt-get install unzip")

    7. Now download the lirc_mod_mce v.0.1.5 file from http://sourceforge.net/project/showf...kage_id=203215, but be sure to download version 0.1.5 and NOT the v0.2.0 or v0.2.1. The later ones has the famous "keypress repeats forever"-bug and should be avoided. Extract/decompress the archive in a new directory on e.g. your desktop.

    8. Delete the downloaded "lirc_dev.h" file and replace it with the one located in "/usr/src/%YOUR_LIRC_VERSION%/drivers/lirc_dev"

    9. In the file named "lirc_mod_mce.c", you have to change one of the lines:

    Code:
    input_dev->cdev.dev = &dev->dev;
     
    to
     
    input_dev->dev.parent = &dev->dev;
    Save and exit.

    10. Now execute, in your desktop directory containing the lirc_mod_mce files:

    Code:
    $ sudo make
    11. Create a new directory in "/lib/modules/%YOUR_CURRENT_KERNEL%" and name it "misc".

    12. Some extra files have been created in the desktop "lirc_mod_mce" directory.
    One of them is "lirc_mod_mce.ko". Copy it to the new directory you just created in step 11.

    13. Run

    Code:
    sudo depmod -a
     
    modprobe lirc_mod_mce
    14. At last we have to blacklist the "lirc_mceusb2" module. Otherwise it will
    interfere with the "lirc_mod_mce" one and make all of our work useless. Execute:

    Code:
    $ sudo vi /etc/modprobe.d/blacklist.conf
    and add the line

    Code:
    blacklist lirc_mceusb2
    on an own row e.g. in the bottom of the file. Save and close.

    15. Reboot

    16. And VOILA! Your MCE Keyboard should be working!
    Attached Files Attached Files
    Last edited by north_pole; August 22nd, 2009 at 04:31 PM.

  5. #5
    Join Date
    Aug 2009
    Beans
    5

    Re: Mce keyboard

    Hey North_pole... Very excellent instructions, up to point 6, then we linux numpties are left in the lurch with steps 6, 7, & 8 (and it would also help to repeat the 'Gedit' instruction for 9).
    At step 6, the stated files are not attached, unless they are within the .tar file mentioned at the very last step, but what the hell do you do with a .tar file ?
    Oh, and at step-3, Gedit aint part of a base mythbuntu install, so a mention that you might need to download/install Gedit would be helpful at that point.

    It all fell apart at Step 6 for me ! and I cain't get no further.

    If you are still around (or someone else lurking), could you please explain steps 6 thru 9 a little ?

    Regards, Mike

  6. #6
    Join Date
    Apr 2009
    Beans
    14
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mce keyboard

    Changed the recommended editor to "vi" instead of "gedit", and attached another archive with the .zip format. I'm forced to keep the files packed because otherwise the forum refuses to upload them.

  7. #7
    Join Date
    Aug 2009
    Beans
    5

    Re: Mce keyboard

    Thanks again, North-P
    Still stumbled as there was no unzip or other applet associated with .zip
    Hit the forum search again, found that Mythbuntu doesn't include unzip, so had to install that first. For other newbies, the command is sudo apt-get install unzip
    Now carrying on with the rest of the steps.

  8. #8
    Join Date
    Aug 2009
    Beans
    5

    Re: Mce keyboard

    Got through everything except the 'modprobe' under step-13. This gives the following :-

    /lib/modules/2.6.28-15-generic/misc$ modprobe lirc_mod_mce
    WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release.
    FATAL: Module lirc_mod_mce not found.

    Does this need to be executed from within a particular folder ?

  9. #9
    Join Date
    Apr 2009
    Beans
    14
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Mce keyboard

    Does this need to be executed from within a particular folder ?
    No, but the "sudo make" command at step 10 has to, in the directory where you unpacked your downloaded lirc_mod_mce files (step 7).

    Is the lirc_mod_mce.ko file really copied to "/lib/modules/2.6.28-15-generic/misc"?

    Is 2.6.28-15 really your actual kernel?

    Sure you've run "sudo depmod -a"?
    Last edited by north_pole; August 22nd, 2009 at 04:36 PM.

  10. #10
    Join Date
    Aug 2009
    Beans
    5

    Smile Re: Mce keyboard

    Is the lirc_mod_mce.ko file really copied to "/lib/modules/2.6.28-15-generic/misc"?

    That was the problem. Must have been a permissions thing and it didnt copy (was using Thunar file manager, worked better from command line with Sudo).

    Ran thru steps again from 11, and Voila - Working beautifully.

    Thanks so much for your help, North-Pole !

Page 1 of 2 12 LastLast

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
  •