Commit graph

186 commits

Author SHA1 Message Date
Harald Hope b0d1e4976a New version, tarball. This version has some bug/edit fixes and a new distro id, mx-version.
Simple.
2017-06-10 21:34:15 -07:00
Harald Hope 1afeb3fc1e New version, tarball, man page. New option -! 34 - skip SSL certificate check on
wget/fetch/curl. This allows systems with for example out of date certificate stores
to still download without error. Also a legacy system fix where tty size failed to show.
2017-06-09 11:55:19 -07:00
Harald Hope 9e8fe86de6 New version, tarball, man page. Bug fix for issue #105, had core and compat versions reversed.
Also cleaned up man page, slightly changed output for compat version to: (compat-v: 3.0)

gfx variable name fixes to make more obvious the logic as well.
2017-06-09 10:07:40 -07:00
Harald Hope 49d9d82862 Tiny change, new version, tarball. Tumbleweed distro id fix. 2017-06-08 21:04:08 -07:00
Harald Hope 8d651eb345 New version, tarball, man page. New option -! 40 which lets you get gfx information out of X.
Default will get data from display :0, but if you append :[display-number] to -! 40, it will
use that display instead, for example: inxi -! 40:1 would get information from display 1. Note
that most multi-monitor setups use :0 for both monitors, depending on how it's setup.

This will also let users see any desktop information based on xrop -root output, but it will
depend how it works based on how environmental variables have been set. gnome and kde, which use XDG for
primary detection would not work, for example.
2017-06-08 19:29:55 -07:00
Harald Hope 64c2c7169d New version, tarball. This corrects an issue I noticed a while ago, glxinfo and xpdyinfo
used to not work as root in X, but they do now. So I've removed the root tests for graphics
output, and now only rely on the returned data to determine the output when in X. Out of X
behavior remains the same.

Note that at some point I'll have to see if wayland systems have usable reporting tools to get
screen resolution, opengl info, and so on, but that will have to come one step at a time.
2017-06-08 17:49:34 -07:00
Harald Hope 5b384610a0 New version, tarball, man page. Shows as default OpenGL core profile version number.
-xx option will show OpenGL compatibility version number as well, though that's largely useless
information for most users, thus the -xx. Note that this reverses the default, which previously
showed OpenGL version, which is actually the compatibility version.

This should resolve #105 pull request, though it does it differently, by switching the default
output to what is more relevant, and offering the compatibility version as an optional output item.

Note that much of the glx information will probably change to more neutral terms once wayland support
starts growing, and systems without xwayland etc libraries appear.

Further note that non free drivers showed the OpenGL core profile version numbers all along, so really
this simply corrects misleading output for free drivers.
2017-06-08 15:59:37 -07:00
Harald Hope 88cde47144 New version, man page, tarball. ARM cpu core count bug fix. First attempt to add Wayland
and compositor support.

This finally implements a first try at mir/wayland detection, along with basic handling of actual
display server type output.

New output for Display Server:  Display Server: x11 (X.Org 1.19.0) driver: nvidia

Note that since almost all current Wayland systems will have X.org also installed, for the time
being, the data in the parentheses will be from X.org regardless of what display server is detected running
the actual desktop. Out of the desktop, console, the only thing that will show is x data..

No other data is available to me yet until I get way more debugger data so I can see what information the various
implementations of wayland without x tools actually makes available, my guess is it won't be much.

Also experimental -xx option: -G shows compositor, but only for wayland/mir currently.

I have no idea if this will work at all, but it's worth giving it a try as a rough beginning to
start handling the wide range of wayland compositors being created.

This feature will probably take several versions to get stable.

Also added new debugger data collector data for wayland information, but the pickings are slim, to
put it mildly.
2017-06-06 19:05:14 -07:00
klemens b8f0e675c2 spelling fixes 2017-06-06 22:05:06 +02:00
Harald Hope f7fcee483c New version, new tarball, new man page. This corrects several oversights of the 2.3.10 IPv6 update.
Now there is an -x option for -i that will show the additioanl IPv6 address data for scope global,
temporary, and site. Also a fallback for unhandled scope: unknown. If the tool 'ip' is used, it will
filter out the deprecated temp site/global addresses, ifconfig tool does not appear to offer this
option.

