login|Register
Forum > Interfacing
Post|
看3915|回0|Favorite
Emrius 看全部
2020-8-15 18:42:51
Edited by Emrius at 2020-8-25 18:25

Hi,
I'm trying to enable the SPI sysfs device. I downloaded the Ubuntu and Debian images from the downloads section of orangepi. I found several `/dev/i2c` devices but the `/dev/spi` device is not loaded per default. When I append `spi_rockchip` and `spidev` to `/etc/modules` to load them explicitly I find the following journalctl log:

code:

  1. Aug 15 10:32:31 orangepi4 systemd-modules-load[194]: Module 'spi_rockchip' is builtin
  2. Aug 15 10:32:31 orangepi4 systemd-modules-load[194]: Module 'spidev' is builtin


However, the according sysfs devices are still not added to `/dev/`. I also tried the available armbian image but that gave me a pain in the a**. It's very unstable and refused to reboot a couple of times on my OrangePi 4b.

Has anybody achieved to load the SPI device?
Regards


OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC