summaryrefslogtreecommitdiff
path: root/udevd.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-04-02 16:58:59 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:14 -0700
commit4ef51da90ceec73aafacf32d1eba427236763ce1 (patch)
tree48637d84e14381cde76e49db61f8c3777a8cb695 /udevd.h
parent5df33ccd8e03043597ff2b1777bbf5219e7080e3 (diff)
[PATCH] increase udevd event timeout
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'
Diffstat (limited to 'udevd.h')
-rw-r--r--udevd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevd.h b/udevd.h
index 96f179ad44..5fdd62d323 100644
--- a/udevd.h
+++ b/udevd.h
@@ -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"