Hdmi Cec and Individual folder sync

Interested in our products? Post your questions here. Let us answer before you buy.
mtz_ro_2003
Know my way around
Posts: 127
Joined: Mon Nov 23, 2015 12:01 am

Re: Hdmi Cec and Individual folder sync

Post by mtz_ro_2003 »

Just to report that cdc-acm.ko is working perfectly with Pulse Eight USB-CEC adapter.
After insmod the TV's remote was instantly recognized by Kodi:
Untitled.png
You do not have the required permissions to view the files attached to this post.
Model: TS-453 Pro 16GB - HyperX Impact, 16GB, DDR3, 1866MHz, CL11, 1.35v, Dual Channel Kit
Firmware: 4.2.1 build 20160601
Disks: 4 x 4TB WD Red (WD40EFRX) RAID5
USolutions
New here
Posts: 5
Joined: Mon Sep 21, 2015 8:00 pm

Re: Hdmi Cec and Individual folder sync

Post by USolutions »

mtz_ro_2003 wrote:Just to report that cdc-acm.ko is working perfectly with Pulse Eight USB-CEC adapter.
After insmod the TV's remote was instantly recognized by Kodi:
Untitled.png
Thanks a lot m8, works like a charm.

Got a TS-453 Pro as well.
KlausA0403
New here
Posts: 2
Joined: Wed Dec 16, 2015 3:27 am

Re: Hdmi Cec and Individual folder sync

Post by KlausA0403 »

Hi,

can you help me get this work. I have a HS-251+ and I'm very interrest to use the remote of my Sony for the kodi on my NAS.

How can I Install the driver ?

Thank you

Klaus
USolutions
New here
Posts: 5
Joined: Mon Sep 21, 2015 8:00 pm

Re: Hdmi Cec and Individual folder sync

Post by USolutions »

KlausA0403 wrote:Hi,

can you help me get this work. I have a HS-251+ and I'm very interrest to use the remote of my Sony for the kodi on my NAS.

How can I Install the driver ?

Thank you

Klaus
Gonna try to help.

I use a windows computer and Putty and Filezilla.
https://filezilla-project.org/download.php
http://www.chiark.greenend.org.uk/~sgta ... nload.html
Filezilla to deliver the file and Putty to connect to the SSH
(In the Settings on the QNAP > Network Services > Telnet / SSH (Enable SSH connection, by default port 22)).

1. Connect to the SSH with FileZilla and place "cdc-acm.ko" mtz_ro_2003 linked to.
(I placed mine in "/tmp")
2. Connect to the SSH with Putty and type the command:
"insmod ../tmp/cdc-acm.ko"
(I had Kodi open when i loaded it, but not required).

Enjoy.

I'm not sure where to auto load it though. :)
mtz_ro_2003
Know my way around
Posts: 127
Joined: Mon Nov 23, 2015 12:01 am

Re: Hdmi Cec and Individual folder sync

Post by mtz_ro_2003 »

USolutions wrote: I'm not sure where to auto load it though. :)
Well, I have an autostart script based on the method described in the wiki page http://wiki.qnap.com/wiki/Running_Your_ ... sed_method
You could, alternatively, edit the start up Kodi script, but it might get overwritten when upgrading the Kodi package.
The start Kodi script in my system is: /share/CACHEDEV1_DATA/.qpkg/KODI/opt/startup_shell/startup_KODI.sh
If you system uses another path than /share/CACHEDEV1_DATA you should replace that path with yours.
Or, easier, find out Kodi install path:

Code: Select all

> /sbin/getcfg HD_Station Install_Path -f /etc/config/qpkg.conf
/share/CACHEDEV1_DATA/.qpkg/HD_Station
Model: TS-453 Pro 16GB - HyperX Impact, 16GB, DDR3, 1866MHz, CL11, 1.35v, Dual Channel Kit
Firmware: 4.2.1 build 20160601
Disks: 4 x 4TB WD Red (WD40EFRX) RAID5
USolutions
New here
Posts: 5
Joined: Mon Sep 21, 2015 8:00 pm

Re: Hdmi Cec and Individual folder sync

Post by USolutions »

mtz_ro_2003 wrote:
USolutions wrote: The start Kodi script in my system is: /share/CACHEDEV1_DATA/.qpkg/KODI/opt/startup_shell/startup_KODI.sh
Thanks m8, worked like a charm.
Gonna stick to the Kodi script for now.
KlausA0403
New here
Posts: 2
Joined: Wed Dec 16, 2015 3:27 am

Re: Hdmi Cec and Individual folder sync

Post by KlausA0403 »

If I will do this I get the folling Error


