Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-19 Thread Žilvinas Ledas
Hello, On 2011-10-18 22:44, Michael Van Canneyt wrote: use DBUS to query HAL. Normally you should get most of the info. I wrote an article on how to do this in FPC. if you want, I can send it to you. Could you send it to me as well? Regards, Žilvinas Ledas __

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-19 Thread Graeme Geldenhuys
On 19/10/2011 00:31, Den Jean wrote: > read the output of lshw or read its source on how to do it yourself. problems with that is that to get most of the information you must run lshw as super-user (root). eg: Serial numbers, product codes, vendor names etc are all missing from the output if you

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread Graeme Geldenhuys
On 18/10/2011 21:44, Michael Van Canneyt wrote: > > use DBUS to query HAL. Normally you should get most of the info. > > I wrote an article on how to do this in FPC. if you want, I can send it to > you. Would you mind sending me that article too, please. I'm using Turbo Power's OnGuard in our

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread Jorge Aldo G. de F. Junior
I think all this info can be found on /proc directory... 2011/10/18 ik : > 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

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread Den Jean
On Tuesday 18 October 2011 19:36:48 ik wrote: > Does anyone know or can point me on how to do it ? read the output of lshw or read its source on how to do it yourself. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread Sven Barth
On 18.10.2011 21:50, ik wrote: On Tue, Oct 18, 2011 at 21:44, Michael Van Canneyt mailto:mich...@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 O

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread ik
On Tue, Oct 18, 2011 at 21:44, Michael Van Canneyt 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, s

Re: [fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread Michael Van Canneyt
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

[fpc-pascal] Getting Hardware information in Linux

2011-10-18 Thread ik
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