Also changed is that now ipv6 address always shows, it's not an -x option. Probably about time to
start rolling out ip v6 data to users now that ip v6 is starting, slowly, to be used more.

Another small change, the link address for ipv6 is changed from ip-v6: to ip-v6-link so that it's
more clear which IP v6 address it is.

The last commit had a significant logic error in it that did not distinguish between the link address,
which is what should have only shown, and the remaining possible addresses.

I've tried to get a basic bsd support, but it's difficult to know the variants of ifconfig output syntax
2017-05-31 15:33:16 -07:00
Harald Hope c1883d40a6 New version, new tarball. Fixes issue #78 and issue #106
Shows multiple ipv6 addresses, filters out ipv6 temp addresses and ipv6 local addresses.
2017-05-31 10:43:22 -07:00
Harald Hope c498f92fcf New version, tarball. Tiny fix, due to a data bug, changing ft to m in weather altitude.
Note that this bug is not universal, but I believe this will make inxi more right than wrong
as a general rule. Further note that altitude is NOT actually the altitude of the city/location
requested, in most cases, but rather the altitude of the weather station data assigned to that
location request.
2017-05-29 12:44:58 -07:00
Harald Hope 744579c386 added sisimedia video driver to support list 2017-01-14 12:48:56 -08:00
Harald Hope d2986cbe8a New version, new tarball. This fixes an issue where sloppy regex was removing the BIOS
from BIOSTAR. Also fixed a few other sloppy gsub, and fixed a few gensub errors as well.

Since BIOSTAR is a fairly common mobo, I'm surprised I haven't gotten this bug report
before.

This closes issue #102.
2016-12-24 15:02:59 -08:00
Harald Hope 31e65c738c No new version. New tarball, man. Small text changes and cleanup and updates in man page,
but no actual meaningful changes. Feel free to ignore this one if you just did 2.3.6.
2016-12-20 19:57:41 -08:00
Harald Hope bcc6af4999 New version, new tarball. This is a significant change, but inxi should handle it smoothly.
While default configs remain in /etc/inxi.conf, the user overrides now use the following order of tests:

1. XDG_CONFIG_HOME / XDG_DATA_HOME for the config and log/debugger data respectively.

2. Since those will often be blank, it then uses a second priority check:
   $HOME/.config $HOME/.local/share to place the inxi data directory, which was previously here:
   $HOME/.inxi

3. If neither of these cases are present, inxi will default to its legacy user data: $HOME/.inxi as before

In order to make this switch transparent to users, inxi will move the files from .inxi to the respective
.config/ .local/share/inxi directories, and remove the .inxi directory after to cleanup.

Also, since I was fixing some path stuff, I also did issue 77, manual inxi install not putting man pages in
/usr/local/share/man/man1, which had caused an issue with Arch linux inxi installer. Note that I can't help
users who had a manual inxi install with their man page in /usr/share/man/man1 already, because it's too risky
to guess about user or system intentions, this man location correction will only apply if users have never
installed inxi before manually, and have no distro version installed, unlike the config/data directory,
which does update neatly with output letting users know the data was moved.

Note that if users have man --path set up incorrectly, it's possible that the legacy man page would show up
instead, which isn't good, but there was no perfect fix for the man issue so I just picked the easiest way,
ignoring all man pages installed into /usr/share/man/man1 and treating them as final location, otherwise
using if present the /usr/local/share/man/man1 location for new manual  install users.

Also, for users with existing man locations and an inxi manually installed, you have to update to inxi current,
then move your man file to /usr/local/share/man/man1, then update man with: mandb command (as root), after that
inxi will update to the new man location.

Also added some more XDG debugger data as well to cover this for future debugger data.

