Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Remote control in Hardy.

  1. #11
    Join Date
    Jan 2007
    Location
    Newcastle upon Tyne
    Beans
    148
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    Thanks again, here is the output from those commands.

    /home/kenneth-->sudo insmod /lib/modules/2.6.24-17-generic/updates/dkms/lirc_dev.ko
    [sudo] password for kenneth:
    insmod: error inserting '/lib/modules/2.6.24-17-generic/updates/dkms/lirc_dev.ko': -1 File exists
    /home/kenneth-->sudo insmod /lib/modules/2.6.24-17-generic/updates/dkms/lirc_i2c.ko
    insmod: error inserting '/lib/modules/2.6.24-17-generic/updates/dkms/lirc_i2c.ko': -1 File exists
    /home/kenneth-->
    /home/kenneth-->dmesg|grep lirc
    [ 79.496800] lirc_dev: IR Remote Control driver registered, major 61
    [ 79.507538] lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
    /home/kenneth-->uname -r
    2.6.24-17-generic

    Regards, Kenneth.

  2. #12
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    Quote Originally Posted by kenmiles View Post
    Thanks again, here is the output from those commands.

    /home/kenneth-->sudo insmod /lib/modules/2.6.24-17-generic/updates/dkms/lirc_dev.ko
    [sudo] password for kenneth:
    insmod: error inserting '/lib/modules/2.6.24-17-generic/updates/dkms/lirc_dev.ko': -1 File exists
    /home/kenneth-->sudo insmod /lib/modules/2.6.24-17-generic/updates/dkms/lirc_i2c.ko
    insmod: error inserting '/lib/modules/2.6.24-17-generic/updates/dkms/lirc_i2c.ko': -1 File exists
    /home/kenneth-->
    /home/kenneth-->dmesg|grep lirc
    [ 79.496800] lirc_dev: IR Remote Control driver registered, major 61
    [ 79.507538] lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
    /home/kenneth-->uname -r
    2.6.24-17-generic

    Regards, Kenneth.
    I did a google and found this
    http://ivtvdriver.org/pipermail/ivtv...er/004820.html

    Seems this is a known problem and should be fixed with the next update.
    The list also gives instructions on how to solve the problem manually. But it requires compiling lirc from source.

    If you are comfortable with that, i recommend doing what the list says.

    regards
    sandi.newton

  3. #13
    Join Date
    Jan 2007
    Location
    Newcastle upon Tyne
    Beans
    148
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    I have just updated to kernel 2.6.24.18 and the same problem is there.

    /home/kenneth-->dmesg | tail
    [ 89.162856] Bluetooth: RFCOMM ver 1.8
    [ 89.562381] lirc_dev: IR Remote Control driver registered, major 61
    [ 89.572991] lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
    [ 89.677227] bttv: driver version 0.9.17 loaded
    [ 89.677236] bttv: using 8 buffers with 2080k (520 pages) each for capture
    [ 89.862070] ivtv: Start initialization, version 1.1.0
    [ 89.862147] ivtv: End initialization
    [ 91.668608] tda1004x: setting up plls for 48MHz sampling clock
    [ 91.952313] tda1004x: found firmware revision 20 -- ok
    [ 101.049360] eth0: no IPv6 routers present

    Regards, Kenneth.

  4. #14
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    A fix related to lirc kernel module has been commited to hardy-proposed. You can test it and see if it works for you. See https://bugs.launchpad.net/ubuntu/+s...rc/+bug/218955 and http://blog.omma.net/?p=11

  5. #15
    Join Date
    Jan 2007
    Location
    Newcastle upon Tyne
    Beans
    148
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    Thanks again for your trouble but that fix did not work either.
    I am now thinking of buying a wireless remote instead.
    Regards, Kenneth.

  6. #16
    Join Date
    Sep 2007
    Location
    USA
    Beans
    331
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Remote control in Hardy.

    Hi Kenneth,

    I recently performed a clean install of Hardy on my laptop.

    I had a lot of the same troubles that you are having now. My solution was to do a manual install of lirc-0.8.3. There is a guide here.

    The device file should default to /dev/lirc0.

    Use mode2 -d /dev/lirc0 and irw to troubleshoot.

    Good luck.

    Also, I am using VMWare server (Free) on both my laptop and my desktop on Hardy. You have to use the update116 patch to get it to compile. There are a few other requirements for scripting libraries.

    Let me know if you need any additional help with this and I can dig through my notes.

  7. #17
    Join Date
    Jan 2007
    Location
    Newcastle upon Tyne
    Beans
    148
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    Thanks, I will try that later today.
    By the way, the latest version of VMware server has been updated for Hardy and does not need the patch.
    Regards, Kenneth.

  8. #18
    Join Date
    Sep 2007
    Location
    USA
    Beans
    331
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Remote control in Hardy.

    Thanks for the heads up about the patch.

    I patched it when I installed it. No troubles, but good to know if I want to install a newer version.

  9. #19
    Join Date
    Jan 2007
    Location
    Newcastle upon Tyne
    Beans
    148
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Remote control in Hardy.

    Another update for lirc today and STILL it does not work-

    * Stopping remote control mouse daemon: LIRCMD [fail]
    * Stopping remote control daemon(s): LIRC [fail]
    * Loading LIRC modules [ OK ]
    * Unable to load LIRC kernel modules. Verify your
    * selected kernel modules in /etc/lirc/hardware.conf

    Will this ever be fixed.

  10. #20
    Join Date
    Apr 2006
    Location
    Seine-et-Oise,France
    Beans
    449
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Remote control in Hardy.

    Hmmm... I got one of these Streamzap controllers a couple of days ago.

    I tried it tonight for the first time.

    I didn't see any effect from pressing the buttons on the controller while running RhytmBox, MPlayer or Xine, so thought there was something broken, as per reports in this thread.

    Code:
    $ sudo /etc/init.d/lirc restart --verbose
     * Stopping remote control daemon(s): LIRC                        [fail] 
     * Loading LIRC modules                                           [ OK ] 
     * Unable to load LIRC kernel modules. Verify your
     * selected kernel modules in /etc/lirc/hardware.conf
    Not promising...

    Yet:
    Code:
    $ lsmod | grep lirc
    lirc_streamzap         22916  0 
    lirc_dev               22216  1 lirc_streamzap
    usbcore               175376  8 lirc_streamzap,usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
    And:

    Code:
    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE="Streamzap PC Remote"
    REMOTE_MODULES="lirc_streamzap"
    REMOTE_DRIVER="default"
    REMOTE_DEVICE="/dev/lirc0"
    REMOTE_LIRCD_CONF=""
    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=""
    
    # Remote settings required by gnome-lirc-properties
    REMOTE_MODEL="PC Remote"
    REMOTE_VENDOR="Streamzap"
    
    # Receiver settings required by gnome-lirc-properties
    RECEIVER_MODEL="PC Remote"
    RECEIVER_VENDOR="StreamZap"
    Now, what seems interesting is that there really is something coming in through /dev/lirc0, as we can see by this:
    Code:
    $ sudo cat /dev/lirc0
    When I press a button on the remote controller, unprintable strings, including BELL appear in the terminal:
    Code:
    �����������������������������2�������������������������LK���������������������LP��������������������������Q�������������������������h���������������������T����������������������������������������������0�����������������������JS����������������������6��������������������� € €  € €  € €  € €  € €  € €  € €  € €  € €  € €  € €  € €  €  P € €  € €  € €  € €  € €  € €  €€  € €  € €  € €  € €  € €  € 
                                                     ° € €  € €  € €  € €  € €  € €  € €  € €  € €  € €  € Β4 € €  € €  € €€ €  € €  € €  € €  € €  € €  € €  € †σ € €  € €€ €  € €  € €  € €  € €  € €  € €  € €  € €  € Β2 € €  € €  € €  € €  € €  € €  € €  € €  € €  € €  €€  €
    The stuff above is what happens when I press the buttons 1 to 9 on the controller.

    So maybe the problem is with the applications (Rhythmbox, et al) not looking at /dev/lirc0 for input?

    I tried running Audacious... I have no sound at the moment (see other thread for this), but got some degree of control using the Streamzap.

    In the preferences for Audacious, I looked in Plugins -> General tab. Here, I enabled the EvDev-Plug and set the device to /dev/lirc0. I had to change the permissions on this device to be readable my myself. Now I have a small amount of control over Audacious, but the program hangs after using the controls about twelve times... and messages flash by in the terminal where I started Audacious:

    Code:
    $ audacious 
    
    ** (audacious:18441): WARNING **: event-device-plugin: device \x80Pn\u0002 not found in /dev/input , skipping.
    
    amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration
    amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/Input/amidi-plug/ap-alsa.so'
    amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/amidi-plug/ap-alsa.so (name 'alsa') successfully loaded
    ^CAudacious has received SIGINT and is shutting down.
    amidi-plug(i_backend.c:i_backend_unload:164): unloading backend 'alsa'
    amidi-plug(i_backend.c:i_backend_unload:167): backend 'alsa' unloaded
    LASTFM: (cleanup) Cleanup finished


    K.
    Last edited by Keith_Beef; November 20th, 2008 at 04:56 AM.
    Ubuntu 19.04 and Debian 9.11

Page 2 of 2 FirstFirst 12

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
  •