1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

173 Commits

Author SHA1 Message Date
Kay Sievers
8ac5e7ebf2 update TODO 2011-10-06 01:30:55 +02:00
Kay Sievers
289a1821a4 remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keys 2011-10-06 00:45:06 +02:00
Kay Sievers
38f6aefc47 update TODO 2011-08-12 14:05:54 +02:00
Kay Sievers
d7867b3183 implement path_id, usb_id, input_id as built-in command 2011-08-05 02:00:30 +02:00
Kay Sievers
869c903160 libudev: list - use binary search for list lookup 2011-08-04 22:59:58 +02:00
Kay Sievers
e3c14a7ff3 configure: reorder options 2011-07-19 21:17:05 +02:00
Kay Sievers
a6148db0ff release 172 2011-07-11 02:00:13 +02:00
Kay Sievers
c15d02e570 libudev: ctrl - move code to udev directory 2011-07-11 01:16:32 +02:00
Kay Sievers
2315e57070 udevadm: monitor - use uptime to match the kernel's timestamp 2011-07-11 01:03:14 +02:00
Kay Sievers
a07e011434 libudev: enumerate - clarify documentation 2011-07-08 02:09:40 +02:00
Kay Sievers
d21781c457 update TODO 2011-07-07 20:06:45 +02:00
Kay Sievers
2bbafbfd4f libudev: device - fix udev_device_get_tags_list_entry() to always load database 2011-06-28 20:57:05 +02:00
Kay Sievers
6297c2d4e4 delete mobile-action-modeswitch which has moved to usb_modeswitch 2011-06-18 22:38:39 +02:00
Kay Sievers
f59e9fbb18 update TODO 2011-06-18 21:02:05 +02:00
Kay Sievers
812bfef52f update TODO 2011-06-06 20:10:35 +02:00
Kay Sievers
ea69e8217b Makefile: add tar-sync 2011-05-30 02:06:12 +02:00
Kay Sievers
7df0ed83c1 rules: implement TAGS== match 2011-05-25 21:08:52 +02:00
Kay Sievers
f085af8111 update TODO 2011-05-22 00:55:32 +02:00
Kay Sievers
c205bac060 update TODO 2011-05-20 19:01:21 +02:00
Kay Sievers
583c89629b systemd: sort trigger after socket 2011-05-20 17:08:06 +02:00
Kay Sievers
666fcf03bc libudev: export symbols explicitely and individually from C code not from separate file or prefix match 2011-05-20 14:41:10 +02:00
Kay Sievers
f34939e79b udate TODO, NEWS, INSTALL 2011-05-18 04:01:17 +02:00
Kay Sievers
bc71e44dbe update TODO 2011-05-17 20:28:30 +02:00
Kay Sievers
3cf1a8e36e libudev: device - use DEVMODE from kernel as the default mode 2011-05-16 22:04:02 +02:00
Kay Sievers
df2ee940d8 update TODO 2011-05-16 13:15:41 +02:00
Kay Sievers
09d38845da update TODO/NEWS 2011-04-29 21:16:53 +02:00
Kay Sievers
c1810751a2 release 168 2011-04-22 18:29:05 +02:00
Kay Sievers
a178e7fe90 udevd: rules files - accept empty or /dev/null links 2011-04-20 17:58:58 +02:00
Kay Sievers
5e8176e156 udevd: netif rename - use ifindex for temporary name 2011-04-20 17:30:30 +02:00
Kay Sievers
ead7c62ab7 udevadm: settle - kill alarm() 2011-04-20 02:18:22 +02:00
Kay Sievers
2181d30a34 timeout handling without alarm() 2011-04-20 01:54:38 +02:00
Kay Sievers
82063a88d1 udevd: ppoll() -> epoll + signalfd 2011-04-18 02:14:24 +02:00
Kay Sievers
578cd5101d udevadm: monitor - use epoll 2011-04-15 11:58:17 +02:00
Kay Sievers
9ead662791 udevadm: info --cleanup-db
Most of the udev database from initramfs should be deleted before
starting udev in the real root. udevadm: info --cleanup-db deletes
all database entries in /run/udev. Events that processed IMPORT{db},
or mark devices explicitely as persistent, will be excluded.
2011-04-13 22:33:01 +02:00
Kay Sievers
a3eca08b19 udevadm: settle - watch queue file 2011-04-13 18:44:28 +02:00
Kay Sievers
ff2c503df0 udevadm: control - add --exit 2011-04-13 01:17:09 +02:00
Kay Sievers
864fde8a08 man: remove trigger --type=failed handling 2011-03-23 23:56:15 +01:00
Kay Sievers
cf3b3fbcd5 udevd: use facility == LOG_DAEMON when writing to /dev/kmsg
Syslog wants to distinguish the sorce of messages. We should
indicate that this is a userspace message (LOG_DAEMON) and not
a kernel message (LOG_KERNEL).
2011-03-23 01:41:25 +01:00
Piter PUNK
6fb1b637d4 firmware: convert shell script to C 2009-12-15 16:28:52 +01:00
Kay Sievers
3c1898863f remove remaining support for CONFIG_SYSFS_DEPRECATED 2009-12-15 16:14:14 +01:00
Kay Sievers
6d87ee2e00 print warning for BUS=, SYSFS{}=, ID= 2009-11-16 23:39:33 +01:00
Kay Sievers
91554cf9a1 update TODO, NEWS 2009-09-16 20:27:30 +02:00
Kay Sievers
24355313dc scsi_id: delete copy of bsg.h
It's provided by the kernel since 2.6.23.
2009-09-14 14:33:26 +02:00
Kay Sievers
ca508dd94d udevadm: control - remove compat code 2009-09-14 14:29:05 +02:00
Kay Sievers
6c29f2b942 simplify "symlink name stack"
With well defined and kernel-supplied node names, we no longer need
to support a possible stack of conflicting symlinks and node names.
Only symlinks with identical names can be claimed by multiple devices.

