Jump to content

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


kanalka

Recommended Posts

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.

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines