Hello community, here is the log from the commit of package hwinfo for openSUSE:Factory checked in at 2017-05-20 10:08:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hwinfo (Old) and /work/SRC/openSUSE:Factory/.hwinfo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "hwinfo" Sat May 20 10:08:57 2017 rev:153 rq:494890 version:21.46 Changes: -------- --- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes 2017-05-10 20:35:56.210286990 +0200 +++ /work/SRC/openSUSE:Factory/.hwinfo.new/hwinfo.changes 2017-05-20 10:09:16.353106214 +0200 @@ -1,0 +2,9 @@ +Fri May 12 11:53:38 UTC 2017 - wfeldt@opensuse.org + +- merge gh#openSUSE/hwinfo#50 +- map also alternate video bios entry points (bsc#1033832) +- try harder to get the video mode list +- add links to technical specifications +- 21.46 + +-------------------------------------------------------------------- Old: ---- hwinfo-21.45.tar.xz New: ---- hwinfo-21.46.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hwinfo.spec ++++++ --- /var/tmp/diff_new_pack.zPOVco/_old 2017-05-20 10:09:16.937023709 +0200 +++ /var/tmp/diff_new_pack.zPOVco/_new 2017-05-20 10:09:16.941023143 +0200 @@ -36,7 +36,7 @@ License: GPL-2.0+ Group: Hardware/Other Url: http://gitorious.org/opensuse/hwinfo -Version: 21.45 +Version: 21.46 Release: 0 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -107,9 +107,7 @@ /usr/sbin/mk_isdnhwdb /usr/sbin/getsysinfo %{_libdir}/libhd.so.* -%doc README.md -%doc README-hwprobe.md -%doc README-legacy.md +%doc *.md %doc %{_mandir}/man1/getsysinfo.1* %doc %{_mandir}/man1/mk_isdnhwdb.1* %doc %{_mandir}/man8/hwinfo.8* ++++++ hwinfo-21.45.tar.xz -> hwinfo-21.46.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/README.md new/hwinfo-21.46/README.md --- old/hwinfo-21.45/README.md 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/README.md 2017-05-12 13:53:38.000000000 +0200 @@ -80,6 +80,12 @@
`hwinfo -bios` - note the single '`-`'). Please don't do this. If you are interested, you can read about it [here](README-legacy.md).
+## Technical documentation + +The hardware detection library makes use of a number of technical specifications. + +[Here](specifications.md) is a compilation of external links to technical standards relevant to `libhd`. + ## openSUSE Development To build the library, simply run `make`. Install with `make install`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/VERSION new/hwinfo-21.46/VERSION --- old/hwinfo-21.45/VERSION 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/VERSION 2017-05-12 13:53:38.000000000 +0200 @@ -1 +1 @@ -21.45 +21.46 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/changelog new/hwinfo-21.46/changelog --- old/hwinfo-21.45/changelog 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/changelog 2017-05-12 13:53:38.000000000 +0200 @@ -1,3 +1,8 @@ +2017-05-12: 21.46 + - add links to technical specifications + - try harder to get the video mode list + - map also alternate video bios entry points (bsc #1033832) + 2017-05-10: 21.45 - remove obsolete code - avoid access to video memory (bsc #1033832) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/specifications.md new/hwinfo-21.46/specifications.md --- old/hwinfo-21.45/specifications.md 1970-01-01 01:00:00.000000000 +0100 +++ new/hwinfo-21.46/specifications.md 2017-05-12 13:53:38.000000000 +0200 @@ -0,0 +1,46 @@ +# Links to external technical documentaion + +## System Management BIOS (SMBIOS) + +https://www.dmtf.org/standards/smbios + + +## VESA BIOS Extensions (VBE) + +http://www.petesqbsite.com/sections/tutorials/tuts/vbe3.pdf + + +## PCI specification + +https://pcisig.com/specifications + +### device ids + +- http://pci-ids.ucw.cz + + +## SDIO specification + +https://www.sdcard.org/developers/overview/sdio/ + +### device ids + +- https://github.com/systemd/systemd/blob/master/hwdb/sdio.ids +- https://wikidevi.com/wiki/Talk:Linux_Wi-Fi_device_entries + + +## USB specification + +http://www.usb.org/developers/docs/ + +### device ids + +- http://www.linux-usb.org/usb.ids + + +## SCSI specification + +### SCSI commands + +Google for 'SCSI Primary Commands 5 (SPC-5)' (or choose another version). +The latest draft is usually freely available but not directly downloadable. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/src/hd/bios.c new/hwinfo-21.46/src/hd/bios.c --- old/hwinfo-21.45/src/hd/bios.c 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/src/hd/bios.c 2017-05-12 13:53:38.000000000 +0200 @@ -455,7 +455,7 @@ bt->vbe_ver = vbe->version; } - if(vbe->ok && vbe->fb_start) { + if(vbe->ok && vbe->modes) { hd = add_hd_entry(hd_data, __LINE__, 0); hd->base_class.id = bc_framebuffer; hd->sub_class.id = sc_fb_vesa; @@ -483,7 +483,7 @@ mi = vbe->mode + u; if( (mi->attributes & 1) && /* mode supported */ - mi->fb_start && + (mi->fb_start || (mi->attributes & 0x80)) && /* has linear framebuffer support */ mi->pixel_size != -1u /* text mode */ ) { res = add_res_entry(&hd->res, new_mem(sizeof *res)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/src/hd/hd.h new/hwinfo-21.46/src/hd/hd.h --- old/hwinfo-21.45/src/hd/hd.h 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/src/hd/hd.h 2017-05-12 13:53:38.000000000 +0200 @@ -20,7 +20,7 @@ /** Interface version */ #define HD_VERSION 21 -#define HD_MINOR_VERSION 45 +#define HD_MINOR_VERSION 46 #define HD_FULL_VERSION (HD_VERSION * 1000 + HD_MINOR_VERSION) /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.45/src/hd/mdt.c new/hwinfo-21.46/src/hd/mdt.c --- old/hwinfo-21.45/src/hd/mdt.c 2017-05-10 14:07:10.000000000 +0200 +++ new/hwinfo-21.46/src/hd/mdt.c 2017-05-12 13:53:38.000000000 +0200 @@ -277,8 +277,8 @@ return 0; } - // ignore ints != 0x10 - if(num != 0x10) return 1; + // ignore ints != (0x10 or 0x42 or 0x6d) + if(num != 0x10 && num != 0x42 && num != 0x6d) return 1; return 0; } @@ -370,7 +370,9 @@ return ok; } - copy_to_vm(vm->emu, 0x10*4, p1 + 0x10*4, 4, X86EMU_PERM_RW); + copy_to_vm(vm->emu, 0x10*4, p1 + 0x10*4, 4, X86EMU_PERM_RW); // video bios entry + copy_to_vm(vm->emu, 0x42*4, p1 + 0x42*4, 4, X86EMU_PERM_RW); // old video bios entry + copy_to_vm(vm->emu, 0x6d*4, p1 + 0x6d*4, 4, X86EMU_PERM_RW); // saved video bios entry copy_to_vm(vm->emu, 0x400, p1 + 0x400, 0x100, X86EMU_PERM_RW); munmap(p1, 0x1000);