Ikke's Blog

Post details: Kernel Events to DBUS

Jan 7
Kernel Events to DBUS

After my posting on LKML and the following answers and hints, I started hacking a bit.
This ended up in a utility that listens to kernel kobject_uevent events, and sends these to the DBUS System bus, so other applications can listen to DBUS to get kernel messages.

Evidence:

Dbus kernel events
(thumbnail is link to original image)

One problem for now: extra strings I pass with the DBUS message aren't sent. Got to look into this later... I wish there was more DBUS coding documentation, and more samples.

Ikke • LinuxPermalink 1 comment

Comments:

Comment from: Peter [Member] Email
Yeah, documentation is sometimes a real problem. "code a bit, document a bit" isn't followed in a lot of projects...
PermalinkPermalink 01/08/05 @ 01:11

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

Who's Online?

  • Guest Users: 404

Misc

XML Feeds

What is RSS?