PINE64
SPI on ubuntu - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: SPI on ubuntu (/showthread.php?tid=4869)



SPI on ubuntu - IlyaM - 08-07-2017

Hey everyone! I found that SPI is disabled in Ubuntu kernel, and I need to turn it on rebuild the kernel. I'm going to use SPIdev. Is any step by step tutorial how to do this one? Or maybe is there completed built Ubuntu with enabled SPI? I don't have an experience for rebuilding kernel. 

Thanks in advance!


RE: SPI on ubuntu - kingflab - 01-10-2018

Hi IlyaM,

I saw your messages on the Rock64 IRC channel. 
I also like to use SPI to connect a 868Mhz transceiver on my Rock64 and don't have enough knowledge about how to change device trees and stuff like that. Can you tell me what I have to do to activate spidev on the Rock64 with the ubuntu image? I googled the last 2 month but can't get it working. The most posts just tell how to use the SPI flash  :/

thanks in advance
Smile


RE: SPI on ubuntu - IlyaM - 02-12-2018

(01-10-2018, 03:24 AM)kingflab Wrote: Hi IlyaM,

I saw your messages on the Rock64 IRC channel. 
I also like to use SPI to connect a 868Mhz transceiver on my Rock64 and don't have enough knowledge about how to change device trees and stuff like that. Can you tell me what I have to do to activate spidev on the Rock64 with the ubuntu image? I googled the last 2 month but can't get it working. The most posts just tell how to use the SPI flash  :/

thanks in advance
Smile

Hi, sorry for the late message, unfortunately I don't have a success to use spidev. You can use sudo mod probe spidev to activate this module and lsmod shows you loaded spidev module, but ls /dev/spi* shows no such file or directory, also you can rebuild device tree to enable spidev (follow this link http://linux-sunxi.org/SPIdev)


RE: SPI on ubuntu - Kappuchino - 07-15-2018

Hi, I have the same problem - missing /dev/spidev. Did anyone of you figure anything more out? 


Cheers,
Kappuchino


RE: SPI on ubuntu - kingflab - 07-16-2018

(07-15-2018, 05:10 PM)Kappuchino Wrote: Hi, I have the same problem - missing /dev/spidev. Did anyone of you figure anything more out? 


Cheers,
Kappuchino

Not yet. Dodgy