This shrinks the former /dev/.udev/names/ significantly.

Also the /dev/{block,char}/MAJ:MIN" links are excluded from the name
stack - they are unique and can not conflict.
2009-09-09 18:49:07 +02:00
Kay Sievers
6d837a5348 udevadm: remove symlink support for old commands 2009-09-07 12:13:49 +02:00
Kay Sievers
c45e221513 update TODO 2009-08-30 22:45:49 +02:00
Kay Sievers
2ffc9cc191 change database file names
With very deeply nested devices, We can not use a single file
name to carry an entire DEVPATH. Use <subsystem>:<sysname> as
the database filename, which should also simplify the handling
of devices moving around, as these values will not change but
still be unique.

For the name stack we use the <maj>:<min> now as the filename.

> On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote:
> The first is that udev grumbles during boot about "file name too long"
> like the following:
>
> Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file
> '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1':
> File name too long
2009-08-19 20:49:49 +02:00
Kay Sievers
cb6268f419 udevd: block for 15 seconds after error when too old kernel is detected
The compat code will go away some day and CONFIG_SYSFS_DEPRECATED
kernels fail in too many setups now to be worth to support them.
2009-08-08 22:59:41 +02:00
Kay Sievers
4b6769f612 hid2hci: rewrite (and break) rules and device handling
We must never access random devices in /dev which do not belong to
the event we are handling. Hard-coding /dev/hidrawX, and looping over all
devices is absolutely not acceptable --> hook into hidraw events.

We can not relay on (rather random) properties merged into the parent
device by earlier rules --> use libudev to find the sibling device
with a matching interface.

Libusb does not fit into udev's use case. We never want want to scan
and open() all usb devices in the system, just to find the device
we are already handling the event for --> put all the stupid scanning
into a single function and prepare for a fixed libusb or drop it later.
2009-07-24 18:06:22 +02:00