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
hal-device(1M)						  System Administration Commands					    hal-device(1M)

NAME
hal-device - manage HAL devices SYNOPSIS
hal-device [-h] [--a udi | --r udi] DESCRIPTION
The Hardware Abstraction Layer (HAL) provides a view of the various hardware attached to a system. The hal-device command enables you to manage devices that conform to the HAL standard. Specifically, hal-device lets you add or remove a device to or from the HAL global device list. Device properties are read from stdin in lshal(1M) syntax. OPTIONS
The following options are supported: -a, --add udi Add device specified by Universal Device Identifier udi to HAL's global device list. -h Display usage information. -r, --remove udi Remove device specified by Universal Device Identifier udi from HAL's global device list. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWhalr | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
hald(1M), attributes(5), hal(5) SunOS 5.11 25 Aug 2006 hal-device(1M)