/dev/spidev0,0 on the Rock64 - Does anyone know how to enable it?
#1
Question 
How can a user enable /dev/spidev0,0 on Rock64?
I've seen this very topic discussed and most of the threads / replies are vague, outdated or not working.


I would appreciate a "put this into this file" or "run this command" pointer. 
Or an article I have not found(yet) - see the ones that didn't help (me) below.

Current os (uname -a) is Linux rock64 4.4.126-rockchip-ayufan-239 aarch64 GNU/Linux .

Question aims at making python demo code of Waveshare ePaper (like https://www.waveshare.com/wiki/E-Paper_Driver_HAT) work with Rock64 - no, not in hat mode, in cable mode. 

Already took different python lib (with RPi.GPIO-PineA64) into account as well as different Pinout.

Current Error is:
File "/root/code-red/python/epdif.py", line 43, in 
SPI = spidev.SpiDev(0, 0)
FileNotFoundError: [Errno 2] No such file or directory


This should go away with spidev0,0 present in /dev and then ... I'll fix the next problem. 

I think it might be just a command similar to "enable_dtoverlay i2c0 i2c@ff150000 okay"  but I have not figured out what the magic words are. Most people point to a few who might know, but ... no dice. 

Similar unanswered Questions are:
Not understood to the point that I can act on it:

Similar Questions with an answer that does not work (anymore) or are beyond my skills are:
Chat on Irc: Similar Questions are on GitHub and StackOverflow. Once one of them fruits in an answer, I'll mirror it here.

Thank you for any help in advance.

Note:
  • If you know a paid service I can ask, I would pay the help out of my own pocket and publish the steps here, since our project  LiquidInvestigations is free and open and I'd rather work on testing elastic search, UI things, ... (things that I'm better at) than hanging in the air because of a seemingly trivial (but only known to a few) piece of information. Narf. 
  • This is to make https://liquidinvestigations.github.io/ (which uses the rock64) more usable and safer by having a (cheap) display to show codes for the air-gapped rock64 even when it is turned off (hence the use of ePaper)
  • I can't switch the Linux Distro/Flavour right now, but if /dev/spidev0,0  only available by changing, then its better than scrapping the use of ePaper displays. 
  • And finally: If someone will tell me "it does not work", then I'll move in the next iteration to another board which can work with existing code. 

    [Edit: Removed some snarky remarks.]
  Reply


Messages In This Thread
/dev/spidev0,0 on the Rock64 - Does anyone know how to enable it? - by Kappuchino - 07-14-2018, 04:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 153 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,373 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 338 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 619 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 613 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,424 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 190,747 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 593 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 652 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  how to use spidev0.1? jclab-joseph 2 2,292 02-06-2023, 04:43 PM
Last Post: monte

Forum Jump:


Users browsing this thread: 1 Guest(s)