aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2006-08-23098 release098Kay Sievers1-4/+4
2006-08-16rename udev_libc_wrapper -> udev_sysdepsKay Sievers1-2/+2
2006-08-13097 release097Kay Sievers1-1/+1
2006-08-05switch ifdef __KLIBC__ to ifndef __GLIBC__Kay Sievers1-9/+0
2006-08-05Makefile: fix dependencyKay Sievers1-0/+1
2006-07-09096 release096Kay Sievers1-1/+1
2006-07-04095 release095Kay Sievers1-1/+1
2006-06-12094 release094Kay Sievers1-1/+1
2006-05-29093 release093Kay Sievers1-1/+1
2006-05-27remove udevsendKay Sievers1-2/+0
2006-05-12092 release092Kay Sievers1-1/+1
2006-04-25091 release091Kay Sievers1-1/+1
2006-04-15090 release090Kay Sievers1-1/+1
2006-04-05merge device event handling and make database content available on "remove"Kay Sievers1-2/+1
2006-04-05udevd: export current seqnum and add udevsettleKay Sievers1-0/+6
2006-04-03089 release089Kay Sievers1-1/+1
2006-03-30pass CROSS_COMPILE to AR and RANLIB down to extras/Kay Sievers1-1/+2
2006-03-28remove all stripping codeKay Sievers1-9/+1
2006-03-21088 release088Kay Sievers1-1/+1
2006-03-17add udevtrigger to request events for coldplugKay Sievers1-0/+6
The shell script can't handle 1000's of devices.
2006-03-08087 release087Kay Sievers1-1/+1
2006-02-24086 release086Kay Sievers1-1/+1
2006-02-15085 release085Kay Sievers1-1/+1
2006-01-30084 release084Kay Sievers1-1/+1
2006-01-28whitespace fixesKay Sievers1-4/+4
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28move manpages to top levelKay Sievers1-1/+1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28replace fancy silent build program by simple kernel build like logicKay Sievers1-52/+50
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-27switch CROSS to CROSS_COMPILEKay Sievers1-7/+7
This matches what the kernel uses and was a suggestion from: KRONSTORFER Horst <Horst.KRONSTORFER@frequentis.com> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-27083 release083Kay Sievers1-1/+1
2006-01-25082 release082Kay Sievers1-1/+1
2006-01-24remove udev, udevstart, udevsend from the default installationKay Sievers1-10/+0
They still get compiled and are used for the test program, but everything should just work with the daemon and the kernel "uevent" triggers these days. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24move udev(8) manpage to udev(7)Kay Sievers1-4/+4
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23Makefile: remove dynamic config file generationKay Sievers1-23/+11
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-16081 release081Kay Sievers1-1/+1
2006-01-09080 release080Kay Sievers1-1/+1
2006-01-09replace libsysfsKay Sievers1-26/+4
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29fix dependency for make -j2Brent Cook1-1/+2
2005-12-23079 release079Kay Sievers1-1/+1
2005-12-17078 release078Kay Sievers1-1/+1
2005-12-15allow C99 statementsKay Sievers1-6/+1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-04077 release077Kay Sievers1-3/+4
2005-12-04add target to to generate ChangeLog sectionKay Sievers1-1/+11
I can't remember that magic sequence... Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-04update SUSE rulesKay Sievers1-1/+0
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-22076 release076Kay Sievers1-1/+1
2005-11-22Makefile: fail, if submake failsScott James Remnant1-7/+7
2005-11-17don't start udevd from udevsendKay Sievers1-1/+0
Doesn't make any sense these days to let the kernel start the daemon. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16Makefile: remove exec_prefix and srcdirKay Sievers1-5/+4
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16remove "udev_db" option from config fileKay Sievers1-5/+2
All udev state is kept in /$udev_root/.udev/ now. No option to configure that anymore, it will always be there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12remove all built-in wait_for_sysfs logicKay Sievers1-2/+0
Most of the issues are fixed with the kernel we depend on, for the remaing ones see the RELEASE-NOTES for a special rule to add. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10075 release075Kay Sievers1-1/+1
2005-11-10replace udeveventrecorder by a shell scriptKay Sievers1-2/+0
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09remove our own copy of klibcKay Sievers1-20/+5
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07074 release074Kay Sievers1-1/+1
2005-11-07remove udevinitsendKay Sievers1-2/+0
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07073 release073Kay Sievers1-1/+1
2005-11-07udevd: depend on netlink and remove all sequence reorder logicKay Sievers1-1/+0
Netlink will never get out-of-order and we just depend on it from now on. Udevsend messages will have no effect if they contain a sequence number (SEQNUM). Thanks to Bastian Blank <waldi@debian.org>, for the debugging session which identified a bug where the timeouts are not working if inotify was not available. All the timeout handling is removed now and this issue should be solved. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-05072 release072Kay Sievers1-1/+1
2005-11-05remove precompiled rules optionKay Sievers1-1/+0
It was a workaround for speed up udev "coldplug", where ~800 events happened a second time during bootup. No need for it with the rules aleady parsed in the daemon. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28"STRIPCMD=" for the EXTRASKay Sievers1-1/+1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27"make STRIPCMD=" will disable the stripping of binariesKay Sievers1-1/+3
Almost all packagers have always patched the stripping out, cause the buildsystems takes care of it. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27cleanup make releaseKay Sievers1-4/+3
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27allow to pass STRIPCMD, to skip stripping of binariesKay Sievers1-16/+13
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27use DESTDIR on uninstall, no need to pass prefix to submakeKay Sievers1-31/+30
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-10-27cleanup compiler/linker flagsKay Sievers1-27/+12
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-20071 release071Kay Sievers1-1/+1
2005-10-16fix selinux compilationKay Sievers1-1/+1
Taken from Red Hat CVS. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14070 release070Greg KH1-1/+1
2005-09-14add install test to 'make buildtest'Kay Sievers1-18/+18
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS: cleanup and sync all MakefilesKay Sievers1-7/+10
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS/Makefile: fix install targets to match main MakefileJürg Billeter1-0/+12
2005-09-13069 release069Greg KH1-1/+1
2005-09-12fic gcov use and move it into the MakefileKay Sievers1-0/+37
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12Makefile: cleanup install targetsKay Sievers1-11/+17
Split into individual target and never remove any config file. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-10Makefile: fix prerequisits for $(PROGRAMS)Kay Sievers1-9/+13
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30all man pages rewritten to use DocBook XMLKay Sievers1-1/+3
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30Makefile: remove all the duplicated rulesKay Sievers1-215/+163
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30write man page masters in DocBook XMLKay Sievers1-7/+16
The troff man pages will still be checked into the tree but the source is DocBook XML format living in the docs/ directory now. Start with the easy ones, the main udev page is still left to rewrite. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28add uft8 validation for safe volume label exportingKay Sievers1-0/+1
We will not support any other character encoding than plain ascii or utf8 for volume labels. All invalid utf8 and non-ascii characters are substituted for security reasons. No options, no fancy heuristics. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18068 release068Greg KH1-1/+1
2005-08-15move udevmonitor to /usr/sbinKay Sievers1-2/+3
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13067 release067Greg Kroah-Hartman1-1/+1
2005-08-12fix make install, as we don't provide a default rule set anymoreKay Sievers1-2/+3
Several people complained about the "default" rules and the "default" setup. Here we start to remove things where we can't hava a "default". The best examples for rules are in the distro folders, just pick the one that matches your needs and start from there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11066 release066Greg KH1-1/+1
2005-08-10split udev_util in several filesKay Sievers1-1/+3
It too big for the small tools to link against for only the log function. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-02065 release065Greg Kroah-Hartman1-1/+1
2005-08-01add udevmonitor, to debug netlink+udev events at the same timeKay Sievers1-2/+10
This rule: RUN+="socket:/org/kernel/udev/monitor" send the event to the running monitor. Running udevstart give a nice monitor output. Also the delay between the kernel uevent and the udev udev event can be investigated: pim:/home/kay/src/udev-kay # ./udevmonitor UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1 UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0 UEVENT[1122920113] add@/class/scsi_host/host12 UEVENT[1122920113] add@/class/usb_device/usbdev2.99 UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host12/target12:0:0/12:0:0:0 UDEV [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1 UEVENT[1122920113] add@/block/sda UEVENT[1122920113] add@/class/scsi_generic/sg0 UEVENT[1122920113] add@/class/scsi_device/12:0:0:0 UDEV [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0 UDEV [1122920113] add@/class/scsi_host/host12 UDEV [1122920113] add@/class/usb_device/usbdev2.99 UDEV [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host12/target12:0:0/12:0:0:0 UDEV [1122920113] add@/block/sda UDEV [1122920113] add@/class/scsi_generic/sg0 UDEV [1122920113] add@/class/scsi_device/12:0:0:0 UEVENT[1122920115] add@/block/sda/sda1 UDEV [1122920115] add@/block/sda/sda1 pim:/home/kay/src/udev-kay # ./udevmonitor --env UDEV [1122920185] add@/block/sda/sda1 ACTION=add DEVPATH=/block/sda/sda1 SUBSYSTEM=block SEQNUM=2159 MINOR=1 MAJOR=8 PHYSDEVPATH=/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host13/target13:0:0/13:0:0:0 PHYSDEVBUS=scsi PHYSDEVDRIVER=sd UDEVD_EVENT=1 UDEV_LOG=3 ID_VENDOR=IBM ID_MODEL=Memory_Key ID_REVISION=3.04 ID_SERIAL=IBM_Memory_Key_0218B301030027E8 ID_TYPE=disk ID_BUS=usb ID_PATH=usb-0218B301030027E8:0:0:0 ID_FS_USAGE=filesystem ID_FS_TYPE=vfat ID_FS_VERSION=FAT16 ID_FS_UUID=42D8-9E02 ID_FS_LABEL_SAFE=s_p_c DEVNAME=/dev/sda1 Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-01fix GGC signed pointer warnings and switch volume_id to stdintKay Sievers1-3/+3
Solaris uses volume_id now and they fiddled around with configure scripts to map the linux kernel int types. Adding the types locally to volume_id breaks the klibc build, so just switch to these ugly types and forget it. :) Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-23063 releaseGreg Kroah-Hartman1-1/+1
2005-07-22move code to its own filesKay Sievers1-23/+25
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-16allow rules to have labels and skip to next labelKay Sievers1-1/+1
This will allow us to have whole blocks of rules to skip conditionally. The following section creates the node "yes": GOTO="TEST" NAME="no" NAME="no2", LABEL="NO" NAME="yes", LABEL="TEST" NAME="no3"
2005-07-14063 release063Greg KH1-1/+1
2005-07-14add 'make tests' as I'm always typing that one wrong...Greg KH1-0/+2
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-07062 release062Greg Kroah-Hartman1-1/+1
2005-07-06061 release061Greg Kroah-Hartman1-1/+1
2005-07-06we want to provide OPTFLAGSKay Sievers1-9/+8
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06set default device node to /devKay Sievers1-1/+1
Using prefix seems pretty useless and the empty /udev with every "make install" is annoying. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-02060 release060Greg KH1-1/+1
2005-07-01[PATCH] Udev doesn't properly build with $CROSSGustavo Zacarias1-1/+1
Patch attached - basically you're always invoking klcc for the udev build itself, but klibc builds $(CROSS)klcc. Thus static cross builds don't work.
2005-06-30059 release059Greg Kroah-Hartman1-1/+1
2005-06-24allow rules to be compiled to one binary fileKay Sievers1-2/+9
All the rule files can be compiled into a single file, which can be mapped into the udev process to avoid parsing the rules with every event. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16Makefile: remove dev.d/ hotplug.d/ from install targetKay Sievers1-21/+2
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16udevd: control log-priority of the running daemon with udevcontrolKay Sievers1-1/+1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-15udeveventrecorder: add small program that writes an event to diskKay Sievers1-2/+10
Used for debugging and event replay from initramfs. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05udev: handle all events - not only class and block devicesKay Sievers1-1/+1
Handle all events with rules. If udev is expected to handle hotplug.d/ the exernal helper must be called. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05Makefile: fix DESTDIRKay Sievers1-4/+2
Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05udevd: add initsendKay Sievers1-12/+20
Transfer stored events from initramfs to the running udevd to replay events after userspace is ready. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05udevd: add udevcontrolKay Sievers1-2/+10
Controls the behavior of the running daemon. Currently only stopping and starting of the execution queue is supported. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-05-20Fix makefile to allow 'make release' to work with gitGreg KH1-26/+1
2005-05-20058 release058Greg KH1-1/+1
2005-04-26[PATCH] 057 relelease057gregkh@suse.de1-1/+1
2005-04-26[PATCH] add test for make -j4 to build-checkkay.sievers@vrfy.org1-0/+1
2005-04-26[PATCH] fix make -j4 and the local klibc-installkay.sievers@vrfy.org1-10/+10
2005-04-26[PATCH] add RUN key to be able to run rule based notificationkay.sievers@vrfy.org1-1/+0
SUBSYSTEM=="block", RUN="/sbin/program" will execute the program only for block device events. ACTION="remove", SUBSYSTEM=="block", RUN"/sbin/program" will execute the program, if a block device is removed.
2005-04-26[PATCH] support log-priority levels in udev.confkay.sievers@vrfy.org1-4/+5
2005-04-26[PATCH] 056 release056gregkh@suse.de1-1/+1
2005-04-26[PATCH] klibc: remove SCCS directories from the temporary klibc installkay.sievers@vrfy.org1-0/+1
2005-04-26[PATCH] klibc: use klcc wrapper instead of our own Makefilekay.sievers@vrfy.org1-55/+36
2005-04-26[PATCH] 055 release055gregkh@suse.de1-1/+1
2005-04-26[PATCH] rename namedev_dev to udev_rulekay.sievers@vrfy.org1-3/+3
2005-04-26[PATCH] remove udevstart on make cleankay.sievers@vrfy.org1-1/+2
2005-04-26[PATCH] split udev and udevstartkay.sievers@vrfy.org1-3/+6
2005-04-26[PATCH] rename LOG to USE_LOG in all placeskay.sievers@vrfy.org1-26/+24
2005-04-26[PATCH] remove Makefile magic for klibc integrationkay.sievers@vrfy.org1-26/+12
The new libsysfs and klibc don't need that anymore. Wrap getpwnam(), so we can use the built-in /etc/passwd parser for statically compiled glibc binaries too.
2005-04-26[PATCH] klibc_fixups: remove no longer needed stuffkay.sievers@vrfy.org1-2/+0
2005-04-26[PATCH] fix up segfaulting binaries with new klibckay.sievers@vrfy.org1-1/+1
2005-04-26[PATCH] klibc_fixups: remove unneeded stuffkay.sievers@vrfy.org1-1/+0
2005-04-26[PATCH] 054 release054gregkh@suse.de1-1/+1
2005-04-26[PATCH] big libsysfs diet (pre 2.0 version)kay.sievers@vrfy.org1-1/+0
2005-04-26[PATCH] 053 release053gregkh@suse.de1-1/+1
2005-04-26[PATCH] make the release tarballs have writable files in them.gregkh@suse.de1-1/+1
2005-04-26[PATCH] 052 release052greg@kroah.com1-1/+1
2005-04-26[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compilekay.sievers@vrfy.org1-2/+6
2005-04-26[PATCH] Makefile: cleanup conditional config option sectionskay.sievers@vrfy.org1-68/+61
2005-04-26[PATCH] selinux: cleanup udev integrationkay.sievers@vrfy.org1-1/+6
Move code into a .c-file instead of big inline functions in a header file. Pass the device name down instead of relying that the node name is equal to the kernel name.
2005-04-26[PATCH] 051 release051greg@kroah.com1-1/+1
2005-04-26[PATCH] rearrange link order in Makefilehare@suse.de1-2/+2
The link-order in the main Makefile is not quite correct (sysfs should be linked after udev.a) which might cause the build to fail.
2005-04-26[PATCH] complete removal of explicit udev permissions config filekay.sievers@vrfy.org1-8/+0
2005-04-26[PATCH] 050 release050greg@kroah.com1-1/+1
2005-04-26[PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc cleankay.sievers@vrfy.org1-3/+3
2005-04-26[PATCH] 049 release049greg@kroah.com1-1/+1
2005-04-26[PATCH] 048 release048greg@kroah.com1-1/+1
2005-04-26[PATCH] fix scsi_id build errors due to changes in the main udev makefilegreg@kroah.com1-2/+4
also fixed up the QUIET issue when it was disabled for the extras programs
2005-04-26[PATCH] 047 release047greg@kroah.com1-1/+1
2005-04-26[PATCH] Fix the multithreaded build again...greg@kroah.com1-0/+3
2005-04-26[PATCH] don't install distribution specific init script on "make install"kay.sievers@vrfy.org1-10/+1
Leave that part up to the one who itegrates udev into a system as there is much more to care of than to call a init stript for a dynamic dev.
2005-04-26[PATCH] remove archive file if we changed somethingkay.sievers@vrfy.org1-0/+3
2005-04-26[PATCH] link archive insted of objectskay.sievers@vrfy.org1-44/+62
This cuts the size of the binaries, as only objects that are actually used are linked into the binary: 45592 -> 43608 udev 4380 -> 4380 udevsend 10380 -> 4652 udevd 34732 -> 33100 udevinfo 45432 -> 37208 udevtest
2005-04-26[PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplexkay.sievers@vrfy.org1-5/+5
2005-04-26[PATCH] integrate wait_for_sysfs in udevkay.sievers@vrfy.org1-12/+2
Move the wait_for_sysfs logic into the udev binary. udev is called for every hotplug event. It also waits for /devices events.
2005-04-26[PATCH] fix parallel build errorgreg@kroah.com1-2/+3
2005-04-26[PATCH] 046 release046greg@kroah.com1-1/+1
2005-04-26[PATCH] disable logging for udevstartkay.sievers@vrfy.org1-2/+2
The slow logging facilites on some systems are a reason for the reported slowness of udevstart. On one of my boxes udevstart is down from 9 second to 0.3 seconds.
2005-04-26[PATCH] rename udevdb* to udev_db*kay.sievers@vrfy.org1-3/+3
2005-04-26[PATCH] remove udev_lib dependency from udevsend, which makes it smallerkay.sievers@vrfy.org1-1/+1
2005-04-26[PATCH] make spotless for releases.greg@kroah.com1-2/+2
2005-04-26[PATCH] replace tdb database by simple lockless file databasekay.sievers@vrfy.org1-18/+11
This makes the udev operation completely lockless by storing a file for every node in /dev/.udevdb/* This solved the problem with deadlocking concurrent udev processes waiting for each other to release the file lock under heavy load.
2005-04-26[PATCH] 045 release045greg@kroah.com1-1/+1
2005-04-26[PATCH] 044 release044greg@kroah.com1-1/+1
2005-04-26[PATCH] 043 release043greg@kroah.com1-1/+1
2005-04-26[PATCH] remove 'sudo' usage from the Makefilegreg@kroah.com1-1/+1
should fix a lot of gentoo bug reports
2005-04-26[PATCH] add test target to makefilegreg@kroah.com1-0/+3
Will help distros that have a test phase of their build.
2005-04-26[PATCH] 042 release042greg@kroah.com1-1/+1
In the grand tradition of releasing free software projects on my birthday for the past few years. And yes, I skipped version 041, call it grumpyness in my old age...
2005-04-26[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixupkay.sievers@vrfy.org1-3/+7
2005-04-26[PATCH] improve klibc fixup integrationkay.sievers@vrfy.org1-11/+14
2005-04-26[PATCH] expose sysfs functions for sharing itkay.sievers@vrfy.org1-1/+3
This patch exposes the wait_for_sysfs functions to all possible users, so we need to maintain only one list of exceptions. The last list is hereby removed from udev.c.
2005-04-26[PATCH] 040 release040greg@kroah.com1-1/+1
2005-04-26[PATCH] 039 release039greg@kroah.com1-1/+1
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com1-0/+1
2005-04-26[PATCH] pass SYSFS setting down for extras buildspatmans@us.ibm.com1-7/+8
Modify SYSFS to specify the full path, and pass it down for the extras builds. Change the scsi_id Makefile so it will work with and without udev.
2005-04-26[PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the ↵greg@kroah.com1-4/+4
config and man page mess.
2005-04-26[PATCH] delete udevruler?kay.sievers@vrfy.org1-6/+1
Hey, we got consistent source filenames today. Let's go ahead :) I once started this ambitiuos curses gui to edit udev rules files. udevruler still lays dead around in the tree. I will not finish it and it is not really useful at his state. If nobody wants to do something for it, I'm for deleting it.
2005-04-26[PATCH] fix broken 'make -j5' functionality.greg@kroah.com1-4/+3
2005-04-26[PATCH] Makefile fixkay.sievers@vrfy.org1-3/+1
Remove the rest of the debian stuff too, to make install working again.
2005-04-26[PATCH] 038 release038greg@kroah.com1-1/+1
2005-04-26[PATCH] fix up error in building extras and libsysfsgreg@kroah.com1-1/+0
2005-04-26[PATCH] 037 release037greg@kroah.com1-1/+1
2005-04-26[PATCH] fix asmlinkagembuesch@freenet.de1-1/+1
This patch fixes the reintroduced bug with the sig_handler(), if we link against a -mregparm=3 compiled klibc on i386. It also fixes some compiler warnings about redefined asmlinkage on some systems. Also some (broken?) compilers on distros throw out warnings if asmlinkage is before "static void". This fixes it, too.
2005-04-26[PATCH] a few more Makefile tweaks for the quiet feature.greg@kroah.com1-9/+10
2005-04-26[PATCH] Make the build silent, thanks to a helper program from ncftpgreg@kroah.com1-24/+48
2005-04-26[PATCH] rename files to have '_' instead of '-' in them.greg@kroah.com1-2/+2
We should be consistent in our madness...
2005-04-26[PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancygreg@kroah.com1-0/+1
2005-04-26[PATCH] 036 release036greg@kroah.com1-1/+1
2005-04-26[PATCH] 035 release035greg@kroah.com1-1/+1
2005-04-26[PATCH] 034 release034greg@kroah.com1-1/+1
2005-04-26[PATCH] 33_bk mark for the makefilegreg@kroah.com1-1/+1
2005-04-26[PATCH] 033 release033greg@kroah.com1-1/+1
2005-04-26[PATCH] wait_for_sysfs debug cleanupkay.sievers@vrfy.org1-2/+2
> Sorry, I left my debug code in. Oops, just realized it now. You've applied a older version and not the latest. Here is a new patch to catch up.
2005-04-26[PATCH] enable native tdb spinlocks on i386 platforms.greg@kroah.com1-13/+5
also clean out some stuff in the makefile that was never getting used.
2005-04-26[PATCH] PATCH selinux for udevharald@redhat.com1-0/+8
Daniel Walsh's working selinux patch
2005-04-26[PATCH] respect prefix= setting in built udev.conf (updated)kpfleming@backtobasicsmgmt.com1-6/+6
Here is a revised version of the patch. Again, it modifies the Makefile to respect the prefix= setting when putting paths to /etc/udev/{rules.s,permissions.d} into the built /etc/udev/udev.conf file. It also changes the Makefile to create this file at "make" time, not "make install" time. This allows for udevdir to be specified at "make" time (thus putting the correct path into udev.conf), but not specified at "make install" time (thus allowing the installation to proceed without trying to use the wrong directory). Submitted By: Kevin P. Fleming <kpfleming@linuxfromscratch.org> Date: 2004-09-16 Initial Package Version: 032 Origin: David Jensen Description: correct udev's Makefile and template config file to respect the "prefix=" setting supplied when it is built; also build etc/udev/udev.conf at "make" time, not "make install" time
2005-04-26[PATCH] finally solve the bad sysfs-timing for all of uskay.sievers@vrfy.org1-3/+12
On Tue, Sep 21, 2004 at 07:17:34PM +0200, Kay Sievers wrote: > During the integration of HAL into the linux hotplug system, we dicover > every week a new signaling path that fails cause of the delayed > population of the sysfs files, which are connected by symlinks and > appear in something like a random order in userspace. > > It's pretty complicated to understand the connection between all these > files for all the different subsystems with all the exceptions, so most > of the users simply sleep a few seconds, but that is not acceptable for > our integration work. > > Here I try to get all the special knowledge about that behavior together > and place that in a simple binary. That program _must_ run first of all > other hotplug processsing and every later script, udev or HAL all can get > rid of the wild guesses about the right time sysfs is ready. > > It will not only wait for the "dev"-file events we handle with udev, also > for every /device-device with the corresponding bus link. > > It is provided as a patch against the current udev tree and a "install" will > place the new program in the hotplug.d directory: > > [kay@pim ~]$ tree /etc/hotplug.d/ > /etc/hotplug.d/ > `-- default > |-- 00-wait_for_sysfs.hotplug -> /sbin/wait_for_sysfs > |-- 10-udev.hotplug -> /sbin/udevsend > |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug > |-- default.hotplug > `-- log.hotplug > > > For now, it logs the result of the waiting to syslog, to catch any > device, that needs special treatment. All newly discovered delay problems, > device black/whitelist updates should go into that program and we may remove > that kind of specialisation from all the other hotplug programs. > > Any patches, reports, testing is more than welcome. > > Sample debug: > Sep 21 18:44:07 localhost kernel: usb 3-2: new full speed USB device using address 12 > Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: USB hub found > Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: 2 ports detected > Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2' > Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0' > Sep 21 18:44:08 localhost kernel: usb 3-2.1: new full speed USB device using address 13 > Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/usb/lp0' > Sep 21 18:44:08 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 > Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1/3-2.1:1.0' > Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1' > Sep 21 18:44:08 localhost udev: configured rule in '/etc/udev/rules.d/50-udev.rules' at line 29 applied, 'lp0' becomes 'usb/%k' > Sep 21 18:44:08 localhost udev: creating device node '/udev/usb/lp0' > Sep 21 18:44:09 localhost kernel: usb 3-2.2: new full speed USB device using address 14 > Sep 21 18:44:09 localhost kernel: pl2303 3-2.2:1.0: PL-2303 converter detected > Sep 21 18:44:09 localhost kernel: usb 3-2.2: PL-2303 converter now attached to ttyUSB0 > Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2' > Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0' > Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0/ttyUSB0' > Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/tty/ttyUSB0' > Sep 21 18:44:09 localhost udev: creating device node '/udev/ttyUSB0' New version with more devices excluded from /device-link saerch and a better maching for device names.
2005-04-26[PATCH] fix up Makefiles to get the klibc build working properly.greg@kroah.com1-14/+17
Based on a patch from Kay Sievers <kay.sievers@vrfy.org>
2005-04-26[PATCH] 032 release032greg@kroah.com1-1/+1
2005-04-26[PATCH] 031 release031greg@kroah.com1-1/+1
2005-04-26[PATCH] udevsend depends on udev_lib.oolh@suse.de1-1/+1
make -j doesnt work with current udev.
2005-04-26[PATCH] let /sbin/hotplug execute udev earlierkay.sievers@vrfy.org1-2/+2
We ran into problems with all the /etc/hotplug.d/ scripts that sleep for the sysfs files or for other reasons. Anyway, it takes much too much time before udev is executed. HAL has its own notifier in /etc/hotplug.d/ and also waits for the dev.d/events with the same SEQNUM. Sometimes it take 25 seconds between these two events, cause the other scripts are sleeping too much :) Attached is a patch that installs the udevsend symlink as 10-udev.hotplug instead of udev.hotplug, to be executed earlier. [kay@pim udev.kay]$ tree /etc/hotplug.d/ /etc/hotplug.d/ `-- default |-- 10-udev.hotplug -> /sbin/udevsend |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug `-- default.hotplug
2005-04-26[PATCH] Make udev/udevstart be one binarytrini@kernel.crashing.org1-9/+5
Hi, The following patch makes udev/udevstart be a common binary. First, doing this grows udev by a total of 1.8kB (ppc32, stripped) whereas udevstart by itself is 6.4kB. I know you mentioned being able to replace udevstart with a script, but at 1.8kB I don't think it'll be easy to beat this with size there. Next, the following are by-eye timings of before, after, and with devfs on a slow, but still usable embedded platform (config stripped down to more-or-less bare for ramdisk): -- Embedded Planet RPX LITE, 64Mhz MPC 823e -- devfs : 15.333s, 15.253s, 14.988s (15.191s avg) udev-pristine : 18.675s, 18.079s, 18.418s (18.390s avg) udev-multi : 14.587s, 14.747s, 14.868s (14.734s avg) The patch ends up being rather large to add this, as in doing so I ended up making all refs (that I hit..) to devpath/subsystem be marked as 'const'. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] Add 'asmlinkage' to udev-030trini@kernel.crashing.org1-2/+2
The following patch adds 'asmlinkage' defines to udev, to kill off 2 warnings on !i386. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] 030 release030greg@kroah.com1-1/+1
2005-04-26[PATCH] 029 release029greg@kroah.com1-1/+1