| Age | Commit message (Collapse) | Author | 
|---|
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | A set of functions for getting information for a single USB device,
or a list of all devices.
The only implemented method is using `lsusb`, which is slow. A
method using sysfs would be much better. The existing sysfs and
procfs methods in devices/usb.c do not appear to work, so it would
have to be something new.
devices/usb.c modified to use usb_util, but all the old code is
still there.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Warnings, found using PVS-Studio:
hardinfo/modules/devices/usb.c	397	err	V773 The function was exited without releasing the 'temp' pointer. A memory leak is possible.
hardinfo/modules/computer/uptime.c 33 err V773 The function was exited without releasing the 'ui' pointer. A memory leak is possible. | 
|  | Only tested __scan_usb_lsusb(). I can't test
__scan_usb_procfs() or __scan_usb_sysfs()
because those do not work on any machine I have
access to.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | moreinfo_lookup rather than hi_more_info); fix usb display crashing (util.c now looks for lsusb in /usr/sbin first); fix glibc version not showing (glibc located in /lib64/libc.so.6); initial support for DDR3 spd-decoding (incomplete, the manufacturer is not shown yet). | 
|  | This creates a temporary file with the lsusb information, which allows
fseek to work properly. | 
|  | Have only one for the whole program and use per-module namespaces/prefixes
so that each module can clear its own information easily. | 
|  |  | 
|  |  | 
|  |  |