From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] increase udevd event timeout
Date: Fri, 02 Apr 2004 09:30:28 +0000 [thread overview]
Message-ID: <20040402093028.GB16642@vrfy.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
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'
thanks,
Kay
[-- Attachment #2: 02-udevd-timeout.patch --]
[-- Type: text/plain, Size: 816 bytes --]
===== udevd.8 1.7 vs edited =====
--- 1.7/udevd.8 Fri Apr 2 02:11:47 2004
+++ edited/udevd.8 Fri Apr 2 10:39:42 2004
@@ -28,7 +28,7 @@
.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 of a maximum of 5 seconds is reached.
+following events until a timeout is reached.
.br
For each event a
.BR udev (8)
===== udevd.h 1.9 vs edited =====
--- 1.9/udevd.h Sun Mar 28 00:40:46 2004
+++ edited/udevd.h Fri Apr 2 10:35:39 2004
@@ -25,7 +25,7 @@
#include "list.h"
#define UDEV_MAGIC "udevd_" UDEV_VERSION
-#define EVENT_TIMEOUT_SEC 5
+#define EVENT_TIMEOUT_SEC 10
#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
#define UDEVD_SOCK_PATH "udevd"
next reply other threads:[~2004-04-02 9:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 9:30 Kay Sievers [this message]
2004-04-02 17:10 ` [PATCH] increase udevd event timeout Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040402093028.GB16642@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).