Enumerating hardware


 
Thread Tools Search this Thread
Top Forums Programming Enumerating hardware
# 1  
Old 09-26-2008
Enumerating hardware

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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Dynamically enumerating the members of a C++ struct

In C++ there is a struct with the following structure: typedef struct myStruct { string s_date; float fA; float fB; float fC; ..... float fZ; } myData; After some computations on the values of the struct members are inserted into a database table: myData... (4 Replies)
Discussion started by: figaro
4 Replies

2. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

3. AIX

New Hardware

Can someone help me with what I am guessing is a simple job for an AIX admin. However I am 100% HP-UX and not touched AIX before the start of this week. I am trying to connect an IBM Blade (JS22) to our HP Enterprise Tape Library. I have done all the SAN zoning and this appears to be happy... (5 Replies)
Discussion started by: Andyp2704
5 Replies

4. Solaris

Hardware

Hi, I'm looking to run Sun Solaris 8 or 9, but have been running windows :mad: .can anyone give me advice about the hardware needed for solaris and possably any software i may need, the type of model and where i may be able to buy these within the uk. :confused: ... (3 Replies)
Discussion started by: franz
3 Replies

5. Shell Programming and Scripting

how can I see the current hardware

hi how can I see the current hardware, disk size, RAM size, utilisation & installed software in the PC where the shell is running by using the shell program? request all for help Thank You (3 Replies)
Discussion started by: nokia1100
3 Replies

6. Solaris

[need help] about ip hardware error

hi experts, i have a problem with my sun v240, the ip internal is : 192.168.1.1 and 192.168.1.2 using cross cable, but i have a problem display on /var/adm/messages like this : Nov 24 16:36:22 USSDGmdn-1 ip: WARNING: IP: Hardware address '00:20:d2:25:e4:df' trying to be our address... (1 Reply)
Discussion started by: bucci
1 Replies

7. Programming

C and hardware !

Hello ! I have a friend , in one day he tell me this : some guy made a cool program in C , for some sort or hardware control . I say : wow ! Maybe someone , can give me an example , how can C control hardware so good ( as I hear ) , and maybe some cool information , where to learn the idea ,... (1 Reply)
Discussion started by: !_30
1 Replies

8. UNIX for Dummies Questions & Answers

Per and Hardware

Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies

9. UNIX Desktop Questions & Answers

hardware 3d

How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies

10. UNIX for Dummies Questions & Answers

Hardware

Hi I have a problem to start up my Solaris Ultra 5. When it boots up I get a strange clicking sound, sounds like the hard drive that is "thinking" very hard. On the screen I get these messages: Boot device: Files and Args: Please check cable and try again Network link setup fail Time out... (8 Replies)
Discussion started by: Orange
8 Replies
Login or Register to Ask a Question
HALD(8) 						      System Manager's Manual							   HALD(8)

NAME
hald - HAL daemon SYNOPSIS
hald [options] DESCRIPTION
hald is a daemon that maintains a database of the devices connected to the system system in real-time. The daemon connects to the D-Bus system message bus to provide an API that applications can use to discover, monitor and invoke operations on devices. For more information about both the big picture and specific API details, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal- spec.html depending on the distribution. OPTIONS
The following options are supported: --daemon=yes|no Specify whether to run in the foreground or the background. --verbose=yes|no Enable verbose debug output. --use-syslog Enable logging of debug output to the syslog instead of stderr. Use this option only together with --verbose. --help Print out usage. --version Print the version of the daemon and exit. BUGS AND DEBUGGING
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe. First, to obtain useful debug traces you will need to have debuginfo packages installed. On a Fedora system this is in the hal-debuginfo package and can be installed via the yum update program. Second, shut down the existing hald daemon instance; on a Fedora system this is achieved by /usr/local/etc/init.d/haldaemon stop After having shut down the daemon, you might want to run pkill hald to ensure that all the helper processe of hald are killed too. To start the HAL daemon, use /usr/local/sbin/hald --daemon=no --verbose=yes If the daemon crashes, you can start it under a debugger via gdb /usr/local/sbin/hald and then typing run --daemon=no --verbose=yes at the (gdb) prompt. To capture a back trace, use the bt command and attach this to the bug report. Please also attach the output of lshal(1) in the bug report if possible (it's not possible if the hald daemon crashed). If the nature of the bug has to do with hotplugging, attach two outputs of lshal(1) - one before the device hotplug event and one after. SEE ALSO
udev(7), dbus-daemon(1), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-property(1), hal-find-by-capability(1), hal-is- caller-locked-out(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HALD(8)