[fpc-pascal] Getting Hardware information in Linux

ik idokan at gmail.com
Tue Oct 18 21:50:15 CEST 2011


On Tue, Oct 18, 2011 at 21:44, Michael Van Canneyt
<michael at freepascal.org>wrote:

>
>
> On Tue, 18 Oct 2011, ik wrote:
>
>  Hello list,
>>
>> I'm trying to figure out how to get hardware information about the machine
>> i'm running at in Linux OS.
>> For example: hard-drive size, manufacture etc...
>> BIOS information, screen information (regardless of X, that is the
>> hardware itself), cards that are assigned and the
>> whole information about such cards.
>> Disks of any kind etc... CPU Information (can use the /proc/cpuinfo)
>>
>> Does anyone know or can point me on how to do it ?
>>
>
> use DBUS to query HAL. Normally you should get most of the info.
>

HAL is deprecated :(


>
> I wrote an article on how to do this in FPC. if you want, I can send it to
> you.
>

Sure, it can help me, thanks.


>
> Michael.
> ______________________________**_________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.**org<fpc-pascal at lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>


Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111018/989b1457/attachment.html>


More information about the fpc-pascal mailing list