Quantcast
Channel: Automatic rmmod / modprobe based on dmesg parsing - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by meuh for Automatic rmmod / modprobe based on dmesg parsing

You can ask rsyslogd to run a program when it matches the line. Create a file such as /etc/rsyslog.d/my.conf with a line like :msg, contains, "bad trackpad package" ^/bin/mytrackpadreset and this will...

View Article



Answer by Httqm for Automatic rmmod / modprobe based on dmesg parsing

With a little bit of grep-ing, you'll find the same information that dmesg output in /var/log/messages. There remains the question of watching this file without wasting resources (and without a...

View Article

Automatic rmmod / modprobe based on dmesg parsing

I am using a MacBooPro10,1 Debian stable (default install with rsyslogd) system for which the trackpad eventually fails (pointer stop working) from time to time as can be seen : $ dmesg [...]...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images