Jump to content

How to get rid of "Unable to open SPI device: No such file or directory" message?


Recommended Posts

Posted

Hi everyone. I have an Orange Pi Zero.

 

1. I installed legacy kernel to my SD card (downloaded from https://www.armbian.com/orange-pi-zero/ )

 

2. I made updates & upgrades. Afterwards, I downloaded WiringOP-Zero from https://github.com/xpertsavenue/WiringOP-Zero

 

3. Now here comes to problematic part.  I checked my files as

 

ls -aol /dev/spi*

 

and could see spidev0.0 and spidev1.0.  

 

Then I wrote a test program for my SPI pins (MOSI-MISO-CLK), I can compile the program but whenever I try to use spidev1.0 I get this error below : 

 

Unable to open SPI device: No such file or directory
 

Eventhough spidev0.0 works fine.  Can someone help me 'bout it? Basicly it is "how to enable spidev1.0" my question.

Posted

which version of OS you are using? because i am facing same problem in 5.38.

do you get any solution? then please share with me because i am stuck on that.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines