]> err.no Git - systemd/log
systemd
14 years agoadd TAG= to improve event filtering and device enumeration
Kay Sievers [Thu, 22 Apr 2010 16:12:36 +0000 (18:12 +0200)]
add TAG= to improve event filtering and device enumeration

14 years agoudevadm: info --export-db -- remove watch handle export
Kay Sievers [Thu, 22 Apr 2010 04:23:16 +0000 (06:23 +0200)]
udevadm: info --export-db -- remove watch handle export

14 years agoFix volume keys not releasing for Pegatron platform
Jerone Young [Wed, 21 Apr 2010 17:19:37 +0000 (12:19 -0500)]
Fix volume keys not releasing for Pegatron platform

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>
14 years agofix previous commit
Kay Sievers [Wed, 21 Apr 2010 13:43:05 +0000 (15:43 +0200)]
fix previous commit

14 years agoremove left-over from ignore_remove and all_partitions
Kay Sievers [Wed, 21 Apr 2010 13:11:57 +0000 (15:11 +0200)]
remove left-over from ignore_remove and all_partitions

14 years agomore readlink buffer size handling
Kay Sievers [Wed, 21 Apr 2010 12:44:33 +0000 (14:44 +0200)]
more readlink buffer size handling

14 years agoremove buffer-overrun risk in readlink call
Mathias Nyman [Wed, 21 Apr 2010 10:52:52 +0000 (13:52 +0300)]
remove buffer-overrun risk in readlink call

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>
14 years agoconfigure.ac: version bump
Kay Sievers [Wed, 21 Apr 2010 06:50:59 +0000 (08:50 +0200)]
configure.ac: version bump

14 years agorelease 153
Kay Sievers [Wed, 21 Apr 2010 06:31:55 +0000 (08:31 +0200)]
release 153

14 years agoconfigure.ac: fix broken firmware search path in configure.ac
Robby Workman [Wed, 21 Apr 2010 09:07:21 +0000 (04:07 -0500)]
configure.ac: fix broken firmware search path in configure.ac

Correct a silly typo: s/fimware/firmware/

14 years agoconfigure.ac: version bump
Kay Sievers [Tue, 20 Apr 2010 07:39:24 +0000 (09:39 +0200)]
configure.ac: version bump

14 years agorelease 152
Kay Sievers [Tue, 20 Apr 2010 05:32:40 +0000 (07:32 +0200)]
release 152

14 years agodoc: add section about how *not* to rename device nodes
Kay Sievers [Tue, 20 Apr 2010 05:29:51 +0000 (07:29 +0200)]
doc: add section about how *not* to rename device nodes

Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.

14 years agoconfigure.ac: ddd --with-firmware-path option
Yury G. Kudryashov [Fri, 16 Apr 2010 05:38:32 +0000 (09:38 +0400)]
configure.ac: ddd --with-firmware-path option

In NixOS we need to use non-standard firmware path: we have no /lib.

14 years agohid2hci: include linux/types.h for __u32
Yury G. Kudryashov [Thu, 15 Apr 2010 20:21:02 +0000 (00:21 +0400)]
hid2hci: include linux/types.h for __u32

14 years agodelete only device nodes, not symlinks when deleting a devtmpfs node
Kay Sievers [Mon, 19 Apr 2010 16:57:28 +0000 (18:57 +0200)]
delete only device nodes, not symlinks when deleting a devtmpfs node

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550152

14 years agoadd O_NOFOLLOW when creating files in link stack
Kay Sievers [Mon, 19 Apr 2010 16:55:10 +0000 (18:55 +0200)]
add O_NOFOLLOW when creating files in link stack

14 years agoRevert "Fix switching Logitech bluetooth adapters into hci mode."
Kay Sievers [Mon, 19 Apr 2010 13:10:34 +0000 (15:10 +0200)]
Revert "Fix switching Logitech bluetooth adapters into hci mode."

This reverts commit 2b463cb050cbf77d9c6b51e0f5a9d89bf7eb1bc3.

14 years agodoc: document the WAIT_FOR timeout
Marco d'Itri [Mon, 19 Apr 2010 10:46:07 +0000 (12:46 +0200)]
doc: document the WAIT_FOR timeout

