This was working fine with 2015.06 but now there are no /dev/spi* entries
Here’s my /boot/config.txt:
gpu_mem_1024=256
sdtv_mode=2
dtoverlay=lirc-rpi:gpio_out_pin=17,gpio_in_pin=22
start_x=1
init_uart_clock=64000000
disable_overscan=1
sdtv_aspect=3
dtparam=spi=on
hdmi_ignore_cec_init=1
Is something broken/missing in the new 4.1 kernel ?
I cant even manually load the spi module:
root@rpi2:/lib/modules# insmod ./4.1.2-1-osmc/kernel/drivers/spi/spi-bcm2708.ko
insmod: ERROR: could not insert module ./4.1.2-1-osmc/kernel/drivers/spi/spi-bcm2708.ko: No such device
In Linux 4.1 some stuff has moved upstream so it is possible this module is missing.
I will investigate.
Sam
Hi
Hopefully this is addressed in:
committed 10:28AM - 04 Aug 15 UTC
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
We will build the kernel for Pi 1 and 2 shortly and this fix should be with you in a few hours.
Thanks for letting me know.
Sam
Thanks for the quick reply Sam!
my pretty hyperion LEDs are looking forward to it!
duri
4 August 2015 13:18
5
sweet, hope tonite hyperion will work again
Thanks Sam, awesome support as always!!!
ianux
4 August 2015 15:22
7
Hi,
I’ve juste updated to rbp2-image-4.1.3-1-osmc and this came out:
Hmm. There is a symbolic link /lib/modules/4.1.3-1-osmc/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/4.1.3-1-osmc/build
Hmm. The package shipped with a symbolic link /lib/modules/4.1.3-1-osmc/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/4.1.3-1-osmc/source
I think it’s harmless, but I wanted to let you know.
It’s a minor debian bug and not an issue of any detriment…
ianux
4 August 2015 15:46
9
Well, after reboot, still no joy
I have dtparam=spi=on
in /boot/config.txt
No /dev/spidev0.0
I see the module /lib/modules/4.1.3-1-osmc/kernel/drivers/spi/spi-bcm2708.ko
but:
osmc@osmc:~$ sudo modprobe spi-bcm2708
modprobe: ERROR: could not insert 'spi_bcm2708': No such device
Am I missing something, or is there something still wrong with the kernel?
As said earlier, we need to rebuild the kernel and we’ll let you know when it’s ready.
The build has not finished yet.
Sam
ianux
4 August 2015 16:02
11
OK, Since I saw an update available, I thought this was the one you were talking about.
I will quietly wait.
Can you please try update via My OSMC -> Updater -> Manual Controls -> Check for Updates now and let me know if you have any joy?
Sam
ianux
4 August 2015 16:43
13
Yes, /dev/spidev0.[0,1]
are here!
I can’t say for sure that hyperion is working as I’m remotely logged on my RBP2. I’m coming home and will confirm that in about half an hour.
duri
4 August 2015 18:10
15
Hi Sam, thank you so much! Very good fast support and solution! Works like before now.
Thank again Sam
Working perfectly again, thanks a lot!!
Thanks !
It works for me - mostly !
In normal use its fine, but I have an arduino hanging off the SPI bus. If I use avrdude to re flash the arduino over the SPI, Hyperion stops working.
This is ok - avrdude must be leaving the SPI bus a bit wonky and it could easily be fixed with gpio2spi.
Now tho, gpio2spi doesn’t fix it and I have to rmmod and mod probe the SPI module to get Hyperion working again.
ianux
5 August 2015 17:19
18
This is OK for me, the lightberry is shining again