<div dir="ltr">On Tue, Oct 18, 2011 at 21:44, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
On Tue, 18 Oct 2011, ik wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello list,<br>
<br>
I'm trying to figure out how to get hardware information about the machine i'm running at in Linux OS.<br>
For example: hard-drive size, manufacture etc...<br>
BIOS information, screen information (regardless of X, that is the hardware itself), cards that are assigned and the<br>
whole information about such cards.<br>
Disks of any kind etc... CPU Information (can use the /proc/cpuinfo)<br>
<br>
Does anyone know or can point me on how to do it ?<br>
</blockquote>
<br></div>
use DBUS to query HAL. Normally you should get most of the info.<br></blockquote><div><br>HAL is deprecated :( <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I wrote an article on how to do this in FPC. if you want, I can send it to you.<br></blockquote><div><br>Sure, it can help me, thanks.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Michael.<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br><br>Ido<br></div>