I am working on a project. I have Raspbian installed on my Raspberry Pi. When I do sudo lsmod
I have no output. I cannot use lirc and i2c module as this require firmware modules. I have to submit the project in 5 days.
Here is the output of lsmod
:
Module Size Used by
For modeprobe i2c_dev
:
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep:
could not open moddep file '/lib/modules/3.18.9+/modules.dep.bin'.
sudo i2cdetect -y 1
gives this output:
Could not open file '/dev/i2c-1' or '/dev/i2c/1': No such file or directory
uname -a
:
Linux raspberrypi 3.18.9+ #767 PREEMPT Sat Mar 7 21:41:13 GMT 2015 armv6l GNU/Linux
cat /etc/os-release
:
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
sudo modprobe i2c_dev
thenlsmod
(which does not requiresudo
)? Also make sure you have read this if the issue is using the modules. – goldilocks Jul 11 '15 at 17:02