Posts by namek
-
-
While attempting to compile the latest master (commit ec1292ba3f8059c367b9f42d8e5cf38aa6056633), I had a build error near the end of compilation.
Build command I used:
PROJECT=NXS DEVICE=iMX6 ARCH=arm make image
Here is the error I saw:
Quote../xbmc/windowing/gbm/DRMUtils.cpp:413:19: error: 'm_module' was not declared in this scope; did you mean 'm_mode'?
413 | if (m_module == "imx-drm" && props->prop_values[j] != DRM_PLANE_TYPE_OVERLAY)
| ^~~~~~~~
| m_mode
I could resolve it by just removing a patch file (kodi-100.90-imx-quirk-plane-usage.patch) for iMX6.
projects/NXP/devices/iMX6/patches/kodi/kodi-100.90-imx-quirk-plane-usage.patch
(I still have to test it on the device to make sure it's all good)
-
We are in progress in moving all out stuff to a new wiki that could be edited with a github account.
Pls be patient this should be available soonish.
ah. ok. I will wait. Thanks!
-
Can you add me?
I want to add one more compile option for cu-boxi
PROJECT=NXP DEVICE=iMX6 ARCH=arm make image
to
http://https//libreelec.wik…arch_to_compile
Based on the discussion here
-
-
Thanks everyone for your inputs!
After adding DRIVER_ADDONS_SUPPORT="no" in ~/.libreelec/options
I cleaned the *builds* by
make clear
Then, I could compile this version
Merge pull request #4440 from CvH/10.0/dav1d · LibreELEC/LibreELEC.tv@bd6f23c · GitHub
AND behold!!
My remote is now working from the beginning (welcome menu dialog) without any config from my end!!
Thanks again!
-
Thanks HiassofT again.
Today, I saw this change (CONFIG_INPUT_UINPUT=y) in linux.arm.conf file.
this line was commented out in the source that I could build (the latest master a couple of weeks ago).
So, I pull the latest master again and tried to build...
>>> crazycat:target seq 126 >>>
[263/271] [FAIL] install crazycat:target
So, I will first fix my build but will try the new build on cubox!
PS
tools/download did not help. so need to dig in.
-
These are from a fresh reboot.
systemctl status eventlircd
Code
Display MoreJun 14 14:14:12 LibreELEC systemd[1]: Started Eventlirc server daemon. ~ ● eventlircd.service - Eventlirc server daemon Loaded: loaded (/usr/lib/systemd/system/eventlircd.service; disabled; vendor pre Active: active (running) since Sun 2020-06-14 14:14:12 UTC; 1min 44s ago Main PID: 445 (eventlircd) CGroup: /system.slice/eventlircd.service └─445 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/ru Jun 14 14:14:12 LibreELEC systemd[1]: Started Eventlirc server daemon.
wow. disabled!
And for the output of journalctl -a | pastebinit:
-
-
Hi I am on CuBox-i4 running the image from the latest master (0848005fbf0dedb148df71ed1b137ab2ab2d497e) but tv remote (samsung) is not working...
I was using an old OpenELEC built by SolidRun on my CuBox-i4P (quad core) and my remote was working fine but when I decided to move on to the latest LiebreELEC master, remote stopped working. So, I followed along the official wiki (Infrared Remotes) and this post (LE9.0 remote configs ir-keytable Amlogic devices) and configured a custom keymap but even with that, irw is not seeing anything...
I am quite new to all this and spent 3 days to learn up to here. I would love to see LibreELEC 10 working on my CuBox-i...
When it is working on OpenELEC, the output of ir-keytable and lsmod look like this:
CodeOpenELEC:~ # ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event4) with: Driver gpio-rc-recv, table rc-rc6-mce Supported protocols: unknown other rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp Enabled protocols: nec rc-6 Name: gpio_ir_recv bus: 25, vendor/product: 0001:0001, version: 0x0100 Repeat delay = 500 ms, repeat period = 125 ms
Code
Display MoreOpenELEC:~ # lsmod Module Size Used by ir_rc5_decoder 1891 0 8021q 17090 0 ir_rc6_decoder 2556 0 ir_nec_decoder 2211 0 brcmfmac 177537 0 brcmutil 4813 1 brcmfmac snd_soc_imx_spdif 1736 0 cfg80211 220104 1 brcmfmac snd_soc_fsl_spdif 10660 2 rc_rc6_mce 1146 0 gpio_ir_recv 2878 0 rc_core 15882 6 ir_rc6_decoder,ir_nec_decoder,rc_rc6_mce,gpio_ir_recv,ir_rc5_decoder fuse 79676 1 sch_fq_codel 8397 2
I also see run/lirc/lircd running as service along with eventlircd.service and CEC adaptor was on (Kodi UI System setting -> input).
In the LibreELEC, the output of ir-keytable look like this:
Code
Display MoreLibreELEC:~ # ir-keytable Found /sys/class/rc/rc0/ with: Name: gpio_ir_recv Driver: gpio_ir_recv Default keymap: rc-empty Input device: /dev/input/event0 LIRC device: /dev/lirc0 Attached BPF protocols: Function not implemented Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm Enabled kernel protocols: lirc bus: 25, vendor/product: 0001:0001, version: 0x0100 Repeat delay = 500 ms, repeat period = 125 ms
And the output of lsmod is like this:
CodeLibreELEC:~ # lsmod Module Size Used by coda_vpu 98304 0 imx_vdoa 16384 1 coda_vpu videobuf2_dma_contig 20480 1 coda_vpu v4l2_mem2mem 28672 1 coda_vpu dw_hdmi_ahb_audio 16384 0
So, I don't see ir_nec_decoder any more... (CEC adaptor is also not there in Kodi UI)
But I assume this should be ok now that in kernel decoder is doing the work?
At the beggining, ir-keytable -t was not detecting anything. So, I switch to nec protocol (samsung uses that I believe) and test it by ir-keytable -p nec -t.
Then I could see scancodes and so I could create my_custom_remote in /storage/.config/rc_keymaps/my_custom_remote and set this up in /storage/.config/rc_maps.cfg as
After this, I could see EV_MSC and EV_KEY correctly by ir-keytable -t like below:
Code
Display MoreLibreELEC:~ # ir-keytable -t Testing events. Please, press CTRL-C to abort. 3240.680218: lirc protocol(necx): scancode = 0x70762 3240.680400: event type EV_MSC(0x04): scancode = 0x70762 3240.680400: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a) 3240.680400: event type EV_SYN(0x00). 3240.810115: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a) 3240.810115: event type EV_SYN(0x00). 3244.870207: lirc protocol(necx): scancode = 0x70765 3244.870491: event type EV_MSC(0x04): scancode = 0x70765 3244.870491: event type EV_KEY(0x01) key_down: KEY_LEFT(0x0069) 3244.870491: event type EV_SYN(0x00). 3245.000141: event type EV_KEY(0x01) key_up: KEY_LEFT(0x0069) 3245.000141: event type EV_SYN(0x00).
Now that ir-keytable -t is working properly. I should see output from irw command but I see nothing.
Strangely, I get the response from ir-keytable -t whether or not I stop kodi and eventlircd from systemcntl. So, it looks like kodi is not intercepting remote signals at all, and this explains why irw command show no response at all.