14 years agokeymap: Add force-release quirk for Mitac 8050QDA
Kamal Mostafa [Mon, 19 Apr 2010 06:56:45 +0000 (08:56 +0200)]
keymap: Add force-release quirk for Mitac 8050QDA

https://launchpad.net/bugs/374884

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agokeymap: Add force-release quirk for Coolbox QBook 270-02
Kamal Mostafa [Mon, 19 Apr 2010 06:54:04 +0000 (08:54 +0200)]
keymap: Add force-release quirk for Coolbox QBook 270-02

https://launchpad.net/bugs/420473

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agokeymap: Unite laptop models needing common volume-key release quirk
Kamal Mostafa [Mon, 19 Apr 2010 06:48:34 +0000 (08:48 +0200)]
keymap: Unite laptop models needing common volume-key release quirk

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>
14 years agocdrom_id: set ID_CDROM_MEDIA=1 only for known media
Kay Sievers [Sat, 17 Apr 2010 17:31:44 +0000 (19:31 +0200)]
cdrom_id: set ID_CDROM_MEDIA=1 only for known media

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.

14 years agocdrom_id: add missing profiles to feature_profiles
Mike Brudevold [Fri, 16 Apr 2010 00:55:50 +0000 (19:55 -0500)]
cdrom_id: add missing profiles to feature_profiles

Signed-off-by: Mike Brudevold <mike@brudevold.com>
14 years agoconfigure.ac - fix typo in --with-pci-ids-path option
Yury G. Kudryashov [Thu, 15 Apr 2010 19:35:51 +0000 (21:35 +0200)]
configure.ac - fix typo in --with-pci-ids-path option

14 years agocdrom_id: Swap media state and TOC info probing
Martin Pitt [Thu, 15 Apr 2010 19:25:57 +0000 (21:25 +0200)]
cdrom_id: Swap media state and TOC info probing

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.

14 years agocdrom_id: Do not ignore errors from scsi_cmd_run()
Martin Pitt [Thu, 15 Apr 2010 06:56:48 +0000 (08:56 +0200)]
cdrom_id: Do not ignore errors from scsi_cmd_run()

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

14 years agocdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)]
cdrom_id: debug - print feature values in hex

14 years agocdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:18:21 +0000 (21:18 +0200)]
cdrom_id: debug - print feature values in hex

14 years agocdrom_id: print more debug messages
Kay Sievers [Thu, 15 Apr 2010 18:48:04 +0000 (20:48 +0200)]
cdrom_id: print more debug messages

14 years agocdrom_id: rework feature/profiles buffer parsing
Kay Sievers [Thu, 15 Apr 2010 18:07:07 +0000 (20:07 +0200)]
cdrom_id: rework feature/profiles buffer parsing

14 years agoupdate NEWS
Kay Sievers [Wed, 14 Apr 2010 15:00:57 +0000 (17:00 +0200)]
update NEWS

14 years agocdrom_id: Fix uninitialized buffers
Martin Pitt [Tue, 13 Apr 2010 13:25:48 +0000 (15:25 +0200)]
cdrom_id: Fix uninitialized buffers

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

14 years agoremove "ignore_remove" option
Kay Sievers [Tue, 13 Apr 2010 10:45:38 +0000 (12:45 +0200)]
remove "ignore_remove" option

14 years agorules: call modprobe on all events but "remove"
Kay Sievers [Tue, 13 Apr 2010 10:12:08 +0000 (12:12 +0200)]
rules: call modprobe on all events but "remove"

14 years agocdrom_id: Fix uninitialized variables
Martin Pitt [Tue, 13 Apr 2010 08:49:24 +0000 (10:49 +0200)]
cdrom_id: Fix uninitialized variables

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

14 years agoremove "all_partitions" option
Kay Sievers [Tue, 13 Apr 2010 06:52:48 +0000 (08:52 +0200)]
remove "all_partitions" option

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.

14 years agoudevadm: trigger - switch default action from "add" to "change"
Kay Sievers [Mon, 12 Apr 2010 15:56:32 +0000 (17:56 +0200)]
udevadm: trigger - switch default action from "add" to "change"

14 years agolog info only if we actually delete the node
Kay Sievers [Mon, 12 Apr 2010 15:13:37 +0000 (17:13 +0200)]
log info only if we actually delete the node

