summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-18libudev: udev_device_read_db - drop unused argumentTom Gundersen
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18libudev: udev_device_add_property - implicitly mark properties for saving to dbTom Gundersen
Note: We also ported touch() and touch_file() from upstream. -AGB. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18udev/libudev: event - move {OLD_,}INTERFACE handling from udevd to libudevTom Gundersen
This should be internal to the library as it is only about reflecting the sysfs state in the udev_device. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18udev: simplify event_queue_update() and add debug loggingTom Gundersen
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18udev: use inttypes.h types wherever appropriateLennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18tree-wide: use _packed_ macro instead of raw gcc __attribute__Lennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18udevd: close race in udev settleTom Gundersen
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18v4l_id: use standard option parsing loopZbigniew Jędrzejewski-Szmek
Not terribly important, but the loop wasn't an actual loop, making coverity unhappy. CID #1261725. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: keyboard - prefix "atkbd" match strings like we prefix the "name" stringsKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: remove unsed net rulesAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: keyboard - remove platform from comments + prefix "atkbd" match ↵Kay Sievers
strings like we prefix the "name" strings Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: drop redundant matchDavid Herrmann
The 60-keyboard rules are already guared by KERNEL!="event*" bail-outs, therefore, KERNELS="input*" is always true. Drop it! Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: support bluetooth keyboard fixupsDavid Herrmann
Drop the restriction not to match on bluetooth devices. They are supported just fine! Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: convert to generic input-modalias matchesDavid Herrmann
There is no reason to match on usb-modaliases, if we can use the input-modalias to achieve the same. This commit changes the keyboard-lookups to not be restricted to USB, but pass all modaliases to the hwdb. Furthermore, we convert all usb:* matches to input:* matches, thus getting rid of any ambiguity if multiple usb devices are chained (or a bluetooth device / etc. is on top). Note that legacy keyboard:usb:* matches are still supported, but deprecated. If possible, please use keyboard:input:* matches instead. This is a required step to make other input devices work with 60-keyboard.hwdb. Other bus-types are often chained on usb and we want to avoid any ambiguity here if we incorrectly match on a USB hub. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: updateKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: add Lenovo W451 to TOUCHPAD_HAS_TRACKPOINT_BUTTONS listPeter Hutterer
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: add Logitech G5 Laser MouseJonathon Gilbert
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: fix Dell XPS12 9Q33 key nameZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=84437 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: add pnpid for the T450s touchpadPeter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=89411 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: merge tty and serial rules fileKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: merge udev-late.rules filesKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: default - remove legacy agpgartKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: move block device rules to its own rules fileKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: storage - relace blacklist with explicit whitelistKay Sievers
Newly added kernel drivers repeatedly pass our blacklist and cause trouble for the devices, because they do not expect to be examined by udev's default rules which include blkid. This turns the blacklist into a whitelist. Device type which need support for additional symlinks need to be added to the whitelist now. Note, that the by-id, by-path symlinks are only intended for hotpluggable devices. There is no reason for exotic, or for statically configured devices to provide them. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18shared: import close_many() from upstreamAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01shared: introduce cmsg_close_all() callLennart Poettering
The call iterates through cmsg list and closes all fds passed via SCM_RIGHTS. This patch also ensures the call is used wherever appropriate, where we might get spurious fds sent and we should better close them, then leave them lying around. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01rules: simplify mmc RPMB handlingeudev/v3.0Martin Pitt
We don't actually want a by-path/ symlink for MMC RPMB devices, so just add them to the blacklist. This will prevent creating wrong by-path links and blkid'ing those. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01rules: Fix by-path of mmc RPMB partitions and don't blkid themMartin Pitt
Linux 3.10+ exposes RPMB (Replay Protected Memory Block) partitions of MMC devices [1] ; trying to read them with blkid or other unspecific means will cause kernel buffer I/O errors and timeouts. So don't run blkid on these. Also ensure that /dev/disk/by-path creates proper symlinks and exposes the -rpmb partition separately, instead of letting the "normal" partition symlink point to the rpbm device (this is a race condition). [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=090d25fe224c0 https://launchpad.net/bugs/1333140 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: add sdio identifiers for Broadcom WLAN cardsArend van Spriel
This patch adds the sdio identifiers known to be supported by the brcmfmac open-source driver. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: fix ThinkPad X* Tablet special keysLubomir Rintel
ThinkPad tablet firmware has DMI product name and version reversed: Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 7762AS1 Version: ThinkPad X61 Tablet Serial Number: LKZCDH2 UUID: 6ADBC681-4FC9-11CB-844F-B47CB9210BE2 Wake-up Type: Power Switch SKU Number: Not Specified Family: ThinkPad X61 Tablet Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: updateLennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: fix syntaxLennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: Microsoft Microsoft 3-Button MouseLukas Märdian
https://bugs.freedesktop.org/show_bug.cgi?id=89149 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: update name databasesLennart Poettering
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01keymap: Add microphone mute keymap for several HP laptopsHui Wang
On these several HP laptops, the microphone mute hotkey is "Fn+F8" and the scancode for this hotkey is 0x81, but this scancode was mapped to fn_esc in the HP generic keymap section. To fix this problem, we add a machine specific keymap section to add the correct keymap rule. BugLink: https://bugs.launchpad.net/bugs/1409721 BugLink: https://bugs.launchpad.net/bugs/1334968 Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11src/udev/udev-event.c: clean up net if renaming codeAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11src/udev/udev-builtin.c: remove legacy optional keymapAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11src/udev/udev-builtin-kmod.c: remove the modprobe alt to kmod codeAnthony G. Basile
2015-02-11LEGACY: notes on what legacy features are preserved in each branchAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11src/udev/udevd.c: remove create static nodes from modulesAnthony G. Basile
2015-02-11Minor cleanupsAnthony G. Basile
2015-02-11libudev: private - drop some functions from the internal APITom Gundersen
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11udev: event - move renaming of udev_device to libudevTom Gundersen
This is not exposed in the public API. We want to simplify the internal libudev-device API as much as possible so that it will be simpler to rip the whole thing out in the future. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11rule_generator: remove legacy codeAnthony G. Basile
2015-02-11configure.ac: bump to 3.0 branchAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-09Add .travis.ymlAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-08configure.ac: bump to 2.2Anthony G. Basile
2015-02-08skip libudev: private - drop some functions from the internal APIAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>