summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] rename files to have '_' instead of '-' in them.greg@kroah.com
We should be consistent in our madness...
2005-04-26[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully ↵greg@kroah.com
handle some slow machines.
2005-04-26[PATCH] add support for class/raw/ to wait_for_sysfsgreg@kroah.com
2005-04-26[PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancygreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs_updatekay.sievers@vrfy.org
Here is an update to wait_for_sysfs to print the udev version to syslog, let hardware net interfaces wait again for the device link and revert the video4linux to wait for the device. The error here was caused by a out-of-tree media-driver, that needs the fix, not the our program. I've added a small comment for that to the log as I expect more of this to show up and the recent desktop integration work depends heavily on proper sysfs support, so the drivers should be fixed.
2005-04-26[PATCH] remove the debian specific file, as they don't want to share with ↵greg@kroah.com
the rest of the world :(
2005-04-26[PATCH] small udev patchmd@Linux.IT
You should also remove etc/dev.d/default/dbus.dev which does not exist anymore. BTW, please remove etc/init.d/udev.debian because it is broken.
2005-04-26[PATCH] 036 releaseudev/v036greg@kroah.com
2005-04-26[PATCH] add the error number to the error message in wait_for_sysfs to help ↵greg@kroah.com
out in debugging problems.
2005-04-26[PATCH] 035 releaseudev/v035greg@kroah.com
2005-04-26[PATCH] added ieee1394 support to wait_for_sysfsgreg@kroah.com
2005-04-26[PATCH] update wait_for_sysfs with a bunch more devices thanks to user reports.greg@kroah.com
2005-04-26[PATCH] 034 releaseudev/v034greg@kroah.com
2005-04-26[PATCH] add comment in wait_for_sysfs to explain the structure better.greg@kroah.com
2005-04-26[PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems.greg@kroah.com
Cset exclude: greg@kroah.com|ChangeSet|20041007204001|14326
2005-04-26[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...greg@kroah.com
2005-04-26[PATCH] 33_bk mark for the makefilegreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs: clean up the logic for the list of devices that we ↵greg@kroah.com
do not expect device symlinks for This makes it a lot easier to test for these devices, otherwise the list would have gotten very large
2005-04-26[PATCH] get rid of annoying extra lines in the syslog for some libsysfs ↵greg@kroah.com
debug messages.
2005-04-26[PATCH] added support for i2c devices in wait_for_sysfs.cgreg@kroah.com
2005-04-26[PATCH] add support for i2c-adapter devices to wait_for_sysfs.cgreg@kroah.com
2005-04-26[PATCH] wait_for_sysfs bluetooth class updatekay.sievers@vrfy.org
Here is the file to wait for the bluetooth class, as it is not a "dev" file. udev waits for 10 seconds here too.
2005-04-26[PATCH] 033 releaseudev/v033greg@kroah.com
2005-04-26[PATCH] fix problems with dev.d and udevstartkay.sievers@vrfy.org
Here is the correction for the dev.d/ scripts too. We should pass the right argv[0] here too. A script may depend on the right value, as udev does with udev/udevstart. Here is the old version: [pid 4692] execve("/etc/dev.d/default/log.dev", ["./udev", "block"], [/* 41 vars */]) = 0 this the new one: [pid 9832] execve("/etc/dev.d/default/log.dev", ["/etc/dev.d/default/log.dev", "block"], [/* 41 vars */]) = 0
2005-04-26[PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet.greg@kroah.com
2005-04-26[PATCH] wait_for_sysfs debug cleanupkay.sievers@vrfy.org
> 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.com
also clean out some stuff in the makefile that was never getting used.
2005-04-26[PATCH] fix problems using scsi_id with udevstartkay.sievers@vrfy.org
when udevstart was running we didn't set the environment and the subsystem argument for the callouts the dev.d/ scripts. Here is a fix, that sets that with every udevstart iteration, corrects argv[0] to be the basename() only not the whole path and adds a test for invoking callouts without arguments.
2005-04-26[PATCH] delete extras/multipath-tools as per the author's requestgreg@kroah.com
This is now a standalone package.
2005-04-26[PATCH] update volume_idkay.sievers@vrfy.org
Here is an update to the latest volume_id which fixes a few bugs with FAT volumes.
2005-04-26[PATCH] PATCH udev close on execharald@redhat.com
selinux wants a clean fd set, so better close all open fds
2005-04-26[PATCH] PATCH some cleanups and security fixesharald@redhat.com
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
2005-04-26[PATCH] PATCH some cleanups and security fixesharald@redhat.com
posted by Steve Grubb on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130351
2005-04-26[PATCH] be paranoid in dev_d.cgreg@kroah.com
2005-04-26[PATCH] add USE_SELINUX to README documentation so people have a chance to ↵greg@kroah.com
see what is going on.
2005-04-26[PATCH] update the selinux.h file to start to look sanegreg@kroah.com
and I told them to follow the proper coding style... bleah...
2005-04-26[PATCH] PATCH selinux for udevharald@redhat.com
Daniel Walsh's working selinux patch
2005-04-26[PATCH] cleanup PATCH for extras/chassis_id/Makefileharald@redhat.com
for "make install"
2005-04-26[PATCH] respect prefix= setting in built udev.conf (updated)kpfleming@backtobasicsmgmt.com
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] kdetv wants to see device nodes in /devgreg@kroah.com
2005-04-26[PATCH] update comments in scsi-devfs.shgreg@kroah.com
2005-04-26[PATCH] finally solve the bad sysfs-timing for all of uskay.sievers@vrfy.org
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] update udev to include scsi_id 0.6patmans@us.ibm.com
Here's a patch updating udev's copy of scsi_id to version 0.6.
2005-04-26[PATCH] fix up Makefiles to get the klibc build working properly.greg@kroah.com
Based on a patch from Kay Sievers <kay.sievers@vrfy.org>
2005-04-26[PATCH] oops forgot to add the new klibc/include directorygreg@kroah.com
2005-04-26[PATCH] update klibc to version 0.181greg@kroah.com
2005-04-26[PATCH] volume-id build fix and updatekay.sievers@vrfy.org
Let's try it another way: We define BLKGETSIZE64 in udev-volume_id.c now, cause including <fs.h> does also not work with klibc. This hopefully fixes your compile problem too. Also included is an update to udev_volume_id with the latest fixes for volume_id. It adds a simple logging file to map the debug function, that we can use exactly the same files in HAL and udev.
2005-04-26[PATCH] switch udev's seqnum to u64kay.sievers@vrfy.org
The kernel will use a u64 for the sequence number, so we want the same.
2005-04-26[PATCH] add enum testskay.sievers@vrfy.org
On Fri, Sep 10, 2004 at 01:09:07PM -0700, Greg KH wrote: > On Tue, Sep 07, 2004 at 01:19:34PM +0200, David Zeuthen wrote: > > > > KERNEL="sr*", NAME="%k", SYMLINK="cdrom%e" > > KERNEL="scd*", NAME="%k", SYMLINK="cdrom%e" > > KERNEL="pcd*", NAME="%k", SYMLINK="cdrom%e" > > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="\%k", SYMLINK="cdrom%e" > > KERNEL="fd[0-9]", NAME="%k", SYMLINK="floppy%e" > > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy", NAME=\"%k", SYMLINK="floppy%e" > > > > New patch is attached. > > Nice, I've applied this. > > How about sending a patch for the test/udev-test.pl script that adds a > test for this new paramater, so we make sure to not break it in the > future. Here are the tests for the enumeration character %e. I've added a option string to be able to do a whole sequence of tests without node removal, so we can skip the "remove" event and get an increasing number to append to the name. After the sequence test the whole directory is cleaned for the next tests.
2005-04-26[PATCH] fix udev segfaults with bad permissions filekay.sievers@vrfy.org
On Tue, Sep 14, 2004 at 02:53:12PM +0200, Loleslaw wrote: > Hi, > Since I started using udev-031 on my gentoo udevstart would just segfault > (udev-030 worked). As it turned out I had a file in /etc/udev/permissions.d > with a single space in one line. I've cleaned the file and it works all > right, but I thought you could be interested. > I've traced it to function namedev_init_permissions in namedev_parse.c > I don't know C well enough to suggest a patch. Yeah, thanks for pointing that out. It only happens if the file ends with whitespace-only lines. Here is a fix and a test for udev-test.pl to cover that case.