The culprit here is just the way the mechanism works. Once understood, it is just "bonk" .
In short:
- the modules are defined per modules-load.d, with no parameters at all
- the parameters you give via modprobe.d, and only ever one per line
So for this one take eg. this:
/etc/modules-load.d/odroid_tft.conf:
- Code: Select all
#
# /etc/modules-load.d conf file for Odroid 3"2 TFT
#
## SPI modules for 3"2 TFT
spicc
# spidev and ads7846 should be pulled automatically
#spidev
#ads7846
## FB modules for 3"2 TFT (parameters set via modprobe.d)
fbtft_device
# these should be pulled automatically
#fb_odroidc_tft32
#fbtft
#fb_sys_fops
#sysimgblt
#sysfillrect
#syscopyarea
The commented module lines are there just for doc purposes; of course you may safely remove them
/etc/modprobe.d/fbtft_device.conf:
- Code: Select all
#
# /etc/modprobe.d conf file for Odroid 3"2 TFT fbtft options
#
## options for 3"2 TFT module(s)
options fbtft_device name=odroidc_tft32
options fbtft_device rotate=270
options fbtft_device gpios=reset:116,dc:115
options fbtft_device speed=32000000
options fbtft_device cs=0
Install these, don't forget to remove the now obsolete modprobes from .bash_profile, reboot, and have fun.
cheers,
Ralf