1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-14 15:21:37 +03:00
Commit Graph

163 Commits

Author SHA1 Message Date
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
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
7567ca34aa TODO: add cleanup of ATA_COMPAT 2009-06-22 00:31:46 +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
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
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
Kay Sievers
df8bdf3fb8 TODO: update 2009-06-16 14:21:08 +02:00
Kay Sievers
68a99a2c45 update TODO 2009-06-16 02:03:26 +02:00
Kay Sievers
3dd8cbecde rules: remove scsi ch module loading rule 2009-06-10 00:17:35 +02:00