summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] add OSDL documentation for persistent namingmaryedie@osdl.org
2005-04-26[PATCH] add netlink rules to devfs and gentoo rules files.greg@kroah.com
2005-04-26[PATCH] added USB device rules to rules files.greg@kroah.com
2005-04-26[PATCH] clean up the gentoo rules file a bit more, adding dri rules.greg@kroah.com
2005-04-26[PATCH] fix up udev.rules to handle oss rules better.greg@kroah.com
Patch from Jordan <lx_xero@comcast.net>
2005-04-26[PATCH] 023_bk markgreg@kroah.com
2005-04-26[PATCH] dev_d.c file sorting and cleanupkay.sievers@vrfy.org
On Thu, Mar 25, 2004 at 02:52:13AM +0100, Kay Sievers wrote: > Please have look if it still works for you, I only did a very quick > test. Here is a unified version, with all the functions moved to udev_lib.c. We have a generic function now, to call a given fnct(char *) for every file ending with a specific suffix, sorted in lexical order. We use it to execute the dev.d/ files and read our rules.d/ files. The binary should be a bit smaller now. I've also changed it, to not do the dev.d/ exec for net devices.
2005-04-26[PATCH] apply all_partitions rule to main block device onlykay.sievers@vrfy.org
Rules with NAME{all_partitions}= are now applied only to the parent of a block device. We no longer need to exclude the partitions or sg* devices.
2005-04-26[PATCH] small ide-devfs.sh fixmd@Linux.IT
The file may not exist and errors would be spewed on the console.
2005-04-26[PATCH] fix udev.spec file for where udevtest should be placed.greg@kroah.com
2005-04-26[PATCH] v023 releaseudev/v023greg@kroah.com
2005-04-26[PATCH] create the /etc/dev.d/ directories in 'make install'greg@kroah.com
2005-04-26[PATCH] actually have udev run files ending in .dev in the /etc/dev.d/ ↵greg@kroah.com
directory as documented.
2005-04-26[PATCH] hmm, handle net devices with udev?kay.sievers@vrfy.org
Hmm, Arndt Bergmann sent a patch like this one a few weeks ago and I want to bring the question back, if we want to handle net device naming with udev. With this patch it is actually possible to specify something like this in udev.rules: KERNEL="dummy*", SYSFS{address}="00:00:00:00:00:00", SYSFS{features}="0x0", NAME="blind%n" KERNEL="eth*", SYSFS{address}="00:0d:60:77:30:91", NAME="private" and you will get: [root@pim udev.kay]# cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 1500 30 0 0 0 0 0 0 1500 30 0 0 0 0 0 0 private: 278393 1114 0 0 0 0 0 0 153204 1468 0 0 0 0 0 0 sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 blind0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 The udevinfo program is also working: [root@pim udev.kay]# ./udevinfo -a -p /sys/class/net/private looking at class device '/sys/class/net/private': SYSFS{addr_len}="6" SYSFS{address}="00:0d:60:77:30:91" SYSFS{broadcast}="ff:ff:ff:ff:ff:ff" SYSFS{features}="0x3a9" SYSFS{flags}="0x1003" SYSFS{ifindex}="2" SYSFS{iflink}="2" SYSFS{mtu}="1500" SYSFS{tx_queue_len}="1000" SYSFS{type}="1" follow the class device's "device" looking at the device chain at '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0': BUS="pci" ID="0000:02:01.0" SYSFS{class}="0x020000" SYSFS{detach_state}="0" SYSFS{device}="0x101e" SYSFS{irq}="11" SYSFS{subsystem_device}="0x0549" SYSFS{subsystem_vendor}="0x1014" SYSFS{vendor}="0x8086" The matching device will be renamed to the given name. The device name will not be put into the udev database, cause the kernel renames the device and the sysfs name disappears. I like it, cause it plugs in nicely. We have all the naming features and sysfs queries and walks inside of udev. The sysfs timing races are already solved and the management tools are working for net devices too. nameif can only match the MAC address now. udev can match any sysfs value of the device tree the net device is connected to. But right, net devices do not have device nodes :)
2005-04-26[PATCH] added RFC-dev.d document detailing how /etc/dev.d/ works.greg@kroah.com
2005-04-26[PATCH] fixed up udev.spec to handle selinux stuff properly now.greg@kroah.com
2005-04-26[PATCH] remove USE_DBUS and USE_SELINUX flags from the README as they are no ↵greg@kroah.com
longer present.
2005-04-26[PATCH] remove selinux stuff from the main Makefilegreg@kroah.com
2005-04-26[PATCH] move udev_selinux into extras/selinuxgreg@kroah.com
2005-04-26[PATCH] fix dbus build in the udev.spec file.greg@kroah.com
2005-04-26[PATCH] remove dbus stuff from main Makefilegreg@kroah.com
Not needed now that it's in extras.
2005-04-26[PATCH] move udev_dbus to extras/dbusgreg@kroah.com
Should build now, but might have linking problems.
2005-04-26[PATCH] udev_dbus can now compile properly, but linnking is another story...greg@kroah.com
2005-04-26[PATCH] remove udev_dbus.h from Makefilegreg@kroah.com
2005-04-26[PATCH] first cut at standalone udev_selinux program.greg@kroah.com
Will not work, need to finish working on this on a system with selinux installed...
2005-04-26[PATCH] remove selinux support from udev core as it's no longer needed.greg@kroah.com
2005-04-26[PATCH] first cut at standalone udev_dbus program.greg@kroah.com
Will not work, need to finish working on this on a system with dbus installed...
2005-04-26[PATCH] add get_devnode() helper to udev_lib for udev_dbus programgreg@kroah.com
2005-04-26[PATCH] remove dbus code from core udev code as it's no longer needed to be ↵greg@kroah.com
there.
2005-04-26[PATCH] add /etc/dev.d/ support for udev add and remove events.greg@kroah.com
2005-04-26[PATCH] fix build error in namedev.c caused by previous patch.greg@kroah.com
2005-04-26[PATCH] udevinfo patchdsteklof@us.ibm.com
I think this is what you want for udevinfo. Patched against the latest BK tree. I tested it and it seemed to work. One other question, shouldn't udevinfo.c:print_all_attributes() check to make sure attr->method is SYSFS_METHOD_SHOW along with checking to see if attr->value != NULL or doesn't that matter? Here's the libsysfs fix for print_device_chain():
2005-04-26[PATCH] correct apply_format() for symlink only ruleskay.sievers@vrfy.org
Patch from Andrey, which restores the ability to use RESULT values in a "symlink only" rule. We need to call apply_format() directly after the matching rule, otherwise the RESULT value may be lost.
2005-04-26[PATCH] don't init namedev on removekay.sievers@vrfy.org
Is there any reason to parse the rules for a remove event? Without it, our test script needs only 2.1 seconds instead of 2.5, so we have 19 percent more time for testing now :)
2005-04-26[PATCH] uninitialized variable for mknod and friendolh@suse.de
mknod gets an uninitialized variable, which leads to interesting file modes. the bug is in namedev, devices with no match must not use the uninitialized stuff were dev points to.
2005-04-26[PATCH] 022_bk taggreg@kroah.com
2005-04-26[PATCH] fix 'make spotless' to really do that in klibc.greg@kroah.com
bah, this took me forever to figure out why I couldn't build with klibc on on box...
2005-04-26[PATCH] first stupid try for a rule compose guikay.sievers@vrfy.org
On Mon, Mar 15, 2004 at 09:28:17PM +0100, Kay Sievers wrote: > Here is a first simple and pretty stupid try to make a simple tool for > composing of a udev rule. > > It reads the udevdb to get all currently handled devices and presents a > list, where you can choose the device to compose the rule for. > > The composed rule is just printed out in a window, nothing else by now. > > Do we want something like this? > Nevermind, I always wanted to know, how this newt thing works :) Here is the next step, I still can't sleep and there are to many patches pending to make something useful :) Cause nobody wanted to play with me, I've made a screenshot. The device list is sorted in alphabetical order now and if there are only a few recently discovered devices, they are placed on top of the list. For those who want to have a look: http://vrfy.org/projects/udev/udevruler.png The patch applies on top of today's mmap() patch. The db format is changed to have the file and line number of the applied rule. So it should be easy to edit the matching rule with this beast. It compiles with "make all udevruler".
2005-04-26[PATCH] add a question/answer about automounting usb devices to the FAQ.greg@kroah.com
Thanks to bert hubert <ahu@ds9a.nl> for the text.
2005-04-26[PATCH] SCSI logical and physical names for udevrgooch@ras.ucalgary.ca
Hi, Greg. Appended is scsi-devfs.sh, a script for udev to implement devfs-style names for SCSI hard discs, CD-ROM's and generic devices. This has been tested with both hard discs and CD-ROM's. The SCSI generic support should be OK for when there is sysfs/udev support for SCSI generic devices. SCSI tapes are not yet implemented because I don't have one to test with. In addition, this script supports physical names, based on PCI bus location, both longhand (/udev/bus/pci/...) and shorthand (/udev/sd/pci/*).
2005-04-26[PATCH] Increase the name size as requested by Richard Gooch ↵greg@kroah.com
<rgooch@ras.ucalgary.ca>
2005-04-26[PATCH] fix udevtest to build properly after the big udev_lib change.greg@kroah.com
2005-04-26[PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]kay.sievers@vrfy.org
Here we replace the various fgets() with a mmap() call for the config file reading, due to the reported performance problems with klibc. Thanks to Patrick's testing, it makes a very small, close to nothing speed gain for libc users, but a 6 times speed increase for klibc users with a 1000 line config file. I've created a udev_lib.[hc] for this and also moved all the generic stuff from udev.h in there and uninlined the functions.
2005-04-26[PATCH] Trivial man page typo fixes to udevtytso@mit.edu
Fix minor man page typo's.
2005-04-26[PATCH] make udevtest a real program :)kay.sievers@vrfy.org
Here are the missing pieces for udevtest. A simple man page is added, the blacklist is removed, cause it can't work without having a subsystem. The Makefile removes all manpages now with a uninstall and installs udevtest in /usr/bin/. Any old version from /sbin/ should be deleted by hand. The only expected argument is the sysfs devpath, here I changed it to be more tolerant to the input. The path may now be specified with or without a leading slash and optionally with the /sys moutpoint prepended. I hope this will end the confusion about the use of this program :)
2005-04-26[PATCH] 022 releaseudev/v022greg@kroah.com
2005-04-26[PATCH] make spotlessolh@suse.de
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
2005-04-26[PATCH] fix HOWTO-udev_for_dev for udevdirasync@cc.gatech.edu
2005-04-26[PATCH] udev-test.pl cleanupkay.sievers@vrfy.org
Here is a small name change, so all expected values are named exp_*
2005-04-26[PATCH] add big major tests to udev-test.plgreg@kroah.com