summaryrefslogtreecommitdiff
path: root/src/udev
AgeCommit message (Collapse)Author
2012-10-22udev: use strbuf to store rules stringsKay Sievers
2012-10-19keymap: Tolerate invalid entries in keymapsMartin Pitt
Some keymaps apply to a large range of computer models, not all of which have all of the scan codes in the maps. If a single scan code is invalid, do not abort but continue with the next entry in the map. Instead just show the error message for that particular scan code, to help with debugging.
2012-10-19keymap: Fix parsing of hex scan codes in tablesMartin Pitt
Commit b1f87c76b1 changed sscanf from %i to %u, as scan codes are unsigned numbers which can be > 0x7FFFFFFF. However, sscanf doesn't accept hexadecimal numbers for %u. It works fine with %i, so revert this back.
2012-10-19README.keymap.txt: Drop fdi2rules.py documentationMartin Pitt
This was removed ages ago.
2012-10-11udev: path_id - add scm supportSebastian Ott
Add support for scm block devices. Introduced here: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f30664e2 Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
2012-10-10keymap: Fix scan codes > 0x7FFFFFFFMartin Pitt
According to Linux drivers/input/evdev.c, scan codes are unsigned, not int nor uint32_t. Thanks to Dejan Tosovic <dejan@post.com> for reporting this!
2012-10-09udev: support multiple entries for ENV{SYSTEMD_ALIAS} and ENV{SYSTEM_WANTS}Kay Sievers
2012-10-08udev: remove SYMLINK "unique" optionKay Sievers
2012-10-07udev: allow firmware requests to bypass the dependency trackingKay Sievers
The removal of the TIMEOUT= handling in udevd put firmware requests into the devpath parent/child dependency tracking. Drivers which block in module_init() asking userspace for firmware ran into a 30 sec device timeout. The whole firmware loading willl hopefully move into the kernel and the fragile-since-day-one fake async driver-core device dance involving udev can be retired: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=abb139e75c2cdbb955e840d6331cb5863e409d0e
2012-09-27udev: collect - use snprintf()Robert Milasan
2012-09-23udev: free fd before return in accelerometer.cLukas Nykryn
2012-09-23udev: free fd before return in scsi_serial.cLukas Nykryn
2012-09-23udev: free rule structure on errorVáclav Pavlín
2012-09-23udev: check return value of writeVáclav Pavlín
2012-09-23udev: check return value of symlinkVáclav Pavlín
2012-09-23udev: check malloc return in collect/collect.cVáclav Pavlín
Returns from no memory checks updated with log_oom call
2012-09-17udev: add btrfs supportKay Sievers
All "btrfs" file systems will be registered with the kernel when they show up. Incomplete multi-device volumes will set SYSTEMD_READY=0, to prevent access until the volume is complete and fully registered.
2012-09-13man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen
https://bugs.freedesktop.org/show_bug.cgi?id=54501
2012-08-21dev-setup: make NULL as parameter for dev_setup() equivalent to ""Lennart Poettering
2012-08-21dev-setup: allow a path prefix for use in chrootsDave Reisner
With this adjustment, we can reuse this code elsewhere, such as in nspawn.
2012-08-16keymap: fix map name referenceKay Sievers
2012-08-15keymap: Add Sony VGNMartin Pitt
https://launchpad.net/bugs/939868
2012-08-10udev: export udev_device_new_from_device_id()Kay Sievers
2012-08-08udev: fix typo in copyrightKay Sievers
2012-08-08udev: re-initialize builtins in the daemon process, not in the workerKay Sievers
2012-08-08udev: initialize rules dir timestamps when reading rulesKay Sievers
On Wed, Aug 8, 2012 at 11:48 AM, Michael Schroeder <mls@suse.de> wrote: > if rules are installed in the first 3 seconds after the udev start, > the stamps will all be zero, so the [first] call to check_rules_timestamp() > will just copy the current mtime [and not cause a rules re-load].
2012-08-03keyboard-force-release: Fix previous commitMartin Pitt
Was missing a * for the globbing.
2012-08-03keyboard-force-release: Apply to all Fujitso AMILO modelsMartin Pitt
https://launchpad.net/bugs/1011323 reports more AMILO models which need this quirk; enough to assume that all of them need it, and applying it on working models does not really hurt.
2012-08-03udev: path_id - add comment about the unrteliable rebase logicKay Sievers
2012-07-30udev: set log.c's log level from udev's kernel command line optionKay Sievers
2012-07-30udev: add missing newline when writing to /dev/kmsgKay Sievers
2012-07-26udev: cdrom_id, accelerometer - enable debug output for --debugKay Sievers
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
2012-07-25use "Out of memory." consistantly (or with "\n")Shawn Landden
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
2012-07-23keymap: Broaden ThinkPad X2.. tablet match to also apply to X230Terence Honles
https://bugs.freedesktop.org/show_bug.cgi?id=52371
2012-07-22collect, keymap, systemctl: use _noreturn_Zbigniew Jędrzejewski-Szmek
2012-07-20udev: path_id - export path for platform block devicesKay Sievers
Enrico Scholz <enrico.scholz@sigma-chemnitz.de> > > E.g. I have a platform with two sdhci controllers with different purposes. > First slot is an external slot while second one is internal with a > non-removable card. > > When there is a card in the external slot at boot, the non-removable card is > named 'mmcblk1'; without the external card it is 'mmcblk0'. Vice versa for the > external card. https://bugs.freedesktop.org/show_bug.cgi?id=52309
2012-07-19udev: firmware - do not cancel requests in the initrdKay Sievers
2012-07-18keymap: Add Dell Latitude force-release quirkRex Tsai
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2012-07-17Revert "keymap: add --version option"Kay Sievers
This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b.
2012-07-17keymap: add --version optionZbigniew Jędrzejewski-Szmek
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-07-14udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=nKay Sievers
2012-07-13log: correct usage of logging API at a few placesLennart Poettering
2012-07-09udev: never touch device nodes with symlink requestsKay Sievers
2012-07-05udev: network device renaming - immediately give up if the target name isn't ↵Kay Sievers
available
2012-07-05udev: add some O_CLOEXECKay Sievers
2012-07-05udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev stringKay Sievers
The last two digits are in the wrong order: $ hdparm -I /dev/sda | grep Revision 4PC10362 $ /lib/udev/ata_id -x /dev/sda | grep REVISION 4PC10326
2012-07-03mount-setup: don't complain if we try to fix the label of a dir beneath a ↵Lennart Poettering
mount but can't due to EROFS
2012-07-02udev: static nodes - fix default permissions if no rules is givenKay Sievers
<falconindy> kay: just curious -- it looks like nodes created by udev from modules.devname all have 000 perms, and there's nothing in udev that attempts to change this. is it intended? <falconindy> c--------- 1 root root 10, 223 Jul 1 23:10 uinput <kay> falconindy: we might miss the default of 0600 <falconindy> seems like it <kay> falconindy: stuff that has a rule works i guess <kay> falconindy: i'll add the 0600 now