14 years agoupdate NEWS
Kay Sievers [Mon, 12 Apr 2010 15:00:16 +0000 (17:00 +0200)]
update NEWS

14 years agoreplace "add|change" with "!remove"
Kay Sievers [Mon, 12 Apr 2010 14:52:41 +0000 (16:52 +0200)]
replace "add|change" with "!remove"

14 years agousb-db: remove double '/'
Kay Sievers [Mon, 12 Apr 2010 14:10:05 +0000 (16:10 +0200)]
usb-db: remove double '/'

14 years agoallow IMPORT{db}="KEY"
Kay Sievers [Mon, 12 Apr 2010 13:58:05 +0000 (15:58 +0200)]
allow IMPORT{db}="KEY"

14 years agounify/cleanup event handling
Kay Sievers [Mon, 12 Apr 2010 13:51:16 +0000 (15:51 +0200)]
unify/cleanup event handling

14 years agorules: we do not have static devices which are renamed
Kay Sievers [Mon, 12 Apr 2010 08:50:59 +0000 (10:50 +0200)]
rules: we do not have static devices which are renamed

14 years agorules: delete outdated packagees rules
Kay Sievers [Mon, 12 Apr 2010 08:45:27 +0000 (10:45 +0200)]
rules: delete outdated packagees rules

14 years agocdrom_id: always set ID_CDROM regardless if we can run cdrom_id
Kay Sievers [Sun, 11 Apr 2010 23:12:23 +0000 (01:12 +0200)]
cdrom_id: always set ID_CDROM regardless if we can run cdrom_id

14 years agocdrom_id: check mount state in retry loop
Kay Sievers [Wed, 7 Apr 2010 09:32:22 +0000 (11:32 +0200)]
cdrom_id: check mount state in retry loop

Based on a patch from Harald Hoyer.

14 years agocdrom_id: retry to open the device, if EBUSY
Kay Sievers [Wed, 7 Apr 2010 07:24:25 +0000 (09:24 +0200)]
cdrom_id: retry to open the device, if EBUSY

We might fight about the device with polling processes, or other
users who probe the device. Retry a few times if the other one goes
away in the meantime.

Based on a patch from Harald Hoyer.

14 years agocdrom_id: remove debugging code
Harald Hoyer [Wed, 7 Apr 2010 07:23:46 +0000 (09:23 +0200)]
cdrom_id: remove debugging code

14 years agoscsi_id: add rand() in retry loop
Kay Sievers [Wed, 7 Apr 2010 07:22:30 +0000 (09:22 +0200)]
scsi_id: add rand() in retry loop

14 years agoextras: mobile-action-modeswitch - update gitignore
Kay Sievers [Wed, 7 Apr 2010 07:16:47 +0000 (09:16 +0200)]
extras: mobile-action-modeswitch - update gitignore

14 years agoAdd support for another Dell touchpad toggle key
Jerone Young [Tue, 6 Apr 2010 21:08:21 +0000 (16:08 -0500)]
Add support for another Dell touchpad toggle key

There is another keycode that some Dell machines that are about to ship,
or shipping are using for touchpad toggle. That code is 0x9E.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoFix Dell Studio 1558 volume keys not releasing
Jerone Young [Tue, 6 Apr 2010 17:59:12 +0000 (12:59 -0500)]
Fix Dell Studio 1558 volume keys not releasing

This patch fixes the Dell Studio 1558 to give a key release when a
volume key is pressed. This is the same as the 1557.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoRevert special casing 0xD8 to latitude XT only
Jerone Young [Mon, 5 Apr 2010 23:45:35 +0000 (18:45 -0500)]
Revert special casing 0xD8 to latitude XT only

Now that Dell has changed the functionality of upcoming machines with
touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It
seems best to add this back to the general map of Dell buttons. Just
incase a machine in the future uses this later.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoAdd new Dell touchpad keycode
Jerone Young [Mon, 5 Apr 2010 23:45:34 +0000 (18:45 -0500)]
Add new Dell touchpad keycode

After working very closely with Dell. They have now completely changed
the way they have implemented there touchpad hotkey for upcoming
machines.

