Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ubuntu versions



> >> scott at scott-laptop:~$ laptop-detect
> >> scott at scott-laptop:~$ echo $?

I just checked out the source for that program, it seems it looks at
dmidecode for some of the detection, 1) it would have to be run as
root and 2) it doesn't check "Laptop" or "Sub Notebook" only
"Portable" and "Notebook"; (I have 500 dmidecode results to check the
stats on) so I'm not even sure how accurate it would be just based on
batteries. (I assume if you remove the battery the check with fail as
in the comments to laptop-detect)

Regards, Martin

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org