Ikke's Blog

Post details: Dbus kernel events part 2

Jan 8
Dbus kernel events part 2

I got the appended strings working, thanks to the patch to udev-ize CUPS (here).

No screenshot for now, this is some of the result (from dbus-monitor):

signal interface=org.kernel.KobjectUevent; member=KobjectUevent; sender=:1.20
string:ACTION=remove
string:DEVPATH=/module/ext2
string:SUBSYSTEM=module
string:SEQNUM=1061
signal interface=org.kernel.KobjectUevent; member=KobjectUevent; sender=:1.20
string:ACTION=add
string:DEVPATH=/module/ext2
string:SUBSYSTEM=module
string:SEQNUM=1062

Some more code-cleanups, and its done :-)

Next thing TODO: get on the DBUS mailing list, ask whether it's usefull to write a patch which incorporates this into DBUS itself (optionally), so one more daemon isn't necessary.

Current code is here. Watch out: it's not completely finished!!!

Comments:

No Comments for this post yet...

This post has 3 feedbacks awaiting moderation...

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: 408

Misc

XML Feeds

What is RSS?