Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I have installed 2012-07-15-wheezy-raspbian, and the i2c-dev module and i2c_bcm2708 are there and work with i2c-tools.

How do I get the i2c-dev module etc. to load at bootup?

share|improve this question

2 Answers

up vote 7 down vote accepted

Assuming the module loads using sudo modprobe i2c-dev, you should add i2c-dev to /etc/modules.

share|improve this answer

They are blacklisted in /etc/modprobe.d/raspi-blacklist.conf

# blacklist spi and i2c by default (many users don't need them)

blacklist spi-bcm2708
blacklist i2c-bcm2708

so comment these lines.

share|improve this answer
I uncommented them. spidev, spi-bcm2708 and i2c-bcm2708 all loaded, but i2c-dev didn't so I guess I still need it in /etc/modules – gnibbler Jul 25 '12 at 9:57
1  
Why on earth would they blacklist these!?! – Alex Chamberlain Aug 6 '12 at 8:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.