RC6 remote - irw not working, ir-keytable works

For discussion of topics specific to MythTV on linux
Post Reply
acuk
Junior
Posts: 15
Joined: Sat Nov 08, 2014 12:29 pm
Great Britain

RC6 remote - irw not working, ir-keytable works

Post by acuk » Sun Nov 01, 2015 1:36 pm

I have two input devices, one is a wireless logitech keyboard (/dev/lirc0) which works great and one is a generic RC6 MCE remote (/dev/lirc1), for which only the up/down and volume buttons are working.

I'm trying to get the remote fully working but have struggled.
Initially I didnt have /dev/lirc so I've added a symbolic link to /dev/lirc1
irw gives me an error that says "connect: No such file or directory" - I can't find a log file that shows any more detail about that.
Running mode2 does give lots of output after i map /dev/lirc to the /dev/lirc1
Running ir-keytable -d /dev/input/event12 -t shows all the events for the keys being pressed.
(ir-keytable -t without specifying the device does not work with the remote since the default device is the keyboard not the remote)

I'm not sure how to proceed from here.
I think I might need to edit some lirc config files to tell it to keep doing what it's doing for the keyboard but to use the ir-keytables for the RC6 remote ( ? )

Currenty my hardware.conf says

Code: Select all

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Disable kernel support.
#Typically, lirc will disable in-kernel support for ir devices in order to
#handle them internally.  Set to false to prevent lirc from disabling this
#in-kernel support. 
#DISABLE_KERNEL_SUPPORT="true"

#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="true"
START_LIRCMD=""
Would really appreciate some pointers in the right direction

acuk
Junior
Posts: 15
Joined: Sat Nov 08, 2014 12:29 pm
Great Britain

Re: RC6 remote - irw not working, ir-keytable works

Post by acuk » Sun Nov 01, 2015 4:54 pm

I changed the REMOTE_DEVICE setting in the config to /dev/lirc1 and that seems to have worked.

Post Reply