chiark / gitweb /
elogind.git
14 years agolibudev: monitor - handle kernel supplied DEVNAME properly
Kay Sievers [Fri, 3 Jul 2009 16:40:38 +0000 (18:40 +0200)]
libudev: monitor - handle kernel supplied DEVNAME properly

14 years agobuild: do not delete .la files
Kay Sievers [Fri, 3 Jul 2009 16:38:45 +0000 (18:38 +0200)]
build: do not delete .la files

14 years agoextras/udev-acl: add smartcard readers
Martin Pitt [Fri, 3 Jul 2009 12:57:43 +0000 (14:57 +0200)]
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!

14 years agoudevadm: test - print list of properties
Kay Sievers [Thu, 2 Jul 2009 20:56:19 +0000 (22:56 +0200)]
udevadm: test - print list of properties

14 years agoMerge branch 'firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/jcm/udev-jcm
Kay Sievers [Thu, 2 Jul 2009 10:13:36 +0000 (12:13 +0200)]
Merge branch 'firmware' of git://git./linux/kernel/git/jcm/udev-jcm

14 years agofirmware: search for third party or sysadmin supplied firmware updates
Jon Masters [Thu, 2 Jul 2009 00:21:03 +0000 (20:21 -0400)]
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.

14 years agorules: set group ownership of new firewire driver device files
Stefan Richter [Wed, 1 Jul 2009 19:41:43 +0000 (21:41 +0200)]
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>
14 years agoman: udev - add private properties like ENV{.FOO}="bar"
Kay Sievers [Sun, 28 Jun 2009 15:10:04 +0000 (17:10 +0200)]
man: udev - add private properties like ENV{.FOO}="bar"

14 years agoupdate NEWS
Kay Sievers [Sun, 28 Jun 2009 15:09:57 +0000 (17:09 +0200)]
update NEWS

14 years agoscsi_id: delete no longer needed config file
Kay Sievers [Sun, 28 Jun 2009 01:01:31 +0000 (03:01 +0200)]
scsi_id: delete no longer needed config file

14 years agorules: make ata_id properties the default for all ATA block devices
Kay Sievers [Sun, 28 Jun 2009 00:59:48 +0000 (02:59 +0200)]
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.

14 years agoata_id: sync ID_SERIAL(_SHORT) with other *_id tools
Kay Sievers [Sun, 28 Jun 2009 00:58:12 +0000 (02:58 +0200)]
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.

14 years agoscsi_id: --reformat_serial - use udev_util_replace_whitespace()
Kay Sievers [Sun, 28 Jun 2009 00:27:23 +0000 (02:27 +0200)]
scsi_id: --reformat_serial - use udev_util_replace_whitespace()

14 years agodo not exports properties starting with a '.'
Kay Sievers [Sun, 28 Jun 2009 00:21:58 +0000 (02:21 +0200)]
do not exports properties starting with a '.'

Private variables can be marked like:
  ENV{.FOO}="bar"

14 years agohid2hci: narrow matches to real HCI devices
Martin Pitt [Fri, 26 Jun 2009 06:17:23 +0000 (08:17 +0200)]
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

14 years agoconfigure.ac: version bump
Kay Sievers [Mon, 22 Jun 2009 14:34:55 +0000 (16:34 +0200)]
configure.ac: version bump

14 years agoudev/.gitignore: add udev.pc
Kay Sievers [Sun, 21 Jun 2009 22:33:09 +0000 (00:33 +0200)]
udev/.gitignore: add udev.pc

14 years agolibudev: queue - add comments for queue format
Kay Sievers [Sun, 21 Jun 2009 22:32:26 +0000 (00:32 +0200)]
libudev: queue - add comments for queue format
udev/udev.pc

14 years agoTODO: add cleanup of ATA_COMPAT
Kay Sievers [Sun, 21 Jun 2009 22:31:46 +0000 (00:31 +0200)]
TODO: add cleanup of ATA_COMPAT

14 years agoconfigure.ac: version bump
Kay Sievers [Sun, 21 Jun 2009 22:30:42 +0000 (00:30 +0200)]
configure.ac: version bump

