[Linux Station] - IR Remote (RM-IR002) Problem

Discussion about various official QPKG software applications. Login required to view the contents.
macvirii
Starting out
Posts: 18
Joined: Thu May 14, 2015 9:42 am

[Linux Station] - IR Remote (RM-IR002) Problem

Post by macvirii »

Good night to everyone, I`m having quite a difficult time trying to make my IR remote work with Linux Station - Ubuntu.
Tried LIRC, ir-keytable... but no dice, the fintek-cir is loaded but no command is received when on test mode.
Can anyone help?
Thanks
rsotam
New here
Posts: 4
Joined: Mon Dec 14, 2015 9:40 am

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by rsotam »

Any luck with this issue? Could you post the solution?
macvirii
Starting out
Posts: 18
Joined: Thu May 14, 2015 9:42 am

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by macvirii »

Sorry but until now didn't had the time to mess with the lxc, my solution was to get an remote and airmouse to control it, very satisfied with it for now.
giopas
Been there, done that
Posts: 855
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by giopas »

which model did you take? (just curious)
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)
rsotam
New here
Posts: 4
Joined: Mon Dec 14, 2015 9:40 am

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by rsotam »

Mine is TS-251. I'm using Linux-Station running Ubuntu 16.04.
giopas
Been there, done that
Posts: 855
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by giopas »

Sorry, I meant which remote and which airmouse :-)

Sent from my A0001 using Tapatalk
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)
rsotam
New here
Posts: 4
Joined: Mon Dec 14, 2015 9:40 am

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by rsotam »

I'm using logitech Harmony 600 programmed as QNAP media player remote. It works well in HybridDesk Station, but I couldn't get it work in LinuxStation.
ir-keytable command executed in LinuxStation (Ubuntu 16.04) returns this:

Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver fintek-cir, table rc-rc6-mce
Supported protocols: lirc mce-kbd rc-6
Enabled protocols: lirc
Name: Fintek LPC SuperIO Consumer IR T
bus: 25, vendor/product: 1934:0010, version: 0x0007
Repeat delay = 500 ms, repeat period = 125 ms

So, I think the IR receiver is mapped in LinuxStation. However, I had no luck trying to get IR events using the same remote that works in HybridDesk.
muntos
Know my way around
Posts: 116
Joined: Thu Jun 02, 2016 9:54 pm

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by muntos »

I successfully managed to get my Harmony Elite to work with Linux Station (14.04) and program all remote's keys to do what I want, so it's possible !

Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver ite-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ other
Enabled protocols: NEC
Name: ITE8708 CIR transceiver
bus: 25, vendor/product: 1283:0000, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms

I choosed NEC protocol and used an unused remote to teach the Elite the IR codes.
Last edited by muntos on Tue Jun 28, 2016 3:42 am, edited 1 time in total.
giopas
Been there, done that
Posts: 855
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by giopas »

Can you please share some information on how to do it? Thanks!
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)
muntos
Know my way around
Posts: 116
Joined: Thu Jun 02, 2016 9:54 pm

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by muntos »

http://kodi.wiki/view/HOW-TO%3aSetup_an ... l_in_Linux

I used "1.2 Alternative Installation method using InputLirc"

Note: I made it work with Kodi, this is the only thing I was interested.
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by Trexx »

can you share your ~/.kodi/userdata/Lircmap.xml ?

One thing I am noticing is that on Ubuntu 16, there are kernel headers missing for lirc:

Code: Select all

The following NEW packages will be installed:
  lirc
0 upgraded, 1 newly installed, 0 to remove and 203 not upgraded.
Need to get 0 B/376 kB of archives.
After this operation, 2,182 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package lirc.
(Reading database ... 160122 files and directories currently installed.)
Preparing to unpack .../lirc_0.9.0-0ubuntu6_amd64.deb ...
Unpacking lirc (0.9.0-0ubuntu6) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Processing triggers for systemd (1:229-4ubuntu4qnap2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up lirc (0.9.0-0ubuntu6) ...
ls: cannot access '/lib/modules/3.12.6/kernel/drivers/staging/media/lirc': No such file or directory
any ideas on how to fix this?
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
muntos
Know my way around
Posts: 116
Joined: Thu Jun 02, 2016 9:54 pm

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by muntos »

Sorry, for the late reply, didn't get any notification.
I removed all other remotes from my file and kept only the bellow code:

Code: Select all

<lircmap>
	<remote device="linux-input-layer">
		<altname>cx23885_remote</altname>
		<altname>devinput</altname>
		<altname>/dev/input/myremote</altname>
		<left>KEY_LEFT</left>
		<right>KEY_RIGHT</right>
		<up>KEY_UP</up>
		<down>KEY_DOWN</down>
		<select>KEY_SELECT</select>
		<select>KEY_ENTER</select>
		<enter>KEY_ENTER</enter>
		<clear>KEY_DELETE</clear>
		<start>KEY_PROG1</start>
		<rootmenu>KEY_HOME</rootmenu>
		<back>KEY_ESC</back>
		<back>KEY_EXIT</back>
		<back>KEY_BACK</back>
		<back>KEY_CLOSE</back>
		<record>KEY_RECORD</record>
		<play>KEY_PLAY</play>
		<play>KEY_PLAYPAUSE</play>
		<pause>KEY_PAUSE</pause>
		<stop>KEY_STOP</stop>
		<stop>KEY_STOPCD</stop>
		<forward>KEY_FASTFORWARD</forward>
		<reverse>KEY_REWIND</reverse>
		<volumeplus>KEY_VOLUMEUP</volumeplus>
		<volumeminus>KEY_VOLUMEDOWN</volumeminus>
		<pageplus>KEY_CHANNELUP</pageplus>
		<pageminus>KEY_CHANNELDOWN</pageminus>
		<skipplus>KEY_NEXTSONG</skipplus>
		<skipplus>KEY_NEXT</skipplus>
		<skipminus>KEY_PREVIOUSSONG</skipminus>
		<skipminus>KEY_PREVIOUS</skipminus>
		<title>KEY_TITLE</title>
		<title>KEY_EPG</title>
		<subtitle>KEY_SUBTITLE</subtitle>
		<language>KEY_LANGUAGE</language>
		<mute>KEY_MUTE</mute>
		<power>KEY_POWER</power>
		<myvideo>KEY_VIDEO</myvideo>
		<mymusic>KEY_AUDIO</mymusic>
		<mypictures>KEY_MHP</mypictures>
		<mypictures>KEY_CAMERA</mypictures>
		<mytv>KEY_TV</mytv>
		<liveradio>KEY_RADIO</liveradio>
		<livetv>KEY_TUNER</livetv>
		<one>KEY_1</one>
		<two>KEY_2</two>
		<three>KEY_3</three>
		<four>KEY_4</four>
		<five>KEY_5</five>
		<six>KEY_6</six>
		<seven>KEY_7</seven>
		<eight>KEY_8</eight>
		<nine>KEY_9</nine>
		<zero>KEY_0</zero>
		<one>KEY_NUMERIC_1</one>
		<two>KEY_NUMERIC_2</two>
		<three>KEY_NUMERIC_3</three>
		<four>KEY_NUMERIC_4</four>
		<five>KEY_NUMERIC_5</five>
		<six>KEY_NUMERIC_6</six>
		<seven>KEY_NUMERIC_7</seven>
		<eight>KEY_NUMERIC_8</eight>
		<nine>KEY_NUMERIC_9</nine>
		<zero>KEY_NUMERIC_0</zero>
		<star>KEY_NUMERIC_STAR</star>
		<hash>KEY_NUMERIC_POUND</hash>
		<red>KEY_RED</red>
		<green>KEY_GREEN</green>
		<yellow>KEY_YELLOW</yellow>
		<blue>KEY_BLUE</blue>
		<menu>KEY_DVD</menu>
		<menu>KEY_MENU</menu>
		<info>KEY_INFO</info>
		<info>KEY_PROPS</info>
		<display>KEY_ANGLE</display>
		<display>KEY_ZOOM</display>
		<recordedtv>KEY_PVR</recordedtv>
		<teletext>KEY_TEXT</teletext>
		<clear>KEY_DELETE</clear>
		<title>KEY_MEDIA</title>
	</remote>

</lircmap>
macvirii
Starting out
Posts: 18
Joined: Thu May 14, 2015 9:42 am

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by macvirii »

giopas wrote:which model did you take? (just curious)
I got this airmouse: https://www.amazon.com/Aerb-Wireless-Ke ... s=airmouse
Great to navigate both kodi and the internet.
User avatar
ouija
Getting the hang of things
Posts: 63
Joined: Thu Aug 29, 2013 2:02 pm

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by ouija »

father_mande wrote:Hi,

ALL devices are mapped in the LXC (Linux Station is a separate (from Container Station) containers based on a Ubuntu 14.04 chroot)
... don't seem that device corresponding to IR are mapped ... change it in LXC config file and try again ...

Philippe.
How does one change it in the LXC config file? Where is this file found? Thanks!

Update: Nevermind, found it -> $(getcfg ubuntu-hd install_path -f /etc/config/qpkg.conf)/lxc/ubuntu-hd (in my case)
User avatar
ouija
Getting the hang of things
Posts: 63
Joined: Thu Aug 29, 2013 2:02 pm

Re: [Linux Station] - IR Remote (RM-IR002) Problem

Post by ouija »

I cannot get the remote working in Linux Station as well, and have tried both lirc, inputlirc, and ir-keytable -- same issue as previous user, kernel module/driver for remote is loaded (fintek-cir in my case) but just doesn't seem to be receiving any events from the remote. Works without issue in "standalone" Kodi / HD station, just not Linux Station.

Any help is appreciated!
Post Reply

Return to “Official Apps”