diff --git a/usbutils.spec b/usbutils.spec index 6af067c589b6e0ebe4202fd6b104638b34f347db..8e80c721c548fdd8a7f567e3b76f511c245224f3 100644 --- a/usbutils.spec +++ b/usbutils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: usbutils Version: 015 Release: %{anolis_release}%{?dist} @@ -8,15 +8,45 @@ License: GPLv2+ Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz -BuildRequires: make -BuildRequires: gcc +BuildRequires: make gcc BuildRequires: libusbx-devel BuildRequires: systemd-devel Requires: hwdata %description -This package contains utilities for inspecting devices connected to a -USB bus. +USButils is a collection of tools that are designed to help users interact +with USB devices on a Linux system. These tools provide a range of functions, +including identifying and troubleshooting USB devices, monitoring USB traffic, +and managing USB power. + +One of the key tools included in USButils is lsusb, which can be used +to list all the USB devices that are currently connected to the system. +This command provides detailed information about each device, including +vendor and product IDs, device classes, and the driver that is being used. + +Another useful tool is usbhid-dump, which allows users to monitor USB +traffic between devices and the host system. This tool can be used to +debug USB communication issues and analyze data transmissions. + +USBdevfs is a virtual filesystem that provides users with the ability to +interact with USB devices as if they were regular files. This tool can +be used to read and write data to USB devices and can be used with Python, +Perl, and other scripting languages. + +The usbreset command can be used to reset USB devices that are not responding +or behaving abnormally. This command sends a USB-specific control message to +the device, resetting it without requiring the user to physically disconnect +and reconnect the device. + +Finally, the udevadm command is used to manage the udev device manager. This +tool is responsible for detecting and configuring new hardware devices on the +system and can be used to create custom udev rules for specific USB devices +or modify existing rules. + +Overall, USButils is an essential set of tools for developers and system +administrators who need to work with USB devices on a Linux system. These +tools provide a range of functions that can help users identify, troubleshoot, +and manage USB devices on their system. %package doc Summary: Documentation files for %{name} @@ -52,6 +82,9 @@ rm -rf %{buildroot}/%{_libdir}/pkgconfig/usbutils.pc %doc NEWS %changelog +* Tue Apr 11 2023 Xuchun Shang - 015-2 +- Update some description + * Fri Mar 17 2023 Xuchun Shang - 015-1 - update to version 015