Bug 252282

Summary: sysutils/hw-probe runtime dependencies
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Open ---    
Severity: Affects Some People CC: andrewponomarenko, danfe
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.freshports.org/sysutils/hw-probe/#dependencies

Description Graham Perrin 2020-12-30 13:01:20 UTC
https://svnweb.freebsd.org/ports/head/sysutils/hw-probe/Makefile?revision=536978&view=markup does not specify sysutils/usbutils but if I understand correctly: 

* usbutils is required for lsusb(8). 


Consider including things such as lsblk and usbutils, at least during the early stages of development of helloSystem · Issue #63 · helloSystem/ISO

– closed with https://github.com/helloSystem/ISO/commit/913ef5f9af88a7fab35fe698d36b5ef180182850

https://github.com/helloSystem/ISO/commit/913ef5f9af88a7fab35fe698d36b5ef180182850#diff-ba48011d35001eeaa41235c7a115fc5007325aacc87366e0858bf10e3c5fb456L93 hw-probe is already there.
Comment 1 Graham Perrin 2021-07-16 23:34:28 UTC

> This should be done downstream: …

Please consider adding these dependencies: 


% pkg provides /usr/local/bin/lspci
Name    : pciutils-3.7.0
Desc    : PCI configuration utilities
Repo    : FreeBSD
Filename: usr/local/bin/lspci
% pkg provides /usr/local/sbin/lsusb
Name    : usbutils-0.91
Desc    : Utility for listing USB devices
Repo    : FreeBSD
Filename: usr/local/sbin/lsusb

Without these, a first probe of an HP ProBook 440 G7 lacked detail: 


The second was better: 

Comment 2 Graham Perrin 2021-07-16 23:37:38 UTC


% pkg provides usr/local/sbin/lsblk
Name    : lsblk-3.5
Desc    : Lists information about block devices in the system
Repo    : FreeBSD
Filename: usr/local/sbin/lsblk
Comment 4 Andrey P. 2021-09-08 10:42:59 UTC
(In reply to Graham Perrin from comment #3)

sysutils/hwstat is recommended for FreeBSD installations newer than 8.1.

sysutils/pciutils and sysutils/usbutils are not recommended because we have pciconf and usbconfig instead in the system by default.

sysutils/lsblk is recommended.

For future: make sure new dependency is available on all architectures.
Comment 5 Graham Perrin 2021-09-12 12:45:24 UTC
(In reply to Andrey P. from comment #4)

> sysutils/pciutils and sysutils/usbutils are not recommended

What about the resulting lack of detail?
Comment 6 Andrey P. 2021-09-15 08:16:25 UTC
(In reply to Graham Perrin from comment #5)

What particular info is missed?