Re: A standardized way of reporting kernel events to userspace

From: Greg KH
Date: Fri May 27 2011 - 20:26:00 EST


On Sat, May 28, 2011 at 01:04:49AM +0200, Arvid Brodin wrote:
> Hi,
>
> After I asked on linux-usb for a way for userspace to catch over-current events
> on the usb bus, it turned out that Juergen Beisert had had the need to do the
> exact same thing some time ago. He posted this patch using a uevent to notify
> userspace:

We've discussed why using uevents for this is not a good idea in the
past, and I don't think anything has changed since then. You might want
to search the archives for details if you are curious.

As to other solutions, there's always netlink, and people have proposed,
seriously, to put dbus in the kernel to allow it to emit messages that
way. I don't object to that, and I think there was even some patches
floating around to do that as well. You might want to revive them and
see if that would fit your requirement here.

hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/