Hello community, here is the log from the commit of package hwinfo for openSUSE:Factory checked in at 2017-05-04 08:53:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hwinfo (Old) and /work/SRC/openSUSE:Factory/.hwinfo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "hwinfo" Thu May 4 08:53:37 2017 rev:151 rq:491863 version:21.40 Changes: -------- --- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes 2017-04-11 09:30:15.583395646 +0200 +++ /work/SRC/openSUSE:Factory/.hwinfo.new/hwinfo.changes 2017-05-04 08:53:41.239036288 +0200 @@ -0,0 +1,8 @@ +-------------------------------------------------------------------- +Wed Apr 26 13:57:45 UTC 2017 - wfeldt@opensuse.org + +- enhance documentation +- merge gh#openSUSE/hwinfo#45 +- small doc changes +- 21.40 + Old: ---- hwinfo-21.39.tar.xz New: ---- hwinfo-21.40.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hwinfo.spec ++++++ --- /var/tmp/diff_new_pack.FMnDsn/_old 2017-05-04 08:53:41.858948863 +0200 +++ /var/tmp/diff_new_pack.FMnDsn/_new 2017-05-04 08:53:41.862948299 +0200 @@ -32,11 +32,11 @@ Obsoletes: libhd PreReq: /sbin/ldconfig Summary: Hardware Library +# Until migration to github this should be correct url License: GPL-2.0+ Group: Hardware/Other -# Until migration to github this should be correct url Url: http://gitorious.org/opensuse/hwinfo -Version: 21.39 +Version: 21.40 Release: 0 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ hwinfo-21.39.tar.xz -> hwinfo-21.40.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.39/README-hwprobe.md new/hwinfo-21.40/README-hwprobe.md --- old/hwinfo-21.39/README-hwprobe.md 2017-04-05 13:43:07.000000000 +0200 +++ new/hwinfo-21.40/README-hwprobe.md 2017-04-26 15:57:45.000000000 +0200 @@ -17,6 +17,10 @@ * `hwprobe=-isapnp` - *never* do any isapnp probing * `hwprobe=-braille,-modem` - don't look for braille displays & modems +The list of supported flags varies from version to version. To get a list of +the actual set of probing flags, call `hwinfo -all` (**Not** `--all`!) and look at the top of +the log (it lists all probing flags with their respective status there). + ## Adding/removing hardware from results `hwprobe` allows you to add and remove hardware from the probing results. In diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.39/README.md new/hwinfo-21.40/README.md --- old/hwinfo-21.39/README.md 2017-04-05 13:43:07.000000000 +0200 +++ new/hwinfo-21.40/README.md 2017-04-26 15:57:45.000000000 +0200 @@ -1,21 +1,117 @@ # hwinfo -## About hwinfo +## Overview -_hwinfo_ is used to probe for the hardware present in the system. It can be +hwinfo/libhd are used to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used for support. -For general usage instructions, see `hwinfo` manual page. Additional documentation -about [legacy features](https://github.com/openSUSE/hwinfo/blob/master/README-legacy.md) -and [hwprobe environment variable](https://github.com/openSUSE/hwinfo/blob/master/README-hwprobe.md) -is available in this repository. +This project provides a hardware probing library `libhd.so` and a command line tool `hwinfo` using it. +A major project using this library is [YaST](https://yast.github.io), the SUSE installation tool. + +To give you an idea what kind of information it provides, here's the output it gives when asked about the graphcs card: + +```sh +# hwinfo --gfxcard +27: PCI 200.0: 0300 VGA compatible controller (VGA) + [Created at pci.378] + Unique ID: B35A.G9ppNwS+xM4 + Parent ID: _Znp.nMBktMhAWbC + SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:02:00.0 + SysFS BusID: 0000:02:00.0 + Hardware Class: graphics card + Model: "nVidia GF119 [NVS 310]" + Vendor: pci 0x10de "nVidia Corporation" + Device: pci 0x107d "GF119 [NVS 310]" + SubVendor: pci 0x10de "nVidia Corporation" + SubDevice: pci 0x094e + Revision: 0xa1 + Driver: "nvidia" + Driver Modules: "nvidia" + Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) + Memory Range: 0xf0000000-0xf7ffffff (ro,non-prefetchable) + Memory Range: 0xf8000000-0xf9ffffff (ro,non-prefetchable) + I/O Ports: 0xe000-0xefff (rw) + Memory Range: 0xfb000000-0xfb07ffff (ro,non-prefetchable,disabled) + IRQ: 82 (3241635 events) + I/O Ports: 0x3c0-0x3df (rw) + Module Alias: "pci:v000010DEd0000107Dsv000010DEsd0000094Ebc03sc00i00" + Driver Info #0: + Driver Status: nouveau is not active + Driver Activation Cmd: "modprobe nouveau" + Driver Info #1: + Driver Status: nvidia is active + Driver Activation Cmd: "modprobe nvidia" + Config Status: cfg=new, avail=yes, need=no, active=unknown + Attached to: #9 (PCI bridge) + +Primary display adapter: #27 +``` + +If that's a bit too much information, you can ask it also for an abbreviated form. For example: + +```sh +# hwinfo --short --disk --cdrom +disk: + /dev/sda WDC WD10EARS-00Y + /dev/sdb ST2000DM001-1CH1 +cdrom: + /dev/sr0 PLDS DVD+-RW DS-8ABSH +``` + +You can influence libhd via the `hwprobe` environment variable resp. the `hwprobe` boot option. +This includes turning on or off +probing modules and also manually adding hardware devices (to some degree). + +For example + +```sh +export hwprobe=-bios +``` +will turn off the `bios` probing module. + +For details about `hwprobe` look [here](README-hwprobe.md). + +For general usage instructions, see `hwinfo` manual page. + +> ### Note +> +> +> `hwinfo` has a legacy interface, accepting `hwprobe`-like options as command argument (For example +> `hwinfo -bios` - note the single '`-`'). Please don't do this. If you are interested, you can +> read about it [here](README-legacy.md). ## openSUSE Development -The package is automatically submitted from the `master` branch to -[system:install:head](https://build.opensuse.org/package/show/system:install:head/hwinfo) -OBS project. From that place it is forwarded to -[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory). +To build the library, simply run `make`. Install with `make install`. + +Basically every new commit into the master branch of the repository will be auto-submitted +to all current SUSE products. No further action is needed except accepting the pull request. + +Submissions are managed by a SUSE internal [jenkins](https://jenkins.io) node in the InstallTools tab. + +Each time a new commit is integrated into the master branch of the repository, +a new submit request is created to the openSUSE Build Service. The devel project +is [system:install:head](https://build.opensuse.org/package/show/system:install:head/hwinfo). + +For maintained branches, the package is submitted to a devel project but the final submission +must be triggered manually. + +`*.changes` and version numbers are auto-generated from git commits, you don't have to worry about this. + +The spec file is maintained in the Build Service only. If you need to change it for the `master` branch, +submit to the +[devel project](https://build.opensuse.org/package/show/system:install:head/hwinfo) +in the build service directly. + +The current names of the devel projects for other branches can be seen in the jenkins logs. + +Development happens mainly in the `master` branch. The branch is used for all current products. + +In rare cases branching was unavoidable: + +* branch `sl_11.1`: SLE 11 SP4 +* branch `sle12`: SLE 12 (**not** SPx) -You can find more information about this workflow in the [linuxrc-devtools +You can find more information about the changes auto-generation and the +tools used for jenkis submissions in the [linuxrc-devtools documentation](https://github.com/openSUSE/linuxrc-devtools#opensuse-development). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.39/VERSION new/hwinfo-21.40/VERSION --- old/hwinfo-21.39/VERSION 2017-04-05 13:43:07.000000000 +0200 +++ new/hwinfo-21.40/VERSION 2017-04-26 15:57:45.000000000 +0200 @@ -1 +1 @@ -21.39 +21.40 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.39/changelog new/hwinfo-21.40/changelog --- old/hwinfo-21.39/changelog 2017-04-05 13:43:07.000000000 +0200 +++ new/hwinfo-21.40/changelog 2017-04-26 15:57:45.000000000 +0200 @@ -1,3 +1,7 @@ +2017-04-26: 21.40 + - small doc changes + - enhance documentation + 2017-04-05: 21.39 - powerpc: support ibmvnic network interfaces (bsc #1031676)