aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2012-03-28keymap: Add Dell XPS force-release quirkMartin Pitt1-0/+1
https://launchpad.net/bugs/910911
2012-03-22libudev: monitor - do not memset() receive bufferKay Sievers1-1/+1
2012-03-21keymap: Add Samsung 90X3AVaidas Jablonskis1-0/+2
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-03-18build-sys: place build binaries in the rootKay Sievers1-118/+80
2012-03-12rules: Enable USB autosuspend on more USB HID devicesMatthew Garrett1-1/+1
Many servers will be connected to KVMs or include iLO support, and this is often presented as a set of USB input devices. Enabling autosuspend on these allows the USB hardware to be powered down, avoiding unnecessary wakeups and power consumption. The input devices will be self powered, so there's no risk of losing input events as there would be for real input devices. The same is true of USB input devices that are built into the system.
2012-03-07rules: move all rules to top level rules/ dirKay Sievers1-12/+12
2012-03-07rules: delete s390 rules, they will move to s390utilsKay Sievers1-3/+0
2012-03-07build-sys: remove empty directoryKay Sievers1-2/+1
2012-03-07remove edd_id extraKay Sievers1-11/+0
The use of identifying disks by magic byte sequences outside of the filesystem or partion table is fragile and usually creates more problems than it solves.
2012-03-07rules: move 42-qemu-usb.rules to rules/ dirKay Sievers1-5/+1
2012-03-07move src/extras subdirectories to src/Kay Sievers1-209/+209
2012-03-07remove udev-aclKay Sievers1-18/+0
Udev-acl will be part of a future ConsoleKit release. On systemd systems, advanced ConsoleKit and udev-acl functionality are natively provided by systemd.
2012-02-12build-sys: add --disable-manpagesKay Sievers1-0/+2
2012-02-12build-sys: unpack test sysfs only for 'make check'Kay Sievers1-3/+2
2012-02-06keymap: Add Fujitsu Siemens Amilo Li 2732Bruno Redondi1-0/+1
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-01-25build-sys: we need to install shipped man pages without xsltproc installedKay Sievers1-6/+6
2012-01-25Makefile: update kernel.org hooksKay Sievers1-4/+2
2012-01-24build-sys: enable everything for 'make distcheck'Kay Sievers1-0/+6
2012-01-22fix some fallout from tab removalKay Sievers1-1/+1
2012-01-21libudev: do not set DEVNAME= twiceKay Sievers1-1/+1
When we read the 'uevent' file we need to make sure, that we do not read the relative DEVNAME= path provided by the kernel and overwrite the absolute path udev expects here.
2012-01-18Makefile: switch from .asc to .signKay Sievers1-2/+2
2012-01-12Makefile: update kernel.org doc hooks for kupKay Sievers1-3/+6
2012-01-12gudev: several minor introspection fixesEvan Nemerson1-0/+2
- Include exported package information - Include C include information - g_udev_device_get_parent & g_udev_device_get_parent_with_subsystem transfer ownership of their return values Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-01-12rule_generator: use += for dist_udevhome_DATAKay Sievers1-1/+3
2012-01-12rule_generator: fix to install rules in rules.d/Kay Sievers1-1/+1
2012-01-12Makefile: update kernel.org sign and upload hookKay Sievers1-5/+5
2012-01-09build-sys: try to build without installed xsltprocKay Sievers1-1/+4
2012-01-06replace unpacked sysfs test tree 'test/sys/' with packed tarballKay Sievers1-15/+24
2012-01-06merge udev/, libudev/, systemd/ files in src/; move extras/ to src/Kay Sievers1-321/+323
2012-01-05build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udevKay Sievers1-28/+27
2011-12-27builtin: move usb-db, pci-db to builtinsKay Sievers1-20/+6
2011-12-25make: introduce --with-rootprefix=Kay Sievers1-4/+18
2011-12-25builtin: firmware - move 'firmware' tool to builtinsKay Sievers1-13/+12
2011-12-23builtin: kmod - link against libkmodKay Sievers1-1/+1
2011-12-23autogen.sh: moce CFLAGS from to configure.ac; print common ./configure optionsKay Sievers1-2/+5
2011-12-23remove last sbindir useKay Sievers1-1/+0
2011-12-23rules: do not preprocess 80-drivers.rules + 75-probe_mtd.rulesKay Sievers1-12/+2
2011-12-23rules: do not preprocess 60-persistent-storage.rulesKay Sievers1-5/+3
2011-12-23build argv[] for builtin commandsKay Sievers1-1/+2
2011-12-21prepare builtins for blkid and kmodKay Sievers1-4/+15
2011-12-21make: do not (mis-)use the config file generator, create .xz tarballKay Sievers1-24/+79
2011-12-05use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentationKay Sievers1-3/+5
2011-12-05rename 'init' directory to 'systemd'Kay Sievers1-7/+7
2011-11-22do not ship autogen.sh in the tarballKay Sievers1-1/+1
2011-11-07release 175175Kay Sievers1-1/+1
2011-11-04make: tweak some autofoo according to Flameeyes' recommendations for libabcKay Sievers1-0/+1
2011-10-20make: add gpg signing bitsKay Sievers1-1/+6
2011-10-10udevd: install into /lib/udev instead of /sbinKay Sievers1-2/+4
2011-10-06libudev: export udev_util_encode_string()Kay Sievers1-3/+3
2011-10-03keymap: add genius keymap to MakefileKay Sievers1-0/+1
2011-09-26libudev: fix typo in documentationKay Sievers1-1/+1
2011-08-16make: allow to pass ${ACLOCAL_FLAGS}Matthias Clasen1-1/+1
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers1-24/+8
2011-08-04libudev: list - use binary search for list lookupKay Sievers1-1/+1
2011-07-19configure: reorder optionsKay Sievers1-66/+65
2011-07-19configure: allow to disable mtd_probeAllin Cottrell1-11/+14
2011-07-14udev-acl: skip ACLs when systemd is running, disable by defaultKay Sievers1-1/+1
2011-07-12scsi_id: Ship READMEMartin Pitt1-0/+1
2011-07-12gudev: Ship JavaScript examplesMartin Pitt1-1/+4
2011-07-11make: fix 'make tar-sync'Kay Sievers1-1/+1
2011-07-11libudev: ctrl - move code to udev directoryKay Sievers1-2/+2
2011-07-06libudev: device - export udev_device_has_tag()Kay Sievers1-3/+3
2011-06-18libudev: enumerate - scan /sys/moduleKay Sievers1-1/+1
2011-06-18delete mobile-action-modeswitch which has moved to usb_modeswitchKay Sievers1-17/+0
2011-06-06accelerometer: add orientation propertyBastien Nocera1-0/+8
2011-06-03make: use 'git tag'Kay Sievers1-3/+6
2011-05-30Makefile: add tar-syncKay Sievers1-0/+3
2011-05-25systemd: split socket fileKay Sievers1-3/+7
2011-05-20libudev: export symbols explicitely and individually from C code not from ↵Kay Sievers1-7/+3
separate file or prefix match
2011-05-18build: use --gc-sections, -fvisibility=hiddenKay Sievers1-7/+20
After: # ls -l /sbin/udevadm /sbin/udevd /lib/udev/*_id -rwxr-xr-x 1 root root 22984 May 18 18:19 /lib/udev/ata_id -rwxr-xr-x 1 root root 31208 May 18 18:19 /lib/udev/cdrom_id -rwxr-xr-x 1 root root 27128 May 18 18:19 /lib/udev/input_id -rwxr-xr-x 1 root root 31272 May 18 18:19 /lib/udev/path_id -rwxr-xr-x 1 root root 31896 May 18 18:19 /lib/udev/scsi_id -rwxr-xr-x 1 root root 35456 May 18 18:19 /lib/udev/usb_id -rwxr-xr-x 1 root root 6416 May 18 18:19 /lib/udev/v4l_id -rwxr-xr-x 1 root root 130320 May 18 18:19 /sbin/udevadm -rwxr-xr-x 1 root root 134648 May 18 18:19 /sbin/udevd Before: # ls -l /sbin/udevadm /sbin/udevd /lib/udev/*_id -rwxr-xr-x 1 root root 27208 May 18 18:22 /lib/udev/ata_id -rwxr-xr-x 1 root root 35456 May 18 18:22 /lib/udev/cdrom_id -rwxr-xr-x 1 root root 39584 May 18 18:22 /lib/udev/input_id -rwxr-xr-x 1 root root 39600 May 18 18:22 /lib/udev/path_id -rwxr-xr-x 1 root root 36056 May 18 18:22 /lib/udev/scsi_id -rwxr-xr-x 1 root root 43712 May 18 18:22 /lib/udev/usb_id -rwxr-xr-x 1 root root 6504 May 18 18:22 /lib/udev/v4l_id -rwxr-xr-x 1 root root 142656 May 18 18:22 /sbin/udevadm -rwxr-xr-x 1 root root 142888 May 18 18:22 /sbin/udevd
2011-05-16libudev: queue - always rebuild queue file when nothing is queued anymoreKay Sievers1-1/+1
2011-05-10configure: reintroduce introspection flags to fix crosscompilationKoen Kooi1-0/+2
2011-04-29delete hid2hci which moved to the bluez treeKay Sievers1-11/+0
2011-04-29configure: allow to enable/disable extras individuallyKay Sievers1-110/+110
- remove gobject introspection switch - disable hid2hci by default (moved to bluez) - disable action-modeswitch by default (will move to usb_modeswitch) - disable edd_id by default (problems with disk signatures) - disable legacy floppy by default (no more nasty device node hacks by default)
2011-04-27hid2hci: prepare move to bluez packageKay Sievers1-3/+3
2011-04-24libudev: list - use bit flags for 'sort' and 'unique'Kay Sievers1-1/+1
2011-04-13libudev: bump revisionKay Sievers1-1/+1
2011-04-05keymap: Support Dell Latitude XT2 tablet-mode navigation keysSeth Forshee1-0/+1
The XT2 has a rocker (up/down/enter) and back button on the side in tablet mode, none of which work currently. Add entries for these keys. There is some overlap here with scan codes used in other Dell models, so these buttons are put in a new file specific to this model. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-31Revert "Do not build extras with --disable-extras"Martin Pitt1-3/+0
This reverts commit 905818f5961446ac32d1b2d165185fffddc4915a. We do want to build some extras, just not the ones with extra dependencies. Thanks to Juergen Daubert for pointing this out.
2011-03-29systemd: do not enable udev-settle.service by defaultKay Sievers1-1/+0
This barrier service is usually not enabled by default. If enabled, it acts as a barrier for basic.target -- so all later services will wait for udev completely finishing its coldplug run. It might be enabled just unconditionally, or pulled-in on-demand by broken or non-hotplug-aware services that assume a fully populated /dev at startup.
2011-03-23systemd: use sockets.target not socket.targetKay Sievers1-2/+2
2011-03-23systemd: bind udev control socket in systemd and split udev.serviceKay Sievers1-1/+7
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
2011-03-19systemd: remove deprecated udev-retry.serviceKay Sievers1-2/+1
2011-03-19fstab_import: disable buildKay Sievers1-8/+0
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers1-1/+1
startup
2011-03-05libudev: bump minor versionKay Sievers1-2/+2
2011-02-15v4l_id: Drop videodev.h check againMartin Pitt1-2/+0
It only uses v4l2 now.
2011-02-15Do not build extras with --disable-extrasMartin Pitt1-0/+3
2011-02-15Only build v4l_id if V4L1 header file is availableMartin Pitt1-0/+2
2011-02-09keymap: Add Acer Aspire 8930Jürgen Kaiser1-0/+1
http://bugs.debian.org/612512 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-01-25make: fix qemu rules file nameKay Sievers1-1/+1
2011-01-25extras: add rules for qemu guestsGerd Hoffmann1-0/+5
These patches enable usb autosuspend for the qemu emulated HID devices. This reduces the cpu load for idle guests with a hid device attached because the linux kernel will suspend the usb bus then and qemu can stop running a 1000 Hz to emulate the (active) UHCI controller. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2010-12-26man: generate html pages for www.kernel.orgKay Sievers1-1/+10
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/
2010-12-15gudev: bump minor versionKay Sievers1-3/+3
2010-12-14Add GUdevEnumerator type and Device.get_tags() methodDavid Zeuthen1-2/+7
Also add JS example to check the added API works. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers1-3/+3
2010-12-10udevd: use dev_t or netif ifindex as database keyKay Sievers1-1/+1
We need to preserve the database of network interfaces while we rename them. Use the kernel's numbers wherever possible, instead of the device names. Fix wrong database filenames which contain a '/', translated from '!' in the kernel name. Fix segfault for kobject pathes where the subsystem can not be determined from sysfs.
2010-12-08keymap: Fix struck Touchpad key on Dell Latitude E seriesMartin Pitt1-0/+1
https://launchpad.net/bugs/686662
2010-11-06keymap: Add force release for HP touchpad offBastien Nocera1-0/+1
Force the touchpad off/on keys getting released, as they usually only send a "repeat". https://bugzilla.redhat.com/show_bug.cgi?id=623239 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-10-25keymap: Add Sony Vaio VGN71Martin Pitt1-0/+1
https://launchpad.net/bugs/625770
2010-10-22libudev: return kernel provided devnode when asked before we handled any rulesKay Sievers1-1/+1
2010-10-13udevd: do not wrongly delay events for devices with swapped namesKay Sievers1-1/+1
Renaming network devices might delay events for the other device, which has the same devpath in the meantime as the original event. Causing a delay until the timout of the event is reached. Look at the ifindex/devnum of the devices to check if they are really the same devices.
2010-10-11Install libgudev-1.0.so in prefix / instead of prefix /usrDavid Zeuthen1-0/+16
This is to match where libudev.so is installed and it works because all dependent libraries are already installed in / instead of /usr on most distros: $ ldd /usr/lib64/libgudev-1.0.so linux-vdso.so.1 => (0x00007fff44dff000) libudev.so.0 => /lib64/libudev.so.0 (0x0000003bf2600000) libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003fb5200000) libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003fb4e00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d5b000000) librt.so.1 => /lib64/librt.so.1 (0x0000003d5b800000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003fb4a00000) libc.so.6 => /lib64/libc.so.6 (0x0000003d5ac00000) /lib64/ld-linux-x86-64.so.2 (0x0000003d5a800000) With this change it is possible to write libgudev applications that can be installed in /bin or /sbin and can run without /usr being mounted. This is needed for e.g. udisks, NetworkManager and other subsystem-specific daemons. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-10-07udevd: add sd-daemon.cKay Sievers1-1/+3
2010-09-29systemd: hook into basic.target instead of sysinit.targetKay Sievers1-4/+4
2010-09-21Add automatic rules syntax checkMartin Pitt1-1/+2
Add test/rule-syntax-check.py, a script for checking the syntax of all udev rules files passed as command line arguments. Add a wrapper test/rules-test.sh which calls rule-syntax-check.py on all udev rules that we ship, but does nothing if Python is not available. Integrate this into make check/distcheck.
2010-09-03systemd: enable all udev services unconditionallyKay Sievers1-4/+21
2010-08-22keymap: Add Onkyo PCMartin Pitt1-0/+1
Thanks to Pau Oliva! https://launchpad.net/bugs/612529
2010-08-12Add keymap for Lenovo IdeaPad S10-3David Woodhouse1-0/+1
Tested on S10-3, but presumably applicable to all IdeaPads. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-11do not rename the database on device renameKay Sievers1-1/+1
Harald Hoyer discovered some incorrect behavior while debugging problems with network interface renaming: Udev events might be queued for devices which are renamed. A new device registered the same time may claime the old name and create a database entry for it. The current rename logic would move over this databse entry to the wrong device.
2010-07-19libudev: bump minor so version after adding symbolsKay Sievers1-3/+3
2010-07-05keymap: Add Logitech Cordless Wave ProMartin Pitt1-0/+1
https://launchpad.net/bugs/592371
2010-07-02keymap: Add support for IBM-branded USB devicesMatthew Garrett1-0/+1
These seem to use a different layout to the Lenovo-branded devices Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-06-29gudev: respect possibly given LD_LIBRARY_PATHMichael Meeks1-1/+1
michael@linux-iwk5:/opt/hgnome/src/udev> make V=1 make --no-print-directory all-recursive Making all in . PKG_CONFIG_PATH=./data:$PKG_CONFIG_PATH \ LD_LIBRARY_PATH=./extras/gudev \ /opt/hgnome/bin/g-ir-scanner -v \ --namespace GUdev \ .. ./extras/gudev/gudevdevice.c /opt/hgnome/bin/python: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory make[2]: *** [extras/gudev/GUdev-1.0.gir] Error 127
2010-06-25make: fix 'make distcheck'Kay Sievers1-1/+2
udev-159.tar.gz
2010-06-25make: pre-process and install systemd service files when neededKay Sievers1-0/+7
2010-06-24rules: remove unused subdirKay Sievers1-2/+1
2010-06-23mtd_probe: add autodetection for xD cardsMaxim Levitsky1-0/+15
commit 2599cabd36770785a13bf884049d649d385fd80c Author: Maxim Levitsky <maximlevitsky@gmail.com> Date: Fri Jun 18 02:08:48 2010 +0300 Add autodetection for xD/smartmedia cards This can easily be extended for other types of FTL Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
2010-06-13Revert "add Vala vapi for gudev-1.0"Martin Pitt1-7/+1
Argh, recent vala already ships with a gudev vapi. This reverts commit 6a7b5ec7712ea53fd756b07036e23ac0d751cec4.
2010-06-13add Vala vapi for gudev-1.0Martin Pitt1-1/+7
Add gudev-1.0.vapi. This is based on the output of vapigen --library gudev-1.0 GUdev-1.0.gir with fixes to array/list semantics and include file names.
2010-06-05libudev: fix fd leak in udev_enumerate_scan_devices() when tags are searchedKay Sievers1-1/+1
Thanks to Lennart for finding this.
2010-05-30make: fix rules/ subdir namesKay Sievers1-2/+2
2010-05-30make: mkdir /lib/udev/devices/Kay Sievers1-0/+1
2010-05-28rules: delete pilot rules and remove redhat directoryKay Sievers1-1/+0
2010-05-25Makefile.am: silent build mkdirKay Sievers1-1/+1
2010-05-25libudev: fix udev_queue_get_seqnum_sequence_is_finished() with empty queue fileKay Sievers1-1/+1
We an empty or garbage-collected queue file, we might not have a record for the first sequence we wait for, and therefore must not wait for it.
2010-05-24man: directly use 'refentry'Kay Sievers1-1/+1
And make Lennart happy! :)
2010-05-14libudev: add O_CLOEXECKay Sievers1-1/+1
2010-04-27Makefile.am: add LGPL COPYING file to EXTRA_DISTHarald Hoyer1-1/+2
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-22add TAG= to improve event filtering and device enumerationKay Sievers1-2/+2
2010-04-20configure.ac: ddd --with-firmware-path optionYury G. Kudryashov1-0/+1
In NixOS we need to use non-standard firmware path: we have no /lib.
2010-04-19keymap: Unite laptop models needing common volume-key release quirkKamal Mostafa1-2/+1
Many laptop models need the same volume-key release quirk. Currently, two models have identical force-release-maps/ keymap files (dell-studio-1557 and fujitsu-amilo-si1848) and two more need to be added (Mitac and Coolbox QBook). This replaces the identical force-release-maps files with one 'common-volume-keys' file to make adding new models easier. There is no obvious DMI commonality between the models needing the quirk (i.e. they do not all share the same BIOS), so it will remain necessary to scan for each model separately in 95-keyboard-force-release.rules. https://launchpad.net/bugs/565459 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-18modeswitch: morph into tool that only switches Mobile Action cablesDan Williams1-15/+12
Remove option modeswitching code; use usb_modeswitch already, people.
2010-03-10input_id: Fix linkingMartin Pitt1-1/+1
Link against libudev-private.a instead of libudev.a, to avoid runtime dependency to libudev.
2010-03-02keymap: Add Fujitsu Amilo 1848+u force-release quirkAndy Whitcroft1-0/+1
The Fujitsu Amilo Si 1848+u laptop requires the volume and mute keys quirking. https://launchpad.net/bugs/530089 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-18libudev: bump minor versionKay Sievers1-3/+3
2010-02-15keymap: Add Toshiba Satellite M30XMartin Pitt1-0/+1
Thanks to Alessio Gaeta! https://launchpad.net/bugs/510019
2010-02-13Force key release for volume keys on Dell Studio 1557Jerone Young1-1/+2
Dell Studio 1557 does not generate a release code when the volume keys are pressed, causing them to generate infinite key presses. This forces key release of these keys. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-12keymap: Fix LG X110Martin Pitt1-0/+1
The LG X110 is not a perfect clone of the MSI Wind after all, and needs its own keymap. Thanks to Konstantin Lavrov! https://launchpad.net/bugs/520650
2010-01-25delete outdated and unmaintained writing_udev_rulesKay Sievers1-5/+1
Many statements in this document are no longer correct, or even suggest things we do not want to support, or do not work at all with the current version of udev. Any new documentation should better be added to the udev man page, which is usually kept up-to-date.
2010-01-25keymap: linux/input.h - get absolute include path from gccKay Sievers1-1/+1
2010-01-21keymap: move force-release directoryMartin Pitt1-1/+1
Move extras/keymap/keymaps/force-release/ to extras/keymap/force-release-maps/, so that check-keymaps.sh does not stumble over the directory. It's also a more logical source layout.
2010-01-13libudev: device - create db file atomicallyKay Sievers1-1/+1
We need to prevent that libudev parses half-written database files. Also for "change" events, we need to make sure, that database files always exist to be read by libudev, and that they are not first deleted before they are re-created.
2010-01-07build: keymap - create subdirMarco d'Itri1-0/+1
2010-01-03keymap: Lenovo Thinkpad USB Keyboard with TracepointJerone Young1-0/+1
Add support for special function keys on Lenovo Thinkpad USB Keyboard Tracepoint. - VoIP hotkey "FN+F6" is mapped to camera, and may need to change if there is a standard VoIP hotkey defined. - Mute Microphone key has not been defined, as there is no standard key defined for it yet. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27keymap: Add OLPC XO key mappingsDaniel Drake1-0/+1
This supports both XO-1 and XO-1.5. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-25remove UDEV_RUN environment variableKay Sievers1-3/+3
It handles only RUN but not IMPORT and PROGRAM. There is no sane way to suppress program execution. Most important programs run with IMPORT these days. Also events can no longer suppressed with the libudev netlink messages, so UDEV_RUN does nothing useful and is just inconsistent.
2009-12-15firmware: convert shell script to CPiter PUNK1-8/+10
2009-12-15remove remaining support for CONFIG_SYSFS_DEPRECATEDKay Sievers1-1/+1
2009-12-15floppy: fix rule to create additional floppy device nodesKay Sievers1-0/+1
2009-12-14keymap: handle atkbd force_release quirkJohannes Stezenbach1-0/+6
Some laptop keyboards don't generate release events for some hotkeys. Since linux-2.6.32 the list of scancodes for which to enable the force_release quirk can be set via sysfs. Apply this to Samsung N130. Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-03fix both in-tree and out-of-tree buildsKay Sievers1-2/+2
On Thu, Dec 3, 2009 at 14:31, Daniel Elstner <daniel.kitta@googlemail.com> wrote: > However, I'd recommend to look first in the build directory, and then in > the source directory to match the behavior of make with VPATH builds. > The idea is that a file in the build tree, if it exists, overrides a > file of the same name in the source tree.
2009-12-03really really fix both in-tree and out-of-tree buildsKay Sievers1-1/+2
The include is still missing: GEN extras/gudev/GUdev-1.0.gir In file included from <stdin>:4: /home/kay/work/src/udev/extras/gudev/gudev.h:26:34: error: gudev/gudevenumtypes.h: No such file or directory Also prepend $(builddir).
2009-12-03really fix both in-tree and out-of-tree buildsDaniel Elstner1-1/+1
Makefile.am (extras/gudev/GUdev-1.0.gir): Look for gudevenumtypes.h in both the build directory and the source directory, so that it works in either case.
2009-12-02Revert "Fix out-of-tree builds"Kay Sievers1-1/+1
This reverts commit 326e15a8ed97a22f2fe52d203896763d75f93c2c. The issue in: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=7fa9bb9dbf538bf3c8a25a6699f65a8ac9cc8bbf still exists. We need to find a reliable way not to break "make distcheck" here.
2009-12-02input_id: code cleanupMartin Pitt1-1/+2
Now use libudev to clean up hardcoded /sys/ and /device/ paths, and to also support direct input device arguments. Now both "input4" and "event4" will work.
2009-12-02Fix out-of-tree buildsScott James Remnant1-1/+1
gudevenumtypes.h won't be under $(top_srcdir) when built out-of-tree from GIT. Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-11-30extras: Add input_idMartin Pitt1-0/+6
input_id probes input/event devices for their class (keyboard, keys, mouse, touchpad, tablet, joystick). This is based on the corresponding hal code in hald/linux/device.c, input_test_{abs,rel,...}. This should provide enough functionality to get hal-less X.org working (which in particular needs to know exactly which devices are touchpads). Replace the brittle hacks in 60-persistent-input.rules with checking for the new ID_INPUT_* flags. This keeps the old ID_CLASS properties for now (but they are to be removed later on). Note: The current code has several hacks still, which are to be replaced with proper libudev calls later on.
2009-11-10Revert "gudev: fix out-of-tree build"Kay Sievers1-2/+1
This reverts commit b15b08913800c4a2fad6530becca55b896f66984. This breaks "make distcheck". The header is distributed in the tarball, and does not live in builddir.
2009-11-10gudev: fix out-of-tree buildMarco d'Itri1-1/+2
2009-11-10gudev: fix pkg-config call to work with "make distcheck"Kay Sievers1-4/+2
2009-11-08gudev: Fix up GUdevDeviceNumberDavid Zeuthen1-1/+1
Actually dev_t is an unsigned quad type (e.g. 64-bit even on 32-bit x86) so defining it to be an integer is wrong and not future proof. Thus, redefine it to actually be a dev_t (as originally wanted) and instead add a work-around for GNOME bug #584517, see https://bugzilla.gnome.org/show_bug.cgi?id=584517 for details. This way, GObject Introspection will still work. This change is technically an API/ABI break but - all released GUdev versions requires the user to understand that the API/ABI is unstable by requiring the G_UDEV_API_IS_SUBJECT_TO_CHANGE symbols to be defined - functions using GUdevDeviceNumber are rarely used so we don't bump the so number. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-10-30use CLOEXEC flags instead of fcntl()Kay Sievers1-1/+1
2009-10-30Makefile.am: fix build with mawkMartin Pitt1-1/+1
Don't use the [[:space:]] syntax in awk calls' regex, since that's GNU awk specific. Thanks to Alan Jenkins for finding this.
2009-10-29gudev: remove G_UDEV_API_IS_SUBJECT_TO_CHANGE since API is now stableDavid Zeuthen1-1/+0
Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-10-15keymap: Add Logitech Wave cordlessMartin Pitt1-0/+1
https://launchpad.net/bugs/215035
2009-10-08keymap: add missing map fileMartin Pitt1-0/+1
This fixes commit a05cd7ea3e582c9bf9680492e73687ea56cdd864
2009-10-08keymap: Add Logitech Wave USBMartin Pitt1-0/+1
This introduces a new rules section for USB keyboards, too. https://launchpad.net/bugs/215035
2009-09-27udev-acl: catch up with ConsoleKit 0.4.1William Jon McCann1-2/+2
2009-09-24gudev: gir-scanner workaround for out of tree buildsMarco d'Itri1-0/+1
Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=562885
2009-09-14scsi_id: delete copy of bsg.hKay Sievers1-2/+1
It's provided by the kernel since 2.6.23.
2009-09-09extras/keymap: Rename KEY_COFFEE to KEY_SCREENLOCKMartin Pitt1-1/+1
Unfortunately KEY_COFFEE is the canonical name in linux/input.h, and the more sensible KEY_SCREENLOCK is an alias. Manually override this particular case, since it's better to have "screenlock" in keymaps. However, we still keep the automatic filtering for the general case, to avoid introducing this problem again when input.h changes.
2009-09-09extras/keymap: fix hash table collisionsMartin Pitt1-1/+1
More than one key name was mapped to the same key, due to linux/input.h defining some aliases (in particular, KEY_HANGUEL, KEY_SCREENLOCK, KEY_MIN_INTERESTING). These caused hash table collisions. Changed the generation of the tables to ignore these aliases, and updated all keymaps to use the canonical name. This was detected by llvm-clang-analyzer. Thanks to Lennart Poettering for doing these checks and pointing this out! https://launchpad.net/bugs/426647
2009-09-01pci-db: make sure we actually read the pci.ids file instead of usb.idsLennart Poettering1-1/+1
Since the recent Makefile.am rework both usb-db and pci-db were built to read the usb.ids database file. This fix makes sure pci-db properly reads pci.ids instead. Originally pointed out by Marco d'Itri.
2009-08-24extras/keymap: Add Acer Aspire 6920Martin Pitt1-0/+1
https://launchpad.net/bugs/407940
2009-08-16make: add commentKay Sievers1-2/+2
2009-08-14make: sort Makefile.am per target/extraKay Sievers1-331/+374
2009-08-14make: fix issues from non-recursive conversionKay Sievers1-7/+11
2009-08-08Fix “make distcheck” run outside of the source directory.Diego Elio 'Flameeyes' Pettenò1-1/+1
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-07Use the keymap check during “make distcheck” rather than “check”.Diego Elio 'Flameeyes' Pettenò1-4/+6
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ò1-2/+14
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ò1-1/+1
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ò1-0/+2
2009-08-07Include the correct directory for out-of-source builds.Diego Elio 'Flameeyes' Pettenò1-0/+1
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 building of introspection library on top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò1-0/+1
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ò1-6/+6
2009-08-07Make sure to use dependency/target variables.Diego Elio 'Flameeyes' Pettenò1-2/+2
2009-08-07Make sure to clean up all the built sources.Diego Elio 'Flameeyes' Pettenò1-3/+3
2009-08-07Finally, also merge gudev into the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò1-4/+110
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ò1-26/+26
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ò1-4/+4
2009-08-07Merge keymap building in the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò1-4/+89
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ò1-3/+7
2009-08-07Also merge into the top-level Makefile.am the simpler extras.Diego Elio 'Flameeyes' Pettenò1-7/+49
2009-08-07Replace the custom test-run target with the standard make check.Diego Elio 'Flameeyes' Pettenò1-3/+3
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ò1-7/+239
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-06make: suppress enter/leaving directory messagesKay Sievers1-0/+2
2009-06-19docs: install writing_udev_rulesKay Sievers1-4/+3
2009-06-16gudev: move from udev-extrasDavid Zeuthen1-0/+1
GObject libudev access. Initial version from Bastien Nocera, current version by David Zeuthen.
2009-06-16udev-acl: move from udev-extrasKay Sievers1-1/+3
The build of extras with larger external dependencies is wrapped in: --enable-extras