Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: lirc does not seem to be loading in hardy (upgrade from gutsy)

  1. #31
    Join Date
    Jan 2005
    Beans
    10

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    Only thing that reacts to remote button presses is:

    Code:
    sudo cat /dev/hidraw3
    Starts printing weird chars for each button press.

  2. #32
    Join Date
    Dec 2005
    Beans
    113

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    @uvahaole

    Code:
    ~$ sudo modinfo lirc_i2c
    modinfo: could not open /lib/modules/2.6.24.16-generic/updates/dkms/lirc_i2c.ko: No such file or directory
    Quote Originally Posted by uvahaole View Post
    No progress. Anything with the following?
    Code:
    ~$ sudo modinfo lirc_i2c

  3. #33
    Join Date
    Apr 2008
    Beans
    6
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    The kernel still thinks lirc_i2c.ko is in /lib/modules/2.6.24.16-generic/updates/dkms. That directory is probably empty since you removed dkms early in this thread. Module dependencies need to be rebuilt:
    Code:
    $ sudo depmod
    FYI, the location of my lirc_i2c.ko is /lib/modules/2.6.24-16-generic/kernel/drivers/input/misc/lirc_i2c.ko

  4. #34
    Join Date
    Dec 2005
    Beans
    113

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    Yippee, we are moving forward again!

    So rebuilding the dependencies has worked to get lirc_i2c.ko linked correctly.

    After restarting lirc, I see that the lsmod and dmesg are finally showing entries!
    modinfo shows the correct entry now.
    Now we just need to get irw working!

    What shall I do next?

    Code:
    $ sudo depmod
    $ sudo /etc/init.d/lirc restart
     * Stopping remote control mouse daemon: LIRCMD                          [fail]
     * Stopping remote control daemon(s): LIRC                               [fail]
     * Starting remote control daemon(s) : LIRC                              [ OK ]
     * Starting remote control mouse daemon : LIRCMD                         [ OK ]
    $ lsmod | grep -i lirc
    lirc_dev               15732  0
    $ dmesg | grep -i lirc
    [96316.930489] lirc_dev: IR Remote Control driver registered, at major 61
    $ sudo modinfo lirc_i2c
    filename:       /lib/modules/2.6.24-16-generic/kernel/drivers/input/misc/lirc_i2c.ko
    license:        GPL
    author:         Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, Ulrich Mueller, Stefan Jahn, Jerome Brock
    description:    Infrared receiver driver for Hauppauge and Pixelview cards (i2c stack)
    srcversion:     BD764D95FF7997B3F7B4F3E
    depends:        i2c-core,lirc_dev
    vermagic:       2.6.24-16-generic SMP mod_unload 586
    parm:           minor:Preferred minor device number (int)
    parm:           debug:Enable debugging messages (bool)
    $ irw
    connect: Connection refused

  5. #35
    Join Date
    Apr 2008
    Beans
    6
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    Only lirc_dev is getting loaded when you start the daemon; lirc_i2c is not. Try
    Code:
    $ sudo modprobe lirc_i2c
    If that helps, do you have both lirc_dev and lirc_i2c listed in /etc/lirc/hardware.conf?

  6. #36
    Join Date
    Dec 2005
    Beans
    113

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    We're in business!

    So 'sudo modprobe lirc_i2c' seems to get lirc_dev running.

    Code:
    $ sudo modprobe lirc_i2c
    $ dmesg | grep -i lirc
    [96316.930489] lirc_dev: IR Remote Control driver registered, at major 61
    [242744.936685] lirc_i2c: chip 0x10020 found @ 0x18 (Hauppauge IR)
    [242744.936714] lirc_dev: lirc_register_plugin: sample_rate: 10
    $ irw
    00000000000017c1 00 1 hauppauge_pvr
    00000000000017c2 00 2 hauppauge_pvr
    00000000000017c3 00 3 hauppauge_pvr
    00000000000017c4 00 4 hauppauge_pvr
    00000000000017c4 01 4 hauppauge_pvr
    00000000000017c5 00 5 hauppauge_pvr
    00000000000017c6 00 6 hauppauge_pvr
    00000000000017c7 00 7 hauppauge_pvr
    00000000000017c8 00 8 hauppauge_pvr
    00000000000017c9 00 9 hauppauge_pvr
    00000000000017c9 01 9 hauppauge_pvr
    00000000000017c0 00 0 hauppauge_pvr
    00000000000017c0 01 0 hauppauge_pvr
    00000000000017c0 02 0 hauppauge_pvr
    00000000000017e0 00 Ch+ hauppauge_pvr
    00000000000017e1 00 Ch- hauppauge_pvr
    00000000000017e1 01 Ch- hauppauge_pvr
    00000000000017d0 00 Vol+ hauppauge_pvr
    00000000000017d1 00 Vol- hauppauge_pvr
    And to answer your question, yes both lirc_dev and lirc_i2c are in /etc/lirc/hardware.conf.

    Code:
    $ more /etc/lirc/hardware.conf
    REMOTE="Hauppauge TV card"
    REMOTE_MODULES="lirc_dev lirc_i2c"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/lirc0"
    REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
    REMOTE_LIRCD_ARGS=""
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    START_LIRCD="true"
    START_LIRCMD=""
    LOAD_MODULES=""
    LIRCMD_CONF=""
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"

    Great so far!
    Ok, so how do I ensure that both modules load at startup?
    And how did the upgrade from Gutsy to Hardy break this?

    Thanks again.

  7. #37
    Join Date
    Dec 2005
    Beans
    113

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    Got it working!
    Minor change needed in the /etc/lirc/hardware.conf file:
    /dev/lirc0 needed to be /dev/lirc/0

    Thanks everyone for all your help.

    $ cat /etc/lirc/hardware.conf
    Code:
    REMOTE="Hauppauge TV card"
    REMOTE_MODULES="lirc_dev lirc_i2c"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/lirc/0"
    REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
    REMOTE_LIRCD_ARGS=""
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    START_LIRCD="true"
    START_LIRCMD=""
    LOAD_MODULES=""
    LIRCMD_CONF=""
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"

  8. #38
    Join Date
    Aug 2006
    Location
    Sunny Belgium
    Beans
    27
    Distro
    Ubuntu

    Re: lirc does not seem to be loading in hardy (upgrade from gutsy)

    thanks everyone, I also had the problem after upgrading and editing hardware.conf to replace REMOTE_DEVICE="/dev/lirc0"
    by REMOTE_DEVICE="/dev/lirc/0" fixed it for me

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •