[xubuntu-users] Lirc with Xubuntu 11.10

Alexandre Aractingi aaractingi at gmail.com
Sun Apr 8 21:40:15 UTC 2012


Hi, I have a problem finishing up my Lirc config on a Xubuntu 11.10 fresh install.

It seems to work but only for volume control - any other action seems to fail.

I understand the lirc_i2c module is now deprecated (I run a 3.0 kernel: Ubuntu 11.10 (GNU/Linux 3.0.0-16-generic i686)), and if I activate the lirc-kbd-i2c module then inputs are interpreted as keystrokes from a keyboard. And if I only activate the lirc_dev module, nothing happens.

Below are my info, included an irw output when I press any button on my remote (except the volume, which is correctly understood by my system).

Any idea will be welcome. Thanks in advance!

Alex



alex at ...:~$ ls /dev/lir*
/dev/lircd

alex at ...:~$ cat /proc/bus/input/devices
(relevant parts only)
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="i2c IR (Hauppauge)"
P: Phys=i2c-1/1-0018/ir0
S: Sysfs=/devices/virtual/rc/rc0/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=100013
B: KEY=10afc312 2142017 0 0 0 0 118000 41a8 4801 9e16c0 0 0 10000ffc
B: MSC=10

The hardware.conf file shows:

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
REMOTE_DRIVER=""
REMOTE_MODULES="lirc_dev ir-kbd-i2c"
#REMOTE_DEVICE="/dev/lirc0"
#REMOTE_DEVICE="/dev/lircd"
REMOTE_DEVICE="/dev/input/event4"
REMOTE_SOCKET=""

REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
#REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
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=""

FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Hauppauge TV card remote:
#include
"/usr/share/lirc/extras/more_remotes/hauppauge/lircd.conf.hauppauge"

begin remote

    name  Hauppauge
    bits           13
    flags SHIFT_ENC
    eps            30
    aeps          100

    one           950   830
    zero          950   830
    plead         960
    gap          89584
    repeat_bit      2

        begin codes
            TV                       0x000000000000100F
            RADIO                    0x000000000000100C
            FULL_SCREEN              0x000000000000102E
            CH+                      0x0000000000001020
            CH-                      0x0000000000001021
            VOL-                     0x0000000000001011
            VOL+                     0x0000000000001010
            MUTE                     0x000000000000100D
            SOURCE                   0x0000000000001022
            1                        0x0000000000001001
            2                        0x0000000000001002
            3                        0x0000000000001003
            4                        0x0000000000001004
            5                        0x0000000000001005
            6                        0x0000000000001006
            7                        0x0000000000001007
            8                        0x0000000000001008
            9                        0x0000000000001009
            0                        0x0000000000001000
            RESERVED                 0x000000000000101E
            MINIMIZE                 0x0000000000001026
        end codes

end remote


alex at ...:~$ irw
é&'(-ç_èà^C

alex at ...:~$ lsmod | grep ir
ir_kbd_i2c             12993  0
ir_lirc_codec          12770  0
lirc_dev               18700  1 ir_lirc_codec
ir_sony_decoder        12493  0
ir_jvc_decoder         12490  0
ir_rc6_decoder         12490  0
ir_rc5_decoder         12490  0
ir_nec_decoder         12490  0
rc_core                25797  10
rc_hauppauge,ir_kbd_i2c,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,bttv,ir_rc5_decoder,ir_nec_decoder
firewire_ohci          35854  0
firewire_core          56937  1 firewire_ohci
crc_itu_t              12627  1 firewire_core





More information about the xubuntu-users mailing list