Help me install this!

  • flashfasbo

    Hello and greetings,

    I'm on Ubuntu Edgy (6.10) and am familiar enough with installing from source to know that usually a downloaded archive of course contains a configure file and perhaps a nice INSTALL or README but these downloads don't provide any assistance. Perhaps there is some technical reason why this wouldn't exist in your project downloads that I don't understand yet. Anyway, I appreciate the efforts you've gone to so far coding this but I need at least to be pointed in the right direction on where to go from here to get this keyboard working, and I'm probably not alone.

    I'm far enough along in my MythTV config (0.20) that I've got a working lirc (0.8.0-5ubuntu1) using the mceusb2 driver or module (or whatever it's called) and with the Microsoft MCE remote (2nd version).

    When I try the keyboard only with my setup now, the MCE remote buttons work, but not the standard keyboard keys and not the mouse pointer. I think I read elsewhere postings from you finding the same results at first.

    So where do I go from here? HELP!

    Here's my best attempt thus far -- don't laugh! ;-)

    me@myhost:/tmp$ tar xvf *tar

    me@myhost:/tmp$ cd lir*

    me@myhost:/tmp/lirc_mod_mce$ ls -F
    COPYING  kcompat.h  lirc_dev.h  lirc.h  lirc_mod_mce.c  Makefile

    me@myhost:/tmp/lirc_mod_mce$ file *
    COPYING:        ASCII English text
    kcompat.h:      ASCII C program text
    lirc_dev.h:     ASCII C program text
    lirc.h:         ASCII C program text
    lirc_mod_mce.c: ASCII C program text
    Makefile:       ASCII text

    me@myhost:/tmp/lirc_mod_mce$ make
    make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/tmp/lirc_mod_mce modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
      CC [M]  /tmp/lirc_mod_mce/lirc_mod_mce.o
      Building modules, stage 2.
    WARNING: "lirc_register_plugin" [/tmp/lirc_mod_mce/lirc_mod_mce.ko] undefined!
    WARNING: "lirc_get_pdata" [/tmp/lirc_mod_mce/lirc_mod_mce.ko] undefined!
    WARNING: "lirc_unregister_plugin" [/tmp/lirc_mod_mce/lirc_mod_mce.ko] undefined!
      CC      /tmp/lirc_mod_mce/lirc_mod_mce.mod.o
      LD [M]  /tmp/lirc_mod_mce/lirc_mod_mce.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'

    me@myhost:/tmp/lirc_mod_mce$ ls
    COPYING    lirc_dev.h  lirc_mod_mce.c   lirc_mod_mce.mod.c  lirc_mod_mce.o  Modules.symvers
    kcompat.h  lirc.h      lirc_mod_mce.ko  lirc_mod_mce.mod.o  Makefile

    me@myhost:/tmp/lirc_mod_mce$ sudo make install
    make: *** No rule to make target `install'.  Stop.

    If it helps someone to assist me, here's dumps of uname, lspci, lsmod, and lsusb:

    me@myhost:/tmp/lirc_mod_mce$ uname -a
    Linux myhost 2.6.17-10-generic #2 SMP Tue Dec 5 21:16:35 UTC 2006 x86_64 GNU/Linux

    me@myhost:/tmp/lirc_mod_mce$ lspci|sort
    00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
    00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
    00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
    00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
    00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
    00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
    00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
    00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
    00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
    00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
    00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
    00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)
    00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
    00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
    00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
    00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
    00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
    00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
    00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
    00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
    00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
    00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
    00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    04:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    04:08.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 11)
    04:09.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
    05:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    05:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

    me@myhost:/tmp/lirc_mod_mce$ lsmod|sort
    ac                      8328  0
    af_packet              29452  2
    amd74xx                17712  0 [permanent]
    asus_acpi              21924  0
    battery                14088  0
    bitblit                 8064  1 fbcon
    button                  9888  0
    capability              7304  0
    cdrom                  43816  1 ide_cd
    cfbcopyarea             5376  1 vesafb
    cfbfillrect             6272  1 vesafb
    cfbimgblt               4352  1 vesafb
    commoncap              10752  1 capability
    container               6656  0
    cx25840                28176  0
    dev_acpi               17540  0
    ehci_hcd               40456  0
    evdev                  14592  3
    ext3                  164624  1
    fan                     7432  0
    fbcon                  45824  71
    font                   10240  1 fbcon
    forcedeth              37644  0
    generic                 7940  0
    hotkey                 14536  0
    i2c_algo_bit           11784  1 ivtv
    i2c_core               29312  11 i2c_ec,i2c_isa,i2c_nforce2,wm8775,cx25840,tda9887,tuner,ivtv,i2c_algo_bit,nvidia,tveeprom
    i2c_ec                  7808  1 sbs
    i2c_isa                 7808  0
    i2c_nforce2             9984  0
    ide_cd                 39584  0
    ide_generic             2944  0
    ieee1394              387704  2 sbp2,ohci1394
    ipv6                  334432  23
    ivtv                  218192  2
    jbd                    74024  1 ext3
    libata                 88984  1 sata_nv
    lirc_dev               19496  1 lirc_mceusb2
    lirc_mceusb2           14340  1
    lp                     16584  0
    Module                  Size  Used by
    nvidia               5444468  24
    ohci1394               40776  0
    ohci_hcd               25988  0
    parport                49932  2 parport_pc,lp
    parport_pc             43560  0
    pcc_acpi               19968  0
    pci_hotplug            38912  1 shpchp
    pcspkr                  5248  0
    processor              38280  1 thermal
    psmouse                51088  0
    sata_nv                13572  3
    sbp2                   29448  0
    sbs                    20928  0
    scsi_mod              181424  4 sbp2,sg,sd_mod,libata
    sd_mod                 25728  4
    serio_raw              10244  0
    sg                     44584  0
    shpchp                 49068  0
    smbfs                  87816  2
    snd                    79016  15 snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq_device
    snd_ac97_bus            4352  1 snd_ac97_codec
    snd_ac97_codec        127064  1 snd_ice1712
    snd_ak4xxx_adda        10624  2 snd_ice1712,snd_ice17xx_ak4xxx
    snd_cs8427             13312  1 snd_ice1712
    snd_i2c                 9344  2 snd_ice1712,snd_cs8427
    snd_ice1712            85792  2
    snd_ice17xx_ak4xxx      6528  1 snd_ice1712
    snd_mixer_oss          22784  1 snd_pcm_oss
    snd_mpu401_uart        12928  1 snd_ice1712
    snd_page_alloc         13200  1 snd_pcm
    snd_pcm               108168  4 snd_ice1712,snd_ac97_codec,snd_pcm_oss
    snd_pcm_oss            57344  0
    snd_rawmidi            34432  1 snd_mpu401_uart
    snd_seq_device         12180  1 snd_rawmidi
    snd_timer              31112  1 snd_pcm
    softcursor              3968  1 bitblit
    sony_acpi               7704  0
    soundcore              14112  1 snd
    tc1100_wmi             10632  0
    tda9887                21264  0
    thermal                19472  0
    tileblit                4736  1 fbcon
    tsdev                  11136  0
    tuner                  62764  0
    tveeprom               20112  1 ivtv
    usbcore               167840  5 usbhid,lirc_mceusb2,ehci_hcd,ohci_hcd
    usbhid                 51360  0
    v4l1_compat            15108  1 ivtv
    v4l2_common            20352  1 tuner
    vesafb                 11048  1
    video                  22920  0
    videodev               14208  3 ivtv
    wm8775                  8716  0
    xfs                   648904  1

    me@myhost:/tmp/lirc_mod_mce$ lsusb
    Bus 002 Device 002: ID 0471:0815 Philips
    Bus 002 Device 003: ID 046d:c50b Logitech, Inc. Cordless Desktop Optical
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000

    Thanks in advance to anyone willing to help!

    • N. N.
      N. N.

      I'll give it a shot.

      The makefile does not contain any directions for install so copy irc_mod_mce.ko to wherever your modules are, usually /lib/modules/<kernel version>.  uname -r will tell you the current version you are running.

      Lirc tends to put its modules in the misc directory there, so put it in that dir.

      run /sbin/depmod -a

      Plug out/in and it should magically work.

      I am running the "normal" mod_mce and it works flawlessly, many thanks author!

    • roofchop

      Did this work?  I finally got my mceusb2 to work, and now the 'remote keys' work.  I would like to install the mod_mce module, but am still really new to linux.  I am running ubuntu edgy eft with MythTV.  Does anybody know of a how-to for this procedure?  or could quickly write one.  I can try and follow the steps in the previous posts, and see if it works.

    • Florian Demski
      Florian Demski

      I am sorry, that I did not monitor this forum. Therefore I had no idea that you asked for help, but as I see, there are already replies, so all problems should be solved.



    • Well I went a different route and installed debian on my test laptop.. Here I got mod_mce to work just fine, but lirc_mod_mce will not load.

      lirc_mod_mce: Unknown symbol lirc_get_pdata

      Is 0.8.1 required.. or will 0.8.0 work?(this is what debian has)

      • Ooops didn't mean to post this in this topic..