Re: HAL depreciated, but what replaced it?

2011-10-14 Thread Dan Williams
On Thu, 2011-10-13 at 09:13 -0500, Richard Shaw wrote: On Wed, Oct 12, 2011 at 8:16 PM, Dan Williams d...@redhat.com wrote: udev replaced HAL, along with some additional helpers. udev has a database too, much like HAL. You can use libudev or libgudev (if you use glib) to talk to udev and

Re: HAL depreciated, but what replaced it?

2011-10-14 Thread Richard Shaw
On Fri, Oct 14, 2011 at 9:58 AM, Dan Williams d...@redhat.com wrote: On Thu, 2011-10-13 at 09:13 -0500, Richard Shaw wrote: On Wed, Oct 12, 2011 at 8:16 PM, Dan Williams d...@redhat.com wrote: udev replaced HAL, along with some additional helpers.  udev has a database too, much like HAL.  

Re: HAL depreciated, but what replaced it?

2011-10-13 Thread Richard Shaw
On Wed, Oct 12, 2011 at 8:16 PM, Dan Williams d...@redhat.com wrote: udev replaced HAL, along with some additional helpers.  udev has a database too, much like HAL.  You can use libudev or libgudev (if you use glib) to talk to udev and get information. Ok, I found python-gudev which lets me

Re: HAL depreciated, but what replaced it?

2011-10-13 Thread Stanislav Ochotnicky
Excerpts from Richard Shaw's message of Thu Oct 13 16:13:00 +0200 2011: On Wed, Oct 12, 2011 at 8:16 PM, Dan Williams d...@redhat.com wrote: udev replaced HAL, along with some additional helpers.  udev has a database too, much like HAL.  You can use libudev or libgudev (if you use glib) to

Re: HAL depreciated, but what replaced it?

2011-10-13 Thread Richard Shaw
On Thu, Oct 13, 2011 at 11:17 AM, Stanislav Ochotnicky sochotni...@redhat.com wrote: Excerpts from Richard Shaw's message of Thu Oct 13 16:13:00 +0200 2011: On Wed, Oct 12, 2011 at 8:16 PM, Dan Williams d...@redhat.com wrote: udev replaced HAL, along with some additional helpers.  udev has a

Re: HAL depreciated, but what replaced it?

2011-10-13 Thread Richard Shaw
Ok, looks like gudev is a dead end too. Problems: 1. No property which give media type. Instead it looks like there are boolean value given instead, i.e.: ID_CDROM_MEDIA_DVD_PLUS_R: 1 So I assume if I was using a DVD-R it would be: ID_CDROM_MEDIA_DVD_MINUS_R: 1 THIS IS CRAZY This means I

HAL depreciated, but what replaced it?

2011-10-12 Thread Richard Shaw
I'm the maintainer of a (relatively) simple python utility called discspan[1] which I'd like to package for Fedora. It currently relies on HAL via dbus to determine when media is loaded and its capacity. I'm trying to remove the dependency on HAL since it's been depreciated for some time but the

Re: HAL depreciated, but what replaced it?

2011-10-12 Thread Dan Williams
On Wed, 2011-10-12 at 19:44 -0500, Richard Shaw wrote: I'm the maintainer of a (relatively) simple python utility called discspan[1] which I'd like to package for Fedora. It currently relies on HAL via dbus to determine when media is loaded and its capacity. I'm trying to remove the