Jerone Young
233a922112
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 >
2010-03-28 14:26:19 +02:00
Kay Sievers
dbba7e4029
libudev: update documentation
2010-03-25 16:45:48 +01:00
Martin Pitt
43d08246db
keymap: Fix another key for Acer TravelMate 6593
...
https://launchpad.net/bugs/536914
2010-03-24 18:56:20 +01:00
Martin Pitt
5b6172b1d9
keymap: Add Acer TravelMate 6593G and Acer Aspire 1640
...
https://launchpad.net/bugs/536914
2010-03-24 17:44:39 +01:00
Amit Shah
00e43e357e
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 >
2010-03-22 10:59:46 +01:00
Dan Williams
4dd9b29135
modeswitch: morph into tool that only switches Mobile Action cables
...
Remove option modeswitching code; use usb_modeswitch already, people.
2010-03-18 17:13:59 -07:00
Kay Sievers
38a3cde11b
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.
2010-03-18 11:14:32 +01:00
Kay Sievers
23325a66cc
add LGPL COPYING to libudev and GUdev
2010-03-18 09:57:44 +01:00
Kay Sievers
fc8d61c53d
libudev: add udev_device_new_from_environment()
2010-03-17 17:42:35 +01:00
Kay Sievers
578cc8a808
do not reset SELinux context when the node was not touched
2010-03-17 09:15:18 +01:00
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