linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* wait_for_sysfs bluetooth class update
@ 2004-10-06 23:26 Kay Sievers
  2004-10-07  0:39 ` Greg KH
  2004-10-07  0:56 ` Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: Kay Sievers @ 2004-10-06 23:26 UTC (permalink / raw)
  To: linux-hotplug

[-- 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-07  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 23:26 wait_for_sysfs bluetooth class update Kay Sievers
2004-10-07  0:39 ` Greg KH
2004-10-07  0:56 ` Kay Sievers

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).