I am trying to enumerate all hardware (plugged in devices) and I am using lshal source code from here:
Cross Reference: /onnv/onnv-gate/usr/src/cmd/hal/tools/lshal.c
and is missing information about plugged in monitors, and mouse and houppgae TV card. They came out in gnome device manager, or on Suse KDevicenamager list.
Does anyone know a good source code for scanning all hardware resources
that are installed and used by the system.