Score:0

udev rule/script to suppress kernel event

us flag

I am in need of a method (udev rule and/or script) that will effectively suppress a kernel event that is crashing my display manager.

I have been successful suppressing the kernel event manually by:

udevadm control -s  # Suspend queue processing
<blah blah>         # Do whatever triggers the kernel event
sleep x             # Wait for event to queue (udevadm monitor -k)
udevadm control -e  # Clobber udevd (don't worry, it auto restarts)

However, this is heavy handed, usually drops several unrelated events, and lacks automation or elegance.

At one time, there was a udev OPTION "ignore_device" but this was apparently removed in 2009 according to the release 148 notes.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.