Commit graph

58 commits

Author SHA1 Message Date
Kay Sievers 0518da3b74 libudev: handle "device" link as parent, handle "class" "block" as "subsystem" 2008-09-15 11:19:56 -07:00
Kay Sievers 93b0f38458 libudev: udev_device - add attribute cache 2008-09-13 21:09:28 +02:00
Kay Sievers e88a82b597 libudev: do not use udev_db.c 2008-09-10 14:17:36 +02:00
Kay Sievers 742f4cad0d udevadm: print warning to stderr if udevadm is called by symlink 2008-09-03 21:59:21 +02:00
Kay Sievers 44aff4cd6d udev_device_init() remove statically allocated device support 2008-09-01 20:59:09 +02:00
Kay Sievers 33a5cc2976 libudev: add library to access udev information 2008-08-27 17:11:58 +02:00
Kay Sievers 88db390557 fix .gitignore 2008-08-09 14:05:54 +02:00
Kay Sievers 58a6308887 release 126 2008-08-02 10:51:23 +02:00
Kay Sievers 05b9640022 release 125 2008-07-18 16:26:55 +02:00
Kay Sievers cb0b4b70dd release 120 2008-04-03 21:12:53 +02:00
Kay Sievers e18bd73b72 udevadm: remove old man page links and compat links for debugging tools 2008-03-29 16:29:36 +01:00
Kay Sievers c645b98b7e remove udevstart 2007-11-13 23:44:12 +01:00
Kay Sievers d6856b85a1 udevadm: control - allow command to be passed as option 2007-11-09 19:30:12 +01:00
Kay Sievers a401355d5a finally remove the directory event-multiplexer crap 2007-03-28 20:35:05 +02:00
Kay Sievers 3d1f807b89 update TODO 2007-03-19 12:50:44 +01:00
Kay Sievers 3045132a0d udevinfo: remove -d option 2007-03-18 15:08:53 +01:00
Kay Sievers 864b9b5e37 add test for an attribute which contains an operator char 2007-02-25 01:06:20 +01:00
Kay Sievers 915fde1738 update DRIVER== changes 2007-02-24 23:43:04 +01:00
Kay Sievers 9b2a903812 release 101 2006-09-30 14:30:00 +02:00
Kay Sievers 4a51530993 release 099 2006-09-06 22:18:04 +02:00
Kay Sievers 051445e078 udevd: use files instead of symlinks for /dev/.udev/queue,failed 2006-09-03 04:44:33 +02:00
Kay Sievers 3c2081fcb7 update TODO 2006-09-02 14:26:44 +02:00
Kay Sievers 56f914e63b 098 release 2006-08-23 01:32:25 +02:00
Kay Sievers c8ff4b3db4 remove broken %e enumeration 2006-07-04 12:27:00 +02:00
Kay Sievers a924bf9a82 094 release 2006-06-12 10:27:03 +02:00
Kay Sievers 8912051213 remove MODALIAS key and substitution 2006-06-07 16:00:34 +02:00
Kay Sievers 5005ca5991 remove udevsend 2006-05-27 12:20:51 +02:00
Hannes Reinecke 24c27caf82 path_id: add bus to USB path 2006-03-22 12:21:49 +01:00
Kay Sievers 63645a3dfc 088 release 2006-03-21 20:44:13 +01:00
Kay Sievers 1a72d06f7b 082 release 2006-01-25 02:45:48 +01:00
Kay Sievers 03b24b71e0 fix BUS, ID, $id usage
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-16 06:12:49 +01:00
Kay Sievers 22f29307ff update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 04:24:15 +01:00
Kay Sievers 3e0f8812f8 update RELEASE-NOTES + TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 03:51:24 +01:00
Kay Sievers dfc9761d88 update README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17 18:05:29 +01:00
Kay Sievers e5bdb75a10 update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:47:47 +01:00
Kay Sievers 8f528042ca 073 release 2005-11-07 02:44:34 +01:00
Kay Sievers f432183eb8 update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 12:45:09 +02:00
greg@kroah.com 43f46b5605 [PATCH] update the TODO list as we already have a devfs config file. 2005-04-26 21:35:07 -07:00
rml@ximian.com c58f8c3000 [PATCH] automatically install correct initscript
On Mon, 2004-03-01 at 20:08, Robert Love wrote:

