15

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?

John La Rooy
  • 12,005
  • 9
  • 48
  • 77

2 Answers2

14

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

Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
7

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.

okertanov
  • 609
  • 4
  • 2