[mythtvnz] LIRC weirdness...

rob at webworxshop.com rob at webworxshop.com
Mon Oct 24 03:04:26 BST 2011


Hi All,

I'm having some issues getting LIRC working with my Hauppauge WinTV 
Nova-S Plus remote under Arch Linux (I have previously had it working 
under Mythbuntu).

The weird thing is that the remote does work. When LIRC is not running 
the kernel is picking up the remote as a keyboard, so some of the 
buttons work (basically the left and right keys appear to work in myth). 
When I search for the remote in /proc/bus/input/devices I wind that it 
is using /dev/input/event7 as its input device. I then try starting LIRC 
with:

$ sudo lircd -n -H dev/input -d /dev/input/event7

Which gives the output:

lircd: lircd(devinput) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: initializing '/dev/input/event7'

Then I start irw in another terminal and start pressing buttons, but I 
never see anything (although irw does connect to LIRC, according to it 
lircd's output).

It seems like there must be another driver or something interferring. I 
can also see output via evtest when LIRC is not running. I can also use 
the remote with irrecord using the devinput driver.

Has anyone else had a similar issue? I've included lsmod output and my 
lircd.conf below.

Cheers,

Rob

[robert at laforge ~]$ lsmod
Module                  Size  Used by
rc_hauppauge            1722  0
nouveau               639882  0
ttm                    45269  1 nouveau
drm_kms_helper         21997  1 nouveau
drm                   147750  3 nouveau,ttm,drm_kms_helper
mxm_wmi                 1101  1 nouveau
wmi                     7199  1 mxm_wmi
video                   9780  1 nouveau
ipv6                  249894  24
ext2                   55595  1
tda18271               48175  2
tda10048                9722  2
snd_hda_codec_hdmi     20068  4
isl6421                 1120  1
cx24123                11364  1
cx88_dvb               20151  1
cx88_vp3054_i2c         1464  1 cx88_dvb
videobuf_dvb            3882  1 cx88_dvb
wm8775                  3209  1
ir_lirc_codec           3759  0
lirc_dev                7699  1 ir_lirc_codec
cx8802                 11153  1 cx88_dvb
cx88_alsa               8281  0
ir_sony_decoder         1807  0
nvidia              10422583  30
cx8800                 24654  0
snd_hda_codec_realtek   222220  1
ir_jvc_decoder          1901  0
cx88xx                 66618  4 cx88_dvb,cx8802,cx88_alsa,cx8800
ir_rc6_decoder          2285  0
ir_rc5_decoder          1805  0
ir_nec_decoder          2285  0
rc_core                13256  9 
rc_hauppauge,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,cx88xx,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
snd_hda_intel          19101  0
snd_hda_codec          66954  3 
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
i2c_algo_bit            4423  3 nouveau,cx88_vp3054_i2c,cx88xx
saa7164               105648  1
dvb_core               77835  3 cx88_dvb,videobuf_dvb,saa7164
videobuf_dma_sg         7136  5 cx88_dvb,cx8802,cx88_alsa,cx8800,cx88xx
agpgart                22096  3 ttm,drm,nvidia
r8169                  35935  0
snd_hwdep               4942  1 snd_hda_codec
snd_pcm                60079  4 
snd_hda_codec_hdmi,cx88_alsa,snd_hda_intel,snd_hda_codec
snd_timer              15374  1 snd_pcm
snd                    43561  8 
snd_hda_codec_hdmi,cx88_alsa,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
i2c_piix4               7084  0
v4l2_common             5311  4 wm8775,cx8800,cx88xx,saa7164
videodev               70542  5 
wm8775,cx8800,cx88xx,saa7164,v4l2_common
btcx_risc               2839  4 cx8802,cx88_alsa,cx8800,cx88xx
media                   8545  1 videodev
videobuf_core          13644  5 
videobuf_dvb,cx8802,cx8800,cx88xx,videobuf_dma_sg
soundcore               4986  1 snd
sr_mod                 13244  0
evdev                   7278  7
k10temp                 2139  0
mii                     3375  1 r8169
snd_page_alloc          5837  2 snd_hda_intel,snd_pcm
tveeprom               10745  2 cx88xx,saa7164
cdrom                  31277  1 sr_mod
sg                     20982  0
pcspkr                  1375  0
serio_raw               3390  0
processor              21876  3
button                  3646  1 nouveau
i2c_core               16625  19 
nouveau,drm_kms_helper,drm,tda18271,tda10048,isl6421,cx24123,cx88_dvb,cx88_vp3054_i2c,wm8775,cx8800,cx88xx,nvidia,i2c_algo_bit,saa7164,i2c_piix4,v4l2_common,videodev,tveeprom
usbhid                 31199  0
hid                    65215  1 usbhid
ext4                  337790  4
mbcache                 4249  2 ext2,ext4
jbd2                   59488  1 ext4
crc16                   1069  1 ext4
sd_mod                 26147  8
pata_acpi               2388  0
ohci_hcd               19226  0
ahci                   18437  6
libahci                16573  1 ahci
pata_atiixp             2920  0
libata                154449  4 pata_acpi,ahci,libahci,pata_atiixp
scsi_mod              111801  4 sr_mod,sg,sd_mod,libata
ehci_hcd               34935  0
xhci_hcd               61711  0
usbcore               119612  5 usbhid,ohci_hcd,xhci_hcd,ehci_hcd
dm_mod                 56795  12
raid1                  19935  2
md_mod                 88501  3 raid1
[robert at laforge ~]$ cat /etc/lirc/lircd.conf

# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0(devinput) on Sun Oct 23 17:03:25 2011
#
# contributed by
#
# brand:                       Hauppauge
# model no. of remote control: WinTV Nova-S Plus
# devices being controlled by this remote:
#

begin remote

   name  hauppauge_wintv_nova_s_plus
   bits           56
   eps            30
   aeps          100

   one             0     0
   zero            0     0
   pre_data_bits   8
   pre_data       0x0
   gap          112037
   toggle_bit_mask 0x0

       begin codes
           KEY_PLAY                 0x04000400001E35 0x00000000000001
           KEY_STOP                 0x04000400001E36 0x00000000000001
           KEY_PAUSE                0x04000400001E30 0x00000000000001
           KEY_FASTFORWARD          0x04000400001E34 0x00000000000001
           KEY_REWIND               0x04000400001E32 0x00000000000001
           KEY_RECORD               0x04000400001E37 0x00000000000001
           KEY_POWER                0x04000400001E3D 0x00000000000001
           KEY_FORWARD              0x04000400001E34 0x00000000000001
           KEY_BACK                 0x04000400001E24 0x00000000000001
           KEY_EXIT                 0x04000400001E1F 0x00000000000001
           KEY_MENU                 0x04000400001E0D 0x00000000000001
           KEY_UP                   0x04000400001E14 0x00000000000001
           KEY_DOWN                 0x04000400001E15 0x00000000000001
           KEY_LEFT                 0x04000400001E16 0x00000000000001
           KEY_RIGHT                0x04000400001E17 0x00000000000001
           KEY_OK                   0x04000400001E25 0x00000000000001
           KEY_HOME                 0x04000400001E3B 0x00000000000001
           KEY_VOLUMEUP             0x04000400001E10 0x00000000000001
           KEY_VOLUMEDOWN           0x04000400001E11 0x00000000000001
           KEY_MUTE                 0x04000400001E0F 0x00000000000001
           KEY_CHANNELUP            0x04000400001E20 0x00000000000001
           KEY_CHANNELDOWN          0x04000400001E21 0x00000000000001
           KEY_TV                   0x04000400001E1C 0x00000000000001
           KEY_VIDEO                0x04000400001E18 0x00000000000001
           KEY_AUDIO                0x04000400001E19 0x00000000000001
           KEY_MEDIA                0x04000400001E1A 0x00000000000001
           KEY_RADIO                0x04000400001E0C 0x00000000000001
           KEY_VIDEO_PREV           0x04000400001E12 0x00000000000001
           KEY_PVR                  0x04000400001E1B 0x00000000000001
           KEY_1                    0x04000400001E01 0x00000000000001
           KEY_2                    0x04000400001E02 0x00000000000001
           KEY_3                    0x04000400001E03 0x00000000000001
           KEY_4                    0x04000400001E04 0x00000000000001
           KEY_5                    0x04000400001E05 0x00000000000001
           KEY_6                    0x04000400001E06 0x00000000000001
           KEY_7                    0x04000400001E07 0x00000000000001
           KEY_8                    0x04000400001E08 0x00000000000001
           KEY_9                    0x04000400001E09 0x00000000000001
           KEY_0                    0x04000400001E00 0x00000000000001
           KEY_TEXT                 0x04000400001E0A 0x00000000000001
           KEY_SUBTITLE             0x04000400001E0E 0x00000000000001
           KEY_ENTER                0x04000400001E27 0x00000000000000
           KEY_RED                  0x04000400001E0B 0x00000000000001
           KEY_GREEN                0x04000400001E2E 0x00000000000001
           KEY_YELLOW               0x04000400001E38 0x00000000000001
           KEY_BLUE                 0x04000400001E29 0x00000000000001
       end codes

end remote




More information about the mythtvnz mailing list