How can I get /dev/spidev* working?

Ask questions about Arch Linux ARM. Please search before making a new topic.

How can I get /dev/spidev* working?

Postby Megver83 » Sun Apr 30, 2017 6:59 pm

Hi everyone, I've a Banana Pi M1 and I want to use its GPIO pins to do some "magic" :P
The only problem is that I cannot find the /dev/spidev* devices. I've the correct modules loaded (spidev and spi-sun4i) but nothing. The reason I haven't found a solution is because every time someones solves this, is by uncommenting a line in /boot/config.txt, but there is a detail: that file doesn't exists in Banana Pi (Arch Linux). I've been looking for the solution a long time, but always nothing :mad:

Do you know how to deal with this? I really want to know why this happens and how to solve it.
Thanks in advance. :D
Megver83
 
Posts: 5
Joined: Thu Apr 13, 2017 1:25 pm

Re: How can I get /dev/spidev* working?

Postby bulletmark » Tue May 02, 2017 4:48 am

I have a shell script here which will install this for you.
bulletmark
 
Posts: 98
Joined: Tue Oct 13, 2015 10:17 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 13 guests