linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Udev - Hot/Cold Plugging and Sparc
@ 2006-01-20  0:47 Jim Gifford
  2006-01-20  0:55 ` Marco d'Itri
  2006-01-20  3:46 ` Andrey Borzenkov
  0 siblings, 2 replies; 3+ messages in thread
From: Jim Gifford @ 2006-01-20  0:47 UTC (permalink / raw)
  To: linux-hotplug

First of thank you Kay and Greg, with all the information you have 
provided, I was able to make a usable udev package. Now I'm working on 
getting the same package to recognize some exotic hardware and hope you 
guys can provide some guidance.

On the x86, the rtc module gets located ok and loads, while on the sparc 
it doesn't seem to ever find it, not sure if it's a script problem, udev 
problem, or it's a module issue. I do know when I modprobe rtc, it shows 
up, but when I run udevinfo, I don't see enough useful information to 
create a rule. Output below.

udevinfo -a -p /sys/class/misc/rtc

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful 
attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/misc/rtc':
    KERNEL="rtc"
    SUBSYSTEM="misc"
    SYSFS{dev}="10:135"

-- 
----
Jim Gifford
maillist@jg555.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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: Udev - Hot/Cold Plugging and Sparc
  2006-01-20  0:47 Udev - Hot/Cold Plugging and Sparc Jim Gifford
@ 2006-01-20  0:55 ` Marco d'Itri
  2006-01-20  3:46 ` Andrey Borzenkov
  1 sibling, 0 replies; 3+ messages in thread
From: Marco d'Itri @ 2006-01-20  0:55 UTC (permalink / raw)
  To: linux-hotplug

On Jan 20, Jim Gifford <maillist@jg555.com> wrote:

> On the x86, the rtc module gets located ok and loads, while on the sparc 
> it doesn't seem to ever find it, not sure if it's a script problem, udev 
> problem, or it's a module issue. I do know when I modprobe rtc, it shows 
It's a module issue. At least on Debian x86 systems, rtc.ko is loaded
because I manually added an alias for pnp:dPNP0b00 and IIRC sparc
systems do not have a PNP subsystem which could be used for this (maybe
sbus? Do we need some kind of OF-based coldplugging?).

But anyway, what is the point of building the rtc driver modular? Every
normal system needs it.

-- 
ciao,
Marco


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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: Udev - Hot/Cold Plugging and Sparc
  2006-01-20  0:47 Udev - Hot/Cold Plugging and Sparc Jim Gifford
  2006-01-20  0:55 ` Marco d'Itri
@ 2006-01-20  3:46 ` Andrey Borzenkov
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2006-01-20  3:46 UTC (permalink / raw)
  To: linux-hotplug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 20 January 2006 03:55, Marco d'Itri wrote:
> On Jan 20, Jim Gifford <maillist@jg555.com> wrote:
> > On the x86, the rtc module gets located ok and loads, while on the sparc
> > it doesn't seem to ever find it, not sure if it's a script problem, udev
> > problem, or it's a module issue. I do know when I modprobe rtc, it shows
>
> It's a module issue. At least on Debian x86 systems, rtc.ko is loaded
> because I manually added an alias for pnp:dPNP0b00 and IIRC sparc
> systems do not have a PNP subsystem which could be used for this (maybe
> sbus? Do we need some kind of OF-based coldplugging?).
>

well, in some sense OBP is PnP subsystem for sparc - it provides complete 
device tree before system is even booted.

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD0F00R6LMutpd94wRAuPiAKC2aanP80s34BiFoN06f65eQQDzFACcDQn9
/DBqptbC+WzbmBYvLChfDsM=AhR4
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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:[~2006-01-20  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20  0:47 Udev - Hot/Cold Plugging and Sparc Jim Gifford
2006-01-20  0:55 ` Marco d'Itri
2006-01-20  3:46 ` Andrey Borzenkov

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