summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-29util_lookup_group(): fix memory leak if realloc() failsFlorian Zumbiehl
2009-08-29util_delete_path(): use util_strscpy()Florian Zumbiehl
2009-08-29util_unlink_secure(): chmod() before chown()Kay Sievers
Suggested by Florian Zumbiehl <florz@florz.de>.
2009-08-27doc: udevadm test *does* create nodes and links these daysKay Sievers
2009-08-27doc: writing_udev_rules updated for the new command namesMarco d'Itri
2009-08-26Revert "extras/keymap: Fix case matching for Micro-Star"Martin Pitt
This reverts commit 66bf63c05cdc4e9b09818aa5fab0b9d319a1c91c. Further debugging in https://launchpad.net/bugs/178860 showed that for some weird reason the correct key codes already come out of the "Video Bus" input device, and the previous commit would cause them to appear a second time through the standard keyboard device. This is a kernel bug in the end, but let's not break working things prematurely.
2009-08-26extras/keymap: Fix case matching for Micro-StarMartin Pitt
Some Micro-Star boards apparently have mixed case vendor, instead of all-caps. Update the glob to catch all such cases. https://launchpad.net/bugs/178860
2009-08-25assign errno for getgrnam_r()/getpwnam_r()Kay Sievers
On Mon, Aug 24, 2009 at 19:50, Lennart Poettering<lennart@poettering.net> wrote: > One little comment here: on POSIX getrnam_r() doesn't touch > errno. Instead it returns the error value as return value.
2009-08-24extras/keymap: Fix hold key on Acer Aspire 6920Martin Pitt
The Hold key locks the panel and is hardwired. It doesn't have a sensible keycode to map to, and shouldn't be overloaded either.
2009-08-24extras/modem-modeswitch: eject ZTE MF6xx fake CD-ROMsMartin Pitt
modem-modeswitch does not fully work on ZTE MF6xx modems, their fake CD-ROMs need to be properly ejected in order for the actual modem to appear. Add udev rule for this device (19d2:2000 in CD-ROM mode). https://launchpad.net/bugs/281335
2009-08-24extras/keymap: Add Acer Aspire 6920Martin Pitt
https://launchpad.net/bugs/407940
2009-08-20hid2hci: remove superfluous bmAttributes matchMario Limonciello
For the retrigger of the device on remove we were trying to match bmAttributes of self powered which is unnecessary.
2009-08-19change database file namesKay Sievers
With very deeply nested devices, We can not use a single file name to carry an entire DEVPATH. Use <subsystem>:<sysname> as the database filename, which should also simplify the handling of devices moving around, as these values will not change but still be unique. For the name stack we use the <maj>:<min> now as the filename. > On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote: > The first is that udev grumbles during boot about "file name too long" > like the following: > > Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file > '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1': > File name too long
2009-08-19warn about non-readable or empty rules fileKay Sievers
2009-08-19print warning for NAME="%k" - it breaks the kernel supplied DEVNAMEKay Sievers
2009-08-18don't compare a non-existing function with NULLDaniel Mierswa
Obviously someone forgot something here or didn't use -ansi. Either way, index is nowhere declared so I assume the current behaviour is to check against the index() function coming from somewhere in the POSIX headers. The comparison doesn't make sense then. Signed-off-by: Daniel Mierswa <impulze@impulze.org>
2009-08-16update NEWSKay Sievers
2009-08-16make: add commentKay Sievers
2009-08-16rule_generator: net - fix MATCHDEVIDKay Sievers
This got lost for some reason with an earlier change. Thanks to Marco d'Itri <md@linux.it> for noticing.
2009-08-16rules: rfkill has no group, so use 0644Kay Sievers
Thanks to Marco d'Itri<md@linux.it> for noticing.
2009-08-14udev-acl: allow to skip ACL handlingKay Sievers
2009-08-14configure.ac: version bumpKay Sievers
2009-08-14make: sort Makefile.am per target/extraKay Sievers
2009-08-14release 146Kay Sievers
2009-08-14make: fix issues from non-recursive conversionKay Sievers
2009-08-08udevd: block for 15 seconds after error when too old kernel is detectedKay Sievers
The compat code will go away some day and CONFIG_SYSFS_DEPRECATED kernels fail in too many setups now to be worth to support them.
2009-08-08Use LT_INIT to explicit that udev needs libtool series 2.Diego Elio 'Flameeyes' Pettenò
2009-08-08Fix “make distcheck” run outside of the source directory.Diego Elio 'Flameeyes' Pettenò
Pass the path to keys.txt as second parameter of check-keymaps.sh so that it can be found in the right path.
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-08-07Fix building of documentation when doing out-of-source builds.Diego Elio 'Flameeyes' Pettenò
Since gtk-mkhtml is executed in a sub-directory of the build directory, and make does not know of that, the $(buildir) variable will still be "." and the $(srcdir) will not properly be found. For this reason, use the absolute variants for the two functions, which won't be changing.
2009-08-07Use the keymap check during “make distcheck” rather than “check”.Diego Elio 'Flameeyes' Pettenò
Since the check-keymaps.sh script checks for validity the source directory and the Makefile.am file, instead of running it during user-oriented “make check”, run it during developed-oriented “make distcheck”. An invalid keymap will abort the execution which will prevent shipping an incomplete Makefile.am. To properly support out-of-source builds, pass as single parameter to the test the path to the source directory.
2009-08-07Merge in Makefile.am.inc into Makefile.amDiego Elio 'Flameeyes' Pettenò
This removes another file from the distribution, since we're not using it anywhere else but the top-level Makefile.am file.
2009-08-07Ask gperf to use ANSI-C for generation.Diego Elio 'Flameeyes' Pettenò
This avoids an '80s C prototype which caused a warning during our build.
2009-08-07Add tests to the distribution; this fixes "make distcheck".Diego Elio 'Flameeyes' Pettenò
2009-08-07Include the correct directory for out-of-source builds.Diego Elio 'Flameeyes' Pettenò
When building in-source, the source and header files are in the same directory, but they are not in out-of-source.
2009-08-07Fix another relative path for the new working directory.Diego Elio 'Flameeyes' Pettenò
2009-08-07Fix building of introspection library on top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
Since the library is in a subdirectory, it has to know where to look for it.
2009-08-07Add silent-rule support for the gudev rules.Diego Elio 'Flameeyes' Pettenò
2009-08-07Make sure to use dependency/target variables.Diego Elio 'Flameeyes' Pettenò
2009-08-07Make sure to clean up all the built sources.Diego Elio 'Flameeyes' Pettenò
2009-08-07Finally, also merge gudev into the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
The Introspection rules are not tested yet; more touch-ups have been made for them.
2009-08-07Move pkg-config docs and man pages before conditionals.Diego Elio 'Flameeyes' Pettenò
Since gudev conditionally installs further pkg-config data, we have to set it before the condition might be expanded.
2009-08-07Make keymap generation rules be silent (backward-compatible).Diego Elio 'Flameeyes' Pettenò
2009-08-07Merge keymap building in the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
Slight adjustment around the tests and the rules for the new working directory.
2009-08-07Change hook handling to be more portable.Diego Elio 'Flameeyes' Pettenò
2009-08-07Also merge into the top-level Makefile.am the simpler extras.Diego Elio 'Flameeyes' Pettenò
2009-08-07Replace the custom test-run target with the standard make check.Diego Elio 'Flameeyes' Pettenò
A little fix is needed for the udev-test.pl script (to be called with the proper path), but this allows for the test binaries to be only built when running the tests themselves.
2009-08-07Merge libudev, udev, and the unconditional extras in a single Makefile.am.Diego Elio 'Flameeyes' Pettenò
Instead of using multiple recursive Makefile.am files, use a single Makefile.am that sets and builds all the basic suite of libraries and binaries for udev. This reduces the number of files in the source tree, and also reduces drastically the build time when using parallel-make. With this setup, all the compile steps will be executed in parallel, and just the linking stage will be (partially) serialised on the libraries creation.
2009-08-07extras/keymap: Fix Bluetooth key on Acer Aspire 6920Martin Pitt
See https://launchpad.net/bugs/407940
2009-08-07man: SYMLINK can be matched as well as assignedAlan Jenkins
If by-path / by-id links don't quite do what you want, this is a nice clean way to extend the behaviour. Real example: SYMLINK=="serial/by-id/usb-Novatel_Wireless_Inc*CDMA*-if00-port0", \\ SYMLINK+="cellcard" Some users ask how to do things like this. - create an additional link with a shorter name - create a link which matches more loosely (omit certain path segments e.g. serial numbers) - change permissions on certain USB device nodes Allow them to realize this without reading the friendly *.c files. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>