summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-26udevd: always try to find an idle worker instead of forking a new oneKay Sievers
We special-handle events with a TIMEOUT= set, so they don't get queued or wait for parent events to finish, to make sure we can handle them as fast as possible. With this change we first try to find an idle worker process before forking a new one.
2010-04-26keymap: Fix Bluetooth key on Acer TravelMate 4720Martin Pitt
https://launchpad.net/bugs/569815
2010-04-24configure.ac: move firmware-path setting out of extras sectionRobby Workman
2010-04-23export udev_device_get_tags_list_entry()Kay Sievers
2010-04-23export tag functionsKay Sievers
2010-04-23libudev: accept NULL in udev_device_get_tags_list_entry()Kay Sievers
2010-04-23delete old tags when configuration changesKay Sievers
2010-04-22use the usual TAG+=, TAG= logicKay Sievers
2010-04-22fix logic on-demand loading logic for db and ueventKay Sievers
2010-04-22udev-acl: use a tag instead of a property to mark devicesKay Sievers
2010-04-22all to match against a given TAG==Kay Sievers
2010-04-22add TAG= to improve event filtering and device enumerationKay Sievers
2010-04-22udevadm: info --export-db -- remove watch handle exportKay Sievers
2010-04-21Fix volume keys not releasing for Pegatron platformJerone Young
Pegatron has a new platform coming out being sold by many small manufacturers. This platform has volume keys that are not sending a key release. This patch ensures those keys send release. Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-21fix previous commitKay Sievers
2010-04-21remove left-over from ignore_remove and all_partitionsKay Sievers
2010-04-21more readlink buffer size handlingKay Sievers
2010-04-21remove buffer-overrun risk in readlink callMathias Nyman
readlink does not write a nul character to the end of the string it returns. Therefore ask for one fewer character than the buffer size so there's always room for an extra \0. Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com> Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-21configure.ac: version bumpKay Sievers
2010-04-21release 153Kay Sievers
2010-04-21configure.ac: fix broken firmware search path in configure.acRobby Workman
Correct a silly typo: s/fimware/firmware/
2010-04-20configure.ac: version bumpKay Sievers
2010-04-20release 152Kay Sievers
2010-04-20doc: add section about how *not* to rename device nodesKay Sievers
Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.
2010-04-20configure.ac: ddd --with-firmware-path optionYury G. Kudryashov
In NixOS we need to use non-standard firmware path: we have no /lib.
2010-04-20hid2hci: include linux/types.h for __u32Yury G. Kudryashov
2010-04-19delete only device nodes, not symlinks when deleting a devtmpfs nodeKay Sievers
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550152
2010-04-19add O_NOFOLLOW when creating files in link stackKay Sievers
2010-04-19Revert "Fix switching Logitech bluetooth adapters into hci mode."Kay Sievers
This reverts commit 2b463cb050cbf77d9c6b51e0f5a9d89bf7eb1bc3.
2010-04-19doc: document the WAIT_FOR timeoutMarco d'Itri
2010-04-19keymap: Add force-release quirk for Mitac 8050QDAKamal Mostafa
https://launchpad.net/bugs/374884 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-19keymap: Add force-release quirk for Coolbox QBook 270-02Kamal Mostafa
https://launchpad.net/bugs/420473 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-19keymap: Unite laptop models needing common volume-key release quirkKamal Mostafa
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-04-17cdrom_id: set ID_CDROM_MEDIA=1 only for known mediaKay Sievers
On Sat, Apr 17, 2010 at 18:26, Mike Brudevold <mike@brudevold.com> wrote: > My CD-RW drive experiences a problem in that it automatically closes > after opening if there is media in the drive. This only happens if > there was media in the drive when it was last closed (an empty drive > stays open). ... > cd_profiles: current profile 0x02 > cd_profiles: profile 0x02 <ignored> ... Do not pretend to have a media, when we receive a profile like 0x02, which just means "Removable disk". Thanks to Mike Brudevold for the initial patch.
2010-04-16cdrom_id: add missing profiles to feature_profilesMike Brudevold
Signed-off-by: Mike Brudevold <mike@brudevold.com>
2010-04-15configure.ac - fix typo in --with-pci-ids-path optionYury G. Kudryashov
2010-04-15cdrom_id: Swap media state and TOC info probingMartin Pitt
Blank CDs do not have a TOC, thus will fail cd_media_toc() (at least with the "Do not ignore errors from scsi_cmd_run()" fix). Thus probe the media state first, so that we can properly detect blank media.
2010-04-15cdrom_id: Do not ignore errors from scsi_cmd_run()Martin Pitt
scsi_cmd_run() can return positive error messages if we have CHECK_CONDITION set and get the error code from the SCSI command result. So check the result for non-zero, not for being negative. This should fix another cause for "phantom" media in empty CD-ROM drives. Thanks to Mike Brudevold <mike@brudevold.com> for spotting this! https://launchpad.net/bugs/562978
2010-04-15cdrom_id: debug - print feature values in hexKay Sievers
2010-04-15cdrom_id: debug - print feature values in hexKay Sievers
2010-04-15cdrom_id: print more debug messagesKay Sievers
2010-04-15cdrom_id: rework feature/profiles buffer parsingKay Sievers
2010-04-14update NEWSKay Sievers
2010-04-13cdrom_id: Fix uninitialized buffersMartin Pitt
Commit 5c6954f is actually a no-op, since static variables are already zero'ed by default anyway (but we keep it for clarity). The real difference was that a build with -O0 wor while a build with -O2 didn't. Turns out that some ioctls do not actually touch the result buffer in some cases, so we need to zero the result buffers to avoid interpreting random da as CD properties. https://launchpad.net/bugs/559723 https://launchpad.net/bugs/561585
2010-04-13remove "ignore_remove" optionKay Sievers
2010-04-13rules: call modprobe on all events but "remove"Kay Sievers
2010-04-13cdrom_id: Fix uninitialized variablesMartin Pitt
In cases where cdrom_id does not go through the entire code path and one of the probing functions returns -1 or exits early, the remaining variables were never initialized. This caused effects like "phantom" audio CDs on empty drives, or bogus data like ID_CDROM_MEDIA_TRACK_COUNT=22528. Initialize the variables right away to avoid that. Bug-Ubuntu: https://launchpad.net/bugs/559723
2010-04-13remove "all_partitions" optionKay Sievers
We can not predict the major/minor of non-existing devices: $ grep . /sys/class/block/sd*/dev /sys/class/block/sda1/dev:259:524288 /sys/class/block/sda2/dev:259:262144 /sys/class/block/sda3/dev:259:786432 /sys/class/block/sda4/dev:259:131072 /sys/class/block/sda/dev:259:0 /sys/class/block/sdb/dev:259:655360 /sys/class/block/sdc/dev:259:393216 If this functionality is still needed for some broken hardware, it needs to be solved with a tool not part of the udev package. Because such option is unreliable and unsafe to use.
2010-04-12udevadm: trigger - switch default action from "add" to "change"Kay Sievers
2010-04-12log info only if we actually delete the nodeKay Sievers