14 years agoconfigure.ac: add AM_SILENT_RULES
Kay Sievers [Sat, 20 Jun 2009 01:57:26 +0000 (03:57 +0200)]
configure.ac: add AM_SILENT_RULES

14 years agorelease 143
Kay Sievers [Fri, 19 Jun 2009 17:50:01 +0000 (19:50 +0200)]
release 143

14 years agodocs: install writing_udev_rules
Kay Sievers [Fri, 19 Jun 2009 17:33:22 +0000 (19:33 +0200)]
docs: install writing_udev_rules

14 years agoMerge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udev
Kay Sievers [Fri, 19 Jun 2009 17:21:26 +0000 (19:21 +0200)]
Merge branch 'master' of git+ssh:///linux/hotplug/udev

14 years agoudev.pc: add
Kay Sievers [Fri, 19 Jun 2009 17:17:18 +0000 (19:17 +0200)]
udev.pc: add

14 years agoextras/keymap: Update findkeyboards location
Martin Pitt [Fri, 19 Jun 2009 12:53:18 +0000 (14:53 +0200)]
extras/keymap: Update findkeyboards location

Recent commit 3b338b6 moved findkeyboards from /usr/share/udev to /lib/udev/.
Update documentation accordingly.

14 years agoudev-acl: Manage hplip device permissions
Martin Pitt [Fri, 19 Jun 2009 12:49:35 +0000 (14:49 +0200)]
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.

14 years agoNEWS: update
Kay Sievers [Fri, 19 Jun 2009 09:49:49 +0000 (11:49 +0200)]
NEWS: update

14 years agoINSTALL: use /sbin instead of %{sbindir}
Kay Sievers [Fri, 19 Jun 2009 09:49:11 +0000 (11:49 +0200)]
INSTALL: use /sbin instead of %{sbindir}

14 years agoextras/keymap: install findkeyboards in /lib/udev
Kay Sievers [Fri, 19 Jun 2009 09:48:04 +0000 (11:48 +0200)]
extras/keymap: install findkeyboards in /lib/udev

14 years agoREADME: update
Kay Sievers [Wed, 17 Jun 2009 20:14:52 +0000 (22:14 +0200)]
README: update

14 years agoextras: delete man pages for private udev tools
Kay Sievers [Wed, 17 Jun 2009 19:57:40 +0000 (21:57 +0200)]
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.

14 years agorules: do not install usb-id/pci-id rules when --disable-extras is used
Kay Sievers [Wed, 17 Jun 2009 16:18:22 +0000 (18:18 +0200)]
rules: do not install usb-id/pci-id rules when --disable-extras is used

14 years agoREADME: add /lib/udev/ is private
Kay Sievers [Wed, 17 Jun 2009 16:04:05 +0000 (18:04 +0200)]
README: add /lib/udev/ is private

14 years agokeymap: Update findkeyboard path in docs
Martin Pitt [Wed, 17 Jun 2009 14:57:30 +0000 (16:57 +0200)]
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.

14 years agorules: Gentoo update
Matthias Schwarzott [Wed, 17 Jun 2009 14:24:16 +0000 (16:24 +0200)]
rules: Gentoo update

14 years agoextras/keymap: use LIBEXECDIR instead /lib/udev
Kay Sievers [Wed, 17 Jun 2009 14:18:04 +0000 (16:18 +0200)]
extras/keymap: use LIBEXECDIR instead /lib/udev

14 years agolibudev: install in $libdir and move later to $rootlibdir
Kay Sievers [Wed, 17 Jun 2009 14:10:06 +0000 (16:10 +0200)]
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.

14 years agoconfigure.ac: print error if gperf is missing
Kay Sievers [Wed, 17 Jun 2009 11:31:34 +0000 (13:31 +0200)]
configure.ac: print error if gperf is missing

14 years agoextras/modem-modeswitch: move from udev-extras
Dan Williams [Wed, 17 Jun 2009 10:16:54 +0000 (12:16 +0200)]
extras/modem-modeswitch: move from udev-extras

