When I run sudo /opt/nvidia/jetson-io/jetson-io.py, the interface appears for a moment, but then immediately closes, both when running it directly on the Jetson Nano terminal and when accessing it via SSH.
I have tried updating the system, using xterm, and creating a Python virtual environment, but the issue persists. When checking the logs, I see the following error:
Traceback (most recent call last):
File “/usr/lib/python3.6/curses/init.py”, line 78, in wrapper
cbreak()
_curses.error: cbreak() returned ERR
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/nvidia/jetson-io/jetson-io.py”, line 594, in
curses.wrapper(JetsonIO)
File “/usr/lib/python3.6/curses/init.py”, line 100, in wrapper
nocbreak()
_curses.error: nocbreak() returned ERR
I would appreciate any help in resolving this issue so that I can use jetson-io.py to enable SPI on my Jetson Nano.
I am assisting my friend with an issue regarding the “jetson-io.py” on the Jetson Nano. They have installed Jetpack using the official ISO and are using the microSD version of the Jetson Nano.
Despite the existence of the “jetson-io.py” file, it cannot be found or started as a service, even when forcing it to run. Additionally, they have tried different configurations with the “.config” file and have found errors in the system logs that may be related to the issue.
We have checked the following logs:
/var/log/syslog
/var/log/kern.log
/var/log/Xorg.0.log
And we have found the following errors:
“failed to get i2c adapter (-19)”
“Failed to get DSI video mode (-22)”
“tegradc tegradc.0: blank - powerdown”
“Parsing /var/crash/_opt_nvidia_jetson-io_config-by-pin.py.0.crash”
“Parsing /var/crash/_opt_nvidia_jetson-io_jetson-io.py.0.crash”
We have also tried different configurations with the “.config” file, including one provided in a forum post, but the issue persists.
Could you please help us with this issue? Any advice or guidance would be greatly appreciated.
Hi, jetson-io.py is for generating device tree file for testing and it cannot be run as a service. Once you enable the SPI interface, please save it and you can see the dtb file is generated and configured in /boot/extlinux/extlinux.conf. It shall take effect after you reboot the system.