lkml.org 
[lkml]   [2004]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] udev: udevd shall inform us abot trouble
Date
On Saturday 11 September 2004 20:48, Kevin P. Fleming wrote:
> Denis Vlasenko wrote:
> > Well, I lied a bit. These lines are from my home box, which is not
> > udev'ified yet. At the job, I sit on i815 box, and there amixer
> > fails to set volume. It happens 100% of the time. Adding "sleep 1"
> > after modprobing helps. With devfs it worked without sleep.
>
> This is correct; with devfs, creation of device nodes during module
> loading was synchronous, so it was always (or nearly always) complete
> before modprobe returned. With udev, creation of device nodes is
> completely asynchronous, and may happen at _any_ time after the module
> has been loaded.

Yes. I know why it works differently.

> The real solution here is for people to re-think their system startup
> processes; if you need mixer settings applied at startup, then build a
> small script somewhere in /etc/hotplug.d or /etc/dev.d that applies them
> to the mixer _when it appears_.

As a user, I prefer to be able to use device right away after
modprobe. Imagine ethN appearing "sometime after" modprobe.
Would you like such behavior?
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans