Open criss2525 opened 8 years ago
If that by accident is a raspberry pi with a new kernel try to enable spi: https://www.raspberrypi.org/documentation/configuration/device-tree.md
I have the same issue :(
I enabled the devicetree and SPI thru raspi-config
and uncommented the dtparam=spi=on
in /boot/config.txt
I re-ran the make
command but still get modprobe: ERROR: could not insert 'spi_bcm2708': No such device
Log of what I did:
pi@raspberrypi:~ $ cd rfm12b
pi@raspberrypi:~/rfm12b $ sudo make
make -C /lib/modules/4.1.13-v7+/build M= modules
make[1]: Entering directory '/home/pi/linux-bc1669c846b629cface0aaa367afb2b9c6226faf'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK kernel/config_data.h
Building modules, stage 2.
MODPOST 1450 modules
make[1]: Leaving directory '/home/pi/linux-bc1669c846b629cface0aaa367afb2b9c6226faf'
pi@raspberrypi:~/rfm12b $ sudo modprobe spi-bcm2708
modprobe: ERROR: could not insert 'spi_bcm2708': No such device
pi@raspberrypi:~/rfm12b $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : BCM2709
Revision : a01041
Serial : 000000000d7ffb7f
pi@raspberrypi:~/rfm12b $ lsmod | grep spi
spi_bcm2835 7216 0
pi@raspberrypi:~/rfm12b $
P.S. is it normal that the first time I ran make
it took over 3 hours to complete?
did you reboot after changing config.txt?
Pretty sure I did :)
I have been struggling for several days now. First I couldn't get rpi-source
to install. Only after changing to an older image file it worked.
Now the rfm12b is not working as planned :(
I'll try again, I shut down my RPI after I posted my message so when I try it again now I'm 110% sure I rebooted :)
Nope again: modprobe: ERROR: could not insert 'spi_bcm2708': No such device
then you should ask this on the rpi boards. This is a problem of your rpi, not this module.
I think I'll continue the way I was using it before. A Jeenode connected to my RPI thru serial :(
modprobe: ERROR: could not insert 'spi_bcm2708': No such device
guys any ideas what i did wrong? i can run make, everything compiles, i also restarted, the RFM12b looks connected. no idea what is wrong :(((