Commit Graph
57095 Commits
Author SHA1 Message Date
Marco d'Itri 2b463cb050 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
2010-03-16 12:47:42 +01:00
Marco d'Itri 6b32e81929 rules: input - create by-path/ links for pci devices 2010-03-16 12:44:43 +01:00
Kay Sievers d44c27c5ab firmware: fix possible segfault when firmware device goes away while loading
Thanks to Ruediger Oertel.
2010-03-16 10:57:44 +01:00
Adrian Bunk b41102757d 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>
2010-03-11 14:24:13 +01:00
Kay Sievers 9d1a67e956 libudev: docs - .gitignore backup files 2010-03-11 13:01:48 +01:00
Kay Sievers 777239cb21 use major:minor as entries in watch directory 2010-03-10 18:54:35 +01:00
Kay Sievers af24bb178e use major:minor as entries in symlink stack instead of devpath 2010-03-10 17:29:27 +01:00
Kay Sievers a00ff5db02 udevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype] 2010-03-10 15:00:00 +01:00
Kay Sievers fbb31cd6e1 libbudev-private: rename udev_list_entry_get_flag() 2010-03-10 14:52:42 +01:00
Kay Sievers 455f792e47 replace utimes() with utimensat() 2010-03-10 14:43:07 +01:00
Martin Pitt a245a97b4e input_id: Fix linking
Link against libudev-private.a instead of libudev.a, to avoid runtime
dependency to libudev.
2010-03-10 12:17:03 +01:00
Kay Sievers 9a87132677 udev-acl: no not encourage use of ACL_MANAGE outside of rules file 2010-03-07 13:47:34 +01:00
Martin Pitt 5c3ebbf35a 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.
2010-03-04 00:48:59 +01:00
Amit Shah 3c4b1738a9 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>
2010-03-04 00:39:53 +01:00
David Zeuthen e32d5237ea 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>
2010-03-02 17:11:10 -05:00
David Zeuthen 3a19299202 Use UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate properties
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-03-02 17:07:14 -05:00
David Zeuthen ecd42de2c5 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>
2010-03-02 17:06:33 -05:00
Andy Whitcroft da96a11b9c 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>
2010-03-02 14:00:32 +01:00
Andy Whitcroft 20b48c3727 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>
2010-03-02 13:55:03 +01:00
Kay Sievers fff82e9d77 configure.ac: version bump 2010-02-18 11:09:25 +01:00
Kay Sievers 044bd2bcc7 udevadm: fix untested and broken commit to set buffer size 2010-02-18 11:03:28 +01:00
Kay Sievers e0fcf21c03 libudev: bump minor version 2010-02-18 11:03:09 +01:00
Scott James Remnant 0fe3c26eab 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>
2010-02-17 15:27:36 +00:00
Scott James Remnant a571c23e95 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>
2010-02-17 15:26:00 +00:00
Martin Pitt 4ca91a04e8 keymap: Add Toshiba Satellite M30X
Thanks to Alessio Gaeta!

https://launchpad.net/bugs/510019
2010-02-15 13:15:25 +01:00
Lennart Poettering 5021be21bf fixme: minor update 2010-02-14 22:47:08 +01:00
Lennart Poettering c85cf06d73 test1: add service for testing priv dropping 2010-02-14 22:46:47 +01:00
Lennart Poettering d455ad414c test1: drop invalid capability settings 2010-02-14 22:46:02 +01:00
Lennart Poettering 874aa2cc72 fixme: minor updates 2010-02-14 22:45:08 +01:00
Lennart Poettering debf93a4d6 CODING_STYLE: minor updates 2010-02-14 22:44:51 +01:00
Lennart Poettering 1d2d223c26 service: allow enabling of native services via /etc/rcXX.d, so that we can override legacy services easily 2010-02-14 22:43:47 +01:00
Lennart Poettering 81a2b7ceda execute: implement privilige dropping properly 2010-02-14 22:43:08 +01:00
Lennart Poettering e141400362 manager: actually enable ctrl-alt-del/kbrequest request handling in the kernel 2010-02-14 22:39:40 +01:00
Lennart Poettering 2e6c9e6bde strv: introduce strv_env_merge() to merge environment arrays 2010-02-14 22:38:30 +01:00
Lennart Poettering 8d49745c2b strv: make sure empty string lists result in a valid empty string in strv_join() 2010-02-14 22:38:07 +01:00
Lennart Poettering 100a76ee32 strv: fix three minor OOM-triggered memory leaks 2010-02-14 22:37:30 +01:00
Lennart Poettering 79ef004b0c mount: fix loop exit 2010-02-14 01:09:22 +01:00
Lennart Poettering 2c4104f009 service: add SysV init script parser 2010-02-14 01:09:01 +01:00
Lennart Poettering 890f434c60 load-fragment: prefer unit id over alias names when looking for fragments 2010-02-14 01:08:20 +01:00
Lennart Poettering f62c0e4f30 util: fix FOREACH_WORD macro definitions 2010-02-14 01:07:36 +01:00
Lennart Poettering c85dc17be7 util: unify code to check whether certain file names should be ignored when listing files 2010-02-14 01:07:01 +01:00
Lennart Poettering a6a80b4f44 execute: simplify appending to execution list 2010-02-14 01:05:55 +01:00
Lennart Poettering c18315a88d device: fall back to device node path as description instead of kernel name 2010-02-14 01:03:24 +01:00
Lennart Poettering 2e478a46c3 mount,device: drop prefix from unit names to make them easily decodable 2010-02-14 01:02:46 +01:00
Lennart Poettering 6be1e7d538 unit: rename load_path to fragment_path to make clear what kind of configuration file this is 2010-02-14 01:01:10 +01:00
Jerone Young b15bb80190 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>
2010-02-13 12:53:12 +01:00
Lennart Poettering 380bc8790d git: ignore Makefile 2010-02-13 01:17:29 +01:00
Lennart Poettering 84e9af1e01 manager: run ctrl-alt-del/kbrequest targets on SIGINT/SIGWINCH when run in init mode 2010-02-13 01:17:08 +01:00
Lennart Poettering 036643a247 config: implement search path logic 2010-02-13 01:07:02 +01:00
Lennart Poettering 65d2ebdc34 util: add various utility calls 2010-02-13 01:05:12 +01:00