Enumerating devices and hardware conf from userland
fierykylin at gmail.com
Wed Aug 24 12:06:13 GMT 2005
>I'm developping a tool running in userland (root) (a command line
>tools) for enumerating all devices present on the machine :
>This tool must scan all hardware buses : pci, but usb, firewire, ide,
>etc.... and retreive devices states : configure, not configured, handle
>by a driver, not handle by a driver, witch modules is the driver.
>And I want to have all devices present inside a machine.
>In some recent Kernel, there is a way from userland, to take a handle
>from the root hardware tree, enumeratiing first buses, and under buses,
>witch device are connect to those buses. This is is what I am looking
do u just need the read function on the sysctl or do something from
the deep end into kernel ?
does http://www.magnicomp.com/cgi-bin/mcdownload.cgi really help？
we who r about to die,salute u!
More information about the freebsd-hackers