14 years agoextras/keymap: Fix WLAN button on ThinkPads
Martin Pitt [Wed, 17 Jun 2009 10:06:33 +0000 (12:06 +0200)]
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

14 years agokeymap: move from udev-extras
Martin Pitt [Wed, 17 Jun 2009 09:56:52 +0000 (11:56 +0200)]
keymap: move from udev-extras

14 years agorules: remove MMC rule, 2.6.30 has the modalias
Kay Sievers [Wed, 17 Jun 2009 00:33:49 +0000 (02:33 +0200)]
rules: remove MMC rule, 2.6.30 has the modalias

14 years agocleanup ./configure installation directory options
Kay Sievers [Wed, 17 Jun 2009 00:25:07 +0000 (02:25 +0200)]
cleanup ./configure installation directory options

14 years agoNEWS: add --disable-extras
Kay Sievers [Tue, 16 Jun 2009 20:02:19 +0000 (22:02 +0200)]
NEWS: add --disable-extras

14 years agoautogen.sh: make "CFLAGS=-O0 ./autogen.sh" working
Kay Sievers [Tue, 16 Jun 2009 19:29:13 +0000 (21:29 +0200)]
autogen.sh: make "CFLAGS=-O0 ./autogen.sh" working

14 years agoconfigure: enable all extras by default, provide --disable-extras
Kay Sievers [Tue, 16 Jun 2009 19:13:15 +0000 (21:13 +0200)]
configure: enable all extras by default, provide --disable-extras

14 years agousb-db: move from udev-extras
Lennart Poettering [Tue, 16 Jun 2009 18:57:28 +0000 (20:57 +0200)]
usb-db: move from udev-extras

14 years agorules: tty/net - move from udev-extras
Dan Williams [Tue, 16 Jun 2009 18:27:22 +0000 (20:27 +0200)]
rules: tty/net - move from udev-extras

14 years agorules: sound - move from udev-extra
Lennart Poettering [Tue, 16 Jun 2009 18:26:20 +0000 (20:26 +0200)]
rules: sound - move from udev-extra

14 years agov4l_id: 70-v4l.rules -> 60-persistent-v4l.rules
Kay Sievers [Tue, 16 Jun 2009 18:13:17 +0000 (20:13 +0200)]
v4l_id: 70-v4l.rules -> 60-persistent-v4l.rules

14 years agogudev: fix typo in configure option
Kay Sievers [Tue, 16 Jun 2009 17:56:31 +0000 (19:56 +0200)]
gudev: fix typo in configure option

14 years agohid2hci: move from udev-extras
Mario Limonciello [Tue, 16 Jun 2009 17:30:22 +0000 (19:30 +0200)]
hid2hci: move from udev-extras

14 years agolibudev: doc - libudev-docs.sgml -> libudev-doc.xml
Kay Sievers [Tue, 16 Jun 2009 16:54:18 +0000 (18:54 +0200)]
libudev: doc - libudev-docs.sgml -> libudev-doc.xml

14 years agov4l_id: move from udev-extras
Kay Sievers [Tue, 16 Jun 2009 16:41:05 +0000 (18:41 +0200)]
v4l_id: move from udev-extras

14 years agoudev-acl: handle missing action when called in CK mode
Kay Sievers [Tue, 16 Jun 2009 16:11:40 +0000 (18:11 +0200)]
udev-acl: handle missing action when called in CK mode

14 years agoINSTALL: add --enable-extras
Kay Sievers [Tue, 16 Jun 2009 16:06:13 +0000 (18:06 +0200)]
INSTALL: add --enable-extras

14 years agogudev: move from udev-extras
David Zeuthen [Tue, 16 Jun 2009 15:52:15 +0000 (17:52 +0200)]
gudev: move from udev-extras

GObject libudev access. Initial version from Bastien Nocera, current
version by David Zeuthen.

14 years agoudev-acl: move from udev-extras
Kay Sievers [Tue, 16 Jun 2009 15:43:12 +0000 (17:43 +0200)]
udev-acl: move from udev-extras