It now only generates a single keycode (0xD9). It nolonger does anything
in hardware, nor does it generate more then this keycode.

This patch properly maps this keycode.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoFix Keymapping for upcoming Dell Laptops
Jerone Young [Thu, 25 Mar 2010 01:14:23 +0000 (20:14 -0500)]
Fix Keymapping for upcoming Dell Laptops

This patch fixes it so that new upcoming Dell machines will work
correctly if users presses the touchpad toggle key.

Currently 0xD8 is being mapped to sleep. Though this is only done by the
Latitude XT* laptops. Many upcoming Laptops from Dell are mapping this
key to "toogle touchpad off" .. giving the OS notification that it has
just turned off the touchpad.

Though their is an issue in that if this key is mapped the hardware
first toogles .. then the software tries to do the samething after, if
they fall out of sync ... no more touchpad. So leave out mapping these
keys for now.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agolibudev: update documentation
Kay Sievers [Thu, 25 Mar 2010 15:45:15 +0000 (16:45 +0100)]
libudev: update documentation

14 years agokeymap: Fix another key for Acer TravelMate 6593
Martin Pitt [Wed, 24 Mar 2010 17:56:20 +0000 (18:56 +0100)]
keymap: Fix another key for Acer TravelMate 6593

https://launchpad.net/bugs/536914

14 years agokeymap: Add Acer TravelMate 6593G and Acer Aspire 1640
Martin Pitt [Wed, 24 Mar 2010 16:44:39 +0000 (17:44 +0100)]
keymap: Add Acer TravelMate 6593G and Acer Aspire 1640

https://launchpad.net/bugs/536914

14 years agorules: virtio - fix is to check if the 'name' attribute is present
Amit Shah [Mon, 22 Mar 2010 09:59:46 +0000 (10:59 +0100)]
rules: virtio - fix is to check if the 'name' attribute is present

Fix provided by Harald Hoyer.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
14 years agomodeswitch: morph into tool that only switches Mobile Action cables
Dan Williams [Fri, 19 Mar 2010 00:13:59 +0000 (17:13 -0700)]
modeswitch: morph into tool that only switches Mobile Action cables

Remove option modeswitching code; use usb_modeswitch already, people.

14 years agocdrom_id: open non-mounted optical media with O_EXCL
Kay Sievers [Thu, 18 Mar 2010 10:14:32 +0000 (11:14 +0100)]
cdrom_id: open non-mounted optical media with O_EXCL

This should prevent confusing drives during CD burning sessions. Based
on a patch from Harald Hoyer.

14 years agoadd LGPL COPYING to libudev and GUdev
Kay Sievers [Thu, 18 Mar 2010 08:57:44 +0000 (09:57 +0100)]
add LGPL COPYING to libudev and GUdev

14 years agolibudev: add udev_device_new_from_environment()
Kay Sievers [Wed, 17 Mar 2010 16:42:35 +0000 (17:42 +0100)]
libudev: add udev_device_new_from_environment()

14 years agodo not reset SELinux context when the node was not touched
Kay Sievers [Wed, 17 Mar 2010 08:15:18 +0000 (09:15 +0100)]
do not reset SELinux context when the node was not touched

14 years agoFix switching Logitech bluetooth adapters into hci mode.
Marco d'Itri [Tue, 16 Mar 2010 11:47:42 +0000 (12:47 +0100)]
Fix switching Logitech bluetooth adapters into hci mode.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567237
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/444420

14 years agorules: input - create by-path/ links for pci devices
Marco d'Itri [Tue, 16 Mar 2010 11:44:43 +0000 (12:44 +0100)]
rules: input - create by-path/ links for pci devices

14 years agofirmware: fix possible segfault when firmware device goes away while loading
Kay Sievers [Tue, 16 Mar 2010 09:57:44 +0000 (10:57 +0100)]
firmware: fix possible segfault when firmware device goes away while loading

Thanks to Ruediger Oertel.

14 years agoudev needs automake 1.10
Adrian Bunk [Thu, 11 Mar 2010 13:05:42 +0000 (15:05 +0200)]
udev needs automake 1.10

