Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

inxi / pinxi 2.9.00 beta testers!

Message
Author
User avatar
h2-1
Forum Regular
Forum Regular
Posts: 386
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi / pinxi 2.9.00 beta testers!

#151 Post by h2-1 » Thu May 10, 2018 12:45 am

I've checked, and there's two things going on, which it's important not to confuse:

1. not all systems have serials, I double checked, and two of mine have never had them. One has, and does not show it with 4.16 kernel, it did with previous one, I think 4.13.

2. other systems do have serial, but the file inxi reads is read only for root, which you can verify on your systems by simply running:
sudo inxi -Mxxx

3. some systems have the file, and have it as root read only, but it's still empty.

If an old inxi showed no serial, it probably never did.

This is on a computer by computer basis, some will have serials, some will not, some will have root read only serials now, and some I've seen as of 4.15 seem to show user serials.

inxi has changed a bit, it used to show nothing at all if not serial, that is, serial only showed if a valid entry was there, but now it shows N/A if no data was found. So it stands out more on recent inxi's than old ones. Technically I could add in tests there to see if the file exists but is not readable, with a <root> flag added.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 386
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi / pinxi 2.9.00 beta testers!

#152 Post by h2-1 » Thu May 10, 2018 12:55 am

pinxi 3.0.08-05 has this fix, which is quite easy to do:

Code: Select all

$ pinxi -Mxxx -y80
Machine:
  Type: Desktop Mobo: ASRock model: A770DE+ serial: <root required> 
  BIOS: American Megatrends v: P1.70 date: 09/07/2010

$ sudo pinxi -Mxxx -y80
Machine:
  Type: Desktop Mobo: ASRock model: A770DE+ serial: N/A 
  BIOS: American Megatrends v: P1.70 date: 09/07/2010
My system is one of the ones with the board_serial file, but only root readable, and empty. So inxi can't see as user if it has content, unless I can measure the true size somehow, but the size comes in at 4 kb whether it's got an empty space or the actual serial in it from what I can see.

Yes, I'm liking Perl inxi, lol, everything is so much easier to work with and on...
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
Richard
Posts: 1814
Joined: Fri Dec 12, 2008 10:31 am

Re: inxi / pinxi 2.9.00 beta testers!

#153 Post by Richard » Thu May 10, 2018 10:04 am

Interesting.
Running inxi as root shows machine and motherboard serial numbers.
Nice to know how to get them.
MX17.1____: T430-2017, 8 GB RAM, 4.15.0-1-amd64, 119 SSD
antiX-/MX-171: AA1/Eee, 1 GB RAM, 4.15.0-1-686-pae, 149 HDD
DC9, LibO605, Dropbox, FF61, FFesr, mPDFed, Py3, CherryT, Vbox
linux counter #288562

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 386
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi / pinxi 2.9.00 beta testers!

#154 Post by h2-1 » Thu May 10, 2018 2:11 pm

Next inxi will show the <root required> message when it can't read any machine field. pinxi does that now.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
Richard
Posts: 1814
Joined: Fri Dec 12, 2008 10:31 am

Re: inxi / pinxi 2.9.00 beta testers!

#155 Post by Richard » Thu May 10, 2018 2:13 pm

That's a really nice touch,
along with all the others.
Thanks.
MX17.1____: T430-2017, 8 GB RAM, 4.15.0-1-amd64, 119 SSD
antiX-/MX-171: AA1/Eee, 1 GB RAM, 4.15.0-1-686-pae, 149 HDD
DC9, LibO605, Dropbox, FF61, FFesr, mPDFed, Py3, CherryT, Vbox
linux counter #288562

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 386
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi / pinxi 2.9.00 beta testers!

#156 Post by h2-1 » Sat May 12, 2018 3:36 pm

This /sys permission fix is in inxi 3.0.09.

Along with new weather units, which default to metric (imperial), cf, but which can be switched to suite taste: cf - metric/imperial; fc - imperial/metric; f - imperial; c - metric. Note that I can't quite figure out as a resident of the usa why our units are called 'imperial', that strikes me as a singularly dated term, but there it is. c is for centrigrade, f for fahrenheit, obviously. Switchable via --weather-unit flag, or config option: WEATHER_UNIT
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

sunrat
Forum Regular
Forum Regular
Posts: 145
Joined: Mon Mar 28, 2016 9:54 pm

Re: inxi / pinxi 2.9.00 beta testers!

#157 Post by sunrat » Sat May 12, 2018 9:01 pm

Pedantic side note - Temperature has been known as Celsius officially since 1948. It is technically correct to say it is a centigrade scale as it means divided into 100 units, but it's officially Celsius.
https://www.thoughtco.com/celsius-vs-centigrade-3976012

User avatar
h2-1
Forum Regular
Forum Regular
Posts: 386
Joined: Sat Nov 15, 2008 3:16 pm

Re: inxi / pinxi 2.9.00 beta testers!

#158 Post by h2-1 » Sat May 12, 2018 9:11 pm

that was a mental slip, I mean Celsius. I'll have to double check docs to make sure I didn't accidentally type Centigrade
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

sunrat
Forum Regular
Forum Regular
Posts: 145
Joined: Mon Mar 28, 2016 9:54 pm

Re: inxi / pinxi 2.9.00 beta testers!

#159 Post by sunrat » Sat May 12, 2018 9:15 pm

Now the rest of the world needs the USA to switch to Celsius so we can talk about the weather with you! :D

User avatar
richb
Administrator
Posts: 16909
Joined: Wed Jul 12, 2006 2:17 pm

Re: inxi / pinxi 2.9.00 beta testers!

#160 Post by richb » Sat May 12, 2018 9:26 pm

I was in a Fortune 500 Company in the 1980's that was going to switch to Metric. Huge Teams and projects. I still have the logoed polo shirt. Never went anywhere close to completion.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

Post Reply

Return to “antiX”