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
LSHAL(1)						      General Commands Manual							  LSHAL(1)

NAME
lshal - list HAL devices SYNOPSIS
lshal [options] DESCRIPTION
lshal is a utility for displaying items in the HAL device database. For more information about both the big picture and specific HAL prop- erties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on the distribution. OPTIONS
The following options are supported: -m, --monitor Print changes emitted by the hald daemon. -s, --short Short output. -t, --tree Display the devices organized in a tree. -u, --show Show only the given UDI (Unique Device Identifier). -h, --help Print out usage. -V, --version Print the version. BUGS
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. SEE ALSO
hald(8), hal-get-property(1), hal-set-property(1), hal-find-by-property(1), hal-find-by-capability(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. LSHAL(1)