Commit graph

1638 commits

Author SHA1 Message Date
Harald Hope 51f547c5bb bug fix for aarch64 arm cpu bug, this should complete issue #107 2017-06-06 20:23:25 -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
smxi 95e75a23b5 Merge pull request #108 from ka7/feature/spelling
spelling fixes
2017-06-06 13:41:13 -07:00
klemens b8f0e675c2 spelling fixes 2017-06-06 22:05:06 +02:00
Harald Hope f9656d4d05 more code cleanup, to make it more clear and obvious re ipv4 and 6 2017-05-31 17:17:54 -07:00
Harald Hope 716f02e5c9 variable name cleanup 2017-05-31 17:14:42 -07:00
Harald Hope fcd2752960 more code cleanup 2017-05-31 17:08:41 -07:00
Harald Hope 53c1ccb58d a few more code cleanups 2017-05-31 17:06:48 -07:00
Harald Hope cc57b5d821 small code cleanup, bug fix 2017-05-31 17:04:52 -07:00
Harald Hope 7b3b51e97a another small oversight, failed to properly assign array separators for ipv6 extra ips. 2017-05-31 16:58:16 -07:00
Harald Hope 8cf20a2c62 tiny code cleanup, no functional difference 2017-05-31 16:54:35 -07:00
Harald Hope 57cd26226e small man page fix, forgot to move the -i valuues to -x -i section 2017-05-31 15:41:17 -07: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
smxi d225596251 Merge pull request #106 from dsalt/ipv6
Improve IPv6 handling to cope with multiple addresses. After reviewing issue 78 and the links in it, which I'm glad I added since they explain the stuff pretty well, I'm accepting this patch as is. I'm not positive about the temporary address being hidden, but it's easy enough to modify that in the future if it's an issue.
2017-05-31 10:37:05 -07:00
Darren Salt cbda5b3273 Improve IPv6 handling to cope with multiple addresses.
Link-local addresses and privacy addresses are filtered out.
2017-05-30 20:09:39 +01: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 a4db567e9a edit of man.1 page, fixed error in man location. irrelevant for distro maintainers. 2017-01-04 16:23:16 -08:00
Harald Hope d60c10b53f tiny gensub cleanup 2016-12-24 17:41:32 -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 5711e84587 more resorting of gfx driver lists. 2016-12-02 16:20:10 -08:00
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