-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spidev module doesn't load; no /dev/spi* in core/linux-raspberrypi-latest 3.13.1-1 #526
Comments
Might be the same issue I'm having. SPI (/dev/spi) using spidev only works when spidev is not a module but is statically built into the kernel. the spi-bcm2708 can be used as a module though. linux/arch/arm/mach-bcm2708/bcm2708.c Line 556 in 7193cfe
|
spidev is working on recent firmware, but not enabled by default. The recommended method to enable this by default is to add the module name to /etc/modules. |
With a DT-enabled kernel, enable the spi interface by adding |
Hi, As many sugested, i added dtparam=spi=on to config.txt in: /boot/firmware/ Solution:
|
I had the same issue with my old B Rev. 2. Attempting the above suggestions did not fix it. Copying over the official firmware as per the previous comment unfortunately crashes the board on boot. |
Install a fresh RPiOS to a spare card and verify that it works as expected. If it does (and it will), your issue must be the result of some unknown combination of kernel + firmware + Device Tree files, and an issue from 2015 is not the right venue for getting some help - try the Raspberry Pi Forums. |
OK. This is a fresh install of Debian 10, but I'll take this elsewhere. |
SPI support, present in core/linux-raspberrypi 3.10.29-1, hasn't been working at least since 3.12.
The text was updated successfully, but these errors were encountered: