linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* does udev really require hotplug?
@ 2004-01-02 10:10 Andrea Barisani
  2004-01-02 20:19 ` Greg KH
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Andrea Barisani @ 2004-01-02 10:10 UTC (permalink / raw)
  To: linux-kernel, linux-hotplug-devel; +Cc: greg


Hi everybody and happy new year!

Just one simple question about a very simple matter that right now 
I can't figure out: does udev need hotplug package presence?

From your README:

  If for some reason you do not install the hotplug scripts, you must tell the
  kernel to point the hotplug binary at wherever you install udev at.  This can
  be done by:
	echo "/sbin/udev" > /proc/sys/kernel/hotplug


...does this work properly? It's not clear if some features are lost by not having 
hotplug script installed. Also is this policy subject to changes in the near
future?


Bye and thanks

P.S.
please CC me since I'm not subscribed

-- 
Andrea Barisani <lcars@gentoo.org>                            .*.
Gentoo Linux Infrastructure Developer                          V
                                                             (   )
GPG-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc   (   )
    0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E        ^^_^^


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
@ 2004-01-02 20:19 ` Greg KH
  2004-01-02 22:56   ` Andrea Barisani
  2004-01-02 23:25 ` Jon Smirl
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2004-01-02 20:19 UTC (permalink / raw)
  To: Andrea Barisani; +Cc: linux-kernel, linux-hotplug-devel

On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> 
> Hi everybody and happy new year!
> 
> Just one simple question about a very simple matter that right now 
> I can't figure out: does udev need hotplug package presence?
> 
> >From your README:
> 
>   If for some reason you do not install the hotplug scripts, you must tell the
>   kernel to point the hotplug binary at wherever you install udev at.  This can
>   be done by:
> 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> 
> 
> ...does this work properly?

It should.  Does it not for you?

> It's not clear if some features are lost by not having hotplug script
> installed.

None of the other programs that hook off of the hotplug program will be
available to you if you do this (automatic driver loading, firmware
loading, devlabel, etc.)

> Also is this policy subject to changes in the near future?

What policy?  If you don't have the hotplug package installed, then you
can still use udev.  If you have the hotplug package installed, I've
detailed how you can still use udev.  What's the problem?  :)

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 20:19 ` Greg KH
@ 2004-01-02 22:56   ` Andrea Barisani
  0 siblings, 0 replies; 9+ messages in thread
From: Andrea Barisani @ 2004-01-02 22:56 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, linux-hotplug-devel

On Fri, Jan 02, 2004 at 12:19:05PM -0800, Greg KH wrote:
> On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> > 
> > Hi everybody and happy new year!
> > 
> > Just one simple question about a very simple matter that right now 
> > I can't figure out: does udev need hotplug package presence?
> > 
> > >From your README:
> > 
> >   If for some reason you do not install the hotplug scripts, you must tell the
> >   kernel to point the hotplug binary at wherever you install udev at.  This can
> >   be done by:
> > 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> > 
> > 
> > ...does this work properly?
> 
> It should.  Does it not for you?
> 
> > It's not clear if some features are lost by not having hotplug script
> > installed.
> 
> None of the other programs that hook off of the hotplug program will be
> available to you if you do this (automatic driver loading, firmware
> loading, devlabel, etc.)
> 
> > Also is this policy subject to changes in the near future?
> 
> What policy?  If you don't have the hotplug package installed, then you
> can still use udev.  If you have the hotplug package installed, I've
> detailed how you can still use udev.  What's the problem?  :)
> 
> thanks,
> 
> greg k-h

Ok, now it's all clear :). It wasn't so clear from the documentation (at
least for me) and since I'm not fully familiar with hotplug features I've
decided to ask ;).

Thanks a lot for your feedback

Bye


-- 
Andrea Barisani <lcars@gentoo.org>                            .*.
Gentoo Linux Infrastructure Developer                          V
                                                             (   )
