Skip to contentSkip to conversation

D-BUS support?

DISCUSSION Andy Kow 2 participants 3 messages Apr 12, 2010 – Apr 13, 2010

lore
Share & tools
lore

Andy Kow

author
#0 lore raw

I heard D-BUS would be supported by udev in the next release, and application could use D-BUS to hook up with udev to get device add/remove notification. However, when I look to the latest development source codes, I don't find any D-BUS API is being used.

Can you please confirm if D-BUS is supported? if so what does policy rule look like?

Thanks a lot!

Andy

#1 lore raw
Quoted 3 lines · Andy Kow

I heard D-BUS would be supported by udev in the next release, and application could use D-BUS to hook up with udev to get device add/remove notification. However, when I look to the latest development source codes, I don't find any D-BUS API is being used.

Can you please confirm if D-BUS is supported? if so what does policy rule look like?

There is no support, and it was never planned to add D-Bus interfaces to udev. Libudev uses a single file descriptor, and pure netlink for communication.

Kay

author
#2 lore raw
In reply to Andy Kow

Thanks a lot for clarification.

Andy

Quoted 25 lines · Kay Sievers

From: Kay Sievers <[email protected]>
Subject: Re: D-BUS support?
To: "Andy Kow" <[email protected]>
Cc: [email protected]
Date: Tuesday, April 13, 2010, 1:27 AM

Quoted 1 line · Andy Kow

I heard D-BUS would be supported by udev in the next

release, and application could use D-BUS to hook up with udev to get device add/remove notification. However, when I look to the latest development source codes, I don't find any D-BUS API is being used.

Quoted 2 lines

Can you please confirm if D-BUS is supported? if so

what does policy rule look like?

There is no support, and it was never planned to add D-Bus interfaces
to udev. Libudev uses a single file descriptor, and pure netlink for
communication.

Kay