> Ack, I did not even see that!  Thanks.
>
> Let's rip that out, and always use the new built-in logic to determine
> what initscript to install.

Hm, looks like we do not need the %{lsb} and USE_LSB logic at all,
anymore.

Here is the patch, updated, removing both completely.
2005-04-26 21:35:07 -07:00
kay.sievers@vrfy.org 5202dc9991 [PATCH] TODO update
I promise, that I will not take every item you put in the TODO list :)
2005-04-26 21:35:07 -07:00
greg@kroah.com 1373b381d0 [PATCH] add new TODO item about local user permissions. 2005-04-26 21:34:28 -07:00
kay.sievers@vrfy.org 84d282a9d2 [PATCH] TODO update
On Thu, Feb 12, 2004 at 05:26:37PM -0800, Greg KH wrote:
> On Fri, Feb 13, 2004 at 12:45:38AM +0100, Kay Sievers wrote:
> >
> > Here a few questions about my favorite file in the tree :)
> > - better permission handling
> >
> > What is missing here?
>
> I don't know for sure.  Just a vague feeling that the way we currently
> handle permissions is pretty lousy.  Anyone else feel this way too?

Seems that nobody cares and perhaps the recent klibc permission changes
and the multiple file config directory are enough to kill these lines? :)
2005-04-26 21:34:28 -07:00
greg@kroah.com 286903679a [PATCH] remove udevd priority TODO item, as it's not needed at all.
We want to be started by keventd, as that runs at a very fast priority.
2005-04-26 21:32:29 -07:00
greg@kroah.com 67632351ec [PATCH] add udevd priority issue to the TODO list. 2005-04-26 21:32:29 -07:00
kay.sievers@vrfy.org b07ed5a7dc [PATCH] udev - TODO update
Make TODO really small :)
2005-04-26 21:32:29 -07:00
greg@kroah.com 659c37bb4b [PATCH] remove TODO item about BUS value, as it is now done. 2005-04-26 21:13:17 -07:00
greg@kroah.com 542bd1c015 [PATCH] update TODO with some new, small items. 2005-04-26 21:13:16 -07:00
greg@kroah.com 7ecb8d23f3 [PATCH] remove unneeded TODO and FIXME entry
Thanks to Kay for pointing it out to me.
2005-04-26 21:13:09 -07:00
kay.sievers@vrfy.org 26004fcc66 [PATCH] man-page mention multiple symlinks
As usual, when the stuff gets in the tree - here is a small
man page update and a TODO line removal.

  mention multiple symlinks
  update example with silly symlink rule :)
  shorten example line to have less than 80 chars
  remove "want symlink support" from TODO
2005-04-26 21:13:07 -07:00
david@fubar.dk 5aebfbcb62 [PATCH] D-BUS patch for udev-008
Attached is a patch against udev-008 to send out a D-BUS message when a
device node is added or removed.

Using D-BUS lingo, udev acquires the org.kernel.udev service and sends
out a NodeCreated or NodeDeleted signal on the
org.kernel.udev.NodeMonitor interface. Each signal carries two
parameters: the node in question and the corresponding sysfs path.

[Note: the D-BUS concepts of service, interface, object can be a bit
confusing at first glance]

An example program listening for these messages looks like this

#!/usr/bin/python

import dbus
import gtk

def udev_signal_received(dbus_iface, member, service, object_path, message):
    [filename, sysfs_path] = message.get_args_list()
    if member=='NodeCreated':
        print 'Node %s created for %s'%(filename, sysfs_path)
    elif member=='NodeDeleted':
        print 'Node %s deleted for %s'%(filename, sysfs_path)

def main():
    bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM)
    bus.add_signal_receiver(udev_signal_received,
                            'org.kernel.udev.NodeMonitor',  # interface
                            'org.kernel.udev',              # service
                            '/org/kernel/udev/NodeMonitor') # object

    gtk.mainloop()

if __name__ == '__main__':
    main()

and this is the output when hot-plugging some usb-storage.

[david@laptop udev-008]$ ~/node_monitor.py
Node /udev/sda created for /block/sda
Node /udev/sda1 created for /block/sda/sda1
Node /udev/sda1 deleted for /block/sda/sda1
Node /udev/sda deleted for /block/sda

The patch requires D-BUS 0.20 or later while the python example program
requires D-BUS from CVS as I only recently applied a patch against the
python bindings.
2005-04-26 21:13:06 -07:00