This closes previous issue #77 (man page for manual inxi install does not go into /usr/local/share/man/man1) and
issue 101, which I made today just to force the update.

Just as a side note, I find this absurd attempt at 'simplifying by making more complex and convoluted' re the XDG
and .config and standard nix . file to be sort of tragic, because really, they've just made it all way more complicated,
and since all 3 methods can be present, all the stuff has to be tested for anyway, so this doesn't make matters cleaner
at all, it's just pointless busywork that makes some people happy since now there's even more rules to follow, sigh.
2016-12-19 18:57:56 -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 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 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 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
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 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 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 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 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
Harald Hope 5850df917c New version, new tarball. Try 2 at mmcblk support. I had mmcblock, thats not how it's
reported to the system.
2015-11-15 17:26:19 -08:00
Harald Hope c40a904294 New version, new tarball. Added tentative support for /dev/blcmmc0p12 type partitions
and drive identifiers. This will probably require more fixes.
2015-11-13 12:00:16 -08:00
Harald Hope d512e6b9ad New version, new tarball. A subtle issue pointed out by a user, inxi is limited to
26 drives, and fails to handle the linux > 26 options:

https://rwmj.wordpress.com/2011/01/09/how-are-linux-drives-named-beyond-drive-26-devsdz/

That article explains the failing well.

Note that because I have neither user data sets or > 26 hdd systems available, I cannot
verify that my fix works. It may work, that's all I can say.
2015-11-09 19:03:46 -08:00
Harald Hope 5b77532460 updated gz files for updated man page. 2015-08-28 12:45:53 -07:00
Harald Hope 056d2b6550 New version, new tarball:
Changes: updated inxi updaters to use github locations.

I will do this commit once for googlecode, and once for github, after that,
all commits will go only to github.

inxi moves to github, despite my dislike of for profit source repos, and git,
I decided that I just don't have the time or energy to do it right, so I'm going
to use github.

The project is already moved, though I have left inxi up for the time being on
code.google.com/p/inxi until I move the wiki to http://smxi.org

Everything is pretty much the same, the project url is:

https://github.com/smxi/inxi

The direct download link for the gz is:

https://github.com/smxi/inxi/raw/master/inxi.tar.gz

git pull is:

git pull https://github.com/smxi/inxi master

svn checkout url:

https://github.com/smxi/inxi

And that's about it.
2015-08-20 16:32:57 -07:00
inxi-svn e1feddf2ae New version, tarball. Trivial wget/curl change, nothing else. No need to upgrade packages. 2015-08-02 21:21:04 +00:00
inxi-svn 44535d0b0c New version, new tarball. This fixes a bug with the last fix for KDE Plasma version. It was
showing Frameworks version, which is apparently NOT the same as the plasma version.

Also added debugger kde versioning to make this stuff less of an ordeal for data collection.
2015-07-06 22:53:44 +00:00
inxi-svn 20a6bbabf4 Same version, new tarball, I'm tossing this in with the other release, changing for kde >= 4,
changing simple KDE to KDE Plasma, which keeps it clear and simple.
2015-06-16 01:02:06 +00:00
inxi-svn 96fe267833 New version, new tarball. Got a good fix for the kde version issue from the lads at
#kde-devel, now using kf5-config --version  which gives similar output to kded4 --version

I use this for both 4 and 5, but since 4 has worked fine for years, I'll just use this for 5
and later.
2015-06-16 00:51:45 +00:00
inxi-svn 2b22e24d2b new version, new tarball. Adapted to deal with yet another silly pointless change from
normal, in this case, sddm decided that using a .pid or .lock file in /run was too easy
so they changed to some session id type string in the /run/sddm/ directory.

Speaking for myself, I find such pointless changes from anything resembling normal behaviors
to the reason that gnu freedesktop systems will never achieve significant desktop use globally.

