summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-02libude: remove special handling of "device" link and legacy respecting codeKay Sievers
Remove special handling of device link by Sievers. Remove legacy respecting code by Basile. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-06-02libudev: implement udev_device_set_attribute_value()Hannes Reinecke
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-06-02keymap: Add Logitech USB (iTouch)Martin Pitt
https://launchpad.net/bugs/1152377 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-06-02keymap: Add HP EliteBook 8460pPali Rohar
Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by: Martin Pitt <martinpitt@gnome.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-06-02hwdb: updateKay Sievers
2013-06-02hwdb: updateKay Sievers
2013-06-02hwdb: updateKay Sievers
2013-06-02hwdb: updateKay Sievers
2013-06-02licence: remove references to old FSF addressSami Kerola
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-21src/udev/Makefile.am: do not fail if sym link already existsAnthony G. Basile
This fixes two issues: 1) The -r option does not exist for busybox and we do not need relative sym linking anyhow, and 2) if the sym link already exists, we want to overwrite it, hence -f. X-Eudev-Bug: 58 X-Eudev-Bug-URL: https://github.com/gentoo/eudev/issues/58 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-10Version bump to eudev-1_beta4eudev/v1_beta4Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-09build-sys: fix HAVE/ENABLE_FIRMWAREKay Sievers
This fixes: https://github.com/gentoo/eudev/issues/55 https://bugs.freedesktop.org/show_bug.cgi?id=62864 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-09rules/Makefile.am: conditionally install 80-net-name-slot.rulesAnthony G. Basile
We do not want to install 80-net-name-slot.rules if we --enable-rule-generator. In fact doing so will switch to the predictable network interface names. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-07rules/40-mem-null.rules: coalesce with rules/50-udev-default.rulesAnthony G. Basile
There is no reason to keep this rule separate and it works fine when incuded in 50-udev-default.rules. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-07src/udev/udev-event.c: restore code to allow rule generator to workAnthony G. Basile
This code was dropped while importing from upstream. It is needed to allow the legacy renaming of interfaces like eth* or wlan*. X-Eudev-Bug: 56 X-Eudev-Bug-URL: https://github.com/gentoo/eudev/issues/56 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-07src/udev/Makefile.am: fix symlink to udevadmAnthony G. Basile
The installation was overwriting udevadm when building with --sbindir=/usr/bin and ignoring $bindir. Both situations lead to a symlink which points to nowhere. Thanks TZ86. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-05bump versions to eudev-1_beta3 and udev-200Ian Stakenvicius
2013-04-05adjust symbol versioning for libudevIan Stakenvicius
Libudev has a symbol version for 199 now, so the libudev_internal version (which is used to essentially hide symbols that are not part of the external API) needs to use 199 as its baseline instead of 196 Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-04src/udev/udev-rules.c: fix bug introduced in our 601c4e8Anthony G. Basile
This error was introduced in our commit 601c4e8ce69338652b3c9178386cbc05de8bae8d when importing from upstream. The revert line works only in the context of all of upstream's commit 7850b3b83791ba0e2377ba40383c5abc258b839d Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-04Set rootprefix to be '${prefix}' if unsetIan Stakenvicius
Previously, rootprefix was set to the actual value of the default prefix, which caused issues when running 'make distcheck' since prefix is set to a non-standard value but rootprefix is unset. By assigning the variable rather than its contents, this should now be avoided.
2013-04-04set default prefix to /usr for necessary rootprefix default operationIan Stakenvicius
2013-04-04Remove 75-persistent-net-generator.rules reintroduced in commit ef0ac643Ian Stakenvicius
75-persistent-net-generator.rules is in the rule_generator subdir, do not try and install from here. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Initial forward-port of rules.d inotify supportIan Stakenvicius
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Removed hard-coded paths in rule-writer scriptsIan Stakenvicius
Both scripts had hard-coded paths to 'rule_generator.functions'; these were changed to be substituted in by configure so the paths will match where files are installed.øy Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Restored the rule generator bits from udev-171Ian Stakenvicius
This restores the rule generator scripts for the persistent network and optical device rule generator scripts that were removed after udev-171, and re-introduces their installation to the build system. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Add support for legacy behaviour in udev_device_get_sysattr_value()Ian Stakenvicius
Wraps the changes made in systemd commits 5ae18ddc and 53726349 with a #if's on LIBUDEV_LEGACY_VERSION so that old behaviour can be chosen at build-time if users find it necessary to support legacy software dependent on the original behaviour Original Authors: Kay Sievers Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Use LN_S instead of directly calling ln -sIan Stakenvicius
configure.ac has AC_PROG_LN_S already so we should use it. upstream did this in commit 783162123dbac43d5b7a3fab9d4f11dcf86d06e1 Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-04Move udevadm from sbin to binIan Stakenvicius
Follow upstream commit f432bb914499e2c28b43f592bb273f0a8664f352 but refactor the patch for eudev build system. Provide a compatibility symlink in sbindir for anything that hard-codes the path to udevadm Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-04-03Respect the MIT licenseklondike
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-03Fix buffer overflowklondike
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-03Clean up the string functionsklondike
Avoid two evaluations of src in util_strpcpy clean the code in the ones where the pointer passed is not modified and merge the main loop of util_strpcpyl and util_strscpyl into util_strpcpyv. Also make strpcpy more compact by removing some unnecessary arithmetic. Cleanup util_strpcpyv by shortcutting size == 0 case Do some style fixups Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02man: updates from upstreamAnthony G. Basile
Added upstream systemd-udevd.service(8) as udevd(8) Authors include Tom Gundersen Zbigniew Jędrzejewski-Szmek Thomas Hindoe Paaboel Andersen Kay Sievers Lennart Poettering See http://cgit.freedesktop.org/systemd/systemd/log/man/udev.xml and http://cgit.freedesktop.org/systemd/systemd/log/man/systemd-udevd.service.xml and http://cgit.freedesktop.org/systemd/systemd/log/man/udevadm.xml Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02udev: updateAnthony G. Basile
This updates the daemon codebase to upstream. Authors: Zbigniew Jędrzejewski-Szmek Lennart Poettering Václav Pavlín Kay Sievers Harald Hoyer Rob Clark Zeeshan Ali (Khattak) See http://cgit.freedesktop.org/systemd/systemd/log/src/udev Ian is signing off but has some concerns on a few of the changes that he may fix in future commits. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02udev: extern on functions is pointlessLennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02accelerometer: remove dead if and modernizeZbigniew Jędrzejewski-Szmek
Based on a coverity warning. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02hwdb: updateKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02docs/libudev/libudev-sections.txt: add missing symbolAnthony G. Basile
Add udev_device_set_sysattr_value which is defined in libudev/libudev-device.c. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02Correct permissions on /dev/null and friends for 2.6.32Anthony G. Basile
This sets the permissions on null, zero, full, random and urandom to 666 which is needed for older kernels. This is part of Gentoo's 40-gentoo.rules which can now be dropped from Gentoo's ebuild. X-gentoo-Bug: 457868 X-gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=457868 Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02hwdb: remove uneeded *-vendor-product.hwdbAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02libudev: update to 199Ian Stakenvicius
This updates the library codebase to upstream version 199. (originally merged by Anthony G. Basile <blueness@gentoo.org>) Upstream commits 5ae18ddc0d and 53726349e1 are not applied, code will be excluded via #if...#endif in a future commit Authors: Kay Sievers Thomas Hindoe Paaboel Andersen Hannes Reinecke Jan Engelhardt See http://cgit.freedesktop.org/systemd/systemd/log/src/libudev Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02keymap: Remap microphone mute and touchpad toggle for Lenovo U300sOzan Çağlayan
Separate out Ideapad U300s to its own line and add Microphone mute key. Signed-off-by: Martin Pitt <martinpitt@gnome.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02keymap: Fix touchpad toggling on Lenovo IdeaPad U300sOzan Çağlayan
IdeaPad U300s needs mapping 0xf1 to f21 just like Lenovo V480. Signed-off-by: Martin Pitt <martinpitt@gnome.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02udev: ifdef all firmware special handlingKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02udev: make firmware loading optional and disable by defaultTom Gundersen
Distros that whish to support old kernels should set --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" to retain the old behaviour. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02Make two functions staticZbigniew Jędrzejewski-Szmek
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02rules: updates from upstreamAnthony G. Basile
Authors include: Tollef Fog Heen Kay Sievers Tom Gundersen Tony Camuso Lennart Poettering Martin Pitt Harald Hoyer Michal Schmidt Matthew Garrett See http://cgit.freedesktop.org/systemd/systemd/log/rules Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02keymaps: updates from upstreamAnthony G. Basile
Authors include: Martin Pitt Kay Sievers http://cgit.freedesktop.org/systemd/systemd/tree/keymaps Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-04-02hwdb: bring db in line with upstreamAnthony G. Basile
This updates the db to current. Authors include: Kay Sievers Mantas Mikulėnas Tom Gundersen Marcel Holtmann See http://cgit.freedesktop.org/systemd/systemd/log/hwdb Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-03-17Merge remote-tracking branch 'origin/follow-upstream'Richard Yao
Signed-off-by: Richard Yao <ryao@gentoo.org>
2013-03-14udev: fix segfault with android rndisRob Clark
The android gadget driver for network tethering over rndis somehow has a parent device with a null subsystem. Probably this is bug in android driver, but it is easy enough to make systemd/udev behave gracefully and not segfault. And this will help for making linux distros with systemd (like fedora) work on android devices. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>