All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] enumerating devices from user space
@ 2003-03-13 10:22 Lyonel Vincent
  2003-03-13 11:30 ` bruno_vidal
  0 siblings, 1 reply; 17+ messages in thread
From: Lyonel Vincent @ 2003-03-13 10:22 UTC (permalink / raw)
  To: parisc-linux

If you can find this, I will be VERY interested in having a look at it...
Thinking of it, this HP guy may well be me ;o)
You can contact me privately, it may happen that I know your instructor.

cheers,
lv.

> Being as I just got done with a class from HP Education on Linux, this very
> issue was brought up by all of us HP-UX guys.  We love our IOSCAN.  The
> instructor told us that someone within HP actually wrote an "ioscan" for
> Red Hat.  I'm thinking that getting a copy of that source code would be a
> good place to start.  I'm going to do a search for the guy tomorrow or get
> his name from our instructor to see if I can get a hold of his code.
> 
> derek

-- 
The software said it requires Windows 2000 or better, so I installed Linux.

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [parisc-linux] enumerating devices from user space
@ 2003-03-12 16:32 Lyonel Vincent
  2003-03-12 16:48 ` Matthew Wilcox
  0 siblings, 1 reply; 17+ messages in thread
From: Lyonel Vincent @ 2003-03-12 16:32 UTC (permalink / raw)
  To: parisc-linux

Hi there,

I'm currently implementing a small tool called lshw (you can find it on
Freshmeat) that enumerates installed devices on a machine and reports them
as a device tree (text, HTML and XML).
For now it knows about DMI, PCI busses, SCSI, IDE and PCMCIA and I would
like to port it to PA-RISC Linux. I already get some very basic info from
/proc/cpuinfo.
Does anyone know how I can access the device tree as seen by the kernel?
(much like HP-UX's ioscan does and what is shown in dmesg)
I've tried digging in /proc without much success... is there a way to get
this information from user space? PPC Linux exposes the device tree in
/proc for example. A mechanism similar to /proc/bus/pci/devices (machine-
parseable text) would be great, too.

thanks for your help,
Lyonel.

PS: I noticed that /proc/iomem lists 00000000-000009ff as "PDC data (Page
Zero)", is there a chance I can find what I need there? (I dd-ed it from
/dev/mem but I can't say if it contains useful data...)

-- 
The software said it requires Windows 2000 or better, so I installed Linux.

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

end of thread, other threads:[~2003-03-17 13:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13 10:22 [parisc-linux] enumerating devices from user space Lyonel Vincent
2003-03-13 11:30 ` bruno_vidal
2003-03-13 12:45   ` Lyonel Vincent
2003-03-14  8:45     ` bruno_vidal
2003-03-14 12:33       ` Lyonel Vincent
2003-03-14 13:19         ` Matthew Wilcox
2003-03-14 14:05           ` Lyonel Vincent
2003-03-14 14:08             ` Matthew Wilcox
2003-03-14 17:29               ` Grant Grundler
2003-03-17 13:53                 ` Lyonel Vincent
  -- strict thread matches above, loose matches on Subject: below --
2003-03-12 16:32 Lyonel Vincent
2003-03-12 16:48 ` Matthew Wilcox
2003-03-12 17:30   ` Lyonel Vincent
2003-03-12 20:50     ` Helge Deller
2003-03-12 22:36       ` Lyonel Vincent
2003-03-13  0:58         ` Matthew Wilcox
2003-03-13  8:23         ` Derek Engelhaupt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.