-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Guillaume Cottenceau wrote:
> Buchan Milne <[EMAIL PROTECTED]> writes:
>
>
>>IBM Thinkpad 600X:
>>
>>$ grep model /proc/cpuinfo
>>model : 8
>>model name : Pentium III (Coppermine)
>>
> hopefully we have other ways to guess for a laptop. current code
> is:
>
> sub isLaptop() {
Will this not be incorrect for desktops with PCI->PCMCIA adapter (for
wireless)?:
> hasPCMCIA() || (matching_desc('C&T.*655[45]\d') ||
matching_desc('C&T.*68554') ||
This one at least will work for me (600X, probably 600E, 390X, maybe
even 770X):
> matching_desc('Neomagic.*Magic(Media|Graph)') ||
> matching_desc('ViRGE.MX') || matching_desc('S3.*Savage.*[IM]X') ||
> matching_desc('ATI.*(Mobility|LT)'));
> }
>
> (matching_desc being equivalent to output of lspcidrake)
>
>
>>Would it not also be worthwhile using dmidecode, to identify models? ie,
>>if a Thinkpad is found, tpctl etc can be installed?
>
> Why not. I didn't personally know thinkpads needed an additional
> package.
It's not necessary, but it would be nice if all the functionality that
you get from an OEM installation of other OS's from IBM was available
out-the-box for Mandrake. tpctl is the only one in main, tp4utils and
tpb in contrib are nice-to-have on Thinkpads.
> If dmidecode is supposed to not crash the machine (I
> suppose it tried to read in BIOS memory).
Does this mean you want me to test ;-). AFAIK, dmidecode is now used in
lm_sensors package to *prevent* probing of sensors in Thinkpad's (which
can be fatal).
> Any less invasive way
> to guess for a thinkpad? Anything thinkpad-special in
> lspcidrake's output?
Hmm, you will catch it with some "mobile" display cards, but not all. I
will look into this ...
Maybe probe a thinkpad driver (in-kernel since just after 9.1)? smapi
and superio modules seem to not load on other systems (ie my desktop),
while they load on my Thinkpad 600X.
Regards,
Buchan
- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/QnRsrJK6UGDSBKcRArAmAJ0fdniIYUBsOyTXJBlHfcz5TtZ4oQCgna1a
iAjtMplZTq0iEEfpl3kZKz0=
=3ovi
-----END PGP SIGNATURE-----
******************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
******************************************************************