insmod: cannot insert `../tmp/cdc-acm.ko': Invalid module format (-1): Exec format erro
mtz_ro_2003
Know my way around
Posts: 127
Joined: Mon Nov 23, 2015 12:01 am

Re: Hdmi Cec and Individual folder sync

Post by mtz_ro_2003 »

Probably your NAS has a different architecture...
That module was compiled for TS-x53...
Could you please provide the output of the comand "uname -a"?
It prints informations about the linux kernel running on you machine...

Code: Select all

> uname -a
Linux NAS 3.12.6 #1 SMP Wed Nov 18 04:18:49 CST 2015 x86_64 unknown
Model: TS-453 Pro 16GB - HyperX Impact, 16GB, DDR3, 1866MHz, CL11, 1.35v, Dual Channel Kit
Firmware: 4.2.1 build 20160601
Disks: 4 x 4TB WD Red (WD40EFRX) RAID5
variable
Starting out
Posts: 28
Joined: Mon Sep 21, 2015 10:09 pm
Contact:

Re: Hdmi Cec and Individual folder sync

Post by variable »

USolutions wrote:
KlausA0403 wrote:Hi,

can you help me get this work. I have a HS-251+ and I'm very interrest to use the remote of my Sony for the kodi on my NAS.

How can I Install the driver ?

Thank you

Klaus
Gonna try to help.

I use a windows computer and Putty and Filezilla.
https://filezilla-project.org/download.php
http://www.chiark.greenend.org.uk/~sgta ... nload.html
Filezilla to deliver the file and Putty to connect to the SSH
(In the Settings on the QNAP > Network Services > Telnet / SSH (Enable SSH connection, by default port 22)).

1. Connect to the SSH with FileZilla and place "cdc-acm.ko" mtz_ro_2003 linked to.
(I placed mine in "/tmp")
2. Connect to the SSH with Putty and type the command:
"insmod ../tmp/cdc-acm.ko"
(I had Kodi open when i loaded it, but not required).

Enjoy.

I'm not sure where to auto load it though. :)
You Rock! Thanks for compiling this for us all! Any chance you could post your steps taken to compile the kernel and module? Thanks again!
mtz_ro_2003
Know my way around
Posts: 127
Joined: Mon Nov 23, 2015 12:01 am

Re: Hdmi Cec and Individual folder sync

Post by mtz_ro_2003 »

I just followed the steps here http://forum.qnap.com/viewtopic.php?t=61052
With one difference: running "make modules" I had an error about some lib (don't remember exactly which one) and I linked it to the one in /opt.
Model: TS-453 Pro 16GB - HyperX Impact, 16GB, DDR3, 1866MHz, CL11, 1.35v, Dual Channel Kit
Firmware: 4.2.1 build 20160601
Disks: 4 x 4TB WD Red (WD40EFRX) RAID5
adresapentrufut
Starting out
Posts: 12
Joined: Sat Aug 22, 2015 7:30 am

Re: Hdmi Cec and Individual folder sync

Post by adresapentrufut »

yup! working! great on 253 pro..thank god i chose this one out of all of them :))
diabloss
Starting out
Posts: 16
Joined: Fri Oct 02, 2015 3:30 pm

Re: Hdmi Cec and Individual folder sync

Post by diabloss »

working for me too qnap ts-251

This would be nice if Qnap would integrate it by default in the firmware.
ndabar
Starting out
Posts: 11
Joined: Wed Apr 30, 2014 4:17 pm

Re: Hdmi Cec and Individual folder sync

Post by ndabar »

Hi guys,
I hope that can works for me as well, I have one TS-251 and normally I control KODI with the Official Qnap Remote app. However, I would like to control with my TV control remote , as I do with the raspberry pi.
I read that some of you have the "Pulse Eight USB-CEC adapter", which I don't have it. Is it the only way for controlling the kodi on the qnap with the TV control remote?

I followed the steps mentioned by USolutions, thank you btw. But just adding the file it doesn't work.
My TV is CEC compatible. CEC (Consumer Electronics Control) allows for control of devices over the HDMI port.
By default, Kodi comes with libCEC (CEC abstraction and interface library from Pulse-Eight) which allows control of the Kodi input over the standard TV remote that comes with your TV. I was checking my NAS and the library is there.
Any idea about what is blocking to recognize the TV control remote?

Thanks in advance

[~] # find / -name *libcec*
/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.3.0.1
/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.3.0
/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.2
/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so
/share/5000C5006404ABFB_DATA/.qpkg/HD_Station/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.3.0.1
/share/5000C5006404ABFB_DATA/.qpkg/HD_Station/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.3.0
/share/5000C5006404ABFB_DATA/.qpkg/HD_Station/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so.2
/share/5000C5006404ABFB_DATA/.qpkg/HD_Station/share/5000C5006404ABFB_DATA/.qpkg/KODI/opt/kodi/libcec.so
[~] #

# uname -a
Linux NAS 3.12.6 #1 SMP Tue Jan 19 02:09:09 CST 2016 x86_64 unknown
QNAP TS-251
CPU Intel(R) Celeron(R) CPU J1800 @ 2.41GHz
Firmware version 4.2.3 Build 20170213
Memory Slots 2 (8 GB / 8 GB)
mtz_ro_2003
Know my way around
Posts: 127
Joined: Mon Nov 23, 2015 12:01 am

Re: Hdmi Cec and Individual folder sync

Post by mtz_ro_2003 »

I'm afraid you can't control Kodi with your TV remote without Pulse Eight HDMI CEC adapter...
Indeed, the NAS has a HDMI port, but I does not implement CEC protocol.
Probably, the pin 13, which is the one responsible for sending/receiving the CEC commands, is not used (http://www.hdmi.org/installers/insidehdmicable.aspx) and the NAS does not advertise itself as a CEC capable device.

Other solution to control Kodi is to use an application on your phone/table. Kore, for example, is the official Kodi remote.
Of course, it much more convenient to use the TV remote and that's why I bought the Pulse Eight adapter.
Model: TS-453 Pro 16GB - HyperX Impact, 16GB, DDR3, 1866MHz, CL11, 1.35v, Dual Channel Kit
Firmware: 4.2.1 build 20160601
Disks: 4 x 4TB WD Red (WD40EFRX) RAID5
adresapentrufut
Starting out
Posts: 12
Joined: Sat Aug 22, 2015 7:30 am

Re: Hdmi Cec and Individual folder sync

Post by adresapentrufut »

hey..so ya..for the x53 architecture (has to be an intel chip or something)..the pulse eight seems to be the only thing that works. i think our qnaps don't have the needed hardware to directly recognize the tv.
works on my 253 pro..but after the above mentioned acrobatics
Post Reply

Return to “Presales”