KERNEL=="fb0", SYMLINK+="fb"
# Try and modprobe for drivers for new hardware
-ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
+# ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
# Create a symlink to any touchscreen input device
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
# reserve fb2 for the system
KERNEL=="fb2", ACTION=="add", MODE="0600"
+
+# On later kernels we have lots of modules and running modprobe becomes
+# expensive and slows boot a lot.
+# Prevent it from being run for stuff we know is compiled in
+# pandora's kernel or is not needed in general
+ACTION=="add", ENV{MODALIAS}=="platform:*" RUN="/bin/true"
+ACTION=="add", ENV{MODALIAS}=="mmc:block" RUN="/bin/true"
+ACTION=="add", ENV{MODALIAS}=="sdio:c00v104Cd9066" RUN="/bin/true"
+ACTION=="add", DEVPATH=="*twl4030_keypad*" RUN="/bin/true"
+ACTION=="add", DEVPATH=="*twl4030_pwrbutton*" RUN="/bin/true"
+ACTION=="add", DEVPATH=="*gpio-keys*" RUN="/bin/true"
+ACTION=="add", DEVPATH=="*/i2c-3/3-006[67]*" RUN="/bin/true"