The build of extras with larger external dependencies is wrapped in:
      --enable-extras

14 years agolibudev: doc - add empty libudev.types
Kay Sievers [Tue, 16 Jun 2009 13:38:40 +0000 (15:38 +0200)]
libudev: doc - add empty libudev.types

14 years agolibudev: remove prefix from .so version variables
Kay Sievers [Tue, 16 Jun 2009 12:56:10 +0000 (14:56 +0200)]
libudev: remove prefix from .so version variables

14 years agoTODO: update
Kay Sievers [Tue, 16 Jun 2009 12:21:08 +0000 (14:21 +0200)]
TODO: update

14 years agoautogen.sh: simplify
Kay Sievers [Tue, 16 Jun 2009 12:19:19 +0000 (14:19 +0200)]
autogen.sh: simplify

14 years agolibudev: move .so version to libudev Makefile
Kay Sievers [Tue, 16 Jun 2009 12:18:16 +0000 (14:18 +0200)]
libudev: move .so version to libudev Makefile

14 years agolibudev: doc - add namespace for index
Kay Sievers [Tue, 16 Jun 2009 01:02:46 +0000 (03:02 +0200)]
libudev: doc - add namespace for index

14 years agoupdate TODO
Kay Sievers [Tue, 16 Jun 2009 00:03:26 +0000 (02:03 +0200)]
update TODO

14 years agorules: Gentoo update
Matthias Schwarzott [Mon, 15 Jun 2009 22:44:39 +0000 (00:44 +0200)]
rules: Gentoo update

14 years agolibudev: doc - add queue
Kay Sievers [Mon, 15 Jun 2009 18:28:28 +0000 (20:28 +0200)]
libudev: doc - add queue

14 years agolibudev: doc - add enumerate
Kay Sievers [Mon, 15 Jun 2009 18:04:46 +0000 (20:04 +0200)]
libudev: doc - add enumerate

14 years agolibudev: doc - add section headers
Kay Sievers [Mon, 15 Jun 2009 15:09:43 +0000 (17:09 +0200)]
libudev: doc - add section headers

14 years agolibudev: update documentation
Kay Sievers [Mon, 15 Jun 2009 11:22:38 +0000 (13:22 +0200)]
libudev: update documentation

14 years agolibudev: add gtk-doc
Kay Sievers [Mon, 15 Jun 2009 11:22:21 +0000 (13:22 +0200)]
libudev: add gtk-doc

14 years agorules: Gentoo update
Matthias Schwarzott [Sun, 14 Jun 2009 16:27:52 +0000 (18:27 +0200)]
rules: Gentoo update

14 years agoUSE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX
Kay Sievers [Sun, 14 Jun 2009 15:53:15 +0000 (17:53 +0200)]
USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX

14 years agoREADME: add INOTIFY and SIGNALFD
Kay Sievers [Thu, 11 Jun 2009 15:59:46 +0000 (17:59 +0200)]
README: add INOTIFY and SIGNALFD

14 years agoREADME: add kernel options
Kay Sievers [Thu, 11 Jun 2009 15:58:14 +0000 (17:58 +0200)]
README: add kernel options

14 years agoudevadm: info -revert "accept --query without argument"
Kay Sievers [Wed, 10 Jun 2009 13:55:24 +0000 (15:55 +0200)]
udevadm: info -revert "accept --query without argument"

Getopt is too dumb, the optional argument breaks "udevadm -q symlink".

14 years agoupdate NEWS
Kay Sievers [Tue, 9 Jun 2009 22:18:00 +0000 (00:18 +0200)]
update NEWS

14 years agorules: remove scsi ch module loading rule
Kay Sievers [Tue, 9 Jun 2009 22:17:35 +0000 (00:17 +0200)]
rules: remove scsi ch module loading rule

14 years agolibudev: rename private files to *-private.c
Kay Sievers [Tue, 9 Jun 2009 21:12:12 +0000 (23:12 +0200)]
libudev: rename private files to *-private.c

