Commit graph

1764 commits

Author SHA1 Message Date
Harald Hope 0fc4381727 fixed sort order of driver list, added a few known missing ones, from sgfxi list. 2016-12-02 16:12:18 -08:00
Harald Hope d852268eb7 New version, new tarball. This will matter to some users, inxi had failed to add 'modesetting'
graphics driver, so it would not show in output, which causes support issues for users of that specific
driver, like some cases of Intel. Also inxi would always have failed to show it unloaded in cases where
radeon/nouveau were used but it had been loaded by xorg to begin with. So probably worth updating packages
I'd say.
2016-12-02 16:03:42 -08:00
Harald Hope 6b378430ef second try. 2016-11-23 00:58:19 -08:00
Harald Hope fcc510af1e No new version, just fixed some unwanted executable bits in files. 2016-11-22 11:14:31 -08:00
Harald Hope dce92040ec Squeezing in a last change for 2.3.4, added to -m if valid output, and if no -I or -tm
triggers used, will show system ram used/total, from the -I line.
2016-11-03 20:21:51 -07:00
Harald Hope 54c57f3e07 New version, new tarball. This improves -D output, now capacity is on its own line, and
each disk is on its own line always, this makes it easier to read and/or parse.

Also, the lines now wrap nicely for extra data > console width, or -y 80 for example if
you're trying to force most of the data to fit into 80 columns.
2016-11-03 19:44:48 -07:00
Harald Hope 19c79ecc8d second try, to get man output and roffit output to match better 2016-10-29 15:25:55 -07:00
Harald Hope dbf6904051 This is a small syntax fix that will have essentially no impact on anyone. I've just cleaned
up the man code to make it simple enough for roffit man to html conversion. There should be
no real visible differences as far as I know.
2016-10-29 15:15:43 -07:00
Harald Hope 1f5a06471e New version, new tarball. Extended support and tests for vm id to include better BSD
handling, and legacy linux. VM id will remain a work in progress, and will probably
require a few fixes for fringe cases. Nice to have would be things like OpenBSD's
vm which is difficult to detect. However, I believe this should handle roughly 99% of
realworld vm id cases, except for some commercial stuff that will require more data.
2016-10-25 12:20:16 -07:00
Harald Hope 344af561f1 version number unchanged, just added a vm possible id, will impact few users, if you care, update. 2016-10-23 21:28:40 -07:00
Harald Hope 7c179b02fc one more fix, changed 5 type to pizza-box for /sys id, because we already
have one case where a laptop reports as pizza box, and desktops generally do too,
and they could be a server, or used as a server due to 1U form factor.
2016-10-20 19:11:51 -07:00
Harald Hope f4f0417646 small change, id 5, pizza box, moved to desktop. Though this was sometimes
used as a server due to low profile, it is apparently a desktop type.

https://en.wikipedia.org/wiki/Pizza_box_form_factor

so that's what we'll call it.
2016-10-20 19:02:34 -07:00
Harald Hope 8a635fa0f6 New feature, new tarball, new version number.
Now -M shows device type, like desktop, laptop, notebook, server, blade, vm (and tries to get vm type).

vm detection will take more work, for now I'm just going for the main ones used, but it will certainly
miss some because it's hard to detect them in some cases unless you use root features. Also note, in
most cases a container I believe will display as a vm, which is fine for now.

For BSDs, and older linux, there is a dmidecode fallback detection as well.
2016-10-20 18:36:24 -07:00
Harald Hope a36a200c26 Fixed typo in man page, no new version, just a fixed man page. 2016-09-09 14:54:14 -07:00
Harald Hope cedc856479 grrr, fixed UEFI [Legacy] 2016-08-25 20:07:14 -07:00
Harald Hope dd5c393c63 forgot to update to [Legacy] in BIOS [Legacy] 2016-08-25 20:04:15 -07:00
Harald Hope 0e5e8f020e tiny man page edit 2016-08-25 19:33:51 -07:00
Harald Hope 6f3022501c cleaned up out of date 'svn', changed to neutral 'source' for version control server. 2016-08-25 19:30:38 -07:00
Harald Hope 342b5611a9 Merge branch 'master' of https://github.com/smxi/inxi 2016-08-25 19:20:55 -07:00
Harald Hope 6a30d858b9 New version, new tarball, new man page.
Basic support added for Budgie desktop detection. This is waiting more data, so the support will be
missing the version information. Go Budgie!!

Added /var/tmp and /var/log and /opt to basic partition data: -P
This will probably not impact more than a handful of people in the world, but that's fine.

Modified the static BIOS in -M to now show UEFI for actually UEFI booted systems, and, ideally,
UEFI [Legacy] for UEFI booting in bios legacy mode, and BIOS for all others. Hopefully this will
work ok, we'll see.
2016-08-25 19:18:30 -07:00
smxi 39823c97ca Merge pull request #91 from jonasstein/patch-1
fixed typo mghz -> MHz
2016-08-06 14:20:12 -07:00
Jonas Stein 60bb2119a4 fixed typo mghz -> MHz 2016-08-06 22:57:46 +02:00
Harald Hope afc0d4b0cf more charge percent fixes 2016-04-18 17:45:54 -07:00
Harald Hope eb80986cdc small fix in math for battery capacity 2016-04-18 17:42:37 -07:00
Harald Hope 14eb4aff0f small fix in portable detection, some systems have BAT1 but NOT BAT0, so now just check
if /sys/class/power_supply directory is empty or not.
2016-04-18 17:33:00 -07:00
Harald Hope 731508a93f more man page glitches 2016-04-18 17:16:02 -07:00
Harald Hope bf74f9cf20 more man page cleanup 2016-04-18 17:12:54 -07:00
Harald Hope 8396e705f4 man page fix 2016-04-18 17:06:31 -07:00
Harald Hope 4f1a57d11b New Feature, new version, new man page, new tarball. Laptop users should be happy,
-B option now shows, if available, battery data. Quite good data for systems
with /sys battery data, only rudimentary for systems using dmidecode (BSDs).
dmidecode has no current voltage/charge/current supported capacity.

