You are not logged in.

#1 2015-03-02 10:15:42

bjo
Member
Registered: 2011-09-10
Posts: 94

lirc and devinput

Hi,

some weeks ago I bought a nice SilverStone LC20M HTPC case. It has a Soundgraph VFD with IR-Receiver which provides 2 input devices, "iMON Panel, Knob and Mouse(15c2:0036)" and "iMON Remote (15c2:0036)". According to http://forum.kodi.tv/showthread.php?tid … #pid965686 and several others postings, using the RC (iMon Pad) should be easy, just point device to /dev/input/event3 (iMON Remote is event3 here) and change the driver to devinput in lirc_options. ir-keytable recognizes the keypresses on the RC, but LIRC failes to find the device:

Mär 02 11:09:41 cardium lircd[31644]: lircd-0.9.2a[31644]: Notice: accepted new client on /var/run/lirc/lircd
Mär 02 11:09:41 cardium lircd[31644]: lircd-0.9.2a[31644]: Info: initializing '/dev/input/event3'
Mär 02 11:09:41 cardium lircd[31644]: lircd-0.9.2a[31644]: Debug: No device found: /sys/class/rc/rc0/event3
Mär 02 11:09:41 cardium lircd[31644]: lircd-0.9.2a[31644]: Info: Cannot configure the rc device for /dev/input/event3

In /sys/class/rc/rc0, there is no event3, but input5/event3. Is it a lirc-issue or something wrong with sysfs?

For the record - the output of ir-keytable:

Found /sys/class/rc/rc0/ (/dev/input/event3) with:
	Driver imon, table rc-imon-pad
	Supported protocols: RC-6 other 
	Enabled protocols: RC-6 
	Name: iMON Remote (15c2:0036)
	bus: 3, vendor/product: 15c2:0036, version: 0x0002
	Repeat delay = 500 ms, repeat period = 125 ms

Offline

#2 2015-05-26 17:27:42

fxeon
Member
Registered: 2011-12-31
Posts: 5

Re: lirc and devinput

exact same problem here:

[root@HtpcFX lircd.conf.d]# ir-keytable 
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
	Driver dib0700, table rc-dib0700-rc5
	Supported protocols: NEC RC-5 RC-6 
	Enabled protocols: RC-5 
	Name: IR-receiver inside an USB DVB re
	bus: 3, vendor/product: 2304:0237, version: 0x0100
	Repeat delay = 500 ms, repeat period = 125 ms
[root@HtpcFX lircd.conf.d]# systemctl status lircd
● lircd.service - LIRC Infrared Signal Decoder
   Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; vendor preset: disabled)
   Active: active (running) since mar. 2015-05-26 18:33:22 CEST; 45min ago
 Main PID: 593 (lircd)
   CGroup: /system.slice/lircd.service
           └─593 /usr/sbin/lircd --nodaemon

mai 26 18:33:25 HtpcFX lircd-0.9.2a[593]: Debug: No device found: /sys/class/rc/rc0/dvb-ir
mai 26 18:33:25 HtpcFX lircd-0.9.2a[593]: Info: Cannot configure the rc device for /dev/input/dvb-ir
mai 26 18:33:25 HtpcFX lircd[593]: lircd-0.9.2a[593]: Notice: accepted new client on /var/run/lirc/lircd
mai 26 18:33:25 HtpcFX lircd[593]: lircd-0.9.2a[593]: Info: initializing '/dev/input/dvb-ir'
mai 26 18:33:25 HtpcFX lircd[593]: lircd-0.9.2a[593]: Debug: No device found: /sys/class/rc/rc0/dvb-ir
mai 26 18:33:25 HtpcFX lircd[593]: lircd-0.9.2a[593]: Info: Cannot configure the rc device for /dev/input/dvb-ir
mai 26 18:33:28 HtpcFX lircd[593]: lircd-0.9.2a[593]: Info: removed client
mai 26 18:33:28 HtpcFX lircd[593]: lircd-0.9.2a[593]: Info: closing '/dev/input/dvb-ir'
mai 26 18:33:28 HtpcFX lircd-0.9.2a[593]: Info: removed client
mai 26 18:33:28 HtpcFX lircd-0.9.2a[593]: Info: closing '/dev/input/dvb-ir'

Offline

#3 2015-05-30 07:10:13

fxeon
Member
Registered: 2011-12-31
Posts: 5

Re: lirc and devinput

Actually lirc works even though i get this error. It's just that an update had overwritten my rc_keymaps/file
Can you try ir-keytable -t see if you get plain scancodes or keypresses ?

Offline

Board footer

Powered by FluxBB