extras/gudev/docs/Makefile.am:4: require Automake 1.10, but have 1.9.6
libudev/docs/Makefile.am:4: require Automake 1.10, but have 1.9.6

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agolibudev: docs - .gitignore backup files
Kay Sievers [Thu, 11 Mar 2010 12:01:48 +0000 (13:01 +0100)]
libudev: docs - .gitignore backup files

14 years agouse major:minor as entries in watch directory
Kay Sievers [Wed, 10 Mar 2010 17:54:35 +0000 (18:54 +0100)]
use major:minor as entries in watch directory

14 years agouse major:minor as entries in symlink stack instead of devpath
Kay Sievers [Wed, 10 Mar 2010 16:29:27 +0000 (17:29 +0100)]
use major:minor as entries in symlink stack instead of devpath

14 years agoudevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype]
Kay Sievers [Wed, 10 Mar 2010 14:00:00 +0000 (15:00 +0100)]
udevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype]

14 years agolibbudev-private: rename udev_list_entry_get_flag()
Kay Sievers [Wed, 10 Mar 2010 13:52:42 +0000 (14:52 +0100)]
libbudev-private: rename udev_list_entry_get_flag()

14 years agoreplace utimes() with utimensat()
Kay Sievers [Wed, 10 Mar 2010 13:43:07 +0000 (14:43 +0100)]
replace utimes() with utimensat()

14 years agoinput_id: Fix linking
Martin Pitt [Wed, 10 Mar 2010 11:17:03 +0000 (12:17 +0100)]
input_id: Fix linking

Link against libudev-private.a instead of libudev.a, to avoid runtime
dependency to libudev.

14 years agoudev-acl: no not encourage use of ACL_MANAGE outside of rules file
Kay Sievers [Sun, 7 Mar 2010 12:47:34 +0000 (13:47 +0100)]
udev-acl: no not encourage use of ACL_MANAGE outside of rules file

14 years agoudev-acl: Correctly handle ENV{ACL_MANAGE}==0
Martin Pitt [Wed, 3 Mar 2010 23:48:59 +0000 (00:48 +0100)]
udev-acl: Correctly handle ENV{ACL_MANAGE}==0

When a custom rule sets ACL_MANAGE to 0 to disable ACL management for a
particular device, handle this as "disabled", by explicitly checking against
"1" instead of "nonempty".

Thanks to Rafał Rzepecki for pointing this out.

14 years agoFix virtio-ports rule to use $attr instead of $ATTR
Amit Shah [Fri, 26 Feb 2010 08:35:41 +0000 (14:05 +0530)]
Fix virtio-ports rule to use $attr instead of $ATTR

Newer udev versions don't understand $ATTR.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoIncrease UTIL_LINE_SIZE from 2048 to 16384
David Zeuthen [Tue, 2 Mar 2010 22:10:02 +0000 (17:10 -0500)]
Increase UTIL_LINE_SIZE from 2048 to 16384

Recent udisks versions, for LVM2 integration, ships with probers that
produce very long lines such as

UDISKS_LVM2_PV_VG_PV_LIST=
  uuid=98lyZl-Ya7U-p26Z-Ia7b-xf8u-xZqP-jc4njb;size=2000397795328;allocated_size=2000397795328
  uuid=iFs0cM-sxCF-ceQK-hZl1-kbwo-ZTjq-gSewQR;size=2000397795328;allocated_size=2000397795328
  [...]

e.g. roughly 100 bytes per LVM2 physical volume for each LVM2
PV encountered.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUse UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate properties
David Zeuthen [Tue, 2 Mar 2010 22:07:14 +0000 (17:07 -0500)]
Use UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate properties

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoDecrease buffer size when advancing past NUL byte
David Zeuthen [Tue, 2 Mar 2010 22:06:33 +0000 (17:06 -0500)]
Decrease buffer size when advancing past NUL byte

Otherwise we'll overflow the buffer if space is tight. Also add a comment explaining this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agokeymap: Add Fujitsu Amilo 1848+u force-release quirk
Andy Whitcroft [Tue, 2 Mar 2010 13:00:32 +0000 (14:00 +0100)]
keymap: Add Fujitsu Amilo 1848+u  force-release quirk

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>
14 years agokeymap: Add Samsung Q210/P210 force-release quirk
Andy Whitcroft [Tue, 2 Mar 2010 12:55:03 +0000 (13:55 +0100)]
keymap: Add Samsung Q210/P210 force-release quirk