Also, in the same vein, added debuggers to try to figure out what plasma5/kde 5 is using
internally to give command line version information. Again, something pointless internally
was changed, thus breaking something that had faintly resembled an api, which is of course
why desktop gnu linux will never actually take off, developers in the real world have no
interest in chasing after such pointless and never ending churn in even the most trivial 
areas of the OS, let alone the core.

inxi remains however as a log of this ongoing churn and lack of discipline, and so remains
an interesting process of observation, and a way for users to try to avoid the constant
changes in simple system queries that should really never change, so I can see a reason
to keep it going since it's obvious that the actual foss ecosystem itself will not and apparently
cannot grasp that it is the lack of stable apis, methods, etc, that has kept desktop gnu linux
from achieving any actual real world success or popularity, and that is the actual problem
that should be fixed, not some pointless internal change to something.

On the source repo front, maintainers, I still can't find an acceptable alternative to the
impending shutdown of googlecode. github is a for profit venture that people who seem totally
void of any sense of history believe is actually going to be around longer than say, sourceforge,
or googlecode, as a legitimate source hosting site.

I'd welcome any suggestions. So far all the options are bad that I can find.

Top preference is svn, but if git is the absolute only other choice for an otherwise good option,
I'd consider git, but it's a horrible option for inxi because of how inxi development and debugging
works, vs how git works. ie, svn branches are perfect, git branches are totally wrong.

I may end up just hosting the svn on my own servers to avoid having to move yet again when the next
for profit flakey site decides to close up or monetize the source hosting.

The original idea of googlecode was for google to 'pay its dues to the foss community', but apparently
they got bored with that idea, plus of course, the ongoing total failure of google to deal with 
automated spam, which has always been a huge bug in the core google corporate culture. But googlecode
was by far the best option I've come across, it was done by a deep pocketed corporation not for profit
for pretty good reasons, and was never intended to be a profit center, which is the closest I could
see for a non free option. 

Setting up svn gui stuff however is a royal pain and requires ongoing maintainance for the life of
the software, which is NOT fun, nor will I sign up for that obligation.

I may end up moving to github anyway, even though git truly sucks for inxi and myself, but it's an 
idea I find fairly vile, apparently free software (sic) authors seem to have no grasp of the concept
of fredom when it comes to source code hosting, judging by the absurd popularity of github as the
default go to source repo. Their website is pathetic as well, which isn't very promising.

So we'll see where it goes, I think I have until august to decide what to do for source hosting.

Since I'm old enough to have seen sourceforge and now googlecode do the same thing, along with a lot
of other options, to say github won't do this too is delusional, what you can almost certainly say is it 
will do it, the only question is when. But, just as Linus did with his non free linux kernel version
control, people will stick with the non free stuff until you realize you can't use it anymore, because 
it is non free. Free software hosted on non free source repos is to me one of the most absurd and
stupid things I've ever heard of to be honest.
2015-06-15 22:38:06 +00:00
inxi-svn dce66a2680 New version, tarball. Tiny change. Added /etc/devuan_version file to distro id to handle
the switched file name. Kudos to anyone out there fighting to create a working alternative
to the unreliable and buggy and windows emulating systemd, I wish devuan luck. Maybe between
devuan and gentoo and slackware we can save the free software core systems before it's too late.
2015-06-08 22:47:29 +00:00
inxi-svn 0e2afce7d6 New version, new man page, new tarball. Modified slightly -tc and -tm output to fix a
pet peeve of mine. Now, if -I, -b, -F, or anything that can trigger the memory: used/total
in Information line is not used, -tm will always show the system used/total ram data on the 
first line of the Memory item of -t output.

Also, if -xtc (trigger ram data in cpu output) is used, and -I is not triggered, and -tm is
not triggered, will also show system used/total ram data on the cpu first line.

I'd found it odd that this data did not appear when -tcm or -tm or -xtc were used, so this is
now fixed. I used the -t option a fair amount to find memory/cpu use issues, and usually I
don't use the option with other options, so the lack of total system ram data was odd.
2015-05-30 18:55:54 +00:00