Using Hal to detect automatic hardware devices

Maíra Nascimento mairanascimento at gmail.com
Tue Nov 13 06:03:47 PST 2007


Hi,

first sorry for my English, i hope you can understand.

I'm new at the list and also new on using hal. I am a developer and we
are doing a program in python that detects and test if the hardware a
functioning correctly. For the detection we used programs like 'lshw'
and 'hwinfo' but we are trying to change it for using only Hal/dbus,
but we are having problems in finding the devices. For example, we
really don't know how to detect a sound card. First i thought in
looking for devices that use alsa. That works in my computer, but if
you don't configured the sound card or are not using alsa that
wouldn't work.
Anyone have any idea how to search for 'sound card' in any kind of
system. I really don't know what property to query.
Sorry if this kind of message is not in the scope of the list.

thanks,
Maíra


More information about the hal mailing list