* dev.d and multi-device devices
@ 2004-10-14 21:23 Bill Nottingham
2004-10-14 22:24 ` Greg KH
2004-10-15 2:30 ` Bill Nottingham
0 siblings, 2 replies; 3+ messages in thread
From: Bill Nottingham @ 2004-10-14 21:23 UTC (permalink / raw)
To: linux-hotplug
So, say you have a driver that creates multiple /dev entries.
The actual devices don't really function until all of them
are available.
How do you write a proper dev.d script - just have it not
do anything until it sees what the presumably last device
is?
Bill
-------------------------------------------------------
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: dev.d and multi-device devices
2004-10-14 21:23 dev.d and multi-device devices Bill Nottingham
@ 2004-10-14 22:24 ` Greg KH
2004-10-15 2:30 ` Bill Nottingham
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-10-14 22:24 UTC (permalink / raw)
To: linux-hotplug
On Thu, Oct 14, 2004 at 05:23:52PM -0400, Bill Nottingham wrote:
> So, say you have a driver that creates multiple /dev entries.
> The actual devices don't really function until all of them
> are available.
What driver would this be?
> How do you write a proper dev.d script - just have it not
> do anything until it sees what the presumably last device
> is?
I guess so. Any specifics?
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: dev.d and multi-device devices
2004-10-14 21:23 dev.d and multi-device devices Bill Nottingham
2004-10-14 22:24 ` Greg KH
@ 2004-10-15 2:30 ` Bill Nottingham
1 sibling, 0 replies; 3+ messages in thread
From: Bill Nottingham @ 2004-10-15 2:30 UTC (permalink / raw)
To: linux-hotplug
Greg KH (greg@kroah.com) said:
> > So, say you have a driver that creates multiple /dev entries.
> > The actual devices don't really function until all of them
> > are available.
>
> What driver would this be?
It's the ALSA stack... basically, if you want to tweak the
mixer, you operate on /dev/snd/controlC<number>; however,
that device is available before the hardware resources are.
You can have the script operate when it sees the PCM devices,
which works, if slightly incorrect in theory. :)
Bill
-------------------------------------------------------
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-15 2:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 21:23 dev.d and multi-device devices Bill Nottingham
2004-10-14 22:24 ` Greg KH
2004-10-15 2:30 ` Bill Nottingham
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).