1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
Commit Graph

3228 Commits

Author SHA1 Message Date
Kay Sievers
15106c4833 update NEWS 2009-07-04 16:59:35 +02:00
Kay Sievers
9cc94b1522 libudev: monitor - handle kernel supplied DEVNAME properly 2009-07-04 04:12:06 +02:00
Kay Sievers
fc8933f7f6 build: do not delete .la files 2009-07-04 04:12:06 +02:00
Martin Pitt
84176f979f extras/udev-acl: add smartcard readers
gnupg, psc-lite, etc. will ship udev rules for supported smartcard readers
soon. Add the ACL management bit.

Thanks to Michael Bienia!
2009-07-03 14:57:43 +02:00
Kay Sievers
456719b6f9 udevadm: test - print list of properties 2009-07-02 22:56:19 +02:00
Kay Sievers
9fd2e7e95d Merge branch 'firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/jcm/udev-jcm 2009-07-02 12:13:36 +02:00
Jon Masters
25688f4d67 firmware: search for third party or sysadmin supplied firmware updates
We currently search /lib/firmware and /lib/firmware/`uname -r` for firmware
files for device drivers loaded by the currently running kernel. These are
often packaged by distributions as a subpackage of the kernel or as a
separate package containing firmware. But these files cannot easily be
updated by third parties or sysadmins independently of that package.

This patch causes udev to also look for firmware files in an "updates"
directory, which is almost identical in purpose to the module-init-tools
"updates" directories insomuch as local changes can go in here and will
take preference over firmware supplied by any distribution.
2009-07-01 20:21:03 -04:00
Stefan Richter
f0fb82d821 rules: set group ownership of new firewire driver device files
The newer firewire-core driver exposes per-device character device files,
called /dev/fw[0-9]*, in contrast to the older raw1394, video1394, dv1394
drivers which created one global file or per-controller files.

This allows to set ownership, permissions, or/ and access control lists
for each device file based on device type markers obtained from sysfs.
The "units" attribute which is used for this purpose has become available
in Linux 2.6.31(-rc1) by commit 0210b66dd88a2a1e451901b00378a2068b6ccb35.

The added rules match identifiers of

  - IIDC devices:
    industrial cameras and some webcams,

  - AV/C devices:
    camcorders, set-top boxes, TV sets, audio devices, and similar
    devices.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-07-01 23:43:17 +02:00
Kay Sievers
f045aa1cab man: udev - add private properties like ENV{.FOO}="bar" 2009-06-28 17:10:04 +02:00
Kay Sievers
d5f1cc16ec update NEWS 2009-06-28 17:09:57 +02:00
Kay Sievers
84875aa6b3 scsi_id: delete no longer needed config file 2009-06-28 03:01:31 +02:00
Kay Sievers
8bbe3ca427 rules: make ata_id properties the default for all ATA block devices
We need to call ata_id as the default for libata sd* devices. We
want ID_BUS=ata, and the ATA device proeprties, and be independent
of the SCSI emulation with the truncated values. The links
in /dev/disk/by-id/{ata-*,scsi-*} are still the same.
2009-06-28 02:59:48 +02:00
Kay Sievers
fed0ad7694 ata_id: sync ID_SERIAL(_SHORT) with other *_id tools
ID_SERIAL is the full serial number used for the links, ID_SERIAL_SHORT
is the device serial number.
2009-06-28 02:58:12 +02:00
Kay Sievers
a8916c3400 scsi_id: --reformat_serial - use udev_util_replace_whitespace() 2009-06-28 02:27:23 +02:00
Kay Sievers
b25a94549c do not exports properties starting with a '.'
Private variables can be marked like:
  ENV{.FOO}="bar"
2009-06-28 02:21:58 +02:00
Martin Pitt
b53c3a21b9 hid2hci: narrow matches to real HCI devices
The previous rules just checked bInterfaceProtocol but not the actual device
and interface class. This caused the hci rules to be applied for Dell USB hubs
and attached input devices like keyboards and mouses as well, breaking them
completely.

Tighten the match to also check device and interface class/subclass.

