Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. #/etc/modules: kernel modules to load at boot time.
  2. # This file contains the names of kernel modules that should be loaded
  3. # at boot time, one per line. Lines beginning with "#" are ignored.
  4. # Parameters can be specified after the module name.
  5.  
  6. snd-bcm2835
  7. i2c-dev
  8. i2c-bcm2708
  9.  
  10. blacklist spi and i2c by default (many users don't need them)
  11.  
  12. #blacklist spi-bcm2708
  13. #blacklist i2c-bcm2708
  14. blacklist snd-soc-pcm512x
  15. blacklist snd-soc-wm8804
  16.  
  17. i2c_bcm2708 6004 0
  18. i2c_dev 6709 0
  19.  
  20. Add one or more of the following to your /boot/config.txt and reboot.
  21.  
  22. I2C
  23. No longer add: dtparam=i2c1=on (or dtparam=i2c0=on on old models)
  24. Instead add: dtparam=i2c_arm=on (as this is correctly mapped to 0 or 1 for each model)
  25. A very few users might need: dtparam=i2c_vc=on (for the other i2c interface - see note below)
  26.  
  27. SPI
  28. Add dtparam=spi=on
  29.  
  30. I2S
  31. Add dtparam=i2s=on
  32.  
  33. lirc-rpi
  34. Add dtoverlay=lirc-rpi
  35. Add module parameters to the end of the dtoverlay line,
  36. e.g. dtoverlay=lirc-rpi,gpio_in_pin=16,gpio_in_pull=high
  37.  
  38. w1-gpio
  39. If you require the external pullup
  40. dtoverlay=w1-gpio-pullup,gpiopin=x,pullup=y
  41. otherwise
  42. dtoverlay=w1-gpio-pullup,gpiopin=x
  43. (where x and y are gpios).
  44.  
  45. Audio card
  46. Add one of the following
  47. dtoverlay=hifiberry-dac
  48. dtoverlay=hifiberry-dacplus
  49. dtoverlay=hifiberry-digi
  50. dtoverlay=iqaudio-dac
  51. dtoverlay=iqaudio-dacplus
  52.  
  53. heartbeat LED
  54. dtparam=act_led_trigger=heartbeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement