Unit to run as soon as possible after screen mode set?

poma pomidorabelisima at gmail.com
Fri Feb 14 19:16:07 UTC 2014


On 14.02.2014 17:52, Tom Horsley wrote:
..
> I've finally dug up some pointers to some magic intel_write_reg
> commands I can run to convince the low level intel driver
> to switch back to full range RGB, and I'd like to run them
> very very early in the boot process so my screen is readable
> even while scrolling boot messages or if I boot in console
> mode without starting X.
> 
> Anyone know a good place to wedge in a script to run
> as soon as possible after the kernel video mode setting
> has happened?
..

e.g.
/etc/udev/rules.d/10-script.rules
#
ACTION=="add", SUBSYSTEM=="drm", ATTRS{vendor}=="0x…",
ATTRS{device}=="0x…", RUN+="/path/to/script"
#
# udevadm info -a -p /sys/class/drm/card0

man 7 udev
man 8 udevadm


poma



More information about the users mailing list