* [PATCH] add USB coldplay support into udevstart
@ 2005-08-07 20:55 Thierry Vignaud
2005-08-08 13:12 ` Greg KH
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: Thierry Vignaud @ 2005-08-07 20:55 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 109 bytes --]
the following patch from Olivier Blin adds USB coldplay support into
udevstart (patch is against udev-065):
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: udev-065-usb-coldplug.patch --]
[-- Type: text/x-patch, Size: 2392 bytes --]
--- udev-065/udevstart.c.usb-coldplug 2005-08-02 22:56:41.000000000 +0200
+++ udev-065/udevstart.c 2005-08-06 13:49:17.000000000 +0200
@@ -138,11 +138,20 @@
udev_init_device(&udev, devpath, subsystem, "add");
udev.devt = get_devt(class_dev);
- if (!udev.devt && udev.type != DEV_NET) {
- dbg("sysfs_open_class_device_path failed");
+ if (udev.devt || udev.type == DEV_NET) {
+ udev_rules_get_name(&rules, &udev, class_dev);
+ } else if (udev.type == DEV_DEVICE) {
+ struct sysfs_device *sysfs_dev;
+ sysfs_dev = sysfs_open_device_path(path);
+ if (sysfs_dev == NULL) {
+ dbg("sysfs_open_device_path failed");
+ return -1;
+ }
+ udev_rules_get_run(&rules, &udev, NULL, sysfs_dev);
+ } else {
+ dbg("get_devt failed");
return -1;
}
- udev_rules_get_name(&rules, &udev, class_dev);
if (udev.ignore_device) {
dbg("device event will be ignored");
goto exit;
@@ -329,6 +338,59 @@
exec_list(&device_list);
}
+static int has_modalias(const char *directory)
+{
+ char filename[PATH_SIZE];
+ struct stat statbuf;
+
+ snprintf(filename, sizeof(filename), "%s/modalias", directory);
+ filename[sizeof(filename)-1] = '\0';
+
+ if (stat(filename, &statbuf) == 0)
+ return 1;
+
+ return 0;
+}
+
+static void udev_scan_usb(void)
+{
+ char base[PATH_SIZE];
+ DIR *dir;
+ struct dirent *dent;
+ LIST_HEAD(device_list);
+
+ snprintf(base, sizeof(base), "%s/bus/usb/devices", sysfs_path);
+ base[sizeof(base)-1] = '\0';
+
+ dir = opendir(base);
+ if (dir != NULL) {
+ for (dent = readdir(dir); dent != NULL; dent = readdir(dir)) {
+ char linkname[PATH_SIZE];
+ char dirname_short[PATH_SIZE];
+ char *dirname = NULL;
+
+ if (dent->d_name[0] == '.')
+ continue;
+
+ snprintf(linkname, sizeof(linkname), "%s/%s", base, dent->d_name);
+ linkname[sizeof(linkname)-1] = '\0';
+
+ if (has_modalias(linkname)) {
+ int ret = readlink(linkname, dirname_short, PATH_SIZE);
+ if (ret > 8) {
+ dirname_short[ret] = '\0';
+ /* replace ../../.. with /sys */
+ dirname = dirname_short + 4;
+ memcpy(dirname, "/sys", 4);
+ device_list_insert(dirname, "usb", &device_list);
+ }
+ }
+ }
+ closedir(dir);
+ }
+ exec_list(&device_list);
+}
+
static void asmlinkage sig_handler(int signum)
{
switch (signum) {
@@ -371,6 +433,7 @@
udev_scan_block();
udev_scan_class();
+ udev_scan_usb();
udev_rules_close(&rules);
logging_close();
[-- Attachment #3: Type: text/plain, Size: 96 bytes --]
btw, note that according to olivier, there's code from udev_event.c
duplicated in udevstartc.c
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
@ 2005-08-08 13:12 ` Greg KH
2005-08-08 13:49 ` Greg KH
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Greg KH @ 2005-08-08 13:12 UTC (permalink / raw)
To: linux-hotplug
On Sun, Aug 07, 2005 at 10:55:16PM +0200, Thierry Vignaud wrote:
> the following patch from Olivier Blin adds USB coldplay support into
> udevstart (patch is against udev-065):
Care to just change this to work for all busses that might have
"modalias" files in them? USB isn't the only one...
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
2005-08-08 13:12 ` Greg KH
@ 2005-08-08 13:49 ` Greg KH
2005-08-08 14:21 ` Greg KH
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Greg KH @ 2005-08-08 13:49 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, 2005 at 06:14:19PM +0200, Thierry Vignaud wrote:
> udevstart already performs coldplug regarding classes & block devices.
> it's exactly what udevstart was designed for IMHO.
No. udevstart was to do "coldplug" for devices that udev supports.
Adding the modalias stuff to it makes it start supporting events that
udev traditionally doesn't care about.
So I agree with Kay, we should do this in multiple steps, with different
helpers to do this, to keep distros sane.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
2005-08-08 13:12 ` Greg KH
2005-08-08 13:49 ` Greg KH
@ 2005-08-08 14:21 ` Greg KH
2005-08-08 16:09 ` Kay Sievers
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Greg KH @ 2005-08-08 14:21 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, 2005 at 09:40:33AM -0700, david-b@pacbell.net wrote:
> (*) And come to think of it, I2C. But I2C isn't going to
> be hotpluggable ... there are too many devices that
> can't safely be probed;
But I'm working on providing this option. If you look, we pretty much
always do this today in the userspace scripts that people run to try to
determine what drivers to load for a specific system.
Yes, some devices can't be probed, but they are in the minority.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (2 preceding siblings ...)
2005-08-08 14:21 ` Greg KH
@ 2005-08-08 16:09 ` Kay Sievers
2005-08-08 16:14 ` Thierry Vignaud
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Kay Sievers @ 2005-08-08 16:09 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, 2005 at 06:12:55AM -0700, Greg KH wrote:
> On Sun, Aug 07, 2005 at 10:55:16PM +0200, Thierry Vignaud wrote:
> > the following patch from Olivier Blin adds USB coldplay support into
> > udevstart (patch is against udev-065):
>
> Care to just change this to work for all busses that might have
> "modalias" files in them? USB isn't the only one...
I don't think, that we want to do this in udevstart, at least at it's
current state. It will break to many setups, cause all the distros have
their own way to handle the coldplug case.
Everything in udevstart is serialized, which may not be optimal for all
the things to do during a coldplug session, cause every sleeping script
will delay the whole process.
In general I like the idea and we should experiment what the best solution
would be: event-replay, coldplug-binary, udevstart + coldplug, synthesizing
events and pass them to udevd for parallel execution...
But this should happen in a separate binary, so we don't break too many
things at once. :)
Thanks,
Kay
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (3 preceding siblings ...)
2005-08-08 16:09 ` Kay Sievers
@ 2005-08-08 16:14 ` Thierry Vignaud
2005-08-08 16:17 ` Kay Sievers
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Thierry Vignaud @ 2005-08-08 16:14 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers <kay.sievers@vrfy.org> writes:
> > > the following patch from Olivier Blin adds USB coldplay support
> > > into udevstart (patch is against udev-065):
> >
> > Care to just change this to work for all busses that might have
> > "modalias" files in them? USB isn't the only one...
>
> I don't think, that we want to do this in udevstart, at least at
> it's current state. It will break to many setups, cause all the
> distros have their own way to handle the coldplug case.
>
> Everything in udevstart is serialized, which may not be optimal for
> all the things to do during a coldplug session, cause every sleeping
> script will delay the whole process.
udev'll serialize event processing anyway...
> In general I like the idea and we should experiment what the best
> solution would be: event-replay, coldplug-binary, udevstart +
> coldplug, synthesizing events and pass them to udevd for parallel
> execution...
> But this should happen in a separate binary, so we don't break too many
> things at once. :)
udevstart already performs coldplug regarding classes & block devices.
it's exactly what udevstart was designed for IMHO.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (4 preceding siblings ...)
2005-08-08 16:14 ` Thierry Vignaud
@ 2005-08-08 16:17 ` Kay Sievers
2005-08-08 16:30 ` Olaf Hering
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Kay Sievers @ 2005-08-08 16:17 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, 2005 at 06:14:19PM +0200, Thierry Vignaud wrote:
> Kay Sievers <kay.sievers@vrfy.org> writes:
>
> > > > the following patch from Olivier Blin adds USB coldplay support
> > > > into udevstart (patch is against udev-065):
> > >
> > > Care to just change this to work for all busses that might have
> > > "modalias" files in them? USB isn't the only one...
> >
> > I don't think, that we want to do this in udevstart, at least at
> > it's current state. It will break to many setups, cause all the
> > distros have their own way to handle the coldplug case.
> >
> > Everything in udevstart is serialized, which may not be optimal for
> > all the things to do during a coldplug session, cause every sleeping
> > script will delay the whole process.
>
> udev'll serialize event processing anyway...
udev is a event process! udevd will not serialize the most cases!
> > In general I like the idea and we should experiment what the best
> > solution would be: event-replay, coldplug-binary, udevstart +
> > coldplug, synthesizing events and pass them to udevd for parallel
> > execution...
> > But this should happen in a separate binary, so we don't break too many
> > things at once. :)
>
> udevstart already performs coldplug regarding classes & block devices.
> it's exactly what udevstart was designed for IMHO.
Yeah, great, tell me what it is designed for.
Thanks,
Kay
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (5 preceding siblings ...)
2005-08-08 16:17 ` Kay Sievers
@ 2005-08-08 16:30 ` Olaf Hering
2005-08-08 19:40 ` Greg KH
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Olaf Hering @ 2005-08-08 16:30 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, Kay Sievers wrote:
> I don't think, that we want to do this in udevstart, at least at it's
> current state. It will break to many setups, cause all the distros have
> their own way to handle the coldplug case.
Please rename 'udevstart' to 'udev_fill_dev_dir_with_device_node_entries',
to reflect what the real purpose is (or was, back in the old days).
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (6 preceding siblings ...)
2005-08-08 16:30 ` Olaf Hering
@ 2005-08-08 19:40 ` Greg KH
2005-08-10 10:59 ` Olivier Blin
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Greg KH @ 2005-08-08 19:40 UTC (permalink / raw)
To: linux-hotplug
On Mon, Aug 08, 2005 at 12:28:40PM -0700, david-b@pacbell.net wrote:
> > Date: Mon, 8 Aug 2005 07:21:20 -0700
> > From: Greg KH <greg@kroah.com>
> >
> > On Mon, Aug 08, 2005 at 09:40:33AM -0700, david-b@pacbell.net wrote:
> > > (*) And come to think of it, I2C. But I2C isn't going to
> > > be hotpluggable ... there are too many devices that
> > > can't safely be probed;
> >
> > But I'm working on providing this option.
>
> You mean, "modalias" for I2C?
Yes.
> > If you look, we pretty much
> > always do this today in the userspace scripts that people run to try to
> > determine what drivers to load for a specific system.
>
> That won't work for drivers that need to be running in order for the
> kernel to boot far enough to run userspace.
Userspace starts up before _any_ device probing ever happens today. So
this really isn't an issue.
> I have in mind power
> management chips ... things that do power switching and maybe voltage
> regulation. Also, turnkey systems where it's unreasonable to expect
> any user to ever do such configuration. Modular drivers aren't always
> going to be a system option, either... and requiring lots of extra
> kernel boot arguments (for I2C probe/force options) is error prone.
I don't want to change the way the code currently works at all, just
want to expose to userspace the device addresses the i2c drivers
support, so that userspace can, if they want to, load the proper drivers
without relying on trying them all, like they have to today.
> > Yes, some devices can't be probed, but they are in the minority.
>
> Right, but that doesn't mean it's appropriate to ignore them!
I'm not going to, see above.
> Even if you can detect "Bus 2 address 3 has a chip of type X",
> probing is often unable to uncover the specific chip variant,
> which can be essential. There needs to be some boot-time way
> to get that information across. It'd be nice if that didn't
> involve adding lots of board-specific code to device drivers,
> or error-prone manual configuration; for now, board-specific
> driver code seems to be the solution that works best.
Any proposals are walcome.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (7 preceding siblings ...)
2005-08-08 19:40 ` Greg KH
@ 2005-08-10 10:59 ` Olivier Blin
2005-08-10 14:47 ` Kay Sievers
2005-08-10 15:06 ` Marco d'Itri
10 siblings, 0 replies; 12+ messages in thread
From: Olivier Blin @ 2005-08-10 10:59 UTC (permalink / raw)
To: linux-hotplug
Olaf Hering <olh@suse.de> writes:
> On Mon, Aug 08, Kay Sievers wrote:
>
>> I don't think, that we want to do this in udevstart, at least at it's
>> current state. It will break to many setups, cause all the distros have
>> their own way to handle the coldplug case.
>
> Please rename 'udevstart' to 'udev_fill_dev_dir_with_device_node_entries',
> to reflect what the real purpose is (or was, back in the old days).
I understand the initial goal of udevstart is to populate /dev, but it
can be extended to replay other events that would have been missed
before udev was started.
Maybe we could add a --coldplug= option with a comma-separated list of
buses. Thus it will be backward compatible for distros already
handling the coldplug case, and it will allow to easily switch to
udevstart for coldplug. Should I write the patch?
By the way, it would probably be cleaner to use udev_process_event()
in add_device() (from udevstart), unless there is some special case I
miss.
And this piece of code:
if (strcmp(dent->d_name, "net") = 0)
device_list_insert(dirname2, "net", &device_list);
else if (has_devt(dirname2))
device_list_insert(dirname2, dent->d_name, &device_list);
can be simplified as:
if (strcmp(dent->d_name, "net") = 0 || has_devt(dirname2))
device_list_insert(dirname2, dent->d_name, &device_list);
Regards
--
Olivier Blin
Mandriva
Mandrakesoft becomes Mandriva
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (8 preceding siblings ...)
2005-08-10 10:59 ` Olivier Blin
@ 2005-08-10 14:47 ` Kay Sievers
2005-08-10 15:06 ` Marco d'Itri
10 siblings, 0 replies; 12+ messages in thread
From: Kay Sievers @ 2005-08-10 14:47 UTC (permalink / raw)
To: linux-hotplug
On Wed, Aug 10, 2005 at 01:00:52PM +0200, Olivier Blin wrote:
> Olaf Hering <olh@suse.de> writes:
>
> > On Mon, Aug 08, Kay Sievers wrote:
> >
> >> I don't think, that we want to do this in udevstart, at least at it's
> >> current state. It will break to many setups, cause all the distros have
> >> their own way to handle the coldplug case.
> >
> > Please rename 'udevstart' to 'udev_fill_dev_dir_with_device_node_entries',
> > to reflect what the real purpose is (or was, back in the old days).
>
> I understand the initial goal of udevstart is to populate /dev, but it
> can be extended to replay other events that would have been missed
> before udev was started.
>
> Maybe we could add a --coldplug= option with a comma-separated list of
> buses. Thus it will be backward compatible for distros already
> handling the coldplug case, and it will allow to easily switch to
> udevstart for coldplug. Should I write the patch?
Sure, that would be nice. But start it as it's own program. Maybe copy
udevstart for it, but leave it as it is for now. I don't want to touch
it with experimental stuff, also not with alternate code paths, it is
the most critical part of udev for most of its users.
There are many options to try and I don't think that serializing the
complete coldplug with a single process makes a lot of sense. It would
execute all udev rules for every device it finds, external stuff is called
that may take a unpredictable amount of time to run. This must be some async
operation, similar to what we do with udevd, I think.
> By the way, it would probably be cleaner to use udev_process_event()
> in add_device() (from udevstart), unless there is some special case I
> miss.
We don't want the wait_for_sysfs crap with udevstart, it is much faster
that way. It may change with a future udev version, which dependend on
a specific kernel version, that does not need most of the wait_for_sysfs
anymore.
> And this piece of code:
> if (strcmp(dent->d_name, "net") = 0)
> device_list_insert(dirname2, "net", &device_list);
> else if (has_devt(dirname2))
> device_list_insert(dirname2, dent->d_name, &device_list);
> can be simplified as:
> if (strcmp(dent->d_name, "net") = 0 || has_devt(dirname2))
> device_list_insert(dirname2, dent->d_name, &device_list);
Yeah, that's right.
Thanks,
Kay
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
* Re: [PATCH] add USB coldplay support into udevstart
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
` (9 preceding siblings ...)
2005-08-10 14:47 ` Kay Sievers
@ 2005-08-10 15:06 ` Marco d'Itri
10 siblings, 0 replies; 12+ messages in thread
From: Marco d'Itri @ 2005-08-10 15:06 UTC (permalink / raw)
To: linux-hotplug
On Aug 10, Olivier Blin <oblin@mandriva.com> wrote:
> I understand the initial goal of udevstart is to populate /dev, but it
> can be extended to replay other events that would have been missed
> before udev was started.
I think that the goal of udevstart should be to generate all (and only)
the events that would be captured in the initramfs or received later
directly from the kernel.
Since udev now handles every kind of events for modalias, firmwares
loading, etc, then udevstart should be able to generate them.
--
ciao,
Marco
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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] 12+ messages in thread
end of thread, other threads:[~2005-08-10 15:06 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 20:55 [PATCH] add USB coldplay support into udevstart Thierry Vignaud
2005-08-08 13:12 ` Greg KH
2005-08-08 13:49 ` Greg KH
2005-08-08 14:21 ` Greg KH
2005-08-08 16:09 ` Kay Sievers
2005-08-08 16:14 ` Thierry Vignaud
2005-08-08 16:17 ` Kay Sievers
2005-08-08 16:30 ` Olaf Hering
2005-08-08 19:40 ` Greg KH
2005-08-10 10:59 ` Olivier Blin
2005-08-10 14:47 ` Kay Sievers
2005-08-10 15:06 ` Marco d'Itri
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).