https://launchpad.net/bugs/392144
2009-06-26 08:17:23 +02:00
Kay Sievers
7d063096c4 configure.ac: version bump 2009-06-22 16:34:55 +02:00
Kay Sievers
717244eba0 udev/.gitignore: add udev.pc 2009-06-22 00:33:09 +02:00
Kay Sievers
f86ac6e170 libudev: queue - add comments for queue format
udev/udev.pc
2009-06-22 00:32:26 +02:00
Kay Sievers
7567ca34aa TODO: add cleanup of ATA_COMPAT 2009-06-22 00:31:46 +02:00
Kay Sievers
c668754b71 configure.ac: version bump 2009-06-22 00:30:42 +02:00
Kay Sievers
a6c06e57a2 configure.ac: add AM_SILENT_RULES 2009-06-20 03:57:26 +02:00
Kay Sievers
e54a3c2f3f release 143 2009-06-19 19:50:01 +02:00
Kay Sievers
95023c77fc docs: install writing_udev_rules 2009-06-19 19:33:22 +02:00
Kay Sievers
9ab11b6258 Merge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udev 2009-06-19 19:21:26 +02:00
Kay Sievers
3ab2be88bd udev.pc: add 2009-06-19 19:17:18 +02:00
Martin Pitt
a33da970ef extras/keymap: Update findkeyboards location
Recent commit 3b338b6 moved findkeyboards from /usr/share/udev to /lib/udev/.
Update documentation accordingly.
2009-06-19 14:53:18 +02:00
Martin Pitt
eb20485b40 udev-acl: Manage hplip device permissions
hplip tools need user access to the devices for checking ink levels and
user-level configuration. This was formerly done with hal FDIs.

As per discussion with Till Kamppeter.
2009-06-19 14:49:35 +02:00
Kay Sievers
8fac66c9d4 NEWS: update 2009-06-19 11:49:49 +02:00
Kay Sievers
22e8ccdc02 INSTALL: use /sbin instead of %{sbindir} 2009-06-19 11:49:11 +02:00
Kay Sievers
3b338b6bb9 extras/keymap: install findkeyboards in /lib/udev 2009-06-19 11:48:04 +02:00
Kay Sievers
89eaa6a56e README: update 2009-06-17 22:14:52 +02:00
Kay Sievers
bcee964977 extras: delete man pages for private udev tools
These are mostly dummy man pages, without real content, some even
outdated. None of these tools are part of any offered public interface,
and they should not pretend to be by offering a man page.
2009-06-17 21:57:40 +02:00
Kay Sievers
0373056e45 rules: do not install usb-id/pci-id rules when --disable-extras is used 2009-06-17 18:18:22 +02:00
Kay Sievers
0f50d0ef04 README: add /lib/udev/ is private 2009-06-17 18:04:05 +02:00
Martin Pitt
2719cef56f keymap: Update findkeyboard path in docs
findkeyboards is now in /usr/share/udev/ after the migration to udev proper.
Update path in README.keymap.txt.
2009-06-17 16:57:30 +02:00
Matthias Schwarzott
46d1cd1537 rules: Gentoo update 2009-06-17 16:24:16 +02:00
Kay Sievers
d0d3183278 extras/keymap: use LIBEXECDIR instead /lib/udev 2009-06-17 16:18:04 +02:00
Kay Sievers
bc3ebcbdb8 libudev: install in $libdir and move later to $rootlibdir
That way, libudev.la will not get out of sync with the location of the
development so link.
2009-06-17 16:10:06 +02:00
Kay Sievers
4b3be1c158 configure.ac: print error if gperf is missing 2009-06-17 13:31:34 +02:00
Dan Williams
181368a3b2 extras/modem-modeswitch: move from udev-extras 2009-06-17 12:16:54 +02:00
Martin Pitt
0fb7c51846 extras/keymap: Fix WLAN button on ThinkPads
Fn+F5 was previously assigned to "radio" which is fairly useless under X.
Switch it to "wlan".

Reported in http://bugs.debian.org/504643
2009-06-17 12:06:33 +02:00
Martin Pitt
2417dc20f5 keymap: move from udev-extras 2009-06-17 11:56:52 +02:00
Kay Sievers
a8aab0e95b rules: remove MMC rule, 2.6.30 has the modalias 2009-06-17 02:33:49 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Kay Sievers
29cf5b58be NEWS: add --disable-extras 2009-06-16 22:02:19 +02:00
Kay Sievers
bb0059f36e autogen.sh: make "CFLAGS=-O0 ./autogen.sh" working 2009-06-16 21:29:13 +02:00
Kay Sievers
514b8d6212 configure: enable all extras by default, provide --disable-extras 2009-06-16 21:13:15 +02:00
Lennart Poettering
ccba91c746 usb-db: move from udev-extras 2009-06-16 20:57:28 +02:00
Dan Williams
5a92fd9c9b rules: tty/net - move from udev-extras 2009-06-16 20:27:22 +02:00