The Samsung Q210/P210 laptop also needs all of its function keys quirked.

https://launchpad.net/bugs/530093

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoconfigure.ac: version bump
Kay Sievers [Thu, 18 Feb 2010 10:09:25 +0000 (11:09 +0100)]
configure.ac: version bump

14 years agoudevadm: fix untested and broken commit to set buffer size
Kay Sievers [Thu, 18 Feb 2010 10:03:28 +0000 (11:03 +0100)]
udevadm: fix untested and broken commit to set buffer size

14 years agolibudev: bump minor version
Kay Sievers [Thu, 18 Feb 2010 10:03:09 +0000 (11:03 +0100)]
libudev: bump minor version

14 years agoudevadm monitor: increase netlink buffer size
Scott James Remnant [Wed, 17 Feb 2010 15:27:36 +0000 (15:27 +0000)]
udevadm monitor: increase netlink buffer size

A common use (e.g. in Ubuntu) for udevadm monitor is to log the events
received by udev during boot; events can be lost of the buffer size isn't
increased as udevd does.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
14 years agolibudev: export udev_monitor_set_receive_buffer_size()
Scott James Remnant [Wed, 17 Feb 2010 15:26:00 +0000 (15:26 +0000)]
libudev: export udev_monitor_set_receive_buffer_size()

This function is useful for anything that's likely to be running
alongside udevd during cold-plugging, and is using libudev to
receive the events.

It makes little sense for it to be private, or to require other
software to relearn how to adjust the buffer size.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
14 years agokeymap: Add Toshiba Satellite M30X
Martin Pitt [Mon, 15 Feb 2010 12:15:25 +0000 (13:15 +0100)]
keymap: Add Toshiba Satellite M30X

Thanks to Alessio Gaeta!

https://launchpad.net/bugs/510019

14 years agoForce key release for volume keys on Dell Studio 1557
Jerone Young [Sat, 13 Feb 2010 00:08:08 +0000 (18:08 -0600)]
Force key release for volume keys on Dell Studio 1557

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>
14 years agokeymap: Fix LG X110
Martin Pitt [Fri, 12 Feb 2010 18:25:47 +0000 (19:25 +0100)]
keymap: Fix LG X110

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

14 years agokeymap: Add support for Gateway AOA110/AOA150 clones.
Robert Hooker [Sun, 7 Feb 2010 18:56:27 +0000 (13:56 -0500)]
keymap: Add support for Gateway AOA110/AOA150 clones.

https://launchpad.net/bugs/518496

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14 years agoFix brightness keys on MSI Wind U-100
Martin Pitt [Tue, 9 Feb 2010 14:47:47 +0000 (15:47 +0100)]
Fix brightness keys on MSI Wind U-100

The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On
top of that, the video module/BIOS synthesize some extra event on atkbd as an
echo of actually changing the brightness.

Ignore the wrong and useless atkbd ones, to avoid event loops.

Many thanks to Hans de Goede for tracking this down!

https://launchpad.net/bugs/415023

14 years agokeymap: Add Dell Inspiron 1011 (Mini 10)
Martin Pitt [Mon, 1 Feb 2010 23:27:46 +0000 (15:27 -0800)]
keymap: Add Dell Inspiron 1011 (Mini 10)

This fixes the broken WLAN key.

14 years agofirmware: fix error reporting on missing firmware files
Thomas Bächler [Sun, 31 Jan 2010 12:49:02 +0000 (13:49 +0100)]
firmware: fix error reporting on missing firmware files

The new firmware loader does not report an error to the kernel if a firmware file
is missing. This results in modprobe stalling for 60 seconds for each firmware
a module tries to load.

14 years agorelease 151
Kay Sievers [Wed, 27 Jan 2010 08:34:28 +0000 (09:34 +0100)]
release 151

14 years agoupdate tests
Kay Sievers [Wed, 27 Jan 2010 08:30:48 +0000 (09:30 +0100)]
update tests

14 years agoupdate README and NEWS
Kay Sievers [Mon, 25 Jan 2010 10:10:10 +0000 (11:10 +0100)]
update README and NEWS