mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
4ef51da90c
I have a very slow Bluetooth adapter hotplug event call, so we need to increase the event timeout to something larger than 6 seconds. Apr 1 02:54:08 pim udevsend[12119]: main: DEVPATH = '/class/tty/ttyUB0' Apr 1 02:54:08 pim udevsend[12119]: main: SEQNUM = '340' Apr 1 02:54:08 pim udevsend[12120]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1' Apr 1 02:54:08 pim udevsend[12120]: main: SEQNUM = '344' Apr 1 02:54:09 pim udevsend[12133]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1' Apr 1 02:54:09 pim udevsend[12133]: main: SEQNUM = '342' Apr 1 02:54:10 pim udevsend[12136]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.2' Apr 1 02:54:10 pim udevsend[12136]: main: SEQNUM = '343' Apr 1 02:54:13 pim udevsend[12141]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0' Apr 1 02:54:13 pim udevsend[12141]: main: SEQNUM = '341'
57 lines
1.5 KiB
Groff
57 lines
1.5 KiB
Groff
.TH UDEVD 8 "February 2004" "" "Linux Administrator's Manual"
|
|
.SH NAME
|
|
udevd \- udev event serializer daemon
|
|
.br
|
|
udevsend \- sends the event to udevd
|
|
.SH SYNOPSIS
|
|
.BI udevsend " hotplug-subsystem"
|
|
.sp
|
|
The environment must provide the following variables:
|
|
.TP
|
|
.B ACTION
|
|
.IR add " or " remove
|
|
signifies the connection or disconnection of a device.
|
|
.TP
|
|
.B DEVPATH
|
|
The sysfs devpath of the device without the mountpoint but a leading slash.
|
|
.TP
|
|
.B SEQNUM
|
|
The sequence number of the event provided by the kernel.
|
|
If unset, the event bypasses the queue and will be executed immediately.
|
|
.SH "DESCRIPTION"
|
|
.B udevd
|
|
allows the serialization of
|
|
.BR hotplug (8)
|
|
events. The events generated by the kernel may arrive in random order
|
|
in userspace, that makes it neccessary to reorder them.
|
|
.br
|
|
.B udevd
|
|
takes care of the kernel supplied sequence number and arranges the events for
|
|
execution in the correct order. Missing sequences delay the execution of the
|
|
following events until a timeout is reached.
|
|
.br
|
|
For each event a
|
|
.BR udev (8)
|
|
instance is executed in the background. All further events for the same device
|
|
are delayed until the execution is finished. This way there will never be more
|
|
than one instance running for a single device at the same time.
|
|
.br
|
|
.B udevd
|
|
receives the events from
|
|
.B udevsend
|
|
which is called by
|
|
.BR hotplug (8).
|
|
If
|
|
.B udevd
|
|
isn't already running,
|
|
.B udevsend
|
|
will start it.
|
|
.SH "SEE ALSO"
|
|
.BR udev (8),
|
|
.BR udevinfo (8),
|
|
.BR hotplug (8)
|
|
.SH AUTHORS
|
|
.B udevd
|
|
was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with much help
|
|
from others.
|