linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: wait_for_sysfs bluetooth class update
Date: Wed, 06 Oct 2004 23:26:55 +0000	[thread overview]
Message-ID: <20041006232655.GA11837@vrfy.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

Here is the file to wait for the bluetooth class, as it is not a "dev"
file. udev waits for 10 seconds here too.

If the wait binary works as expected we may remove all the
waiting stuff from the udev sources sometimes?

Thanks,
Kay

[-- Attachment #2: udev-wait-bluetooth.patch --]
[-- Type: text/plain, Size: 469 bytes --]

===== wait_for_sysfs.c 1.2 vs edited =====
--- 1.2/wait_for_sysfs.c	2004-10-06 04:07:03 +02:00
+++ edited/wait_for_sysfs.c	2004-10-07 01:18:25 +02:00
@@ -61,6 +61,7 @@ static int wait_for_class_device_attribu
 		{ .subsystem = "scsi_device",	.file = NULL },
 		{ .subsystem = "pcmcia_socket",	.file = "card_type" },
 		{ .subsystem = "usb_host",	.file = NULL },
+		{ .subsystem = "bluetooth",	.file = "address" },
 		{ NULL, NULL }
 	};
 	struct class_file *classfile;

             reply	other threads:[~2004-10-06 23:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06 23:26 Kay Sievers [this message]
2004-10-07  0:39 ` wait_for_sysfs bluetooth class update Greg KH
2004-10-07  0:56 ` Kay Sievers

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=20041006232655.GA11837@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).