/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 7 1,007 11-19-2024, 02:54 PM
Last Post: mara
  Upgrading ancient Rock64 timxjr1300 0 56 11-15-2024, 09:50 AM
Last Post: timxjr1300
  arch rock64 does not boot nemnob 1 959 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 43,602 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 81,033 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,864 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 636 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,077 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,083 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,233 10-12-2023, 05:14 PM
Last Post: tpaul

Forum Jump:


Users browsing this thread: 2 Guest(s)