summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2005-04-26[PATCH] D-BUS patch for udev-008david@fubar.dk
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[PATCH] better allow builds of extras programs under udevpatmans@us.ibm.com
Here is an improved version of the patch that enables builds of the extras progams for the targets all, clean, install, and uninstall, and passes down the "prefix" for use by install and uninstall. This patch enables building of the "extras" programs using the same build environment as udev (i.e. build with udev's versions of klibc and sysfsutils). For example, build scsi_id and udev via: make EXTRAS=extras/scsi_id Build scsi_id and udev with klibc via: make KLIBC=true EXTRAS=extras/scsi_id
2005-04-26[PATCH] 008_bk markgreg@kroah.com
2005-04-26[PATCH] v008 releaseudev/v008greg@kroah.com
2005-04-26[PATCH] get rid of the majority of the debug environment variables.greg@kroah.com
Now there are only 3 valid environment test variables. The rest can be specified with the config file.
2005-04-26[PATCH] add support for a main udev config file, udev.conf.greg@kroah.com
the older udev.config file is now called udev.rules. This allows us to better control configuration values, and move away from the environment variables.
2005-04-26[PATCH] turn debugging messages off by default.greg@kroah.com
it's a bit noisy for the masses...
2005-04-26[PATCH] split out the namedev config parsing logic to namedev_parse.cgreg@kroah.com
2005-04-26[PATCH] Add -nodefaultlibs while compiling against klibcmort@wildopensource.com
This patch adds -nodefaultlibs to LDFLAGS when compiling udev against klibc. This fixes the warning that I was getting when using $(LD)=gcc in the versions after Makefile.klibc disappeared. The problem was that it was still including a "-lc" in the call to the linker.
2005-04-26[PATCH] ARCH detection for ppcolh@suse.de
I'm not sure why ppc is converted to powerpc, it breaks at least $(ARCH) in klibc. gcc -dumpmachine powerpc-suse-linux
2005-04-26[PATCH] fix udev parallel builds with klibcpatmans@us.ibm.com
I can't build udev with make -j9. Here's a patch to fix it.
2005-04-26[PATCH] klibc makefile fixesarnd@arndb.de
2005-04-26[PATCH] 007_bk version change to Makefile.greg@kroah.com
2005-04-26[PATCH] v007 releaseudev/v007greg@kroah.com
2005-04-26[PATCH] only build klibc_fixups.c if we are actually using klibc.greg@kroah.com
2005-04-26[PATCH] static klibc udev does not link against crt0.oolh@suse.de
On Wed, Nov 19, Greg KH wrote: > > I did 'make KLIBC=true' in the current bk tree. > > try 'make -f Makefile.klibc' in the current tree. For some reason I > couldn't figure out how to have Makefile work for both KLIBC=true and > KLIBC=false. But I didn't try too hard :) I dont understand that. please do rm -f Makefile.klibc; apply this patch and tell me what fails. works for me.
2005-04-26[PATCH] change to 006_bk versiongreg@kroah.com
2005-04-26[PATCH] v006udev/v006greg@kroah.com
2005-04-26[PATCH] fix make install rule for when the udev symlink is already there.greg@kroah.com
2005-04-26[PATCH] change release target in makefile.greg@kroah.com
2005-04-26[PATCH] DESTDIR for udevolh@suse.de
2005-04-26[PATCH] version number to 005_bkgreg@kroah.com
2005-04-26[PATCH] pull some klibc stuff into the make Makefile to try to stay in sync.greg@kroah.com
2005-04-26[PATCH] 005 releaseudev/v005greg@kroah.com
2005-04-26[PATCH] get 'make release' to work properly again.greg@kroah.com
2005-04-26[PATCH] build tdb and libsysfs from the same makefile as udev.greg@kroah.com
This fixes problem of libsysfs and tdb getting build with different gcc options as the rest of udev.
2005-04-26[PATCH] makefile fix for now.greg@kroah.com
2005-04-26[PATCH] hm, makefile bug with so many files... will fix later...greg@kroah.com
2005-04-26[PATCH] rename namedev.permissions and namedev.config to udev.permissions ↵greg@kroah.com
and udev.config the namedev name didn't really make much sense anymore...
2005-04-26[PATCH] more warning flags to the build.greg@kroah.com
2005-04-26[PATCH] change version to 004_bkgreg@kroah.com
2005-04-26[PATCH] 004 releaseudev/v004greg@kroah.com
2005-04-26[PATCH] ok, rpm likes the "_" character instead of "-" better...greg@kroah.com
2005-04-26[PATCH] change the version to 003-bk to keep things sane with people using ↵greg@kroah.com
the bk tree.
2005-04-26[PATCH] fix makefile release rule to not drop tdb.h file.greg@kroah.com
2005-04-26[PATCH] copyright updates.greg@kroah.com
2005-04-26[PATCH] added uninstall supportgreg@kroah.com
2005-04-26[PATCH] added install target for makefile so people don't have to do it by ↵greg@kroah.com
hand anymore.
2005-04-26[PATCH] put config files and database in /etc/udev by defaultgreg@kroah.com
Can be overridden on the makefile line.
2005-04-26[PATCH] merge tdb into the build process.greg@kroah.com
2005-04-26[PATCH] udev/libsysfs cross compile fixeslethal@linux-sh.org
I noticed that libsysfs doesn't inherently grab cross compilation arguments that are set in the top-level Makefile, so I've come up with the following patch to fix this. With the patch, I can succesfully cross compile for other architectures (such as sh) by doing 'make ARCH=sh CROSS=sh-linux-' in the top-level directory.
2005-04-26[PATCH] added 0.2 change log info.udev/v002greg@kroah.com
2005-04-26[PATCH] split udev main logic into udev-add and udev-remove.greg@kroah.com
2005-04-26[PATCH] added libsysfs to the build.greg@kroah.com
2005-04-26[PATCH] Initial namedev parsing of config filesgreg@kroah.com
.permission parsing works, .config needs more work.
2005-04-26[PATCH] added more documentation in README and TODO files.greg@kroah.com
2005-04-26[PATCH] cleaned up the makefile a bit.greg@kroah.com
2005-04-26[PATCH] enabled debugging.greg@kroah.com
2005-04-26added initial files.Greg KH