Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] LibCEC support for new inexpensive Nvidia Jetson Nano single board computers? #533

Open
Hedda opened this issue Oct 7, 2020 · 6 comments · May be fixed by #636
Open

[REQUEST] LibCEC support for new inexpensive Nvidia Jetson Nano single board computers? #533

Hedda opened this issue Oct 7, 2020 · 6 comments · May be fixed by #636

Comments

@Hedda
Copy link
Contributor

Hedda commented Oct 7, 2020

Can we please get upstream libcec support for the new Nvidia Jetson Nano 2GB and Nvidia Jetson Nano 4GB budget SBC?

Nvidia Jetson Nano is based on a compute module with an SoC type similar to the Nvidia Tegra inside an Nvidia Shield TV box.

Not sure if you heard but Nvidia has released a budget series of Nvidia Jetson development kits called "Nvidia Jetson Nano".

Nvidia Jetson Nano 2GB was just launched and only cost $54 (US) without Wi-Fi or $59 (US) with a WiFi USB dongle.

https://developer.nvidia.com/embedded/jetson-nano-2gb-developer-kit

Nvidia Jetson Nano 4GB has a slightly more powerful CPU and GPU plus extra expansion ports and still only cost $99 US

https://developer.nvidia.com/embedded/jetson-nano-developer-kit

There should make for more attractive HTPC hardware if media player applications like Kodi had HDMI-CEC support for it.

Some work has been done for the much more expensive Nvidia Jetson TK1 DevKit as well as Tegra X1/X2 SoCs for mobiles:

https://github.com/BuzzBumbleBee/libcec

https://forums.developer.nvidia.com/t/wip-hdmi-cec-on-tegra-jetson/35265/

There is also a CEC driver available for Nvidia Tegra that uses the Linux Kernel's generic CEC framework interface:

https://github.com/torvalds/linux/blob/master/drivers/media/cec/platform/tegra/tegra_cec.c

https://lwn.net/Articles/728147/

http://lkml.iu.edu/hypermail/linux/kernel/1711.1/06245.html

https://www.mail-archive.com/[email protected]/msg118714.html

Anyway, all Nvidia Jetson SBC and SOM do support HDMCI-CEC so it is software support that is lacking

https://forums.developer.nvidia.com/t/cec-line-for-hdmi/68970

@anishsane
Copy link

+1.
The lack of CEC support on Jetson Nano is preventing me to use it as a media player. (Lack of CEC and LIRC support)

@malard
Copy link
Member

malard commented Sep 24, 2021 via email

@anishsane
Copy link

anishsane commented Sep 24, 2021

I read in a forum that the hardware is all fine - the CEC pin on the HDMI port is indeed connected. Only the software (kernel) does not support it.

EDIT: kernel supports it too. The userspace library does not.

@DeanIsMe
Copy link

The HDMI-CEC pin is connected according to Nvidia's documentation.
I downloaded the Jetson Nano Carrier Board hardware design files (which are available from Nvidia, part # P3449-B01, document 600-13449-0000-400) and can confirm that HDMI-CEC, pin 13 on the HDMI port is connected to some IO circuitry which then connects to pin 94 on the SODIMM connector, to the Jetson Nano Module.
The datasheet of the Jetson Nano Module (which is also available from Nvidia, document DA-09366-001_v1.0) then describes pin 94 as HDMI_CEC on p94. The description of this pin is:

Consumer Electronics Control (CEC) one-wire serial
bus.
NVIDIA provides low level CEC APIs (read/write).
These are not supported in earlier Android releases.
For additional CEC support, 3rd party libraries need to
be made available.

@anishsane
Copy link

anishsane commented Jun 15, 2023

Android (LineageOS) is available on Jetson Nano.
I have verified that CEC works in that build. So, from the hardware POV, things are OK.

I have also verified that the (old) code from https://github.com/BuzzBumbleBee/libcec is able to send/receive over CEC.
It needs to be rebased from the TOT libcec code though.
Also, it needs sudo access to run cec-client.

@anishsane
Copy link

I have created #636

@anishsane anishsane linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants