LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-25-2023, 03:21 AM   #1
Johpin
Member
 
Registered: May 2020
Posts: 46

Rep: Reputation: Disabled
CEC support for Kodi 19.5 under SW-arm 15.0 fails


With CEC you can control for example Kodi with your remote control from your tv.

The binary I compiled according Kodi's README.Linux.md, see ng-its-readme-linux-md-for-rpi4-gives-eror-unable-to-create-gui-exiting-use-x11-4175723287/ , and Minime_2003's binary, see https://www.linuxquestions.org/quest...-a-4175721421/, both don't support CEC, despite of it has been compiled in.

Under Raspberry Pi OS Bullseye CEC is supported.

I can switch off and on my television via CEC using cec-ctl and /dev/cecX exists, so this should not be the problem.

Any ideas how to solve it?
 
Old 03-25-2023, 05:06 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by Johpin View Post
With CEC you can control for example Kodi with your remote control from your tv.

The binary I compiled according Kodi's README.Linux.md, see ng-its-readme-linux-md-for-rpi4-gives-eror-unable-to-create-gui-exiting-use-x11-4175723287/ , and Minime_2003's binary, see https://www.linuxquestions.org/quest...-a-4175721421/, both don't support CEC, despite of it has been compiled in.

Under Raspberry Pi OS Bullseye CEC is supported.

I can switch off and on my television via CEC using cec-ctl and /dev/cecX exists, so this should not be the problem.

Any ideas how to solve it?

The Slackware ARM 15.0 Kernel doesn't currently have a the full complement of CEC drivers, and Slackware AArch64 had none.
I've added these into the Kernel and they'll be out in the next batch of updates for both platforms -- thanks for the report!

Code:
[*] HDMI CEC RC integration
[*] HDMI CEC drivers

 <M> Remote Controller support
However, I glanced at the other threads you linked to and it appears you're running Slackware ARM 15.0 on a RPi?
The RPi isn't supported by Slackware ARM (32bit) directly, so you must be using Kernel from elsewhere and you'd need to get whomever provides that to change it. I've added the extra CEC and RC support to the Slackware ARM 15.0 Kernel should it be useful for the supported Hardware Models.

If you have a Raspberry Pi4 you could switch to Slackware AArch64 (64bit). I don't know if it'd be any better, but at least the Kernel would have CEC support ;-)
 
Old 03-26-2023, 10:16 AM   #3
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
The RPi isn't supported by Slackware ARM (32bit) directly, so you must be using Kernel from elsewhere and you'd need to get whomever provides that to change it.
I installed Slackware-arm by using Sarpi's installer. This provided a 6.1 kernel, which crashed during building LibreOffice. I reverted back to 5.15 by following the manual at https://www.raspberrypi.com/document...ux_kernel.html using their configuration.
 
Old 03-26-2023, 10:44 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,954

Rep: Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329Reputation: 7329
is this the same issue? https://www.linuxquestions.org/quest...ls-4175723276/
 
Old 03-26-2023, 11:34 AM   #5
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
It is a different problem: at that time /dev/cecX didn't exist -> this has been solved.

Last edited by Johpin; 03-26-2023 at 11:39 AM.
 
Old 03-27-2023, 10:24 AM   #6
bittin_
Member
 
Registered: Jan 2022
Posts: 97

Rep: Reputation: 75
seems to be solved now was discussed in todays Slackware ARM youtube video
 
Old 03-29-2023, 06:33 AM   #7
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bittin_ View Post
seems to be solved now was discussed in todays Slackware ARM youtube video
Discussion started at 28 minutes and 30 seconds, see https://youtu.be/sxvLMIPy_Vw?t=1715. CEC support has been added to the 64 bit kernel, which is the first step. As I understood the 32 bit kernel has CEC support.

However I am using the kernel from Raspberry Pi, which has already CEC support. I can switch off and on my televison using cec-ctl, but controlling Kodi fails. My problem has not been solved yet.

Remark: building Kodi-gbm Matrix 19.5 on RPi OS Bullseye results in a binary with CEC support.

Last edited by Johpin; 04-07-2023 at 08:30 AM. Reason: Added remark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kodi 19.5 Matrix and Kodi 20.0 Nexus for Slackware arm 15.0 Minime_2003 Slackware - ARM 12 05-06-2024 01:37 PM
[SOLVED] CEC support on RPi4 fails Johpin Slackware - ARM 8 03-22-2023 12:20 PM
[SOLVED] KODI Krypton - 17.x MediaPlayer - Optimized for Raspberry Pi1/Pi2/Pi3 on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 40 08-28-2018 08:50 PM
LXer: Linux Support For HDMI CEC Still In Development LXer Syndicated Linux News 0 10-09-2012 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration