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

* Re: wait_for_sysfs bluetooth class update
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-10-07  0:39 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Oct 07, 2004 at 01:26:55AM +0200, Kay Sievers wrote:
> Here is the file to wait for the bluetooth class, as it is not a "dev"
> file. udev waits for 10 seconds here too.

Ah crap, I just released 033.  Oh well, I've applied this to the tree
now :)

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

I think so.  I added the wait_for_sysfs file to the Gentoo udev package.
Let's see how well it works out, and if no one complains I think we
should remove it.

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: wait_for_sysfs bluetooth class update
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2004-10-07  0:56 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Oct 06, 2004 at 05:39:28PM -0700, Greg KH wrote:
> On Thu, Oct 07, 2004 at 01:26:55AM +0200, Kay Sievers wrote:
> > Here is the file to wait for the bluetooth class, as it is not a "dev"
> > file. udev waits for 10 seconds here too.
> 
> Ah crap, I just released 033.  Oh well, I've applied this to the tree
> now :)

I'm on the way to Boston now, so my queue is empty for the next day :)

> > If the wait binary works as expected we may remove all the
> > waiting stuff from the udev sources sometimes?
> 
> I think so.  I added the wait_for_sysfs file to the Gentoo udev package.
> Let's see how well it works out, and if no one complains I think we
> should remove it.

Great! I expect the Gentoo people will watch their syslog :) So we may
get an almost complete version soon and people can stop complaining about
the sysfs timing.

Thanks,
Kay


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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