/dev/spidev0.0 missing after 2015.07 update

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:

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!

sweet, hope tonite hyperion will work again :slight_smile:

Thanks Sam, awesome support as always!!! :smile:

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…

Well, after reboot, still no joy :frowning:

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

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

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.

Cool, keep me posted.

Sam

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!! :smiley:

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.

This is OK for me, the lightberry is shining again :smile: