LinHES Forums
http://forum.linhes.org/

8.3 Remote partially works (imon)
http://forum.linhes.org/viewtopic.php?f=22&t=24207
Page 1 of 1

Author:  jimmy06759 [ Sun Jul 19, 2015 6:00 pm ]
Post subject:  8.3 Remote partially works (imon)

There is a lot of good documentation on troubleshooting remotes but I am not able to figure out what is wrong with my system. I hope someone can give me a little help. This is driving me crazy.

I just did a fresh install of 8.3. In the LinHES Settings menu I have selected the remote to be "imon". This remote has a big, round button to move the cursor. Surrounding this big button is a ring of buttons that includes "enter" and "esc". I can use the big button to move up, down, left and right through the menus and to FF and REW in recordings. The enter and esc buttons also work fine.

Nothing else on the remote works. (play, pause, FF, REW, menu, etc.)


I used this page for troubleshooting.
http://linhes.org/projects/linhes/wiki/ ... on#remotes

Here's some outputs from different commands.

Output from lsusb
Code:
Bus 005 Device 002: ID 15c2:0038 SoundGraph Inc. GD01 MX LCD Display/IR Receiver


Output from ir-keytables -t
Code:
Testing events. Please, press CTRL-C to abort.
1437348095.656715: event type EV_MSC(0x04): scancode = 0x2000029
1437348095.656715: event type EV_KEY(0x01) key_down: KEY_ESC(0x0001)
1437348095.656715: event type EV_SYN(0x00).
1437348095.792715: event type EV_KEY(0x01) key_up: KEY_ESC(0x0001)
1437348095.792715: event type EV_SYN(0x00).
1437348096.944730: event type EV_MSC(0x04): scancode = 0x2000028
1437348096.944730: event type EV_KEY(0x01) key_down: KEY_ENTER(0x0001)
1437348096.944730: event type EV_SYN(0x00).
1437348097.064736: event type EV_KEY(0x01) key_up: KEY_ENTER(0x0001)
1437348097.064736: event type EV_SYN(0x00).
1437348099.680772: event type EV_MSC(0x04): scancode = 0x2a8115b7
1437348099.680772: event type EV_KEY(0x01) key_down: KEY_PLAY(0x0001)
1437348099.680772: event type EV_SYN(0x00).
1437348099.816779: event type EV_KEY(0x01) key_up: KEY_PLAY(0x0001)
1437348099.816779: event type EV_SYN(0x00).
1437348101.760803: event type EV_MSC(0x04): scancode = 0x2a9115b7
1437348101.760803: event type EV_KEY(0x01) key_down: KEY_PAUSE(0x0001)
1437348101.760803: event type EV_SYN(0x00).
1437348101.880807: event type EV_KEY(0x01) key_up: KEY_PAUSE(0x0001)
1437348101.880807: event type EV_SYN(0x00).


MythTV responds to the enter and esc keys but not to the play and pause keys.


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



/etc/rc_keymaps/ is empty. This seems strange because ir-keytables -t recognizes all of the input signals and lists the key name for them.

I see three locations for the lircrc file. They all have the same contents (/etc/lircrc /home/mythtv/.lircrc and /home/mythtv/.mythtv/lircrc)
Code:
include "/usr/MythVantage/templates/remotes/other/imon/lircrc"



Here are some relevant sections of the MythVantage lircrc

Code:

# Pause playback
begin
       prog = mplayer
       button = KEY_PAUSE
       config = pause
end

# If paused, resume playing
begin
       prog = mplayer
       button = KEY_PLAY
       config = pause
end




There is no response when I run irw and press remote buttons

Also, there is no response when I run ircat mythtv and press remote buttons. Even for the enter and esc buttons that actually do something in MythTV.

I had this all working under LinHES 7.?? but don't have any backup of the config files. I've been tinkering with this for a while and I am stumped. As I understand this, all or nothing should be working but it's not like that. Anyone have any thoughts on things to try?

Author:  jimmy06759 [ Sun Aug 07, 2016 6:49 pm ]
Post subject:  Re: 8.3 Remote partially works (imon)

I'm following up on my previous post. I just updated to LinHES 8.4 and the problem still exists. Here's some more info that may help figure out the source of the problem.

This person says there is some bug in the kernel related to the iMon remote. I'm a noob so I'm not sure how I would make the updates he talks about.

https://www.mail-archive.com/linux-medi ... 80499.html



In the log file mythtv_lircd-0.9.2a.log, I get the following messages:

Code:
Aug  7 20:13:08 mythtv lircd-0.9.2a[1366]: Notice: accepted new client on /var/run/lirc/lircd
Aug  7 20:13:08 mythtv lircd-0.9.2a[1366]: Info: initializing '/dev/remotes/SoundGraph'
Aug  7 20:13:08 mythtv lircd-0.9.2a[1366]: Error: unable to open '/dev/remotes/SoundGraph'
Aug  7 20:13:08 mythtv lircd-0.9.2a[1366]: Warning: Failed to initialize hardware
Aug  7 20:13:09 mythtv lircd-0.9.2a[1366]: Info: initializing '/dev/remotes/SoundGraph'
Aug  7 20:13:09 mythtv lircd-0.9.2a[1366]: Error: unable to open '/dev/remotes/SoundGraph'
Aug  7 20:13:10 mythtv lircd-0.9.2a[1366]: Info: initializing '/dev/remotes/SoundGraph'
Aug  7 20:13:10 mythtv lircd-0.9.2a[1366]: Error: unable to open '/dev/remotes/SoundGraph'
Aug  7 20:13:11 mythtv lircd-0.9.2a[1366]: Info: initializing '/dev/remotes/SoundGraph'


SoundGraph is not listed in the /dev/remotes/ directory. I created a link to lircd0. Then the message I get is:

Code:
Aug  7 20:14:12 mythtv lircd-0.9.2a[1366]: Info: Cannot configure the rc device for /dev/remotes/SoundGraph
Aug  7 20:14:12 mythtv lircd-0.9.2a[1366]: Warning: can't get exclusive access to events coming from `/dev/remotes/SoundGraph' interface
Aug  7 20:14:14 mythtv lircd-0.9.2a[1366]: Error: error reading '/dev/remotes/SoundGraph'
Aug  7 20:14:17 mythtv lircd-0.9.2a[1366]: Error: error reading '/dev/remotes/SoundGraph'
Aug  7 20:14:19 mythtv lircd-0.9.2a[1366]: Error: error reading '/dev/remotes/SoundGraph'


Anyone have any ideas what to do?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/