GPG-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc   (   )
    0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E        ^^_^^


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
  2004-01-02 20:19 ` Greg KH
@ 2004-01-02 23:25 ` Jon Smirl
  2004-03-29 15:39 ` Greg KH
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Jon Smirl @ 2004-01-02 23:25 UTC (permalink / raw)
  To: Andrea Barisani, Greg KH; +Cc: linux-kernel, linux-hotplug-devel

The new dri drivers I am working on will require hotplug when they are finished.
They use the hotplug event to reset secondary adapters and get the monitor
EDID/DDC data. The drivers don't require udev but will use it if present.

--- Andrea Barisani <lcars@gentoo.org> wrote:
> On Fri, Jan 02, 2004 at 12:19:05PM -0800, Greg KH wrote:
> > On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> > > 
> > > Hi everybody and happy new year!
> > > 
> > > Just one simple question about a very simple matter that right now 
> > > I can't figure out: does udev need hotplug package presence?


==Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
  2004-01-02 20:19 ` Greg KH
  2004-01-02 23:25 ` Jon Smirl
@ 2004-03-29 15:39 ` Greg KH
  2004-03-29 15:39 ` Andrea Barisani
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2004-03-29 15:39 UTC (permalink / raw)
  To: linux-hotplug

On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> 
> Hi everybody and happy new year!
> 
> Just one simple question about a very simple matter that right now 
> I can't figure out: does udev need hotplug package presence?
> 
> >From your README:
> 
>   If for some reason you do not install the hotplug scripts, you must tell the
>   kernel to point the hotplug binary at wherever you install udev at.  This can
>   be done by:
> 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> 
> 
> ...does this work properly?

It should.  Does it not for you?

> It's not clear if some features are lost by not having hotplug script
> installed.

None of the other programs that hook off of the hotplug program will be
available to you if you do this (automatic driver loading, firmware
loading, devlabel, etc.)

> Also is this policy subject to changes in the near future?

What policy?  If you don't have the hotplug package installed, then you
can still use udev.  If you have the hotplug package installed, I've
detailed how you can still use udev.  What's the problem?  :)

thanks,

greg k-h
-
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/





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
                   ` (2 preceding siblings ...)
  2004-03-29 15:39 ` Greg KH
@ 2004-03-29 15:39 ` Andrea Barisani
  2004-03-29 15:39 ` Jon Smirl
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Andrea Barisani @ 2004-03-29 15:39 UTC (permalink / raw)
  To: linux-hotplug

On Fri, Jan 02, 2004 at 12:19:05PM -0800, Greg KH wrote:
> On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> > 
> > Hi everybody and happy new year!
> > 
> > Just one simple question about a very simple matter that right now 
> > I can't figure out: does udev need hotplug package presence?
> > 
> > >From your README:
> > 
> >   If for some reason you do not install the hotplug scripts, you must tell the
> >   kernel to point the hotplug binary at wherever you install udev at.  This can
> >   be done by:
> > 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> > 
> > 
> > ...does this work properly?
> 
> It should.  Does it not for you?
> 
> > It's not clear if some features are lost by not having hotplug script
> > installed.
> 
> None of the other programs that hook off of the hotplug program will be
> available to you if you do this (automatic driver loading, firmware
> loading, devlabel, etc.)
> 
> > Also is this policy subject to changes in the near future?
> 
> What policy?  If you don't have the hotplug package installed, then you
> can still use udev.  If you have the hotplug package installed, I've
> detailed how you can still use udev.  What's the problem?  :)
> 
> thanks,
> 
> greg k-h

Ok, now it's all clear :). It wasn't so clear from the documentation (at
least for me) and since I'm not fully familiar with hotplug features I've
decided to ask ;).

Thanks a lot for your feedback

Bye


-- 
Andrea Barisani <lcars@gentoo.org>                            .*.
Gentoo Linux Infrastructure Developer                          V
                                                             (   )
GPG-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc   (   )
    0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E        ^^_^^
-
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/





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
                   ` (3 preceding siblings ...)
  2004-03-29 15:39 ` Andrea Barisani
@ 2004-03-29 15:39 ` Jon Smirl
  2004-03-29 15:40 ` Martin Schlemmer
  2004-03-29 15:40 ` Martin Schlemmer
  6 siblings, 0 replies; 9+ messages in thread
From: Jon Smirl @ 2004-03-29 15:39 UTC (permalink / raw)
  To: linux-hotplug

The new dri drivers I am working on will require hotplug when they are finished.
They use the hotplug event to reset secondary adapters and get the monitor
EDID/DDC data. The drivers don't require udev but will use it if present.

--- Andrea Barisani <lcars@gentoo.org> wrote:
> On Fri, Jan 02, 2004 at 12:19:05PM -0800, Greg KH wrote:
> > On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> > > 
> > > Hi everybody and happy new year!
> > > 
> > > Just one simple question about a very simple matter that right now 
> > > I can't figure out: does udev need hotplug package presence?


==Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
-
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/





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 9+ messages in thread

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
                   ` (4 preceding siblings ...)
  2004-03-29 15:39 ` Jon Smirl
@ 2004-03-29 15:40 ` Martin Schlemmer
  2004-03-29 15:40 ` Martin Schlemmer
  6 siblings, 0 replies; 9+ messages in thread
From: Martin Schlemmer @ 2004-03-29 15:40 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

On Fri, 2004-01-02 at 12:10, Andrea Barisani wrote:
> Hi everybody and happy new year!
> 
> Just one simple question about a very simple matter that right now 
> I can't figure out: does udev need hotplug package presence?
> 
> >From your README:
> 
>   If for some reason you do not install the hotplug scripts, you must tell the
>   kernel to point the hotplug binary at wherever you install udev at.  This can
>   be done by:
> 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> 
> 
> ...does this work properly?

Yes, you just miss all other events that hotplug usually handles, and
not udev ...

>  It's not clear if some features are lost by not having 
> hotplug script installed. Also is this policy subject to changes in the near
> future?
> 

I do not think so, but Greg will have to comment ...


-- 

Martin Schlemmer




[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: does udev really require hotplug?
  2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
                   ` (5 preceding siblings ...)
  2004-03-29 15:40 ` Martin Schlemmer
@ 2004-03-29 15:40 ` Martin Schlemmer
  6 siblings, 0 replies; 9+ messages in thread
From: Martin Schlemmer @ 2004-03-29 15:40 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]

On Sat, 2004-01-03 at 00:56, Andrea Barisani wrote:
> On Fri, Jan 02, 2004 at 12:19:05PM -0800, Greg KH wrote:
> > On Fri, Jan 02, 2004 at 11:10:51AM +0100, Andrea Barisani wrote:
> > > 
> > > Hi everybody and happy new year!
> > > 
> > > Just one simple question about a very simple matter that right now 
> > > I can't figure out: does udev need hotplug package presence?
> > > 
> > > >From your README:
> > > 
> > >   If for some reason you do not install the hotplug scripts, you must tell the
> > >   kernel to point the hotplug binary at wherever you install udev at.  This can
> > >   be done by:
> > > 	echo "/sbin/udev" > /proc/sys/kernel/hotplug
> > > 
> > > 
> > > ...does this work properly?
> > 
> > It should.  Does it not for you?
> > 
> > > It's not clear if some features are lost by not having hotplug script
> > > installed.
> > 
> > None of the other programs that hook off of the hotplug program will be
> > available to you if you do this (automatic driver loading, firmware
> > loading, devlabel, etc.)
> > 
> > > Also is this policy subject to changes in the near future?
> > 
> > What policy?  If you don't have the hotplug package installed, then you
> > can still use udev.  If you have the hotplug package installed, I've
> > detailed how you can still use udev.  What's the problem?  :)
> > 
> > thanks,
> > 
> > greg k-h
> 
> Ok, now it's all clear :). It wasn't so clear from the documentation (at
> least for me) and since I'm not fully familiar with hotplug features I've
> decided to ask ;).
> 

You do know that latest unstable initscripts from Gentoo _do_ support
udev with or _without_ hotplug?  If you have any further issues, please
give me a shout.


Thanks,

-- 
Martin Schlemmer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-03-29 15:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-02 10:10 does udev really require hotplug? Andrea Barisani
2004-01-02 20:19 ` Greg KH
2004-01-02 22:56   ` Andrea Barisani
2004-01-02 23:25 ` Jon Smirl
2004-03-29 15:39 ` Greg KH
2004-03-29 15:39 ` Andrea Barisani
2004-03-29 15:39 ` Jon Smirl
2004-03-29 15:40 ` Martin Schlemmer
2004-03-29 15:40 ` Martin Schlemmer

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