Main row shows charge and condition. Condition shows you have much capacity the
battery currently has vs its design capacity. Charge shows the Wh/percent of
current capacity of battery (NOT the rated design capacity).

-x adds battery vendor/model info, and battery status (like, charging, discharging,
full).

-xx adds battery serial number and voltage information. Note that voltage information
is presented as Current Voltage / Designed minimum voltage.

-xxx adds battery chemistry (like Li-ion), cycles (note: there's a bug somewhere in
that makes the cycle count always be 0, I don't know if that's in the batteries,
the linux kernel, but it's not inxi, just FYI, the data is simply 0 always in all
my datasets so far.

For dmidecode output, the location of the batter is also shown in -xxx
2016-04-18 17:03:14 -07:00
Harald Hope dd67fd7cd1 URGENT BUG FIX! This fixes a bug introduced in 2.2.36 2016-03-21. New version, new tarball.
A sloppy unescaped / triggered a failure I didn't notice in partition info.

Please update your inxi packages immediately if your version is 2016-03-21 or newer.
2016-03-31 15:12:51 -07:00
Harald Hope 24b096a48e New version, new tarball. Tiny fix in distro detection, will now default in sequence
on /etc/issue step to first test for os release and not mint, then lsb verison and
not mint, then /etc/issue. This should keep the mint detection working well, as long
as they keep mint string in the /etc/issue file, that is, but that's out of our control.
2016-03-30 13:32:04 -07:00
Harald Hope 002ce22cb6 more cleanup 2016-03-21 16:28:39 -07:00
Harald Hope 4450e23991 cleaned up colors a touch 2016-03-21 16:21:11 -07:00
Harald Hope cd62c5b127 New version, new tarball. A tiny bug fix for kfreebsd, I know, right, nobody uses that.
Also added in some more script color options however, which might be of use. These are
aimed more at light terminal backgrounds.
2016-03-21 16:12:08 -07:00
Harald Hope d98a7deef6 New version, new tarball. A tiny, but meaningful, fix. inxi had not been updated to
test for the non deprecated battery test, /sys/class/power_supply/BAT0 existence.

This resulted in failure to indicate 'portable' where applicable.

I may also now add battery information where applicable since that's easy to get from
/sys
2016-02-29 12:23:22 -08:00
Harald Hope b02dd68980 New version, new tarball. This closes two issues:
1. Add amdgpu to possible xorg drivers list (and gpu sensors data)

2. switch to default dig command to get WAN ip. This is usually but not always faster than
the http method. Because the IP source is not truly trustworthy (run by cisco), I'm keeping a
fallback mode on 1 second time out failure of the previous http based methods. Added dig
to recommended tools list.
2016-02-21 11:32:57 -08:00
Harald Hope a3c8553fc7 No version change, new tarball. Someone spotted a small glitch in -W help menu.
Says latitude/longtitude instead of latitude,longtitude
2016-02-09 11:22:16 -08:00
Harald Hope dab38b9233 tiny issue, the help menu shows the -W option of latitude/longtitude instead of latitude,longtitude
thanks to a keen eyed person for that.
2016-02-09 11:17:46 -08:00
Harald Hope afb5d6815a fixed -xx@15 glitch 2016-02-01 10:54:53 -08:00
Harald Hope 454da4e4ae New version, new tarball. Bug fix: added basic support for NVMe M2 disk storage type.
NOTE: missing product name/serial info, because it's not being treated by linux kernel
as a standard disk. Could not find that data anywhere in the system debugger dump.

If you know how to find the model name/number and or serial, let me know.

Also small fix, as noted: ip: should be ip-v4 to match with ip-v6, thanks mikaela.

Also some debugger fixes and updates.
2016-01-30 17:13:25 -08:00
Harald Hope 63a0732392 date fix 2016-01-30 14:55:58 -08:00
Harald Hope 852c7c81ed Trying a raw fix for nvme0n1 type disks 2016-01-30 14:54:25 -08:00
Harald Hope 1963fad67e added some debugger stuff for -i, also a -xx@ 15 switch to trigger that. Won't be used
except for specific ip related issues.

Also changed ip: to ip-v4 to be more accurate.
2016-01-30 11:36:38 -08:00
Harald Hope 305f8beda6 updated copyright year 2016-01-03 14:20:10 -08:00
Harald Hope 5c6915e1a9 New version, new tarball. Finalized the * expansion fix for arrays. This is a significant
bug fix, so while the bug almost never appears, if it does, the inxi output can get completely
corrupted.
2016-01-03 14:09:57 -08:00
Harald Hope ca4e5e1c1e added more robust array clearing 2015-12-30 13:55:44 -08:00
Harald Hope 7dcc1e16a2 cleanup 2015-12-30 13:42:44 -08:00
Harald Hope 9782f447af added escapes 2015-12-30 13:19:15 -08:00
Harald Hope d3cff31ed4 No version change til confirmed. New tarball. 2015-12-30 13:12:45 -08:00
Harald Hope c88283bd5f No version change, new tarball.
Cleaned up some logging glitches.
2015-12-29 14:06:45 -08:00