Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/etc/modules: kernel modules to load at boot time.
- # This file contains the names of kernel modules that should be loaded
- # at boot time, one per line. Lines beginning with "#" are ignored.
- # Parameters can be specified after the module name.
- snd-bcm2835
- i2c-dev
- i2c-bcm2708
- blacklist spi and i2c by default (many users don't need them)
- #blacklist spi-bcm2708
- #blacklist i2c-bcm2708
- blacklist snd-soc-pcm512x
- blacklist snd-soc-wm8804
- i2c_bcm2708 6004 0
- i2c_dev 6709 0
- Add one or more of the following to your /boot/config.txt and reboot.
- I2C
- No longer add: dtparam=i2c1=on (or dtparam=i2c0=on on old models)
- Instead add: dtparam=i2c_arm=on (as this is correctly mapped to 0 or 1 for each model)
- A very few users might need: dtparam=i2c_vc=on (for the other i2c interface - see note below)
- SPI
- Add dtparam=spi=on
- I2S
- Add dtparam=i2s=on
- lirc-rpi
- Add dtoverlay=lirc-rpi
- Add module parameters to the end of the dtoverlay line,
- e.g. dtoverlay=lirc-rpi,gpio_in_pin=16,gpio_in_pull=high
- w1-gpio
- If you require the external pullup
- dtoverlay=w1-gpio-pullup,gpiopin=x,pullup=y
- otherwise
- dtoverlay=w1-gpio-pullup,gpiopin=x
- (where x and y are gpios).
- Audio card
- Add one of the following
- dtoverlay=hifiberry-dac
- dtoverlay=hifiberry-dacplus
- dtoverlay=hifiberry-digi
- dtoverlay=iqaudio-dac
- dtoverlay=iqaudio-dacplus
- heartbeat LED
- dtparam=act_led_trigger=heartbeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement