linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* handling of modalias
@ 2006-07-24 19:42 Bill Nottingham
  2006-07-24 19:45 ` Marco d'Itri
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bill Nottingham @ 2006-07-24 19:42 UTC (permalink / raw)
  To: linux-hotplug

If I have a device that has a 'modalias' file in sysfs, should it
show up as ENV{MODALIAS} in the uvent? Or should I check for
both the environment variable and the sysfs file?

Bill

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 5+ messages in thread

* Re: handling of modalias
  2006-07-24 19:42 handling of modalias Bill Nottingham
@ 2006-07-24 19:45 ` Marco d'Itri
  2006-07-24 19:46 ` Bill Nottingham
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Marco d'Itri @ 2006-07-24 19:45 UTC (permalink / raw)
  To: linux-hotplug

On Jul 24, Bill Nottingham <notting@redhat.com> wrote:

> If I have a device that has a 'modalias' file in sysfs, should it
> show up as ENV{MODALIAS} in the uvent? Or should I check for
Yes.

> both the environment variable and the sysfs file?
No.

-- 
ciao,
Marco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 5+ messages in thread

* Re: handling of modalias
  2006-07-24 19:42 handling of modalias Bill Nottingham
  2006-07-24 19:45 ` Marco d'Itri
@ 2006-07-24 19:46 ` Bill Nottingham
  2006-07-24 19:48 ` Marco d'Itri
  2006-07-25  9:54 ` Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: Bill Nottingham @ 2006-07-24 19:46 UTC (permalink / raw)
  To: linux-hotplug

Marco d'Itri (md@Linux.IT) said: 
> On Jul 24, Bill Nottingham <notting@redhat.com> wrote:
> 
> > If I have a device that has a 'modalias' file in sysfs, should it
> > show up as ENV{MODALIAS} in the uvent? Or should I check for
> Yes.
> 
> > both the environment variable and the sysfs file?
> No.

So, if it shows up as 'modalias', but not as ENV{MODALIAS}... udev
bug? kernel bug for the subsystem?

Bill

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 5+ messages in thread

* Re: handling of modalias
  2006-07-24 19:42 handling of modalias Bill Nottingham
  2006-07-24 19:45 ` Marco d'Itri
  2006-07-24 19:46 ` Bill Nottingham
@ 2006-07-24 19:48 ` Marco d'Itri
  2006-07-25  9:54 ` Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: Marco d'Itri @ 2006-07-24 19:48 UTC (permalink / raw)
  To: linux-hotplug

On Jul 24, Bill Nottingham <notting@redhat.com> wrote:

> So, if it shows up as 'modalias', but not as ENV{MODALIAS}... udev
> bug? kernel bug for the subsystem?
Looks like a kernel bug to me.

-- 
ciao,
Marco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 5+ messages in thread

* Re: handling of modalias
  2006-07-24 19:42 handling of modalias Bill Nottingham
                   ` (2 preceding siblings ...)
  2006-07-24 19:48 ` Marco d'Itri
@ 2006-07-25  9:54 ` Kay Sievers
  3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2006-07-25  9:54 UTC (permalink / raw)
  To: linux-hotplug

On Mon, 2006-07-24 at 15:46 -0400, Bill Nottingham wrote:
> Marco d'Itri (md@Linux.IT) said: 
> > On Jul 24, Bill Nottingham <notting@redhat.com> wrote:
> > 
> > > If I have a device that has a 'modalias' file in sysfs, should it
> > > show up as ENV{MODALIAS} in the uvent? Or should I check for
> > Yes.
> > 
> > > both the environment variable and the sysfs file?
> > No.
> 
> So, if it shows up as 'modalias', but not as ENV{MODALIAS}... udev
> bug? kernel bug for the subsystem?

Run:
  udevmonitor --env

If it isn't there, it should be added to the kernel in the subsystem
uevent callback.

Kay


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2006-07-25  9:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 19:42 handling of modalias Bill Nottingham
2006-07-24 19:45 ` Marco d'Itri
2006-07-24 19:46 ` Bill Nottingham
2006-07-24 19:48 ` Marco d'Itri
2006-07-25  9:54 ` 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).