14 years agomove common stuff from udev/ to private parts of libudev/
Kay Sievers [Tue, 9 Jun 2009 21:05:25 +0000 (23:05 +0200)]
move common stuff from udev/ to private parts of libudev/

14 years agomove syslog wrapper to libudev
Kay Sievers [Tue, 9 Jun 2009 20:47:48 +0000 (22:47 +0200)]
move syslog wrapper to libudev

14 years agolibudev: call log functions conditionally
Kay Sievers [Tue, 9 Jun 2009 17:03:39 +0000 (19:03 +0200)]
libudev: call log functions conditionally

14 years agoudevd: log info for created/killed workers
Kay Sievers [Tue, 9 Jun 2009 16:31:14 +0000 (18:31 +0200)]
udevd: log info for created/killed workers

14 years agolibudev: device_new() -> udev_device_new()
Kay Sievers [Tue, 9 Jun 2009 11:11:23 +0000 (13:11 +0200)]
libudev: device_new() -> udev_device_new()

14 years agofix libudev include in Makefile.am.in
Kay Sievers [Mon, 8 Jun 2009 20:25:58 +0000 (22:25 +0200)]
fix libudev include in Makefile.am.in

14 years agolibudev: move to top-level directory
Kay Sievers [Mon, 8 Jun 2009 19:36:06 +0000 (21:36 +0200)]
libudev: move to top-level directory

14 years agolibudev: add comments to libudev.h
Kay Sievers [Mon, 8 Jun 2009 17:31:07 +0000 (19:31 +0200)]
libudev: add comments to libudev.h

14 years agopath_id: rename scsi sub-fuctions
Kay Sievers [Mon, 8 Jun 2009 17:22:53 +0000 (19:22 +0200)]
path_id: rename scsi sub-fuctions

14 years agoudevd: print error if worker dies unexpectedly
Kay Sievers [Mon, 8 Jun 2009 15:16:48 +0000 (17:16 +0200)]
udevd: print error if worker dies unexpectedly

14 years agopath_id: delete old shell script
Kay Sievers [Mon, 8 Jun 2009 14:51:13 +0000 (16:51 +0200)]
path_id: delete old shell script

Removed with this is SAS disk support which never really worked properly,
and legacy IDE disk support, which can be re-implemented if needed.

14 years agopath_id: add iscsi support
Kay Sievers [Mon, 8 Jun 2009 14:48:27 +0000 (16:48 +0200)]
path_id: add iscsi support

14 years agopath_id: handle fibre channel
Kay Sievers [Mon, 8 Jun 2009 12:56:49 +0000 (14:56 +0200)]
path_id: handle fibre channel

14 years agoudevadm: monitor --environment -> --property
Kay Sievers [Sun, 7 Jun 2009 01:07:33 +0000 (03:07 +0200)]
udevadm: monitor --environment -> --property

14 years agoudevadm: control - --env -> --property
Kay Sievers [Sun, 7 Jun 2009 00:53:35 +0000 (02:53 +0200)]
udevadm: control - --env -> --property

14 years agoudevadm: info - accept --query without a value and print properties
Kay Sievers [Sun, 7 Jun 2009 00:39:54 +0000 (02:39 +0200)]
udevadm: info - accept --query without a value and print properties

14 years agoudevadm: trigger - add --property-match=<key>:<value>
Kay Sievers [Sun, 7 Jun 2009 00:07:54 +0000 (02:07 +0200)]
udevadm: trigger - add --property-match=<key>:<value>

14 years agolibudev: enumerate - allow multiple keys with the same name
Kay Sievers [Sat, 6 Jun 2009 23:51:38 +0000 (01:51 +0200)]
libudev: enumerate - allow multiple keys with the same name

14 years agofix signed/unsigned warning
Kay Sievers [Sat, 6 Jun 2009 19:19:56 +0000 (21:19 +0200)]
fix signed/unsigned warning

14 years agopath_id: add comments
Kay Sievers [Sat, 6 Jun 2009 18:36:46 +0000 (20:36 +0200)]
path_id: add comments