From 0cba3f1e03bf1d4b53559b8932ae34f87c4850d5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:13:39 +0200 Subject: Adding debian version 1:017-3. Signed-off-by: Daniel Baumann --- debian/changelog | 815 +++++++++++++++++++++ debian/control | 36 + debian/copyright | 61 ++ debian/not-installed | 1 + debian/patches/01-add-a-manpage-for-lsusb.py.patch | 110 +++ .../02-add-lsusb.py.1-to-distcleanfiles.patch | 23 + debian/patches/03-add-a-manpage-for-usbreset.patch | 105 +++ debian/patches/series | 3 + debian/rules | 20 + debian/source/format | 1 + debian/usbutils-py.install | 2 + debian/usbutils-py.lintian-overrides | 3 + debian/usbutils.bug-presubj | 6 + debian/usbutils.install | 8 + debian/watch | 2 + 15 files changed, 1196 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/not-installed create mode 100644 debian/patches/01-add-a-manpage-for-lsusb.py.patch create mode 100644 debian/patches/02-add-lsusb.py.1-to-distcleanfiles.patch create mode 100644 debian/patches/03-add-a-manpage-for-usbreset.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/usbutils-py.install create mode 100644 debian/usbutils-py.lintian-overrides create mode 100644 debian/usbutils.bug-presubj create mode 100644 debian/usbutils.install create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b03e1d2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,815 @@ +usbutils (1:017-3) unstable; urgency=medium + + * Upload to unstable. + + -- Aurelien Jarno Thu, 04 Jan 2024 23:03:23 +0100 + +usbutils (1:017-2) experimental; urgency=medium + + * Add a usbutils-py package containing lsusb.py. Closes: #1020683. + * Backport patches from upstream to add manpages: + - 01-add-a-manpage-for-lsusb.py.patch + - 02-add-lsusb.py.1-to-distcleanfiles.patch + - 03-add-a-manpage-for-usbreset.patch + + -- Aurelien Jarno Thu, 04 Jan 2024 14:59:50 +0000 + +usbutils (1:017-1) unstable; urgency=medium + + * New upstream version: + - Fix sort order in lsusb -t. Closes: #927188. + + -- Aurelien Jarno Tue, 02 Jan 2024 13:08:15 +0000 + +usbutils (1:015-1) unstable; urgency=medium + + * New upstream version. + * Bump Standards-Version to 4.6.2 (no changes). + * Update debian/watch file to use https. + + -- Aurelien Jarno Wed, 21 Jun 2023 22:32:07 +0200 + +usbutils (1:014-1) unstable; urgency=medium + + * New upstream version: + - Drop 01-lsusb-8-mention-the-udev-s-hardware-database.patch, upstreamed. + * Bump Standards-Version to 4.6.0 (no changes). + + -- Aurelien Jarno Wed, 18 Aug 2021 20:40:42 +0000 + +usbutils (1:013-3) unstable; urgency=medium + + * Fix break version against usbip. Closes: #981126. + + -- Aurelien Jarno Tue, 26 Jan 2021 21:04:05 +0100 + +usbutils (1:013-2) unstable; urgency=medium + + * Do not depends on usb.ids. + * Break packages that used to depend on usbutils to get usb.ids. + * Update lsusb manpage to mention that the udev's hardware database is + used to associate a full human-readable name to the vendor ID and the + product ID. Closes: #979153. + * Update debian/copyright. + * Bump Standards-Version to 4.5.1. + + -- Aurelien Jarno Fri, 22 Jan 2021 19:26:14 +0100 + +usbutils (1:013-1) unstable; urgency=medium + + * New upstream version: + - Don't return bogus sysfs data for devices under a hub. Closes: + #968358. + - Drop debian/patches/01-lsusb.8.in-do-not-mention-usb.ids.patch, + upstreamed. + * Bump debian/compat to 13 using the declarative form. + + -- Aurelien Jarno Wed, 28 Oct 2020 23:32:18 +0100 + +usbutils (1:012-2) unstable; urgency=medium + + * Add debian/patches/01-lsusb.8.in-do-not-mention-usb.ids.patch to drop + mention of usb.ids in lsusb(8). Closes: #941421. + * debian/copyright: fix download location. Closes: #941477. + * Bumped Standards-Version to 4.4.1 (no changes). + + -- Aurelien Jarno Tue, 01 Oct 2019 23:03:11 +0200 + +usbutils (1:012-1) unstable; urgency=medium + + * New upstream version. + * Bump debian/compat to 12. + + -- Aurelien Jarno Mon, 08 Jul 2019 00:05:12 +0200 + +usbutils (1:010-3) unstable; urgency=medium + + [ Helmut Grohne ] + * Fix FTCBFS: Seed compiler for usbreset from buildtools.mk. Closes: + #922816. + + [ Aurelien Jarno ] + * Build usbreset with LDFLAGS. + + -- Aurelien Jarno Sun, 24 Feb 2019 13:55:34 +0100 + +usbutils (1:010-2) unstable; urgency=medium + + * Upload to unstable. + * Drop debian/patches/04-libusb_get_string_descriptor.diff, useless now + that this package is linux-only. + * Bumped Standards-Version to 4.3.0 (no changes). + * Set Rules-Requires-Root to no. + * Temporarily depend on usb.ids even if not used by lsusb, as some packages + depends on usbutils to get access to this file. + + -- Aurelien Jarno Wed, 06 Feb 2019 23:35:25 +0100 + +usbutils (1:010-1) experimental; urgency=medium + + * New upstream version: + - Drop debian/patches/01-import-usbreset-from-git.diff. + - Drop debian/patches/02-usb-reset-stdlib-include.diff. + * Bumped Standards-Version to 4.1.2 (no changes). + + -- Aurelien Jarno Sat, 19 May 2018 00:04:24 +0200 + +usbutils (1:009-2) experimental; urgency=medium + + * Drop the udeb package. + * Bumped Standards-Version to 4.1.2 (no changes). + + -- Aurelien Jarno Sat, 23 Dec 2017 13:59:53 +0100 + +usbutils (1:009-1) experimental; urgency=medium + + * New upstream version: + - Build usbreset. Closes: #554122. + * Switch to debhelper 10. + * Bumped Standards-Version to 4.1.1 (no changes). + + -- Aurelien Jarno Sat, 25 Nov 2017 23:32:52 +0100 + +usbutils (1:008-1) experimental; urgency=medium + + * New upstream version. Closes: #798148. + * Build-depends on libudev-dev and change the architecture to linux-any. + * Uses the systemd database, therefore drops usb.ids and related + utilities. Closes: #544503. + * Drop patches applied upstream and refresh remaining ones. + * Upload to experimental. + * Bumped Standards-Version to 3.9.8 (no changes). + + -- Aurelien Jarno Tue, 31 May 2016 23:17:53 +0200 + +usbutils (1:007-4) unstable; urgency=medium + + * Rewrite debian/rules to use dh. + * Add homepage field pointing to github. Leave the watch file to the + kernel.org website, as the tarballs from github are not usable. + Closes: #798147. + * Update usb.ids. + + -- Aurelien Jarno Sun, 06 Sep 2015 13:58:23 +0200 + +usbutils (1:007-3) unstable; urgency=medium + + * Update usb.ids. Closes: #794954. + * Install usbhid-dump.8. Closes: #737612. + * Add 05-lsusb-t-handle-problem-if-there-is-no-usb-bus-list.diff from + upstream to fix a segmentation fault with empty USB busses. Closes: + #742785. + * Don't generate md5sum for usb.ids. Thanks to Sebastian Schmidt for + the idea. Closes: #774062. + * Improve update-usbids.8. Thanks to François Marier. Closes: #750960. + * Pass -n to gzip to compress usb.ids. + * Add watch file. + * Bumped Standards-Version to 3.9.6 (no changes). + + -- Aurelien Jarno Sat, 08 Aug 2015 23:10:34 +0200 + +usbutils (1:007-2) unstable; urgency=low + + * Add 03-am-maintainer-mode.diff, 04-libusb_get_string_descriptor.diff + and 99-autoreconf.diff to support libusb 1.0 versions without + libusb_get_string_descriptor(). + * Bumped Standards-Version to 3.9.4 (no changes). + + -- Aurelien Jarno Mon, 10 Jun 2013 17:27:41 +0200 + +usbutils (1:007-1) unstable; urgency=low + + * New upstream version. Closes: #711579. + - Remove 01-update-usb-ids.diff, 02-usbdevices-quotes.diff. + - Add 02-ccid-typo.diff to fix a typo. + * Suggests lynx-cur instead of lynx. Closes: #710583. + * Fix update-usbids manpage. Closes: #675089. + + -- Aurelien Jarno Mon, 10 Jun 2013 00:59:14 +0200 + +usbutils (1:006-1) unstable; urgency=low + + * New upstream version: + - Remove 02-am-maintainer-mode.diff, 03-pkgconfig.diff, + 04-missing-includes.diff, 05-debian-usb-ids.diff, + 06-usb-devices-manpages.diff and 99-relibtoolize.diff. + * Add debian/patches/02-usbdevices-quotes.diff to fix quoting issues + in usb-devices. Closes: #694043. + * Update usb.ids. Closes: #696527. + * Set usbutils package as Multi-Arch: foreign. Closes: #697775. + * Correctly pass CPPFLAGS and LDFLAGS to build with hardening support. + * Compress .deb with xz. + + -- Aurelien Jarno Mon, 06 May 2013 23:14:16 +0200 + +usbutils (1:005-3) unstable; urgency=low + + * Update usb.ids. + * Add an entry for Bamboo Pen. Closes: #669050. + * Fix a typo in usb-devices (1). Closes: #646167. + * Bumped Standards-Version to 3.9.3 (no changes). + + -- Aurelien Jarno Mon, 23 Apr 2012 18:48:45 +0200 + +usbutils (1:005-2) unstable; urgency=low + + * Add an entry for Huawei E173. Closes: #654195. + + -- Aurelien Jarno Mon, 02 Jan 2012 13:48:31 +0100 + +usbutils (1:005-1) unstable; urgency=low + + * New upstream release. + * Update usb.ids. + + -- Aurelien Jarno Sun, 11 Dec 2011 20:26:01 +0100 + +usbutils (1:004-2) unstable; urgency=high + + * Install usbutils.pc in the correct path. Closes: #639717. + * Set severity to high, as the bug affects testing. + + -- Aurelien Jarno Mon, 29 Aug 2011 20:43:24 +0200 + +usbutils (1:004-1) unstable; urgency=low + + * New upstream release. + * Use .xz for the debian.tar file. + + -- Aurelien Jarno Sat, 27 Aug 2011 17:59:40 +0200 + +usbutils (1:003-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to 3.9.2 (no changes). + * Switch to dpkg-source 3.0 (quilt) format. + * Update usb.ids. + + -- Aurelien Jarno Fri, 12 Aug 2011 23:18:04 +0200 + +usbutils (1:001-1) unstable; urgency=low + + * New upstream version, with new version numbering system. + * Switch build-dependencies from libusb-dev to libusb-1.0-0-dev. + * Update usb.ids. + * Fix 13fe:3100 entry, 4GB versions of the device also exists. + Closes: bug#599817. + * Bumped Standards-Version to 3.9.1 (no changes). + + -- Aurelien Jarno Sun, 06 Feb 2011 13:32:44 +0100 + +usbutils (0.87-5) unstable; urgency=low + + * Update usb.ids. Closes: bug#587379. + + -- Aurelien Jarno Mon, 28 Jun 2010 06:13:12 +0200 + +usbutils (0.87-4) unstable; urgency=low + + * Update usb.ids. + + -- Aurelien Jarno Thu, 17 Jun 2010 09:00:46 +0200 + +usbutils (0.87-3) unstable; urgency=low + + * Fix DFU version endianness. Closes: bug#582954. + + -- Aurelien Jarno Tue, 25 May 2010 00:05:31 +0200 + +usbutils (0.87-2) unstable; urgency=low + + * Update usb.ids. + * Fix 16c0:05dc entry. Closes: bug#582460. + + -- Aurelien Jarno Mon, 24 May 2010 22:07:37 +0200 + +usbutils (0.87-1) unstable; urgency=low + + * New upstream version. + * Update usb.ids. Closes: bug#573734. + * Update README.Debian to reflect the new way to submit new usb.ids + entries. + * Backport a patch from upstream to decode USB 3 endpoint companion + descriptors. + + -- Aurelien Jarno Sun, 25 Apr 2010 12:00:59 +0200 + +usbutils (0.86-4) unstable; urgency=low + + * Correctly dump CCID info now that it is an official USB class and + that devices start to use it with non-tagged descriptors. Closes: + bug#569783. + * Update usb.ids. + * Bumped Standards-Version to 3.8.4 (no changes). + + -- Aurelien Jarno Sun, 14 Feb 2010 15:51:01 +0100 + +usbutils (0.86-3) unstable; urgency=low + + * Update usb.ids: + - Add Logitech Webcam C200 (046d:0802). Closes: bug#564035. + - Add Verbatim External Hard Drive (18a5:0216). Closes: bug#563085. + + -- Aurelien Jarno Sun, 17 Jan 2010 21:18:36 +0100 + +usbutils (0.86-2) unstable; urgency=low + + * Install the usbutils.pc in the correct directory. + + -- Aurelien Jarno Sun, 23 Aug 2009 23:42:04 +0200 + +usbutils (0.86-1) unstable; urgency=low + + * New upstream version: + - usb-devices has been to /usr/bin (closes: bug#539582). + * Update usb.ids from upstream. + * Bumped Standards-Version to 3.8.3 (no changes). + + -- Aurelien Jarno Tue, 18 Aug 2009 06:55:29 +0200 + +usbutils (0.84-1) unstable; urgency=low + + * New upstream version (closes: bug#539484). + * Bumped Standards-Version to 3.8.2 (no changes). + * Add 147a:e017 and 14b2:3c05 entries to usb.ids (closes: bug#531274). + + -- Aurelien Jarno Sat, 01 Aug 2009 16:40:48 +0200 + +usbutils (0.82-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Wed, 13 May 2009 08:59:51 +0000 + +usbutils (0.81-1) unstable; urgency=low + + * New upstream version. + - Device tree option works with usbfs not mounted (closes: bug#498723). + * Improve manpage (closes: bug#506800). + * usb.ids: + - Fix entry about Netgear WG111 (0846:4240) (closes: bug#500706). + - Add Hewlett-Packard LaserJet P1005 (03f0:3d17) (closes: bug#525629). + - Add Benq X120 Internet Keyboard Pro (0d62:001c) (closes: bug#525628). + - Add Dexon Mouse (15d9:0a33) (closes: bug#525582). + * Bumped Standards-Version to 3.8.1 (no changes). + + -- Aurelien Jarno Tue, 28 Apr 2009 23:24:30 +0200 + +usbutils (0.73-10) unstable; urgency=low + + * Fix a typo in README.Debian. + + -- Aurelien Jarno Wed, 13 Aug 2008 01:03:10 +0200 + +usbutils (0.73-9) unstable; urgency=low + + * Update usb.ids. + * Add a README.Debian explaining how to submit new USB ID's. + * Bumped Standards-Version to 3.8.0 (no changes). + + -- Aurelien Jarno Wed, 06 Aug 2008 22:47:04 +0200 + +usbutils (0.73-8) unstable; urgency=low + + * Update usb.ids. + * Add CCU-550 USB modem to usb.ids (closes: bug#480484). + + -- Aurelien Jarno Sat, 10 May 2008 14:24:32 +0200 + +usbutils (0.73-7) unstable; urgency=low + + * Fix the last changelog entry, no code change. + + -- Aurelien Jarno Mon, 03 Mar 2008 14:42:52 +0100 + +usbutils (0.73-6) unstable; urgency=low + + * Bumped Standards-Version to 3.7.3 (no changes). + * Relax build-dependency on libusb-dev. + * Rework debian/copyright. + + -- Aurelien Jarno Sun, 02 Mar 2008 19:06:45 +0100 + +usbutils (0.73-5) unstable; urgency=low + + * Fix broken link in /usr/share/misc/ (closes: bug#453363). + + -- Aurelien Jarno Thu, 29 Nov 2007 10:11:17 +0100 + +usbutils (0.73-4) unstable; urgency=low + + * Don't gzip usb.ids for the .deb package, as hal will use this file + and relies on it being non-gzipped (closes: bug#448803). + * usb.ids is still gzipped in the .udeb package. + + -- Aurelien Jarno Thu, 08 Nov 2007 14:33:14 +0100 + +usbutils (0.73-3) unstable; urgency=low + + * Use endian.h instead of asm/byteorder.h. Fix build on non-linux + systems. + + -- Aurelien Jarno Wed, 24 Oct 2007 15:01:21 +0200 + +usbutils (0.73-2) unstable; urgency=low + + * Reupload the correct version (closes: bug#447851). + + -- Aurelien Jarno Wed, 24 Oct 2007 11:51:20 +0200 + +usbutils (0.73-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Wed, 24 Oct 2007 00:44:38 +0200 + +usbutils (0.72-9) unstable; urgency=low + + * Update usb.ids. + * Add Bison Acer Orbicam to usb.ids (closes: bug#425717). + + -- Aurelien Jarno Wed, 12 Sep 2007 11:53:14 +0200 + +usbutils (0.72-8) unstable; urgency=low + + * Remove support for 2.4 kernels. + * Update the description (closes: bug#415411). + + -- Aurelien Jarno Fri, 13 Apr 2007 16:18:51 +0200 + +usbutils (0.72-7) unstable; urgency=medium + + * Fix a typo in usb.ids. + + -- Aurelien Jarno Tue, 10 Oct 2006 11:30:48 +0200 + +usbutils (0.72-6) unstable; urgency=low + + * Added "HP DeskJet 6840" to usb.ids (closes: bug#382487). + * Added "Topro USB Mouse" and "Creative Labs Optical Mouse" + to usb.ids (closes: bug#387120). + + -- Aurelien Jarno Sun, 8 Oct 2006 18:01:44 +0200 + +usbutils (0.72-5) unstable; urgency=low + + * Added support for gzipped usb.ids files. This reduces the udeb unpacked + size by 100 kB. + * Updated usb.ids. + + -- Aurelien Jarno Wed, 2 Aug 2006 11:52:27 +0200 + +usbutils (0.72-4) unstable; urgency=low + + * Fix the parsing of bus number >= 08 in tree mode (closes: bug#373764). + + -- Aurelien Jarno Sat, 17 Jun 2006 16:15:32 +0200 + +usbutils (0.72-3) unstable; urgency=low + + * This time, don't ship an empty deb package (closes: bug#368014). + + -- Aurelien Jarno Fri, 19 May 2006 17:08:30 +0000 + +usbutils (0.72-2) unstable; urgency=high + + * Don't ship an empty udeb package. + * Bumped Standards-Version to 3.7.2 (no changes). + + -- Aurelien Jarno Wed, 17 May 2006 00:23:07 +0000 + +usbutils (0.72-1) unstable; urgency=low + + * New upstream version: + - usbmodules has been removed from upstream tarball. Continue to + maintain it in Debian, to support Sarge -> Etch upgrades. + + -- Aurelien Jarno Sun, 23 Apr 2006 11:36:11 +0200 + +usbutils (0.71+cvs20051029-5) unstable; urgency=low + + * Use the new debhelper features to set dependencies for udeb. Thanks + to Frans Pop for the patch (closes: bug#360350). + + -- Aurelien Jarno Sat, 1 Apr 2006 23:48:35 +0200 + +usbutils (0.71+cvs20051029-4) unstable; urgency=low + + * Updated usb.ids. + * Added "HL-1430 Laser Printer". + + -- Aurelien Jarno Sat, 3 Dec 2005 00:15:41 +0100 + +usbutils (0.71+cvs20051029-3) unstable; urgency=low + + * Added a note that usbmodules is not useful on 2.4 kernels (closes: + bug#340548). + + -- Aurelien Jarno Thu, 24 Nov 2005 20:07:13 +0100 + +usbutils (0.71+cvs20051029-2) unstable; urgency=low + + * Fix usb.ids location in lsusb man page (closes: bug#338854). + + -- Aurelien Jarno Sun, 13 Nov 2005 15:52:08 +0100 + +usbutils (0.71+cvs20051029-1) unstable; urgency=low + + * CVS snapshot: + - Support for video terminal tag added (closes: bug#336296). + + -- Aurelien Jarno Sat, 29 Oct 2005 12:36:07 +0200 + +usbutils (0.71-7) unstable; urgency=low + + * Fixed URL in debian/copyright (closes: bug#336039). + + -- Aurelien Jarno Fri, 28 Oct 2005 01:20:54 +0200 + +usbutils (0.71-6) unstable; urgency=low + + * README.Debian is not really useful, remove it (closes: bug#329261). + + -- Aurelien Jarno Tue, 20 Sep 2005 23:12:47 +0200 + +usbutils (0.71-5) unstable; urgency=low + + * Fixed parsing of bVoltageSupport. Thanks to Ludovic Rousseau for the patch + (closes: bug#314478). + + -- Aurelien Jarno Mon, 20 Jun 2005 07:44:33 +0200 + +usbutils (0.71-4) unstable; urgency=low + + * Added KOBIL to usb.ids (closes: bug#314454). + + -- Aurelien Jarno Fri, 17 Jun 2005 15:04:43 +0200 + +usbutils (0.71-3) unstable; urgency=low + + * Makes udeb depending on libusb-0.1-udeb instead of libusb-0.1-udeb + instead of libusb-0.1-4. + + -- Aurelien Jarno Sun, 5 Jun 2005 22:55:54 +0200 + +usbutils (0.71-2) unstable; urgency=low + + * Also produce an udeb package. Patch by Colin Watson (closes: + bug#311653). + * Added fix for dpkg-dev >= 1.13.2 (closes: bug#311655). + * Added HP OfficeJet 5510 to usb.ids (closes: bug#311656). + + -- Aurelien Jarno Thu, 2 Jun 2005 17:15:02 +0200 + +usbutils (0.71-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Thu, 19 May 2005 00:28:37 +0200 + +usbutils (0.70-8) unstable; urgency=low + + * Added some webcams to usb.ids (closes: bug#305022). + + -- Aurelien Jarno Fri, 22 Apr 2005 19:14:16 +0200 + +usbutils (0.70-7) unstable; urgency=low + + * Fixed USB IDs for Zaurus C-860 (closes: bug#304818). + + -- Aurelien Jarno Sat, 16 Apr 2005 00:24:19 +0200 + +usbutils (0.70-6) unstable; urgency=low + + * Added Labtec Wireless Optical Mouse to usb.ids. + + -- Aurelien Jarno Fri, 15 Apr 2005 12:15:59 +0200 + +usbutils (0.70-5) unstable; urgency=low + + * Only suggests wget or lynx instead of depending on it + (closes: bug#30492). + + -- Aurelien Jarno Fri, 1 Apr 2005 08:04:08 +0200 + +usbutils (0.70-4) unstable; urgency=low + + * Fixed manpage (closes: bug#302144). + + -- Aurelien Jarno Wed, 30 Mar 2005 12:19:08 +0200 + +usbutils (0.70-3) unstable; urgency=low + + * Updated usb.ids + * Read USB IDs as hexa instead of autodetecting. + + -- Aurelien Jarno Mon, 28 Mar 2005 19:58:24 +0200 + +usbutils (0.70-2) unstable; urgency=low + + * Only build usbmodules on systems using a Linux kernel. + + -- Aurelien Jarno Thu, 17 Mar 2005 18:13:49 +0100 + +usbutils (0.70-1) unstable; urgency=medium + + * New upstream version. This is basically the same as the CVS version + used before, with some autoconf/automake update as well as gcc 4.0 + fixes. It only makes official changes that were already in the Debian + package. + + -- Aurelien Jarno Sun, 23 Jan 2005 14:54:53 +0100 + +usbutils (0.11+cvs20041108-1) unstable; urgency=medium + + * New CVS version. + * Set umask before downloading a new usb.ids (closes: bug#280232). + + -- Aurelien Jarno Mon, 8 Nov 2004 16:33:32 +0000 + +usbutils (0.11+cvs20041016-5) unstable; urgency=high + + * Fixed postinst so no error message is output (closes: bug#279217). + + -- Aurelien Jarno Mon, 1 Nov 2004 14:36:20 +0000 + +usbutils (0.11+cvs20041016-4) unstable; urgency=high + + * Fixed update-usbids (closes: bug#278935). + * Move /usr/share/misc/usb.ids.old to /var/lib/usbutils during postinst + (closes: bug#278936). + + -- Aurelien Jarno Sat, 30 Oct 2004 19:45:29 +0000 + +usbutils (0.11+cvs20041016-3) unstable; urgency=high + + * Moved usb.ids to /var/lib/usbutils to be FHS compliant (closes: + bug#278480). + + -- Aurelien Jarno Wed, 27 Oct 2004 09:54:27 +0000 + +usbutils (0.11+cvs20041016-2) unstable; urgency=high + + * Moved usb.ids to /var/share/misc (closes: bug#278480). + * Added a symlink in /usr/share/misc for backward compatibility. + + -- Aurelien Jarno Wed, 27 Oct 2004 07:55:06 +0000 + +usbutils (0.11+cvs20041016-1) unstable; urgency=low + + * New CVS version: + - USB 2.0 updates for dual-speed and OTG devices, hubs. + - Display all descriptors in the right sequence, and dump ones + we don't (yet) recognize. + - Minor cleanups. + - usb.ids updated. + + -- Aurelien Jarno Sat, 16 Oct 2004 14:28:18 +0200 + +usbutils (0.11+cvs20040318-3) unstable; urgency=low + + * Read the HID descriptors table using USB_RECIP_INTERFACE instead of + USB_RECIP_DEVICE (closes: bug#247726). + * Claim an interface before reading data from it. + + -- Aurelien Jarno Fri, 11 Jun 2004 23:27:39 +0200 + +usbutils (0.11+cvs20040318-2) unstable; urgency=low + + * Added symlinks for manpages: + - lsusb(1) -> lsusb(8) + - usbmodules(1) -> usbmodules(8) + + -- Aurelien Jarno Wed, 5 May 2004 08:59:01 +0200 + +usbutils (0.11+cvs20040318-1) unstable; urgency=medium + + * New CVS version including the previous changes. + * Allow empty line in map files (closes: bug#247264). + + -- Aurelien Jarno Tue, 4 May 2004 11:32:53 +0200 + +usbutils (0.11+cvs20040313-2) unstable; urgency=low + + * Fixed a typo in the help message (closes: bug#245414). + + -- Aurelien Jarno Fri, 23 Apr 2004 09:25:03 +0200 + +usbutils (0.11+cvs20040313-1) unstable; urgency=low + + * New version from CVS. + * Applied patch from Lee Maguire to support reporting of keyboard + country type (closes: bug#237015). + * Updated usb.ids. + + -- Aurelien Jarno Sun, 14 Mar 2004 00:32:59 +0100 + +usbutils (0.11-8) unstable; urgency=low + + * Applied patch from David Brownell to dump more information on HUB + devices. + + -- Aurelien Jarno Sun, 15 Feb 2004 12:05:39 +0100 + +usbutils (0.11-7) unstable; urgency=low + + * Added a dependency on wget (>= 1.8.1-6) | lynx (>= 2.8.4.1b-3) as + update-usbids needs to download files (closes: bug#224679). + * Updated usb.ids. + + -- Aurelien Jarno Mon, 29 Dec 2003 14:36:37 +0100 + +usbutils (0.11-6) unstable; urgency=low + + * Added a patch to access the USB devices through libusb instead of + directly through the kernel (closes: bug#135288). The patch has + also been integrated by the upstream in his repository. + * Updated manpages consequently (closes: bug#222237). + * Added symlinks to /usr/bin, as usbmodules and lsusb can now be run + by an unprivileged user, even the verbosity is higher in root mode. + + -- Aurelien Jarno Sat, 6 Dec 2003 19:54:44 +0100 + +usbutils (0.11-5) unstable; urgency=low + + * Fixed a bug which could occurs when getting descriptors from HID + devices. + + -- Aurelien Jarno Sun, 16 Nov 2003 20:18:14 +0100 + +usbutils (0.11-4) unstable; urgency=low + + * Don't query language IDs descriptors if the device doesn't contains + any string. + * Fixed some typos in manpages. + + -- Aurelien Jarno Sun, 16 Nov 2003 18:56:28 +0100 + +usbutils (0.11-3) unstable; urgency=low + + * Moved usb.ids to /usr/share/misc so that other packages could use it. + (closes: bug#184894). + * Added a script to update usb.ids (closes: bug#204879). + * Don't build libusb. This is better than building it and removing the + corresponding files later. That remove the call of an old configure + file (closes: bug#201934). + + -- Aurelien Jarno Fri, 24 Oct 2003 23:24:14 +0200 + +usbutils (0.11-2) unstable; urgency=low + + * New maintainer (closes: bug#217119). + * Fixed a bug causing a "cannot get report descriptor" error on hid + devices. Thanks to Loïc Dachary for the patch (closes: #215907). + * Updated usb.ids. + * debian/control + + Depends on ${misc:Depends} + * Uses autotools-dev to update config.{guess,sub}. + * Uses debian/compat instead of DH_COMPAT. + * Upgraded policy compliance to 3.6.1. + + -- Aurelien Jarno Thu, 23 Oct 2003 20:36:01 +0200 + +usbutils (0.11-1) unstable; urgency=low + + * Special Thanks to Andreas Metzler for + this update. + * New upstream 0.11: (Closes: #62182) - "lsusb don't work under ordinary + user" + * update usb.ids from master file http://linux-usb.sourceforge.net/usb.ids + (Closes: #147851) - "usb.ids very very old" and (Closes: #79574) "MOTU + FastLane not included in usb.ids file". + * patch manpage to list correct location of usb.ids-file on Debian. + (Closes: #130682) + + -- Christopher L Cheney Thu, 13 Mar 2003 20:00:00 -0600 + +usbutils (0.9-1) unstable; urgency=high + + * New Upstream. + * Bug was in users usb.usermap file (Closes: #102881) + * Fixed config.guess config.sub (Closes: #111469) + + -- Christopher L Cheney Fri, 23 Nov 2001 21:59:19 -0600 + +usbutils (0.8-1) unstable; urgency=low + + * New Maintainer. + + -- Christopher L Cheney Wed, 13 Jun 2001 11:20:06 -0500 + +usbutils (0.6-2) unstable; urgency=low + + * Added #!/bin/sh to postinst of libusb0. (closes: #58588) + + -- Raphael Bossek Tue, 7 Mar 2000 16:10:14 +0100 + +usbutils (0.6-1) unstable; urgency=low + + * New upstream version. + + -- Raphael Bossek Sun, 9 Jan 2000 13:13:30 +0100 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8c91bf8 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: usbutils +Section: utils +Priority: optional +Maintainer: Aurelien Jarno +Build-Depends: debhelper-compat (= 13), libusb-1.0-0-dev, libudev-dev, pkg-config, python3, dh-python +Standards-Version: 4.6.2 +Rules-Requires-Root: no +Homepage: https://github.com/gregkh/usbutils + +Package: usbutils +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: hwdata (<< 0.334-1~), isenkram (<< 0.45~), kinfocenter (<< 4:5.14.5-2~), libosinfo-1.0-0 (<< 1.8.0-1~), usbip (<< 2.0+5.10.4-1~) +Suggests: usbutils-py +Multi-Arch: foreign +Description: Linux USB utilities + This package contains the lsusb utility for inspecting the devices + connected to the USB bus. It shows a graphical representation of the + devices that are currently plugged in, showing the topology of the + USB bus. It also displays information on each individual device on + the bus. + . + lsusb, usb-devices, usbhid-dump, usbreset + +Package: usbutils-py +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, usb.ids +Multi-Arch: foreign +Description: Linux USB utilities - lsusb.py command + This package contains the Python based lsusb.py utility for inspecting the + devices connected to the USB bus. It shows the devices that are currently + plugged in, showing the topology of the USB bus. It also provides information + on each individual device on the bus, such as the interface speed and details + of a device's interfaces, including the driver bound to them and Linux devices + provided by the driver, as well as the details of device and interface + endpoints. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..046125a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,61 @@ +This package was debianized by Christopher L Cheney on +Wed, 13 Jun 2001 11:20:06 -0500. + +It was downloaded from https://www.kernel.org/pub/linux/utils/usb/usbutils/ + +Upstream Authors: + Greg Kroah-Hartman + +Copyright: + Copyright 2011 (c) Greg Kroah-Hartman + Copyright 2016 Stephan Linz + Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch) + Copyright (C) 1999-2001, 2003 Thomas Sailer (t.sailer@alumni.ethz.ch) + Copyright (c) 1999 Thomas Sailer + Copyright (C) 2003-2005 David Brownell + Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net) + Copyright (c) 2004 Frans Pop + Copyright (c) 2004 Greg Kroah-Hartman + Copyright (c) 2004 Randy Dunlap + Copyright (c) 2004 Thomas Sailer + Copyright (c) 2005-2006 David Brownell + Copyright (c) 2009,2010 Greg Kroah-Hartman + Copyright (C) 2009-2010 Nikolai Kondrashov + Copyright (c) 2009-2016 Alan Stern + Copyright (c) 2009 Frans Pop + Copyright (c) 2009 Greg Kroah-Hartman + Copyright (c) 2009 Greg Kroah-Hartman + Copyright (c) 2009 Kay Sievers + Copyright (c) 2009 Kurt Garloff + Copyright (c) 2009 Randy Dunlap + Copyright (C) 2010-2011 Nikolai Kondrashov + Copyright (c) 2010 Nikolai Kondrashov + Copyright (c) 2010 Nikolai Kondrashov + Copyright (C) 2010 Nikolai Kondrashov + Copyright (c) 2013,2018 Kurt Garloff + Copyright (C) 2013 Tom Gundersen (teg@jklm.no) + Copyright (C) 2013 Tom Gundersen + Copyright (C) 2017-2018 Michael Drake + Copyright (C) 2017 Michael Drake + Copyright (c) 2018 Greg Kroah-Hartman + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + diff --git a/debian/not-installed b/debian/not-installed new file mode 100644 index 0000000..b1c2ca5 --- /dev/null +++ b/debian/not-installed @@ -0,0 +1 @@ +usr/lib/*/pkgconfig/usbutils.pc diff --git a/debian/patches/01-add-a-manpage-for-lsusb.py.patch b/debian/patches/01-add-a-manpage-for-lsusb.py.patch new file mode 100644 index 0000000..27adef8 --- /dev/null +++ b/debian/patches/01-add-a-manpage-for-lsusb.py.patch @@ -0,0 +1,110 @@ +commit 83690ec408b2619866dc18c9ab94d9f6bc2c734d +Author: Aurelien Jarno +Date: Wed Jan 3 10:29:39 2024 +0100 + + Add a manpage for lsusb.py + + Signed-off-by: Sam Morris + Signed-off-by: Aurelien Jarno + +diff --git a/Makefile.am b/Makefile.am +index ae9e383..d3a9025 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -47,11 +47,13 @@ usbreset_SOURCES = \ + + man_MANS = \ + lsusb.8 \ ++ lsusb.py.1 \ + usbhid-dump.8 \ + usb-devices.1 + + EXTRA_DIST = \ + lsusb.8.in \ ++ lsusb.py.1.in \ + usbhid-dump.8.in \ + usb-devices.1.in \ + usb-devices \ +@@ -69,6 +71,9 @@ lsusb.py: $(srcdir)/lsusb.py.in + lsusb.8: $(srcdir)/lsusb.8.in + sed 's|VERSION|$(VERSION)|g' $< >$@ + ++lsusb.py.1: $(srcdir)/lsusb.py.1.in ++ sed 's|VERSION|$(VERSION)|g' $< >$@ ++ + usbhid-dump.8: $(srcdir)/usbhid-dump.8.in + sed 's|VERSION|$(VERSION)|g' $< >$@ + +diff --git a/lsusb.py.1.in b/lsusb.py.1.in +new file mode 100644 +index 0000000..41dcd1c +--- /dev/null ++++ b/lsusb.py.1.in +@@ -0,0 +1,67 @@ ++.\"SPDX-License-Identifier: GPL-2.0-only ++.\"Copyright (c) 1999 Thomas Sailer ++.\"Copyright (c) 2020 Sam Morris ++.TH lsusb.py 1 "03 January 2024" "usbutils-VERSION" "Linux USB Utilities" ++.IX lsusb.py ++.SH NAME ++lsusb.py \- list USB devices ++.SH SYNOPSIS ++.B lsusb.py ++[ ++.I options ++] ++.SH DESCRIPTION ++.B lsusb.py ++is a utility for displaying information about USB buses in the system and the ++devices connected to them. It uses the ++.B usb.ids ++file to associate a human-readable name to the vendor and product IDs. ++.PP ++In comparison with ++.BR lsusb (8), ++this program can display additional information such as the interface speed of ++a device, and details of a device's interfaces including the driver bound to ++them and Linux devices provided by the driver, and the details of device and ++interface endpoints. ++.SH OPTIONS ++.TP ++.BR \-h ", " \-\-help ++Displays options supported by ++.BR lsusb (1). ++.TP ++.BR \-i ", " \-\-interfaces ++Display information about the interfaces of each device, excluding hubs. ++.TP ++.BR \-I ", " \-\-hub\-interfaces ++Display information about the interfaces of each device, including hubs., excluding hubs. ++.TP ++.BR \-u ", " \-\-hide\-empty\-hubs ++Suppress information about hubs that have no devices connected. ++.TP ++.BR \-U ", " \-\-hide\-hubs ++Suppress information about hubs, even if they have devices connected. ++.TP ++.BR \-c ", " \-\-color ++Use color ++.TP ++.BR \-C ", " \-\-no\-color ++Don't use color ++.TP ++.BR \-e ", " \-\-endpoints ++Include information about device (and interface, with ++.BR -i ) ++endpoints. ++.TP ++.BR \-f ", " \-\-usbids\-path ++Overrides the path of the ++.B usb.ids ++file. ++ ++.SH SEE ALSO ++.BR lspci (8), ++.BR lsusb (8), ++.BR usbview (8). ++ ++.SH AUTHOR ++Thomas Sailer, , ++Sam Morris . diff --git a/debian/patches/02-add-lsusb.py.1-to-distcleanfiles.patch b/debian/patches/02-add-lsusb.py.1-to-distcleanfiles.patch new file mode 100644 index 0000000..53a7e7c --- /dev/null +++ b/debian/patches/02-add-lsusb.py.1-to-distcleanfiles.patch @@ -0,0 +1,23 @@ +commit bd14f37e6d0daa8f495c8ce998c03bfa012ff0ee +Author: Aurelien Jarno +Date: Thu Jan 4 14:40:11 2024 +0100 + + Add lsusb.py.1 to DISTCLEANFILES + + Commit 83690ec408b2 ("Add a manpage for lsusb.py") added the lsusb.py.1 + manpage but forgot to add it to DISTCLEANFILES. Fix that. + + Signed-off-by: Aurelien Jarno + +diff --git a/Makefile.am b/Makefile.am +index d3a9025..02c7a33 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -82,6 +82,7 @@ usb-devices.1: $(srcdir)/usb-devices.1.in + + DISTCLEANFILES = \ + lsusb.py \ ++ lsusb.py.1 \ + lsusb.8 \ + usb-devices.1 \ + usbhid-dump.8 diff --git a/debian/patches/03-add-a-manpage-for-usbreset.patch b/debian/patches/03-add-a-manpage-for-usbreset.patch new file mode 100644 index 0000000..907103f --- /dev/null +++ b/debian/patches/03-add-a-manpage-for-usbreset.patch @@ -0,0 +1,105 @@ +commit a5738f02804532efe96abd8c6d5df8beb6fd0a64 +Author: Aurelien Jarno +Date: Thu Jan 4 14:26:41 2024 +0100 + + Add a manpage for usbreset + + Signed-off-by: Aurelien Jarno + +diff --git a/Makefile.am b/Makefile.am +index d3a9025..22452ba 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -49,7 +49,8 @@ man_MANS = \ + lsusb.8 \ + lsusb.py.1 \ + usbhid-dump.8 \ +- usb-devices.1 ++ usb-devices.1 \ ++ usbreset.1 + + EXTRA_DIST = \ + lsusb.8.in \ +@@ -58,6 +59,7 @@ EXTRA_DIST = \ + usb-devices.1.in \ + usb-devices \ + lsusb.py.in \ ++ usbreset.1.in \ + usbreset.c \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt +@@ -80,11 +82,15 @@ usbhid-dump.8: $(srcdir)/usbhid-dump.8.in + usb-devices.1: $(srcdir)/usb-devices.1.in + sed 's|VERSION|$(VERSION)|g' $< >$@ + ++usbreset.1: $(srcdir)/usbreset.1.in ++ sed 's|VERSION|$(VERSION)|g' $< >$@ ++ + DISTCLEANFILES = \ + lsusb.py \ + lsusb.py.1 \ + lsusb.8 \ + usb-devices.1 \ ++ usbreset.1 \ + usbhid-dump.8 + + distclean-local: +diff --git a/usbreset.1.in b/usbreset.1.in +new file mode 100644 +index 0000000..1474ebc +--- /dev/null ++++ b/usbreset.1.in +@@ -0,0 +1,53 @@ ++.\" SPDX-License-Identifier: GPL-2.0-only ++.\" Copyright (c) 2023 Aurelien Jarno ++.TH usbreset 1 "04 January 2024" "usbutils-VERSION" "Linux USB Utilities" ++.IX usbreset ++.SH NAME ++usbreset \- send a USB port reset to a USB device ++.SH SYNOPSIS ++.B usbreset ++[ ++.I device ++] ++ ++.SH DESCRIPTION ++.B usbreset ++is a utility that performs resets on USB devices. It is particularly useful ++situations where a USB device is unresponsive or exhibits erratic behavior. ++The USB \fIdevice\fP to be reset can be specified in one of three formats: ++.TP ++.BR PPPP:VVVV ++Reset by product and vendor IDs ++.TP ++.BR BBB/DDD ++Reset by bus and device number ++.TP ++.BR "Product" ++Reset by product name ++.PP ++When run without any arguments, ++.B usbreset ++provides usage information and a list of connected USB devices, including their ++product and vendor IDs, bus and device numbers, and product names. ++ ++.SH RETURN VALUE ++If the specified device is not found, a non-zero exit code is returned. ++ ++.SH EXAMPLES ++.TP ++Reset device with vendor ID 1234 and product ID 5678: ++.B usbreset 1234:5678 ++ ++.TP ++Reset device 002 on bus 001: ++.B usbreset 001:002 ++ ++.TP ++Reset device named USB2.0 Hub: ++.B usbreset """USB2.0 Hub""" ++ ++.SH SEE ALSO ++.BR lsusb (8). ++ ++.SH AUTHOR ++Alan Stern diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..71e3091 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +01-add-a-manpage-for-lsusb.py.patch +02-add-lsusb.py.1-to-distcleanfiles.patch +03-add-a-manpage-for-usbreset.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e4062df --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + +%: + dh $@ --with python3 + +override_dh_auto_configure: + dh_auto_configure -- --datadir=/usr/share/misc + +override_dh_auto_build: + dh_auto_build + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(CURDIR)/usbreset $(CURDIR)/usbreset.c + +override_dh_auto_install: + dh_auto_install --destdir=$(CURDIR)/debian/tmp + install -m 755 $(CURDIR)/usbreset $(CURDIR)/debian/tmp/usr/bin + +override_dh_auto_clean: + dh_auto_clean + rm -f $(CURDIR)/usbreset diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/usbutils-py.install b/debian/usbutils-py.install new file mode 100644 index 0000000..969c289 --- /dev/null +++ b/debian/usbutils-py.install @@ -0,0 +1,2 @@ +usr/bin/lsusb.py +usr/share/man/man1/lsusb.py.1 diff --git a/debian/usbutils-py.lintian-overrides b/debian/usbutils-py.lintian-overrides new file mode 100644 index 0000000..ac32507 --- /dev/null +++ b/debian/usbutils-py.lintian-overrides @@ -0,0 +1,3 @@ +# The extension is used to differentiate the tool from the original one, and is +# the name used upstream and on other distributions. +usbutils-py: script-with-language-extension [usr/bin/lsusb.py] diff --git a/debian/usbutils.bug-presubj b/debian/usbutils.bug-presubj new file mode 100644 index 0000000..a8c848d --- /dev/null +++ b/debian/usbutils.bug-presubj @@ -0,0 +1,6 @@ +USB ID's database +================= +usbutils now use the udev's hardware database to associate a full +human-readable name to the vendor ID and the product ID. If your device +is not or wrongly recognized by lsusb, please fill a bug against the +udev package and not against usbutils nor usb.ids. diff --git a/debian/usbutils.install b/debian/usbutils.install new file mode 100644 index 0000000..bc38bf2 --- /dev/null +++ b/debian/usbutils.install @@ -0,0 +1,8 @@ +usr/bin/lsusb +usr/bin/usb-devices +usr/bin/usbhid-dump +usr/bin/usbreset +usr/share/man/man1/usb-devices.1 +usr/share/man/man1/usbreset.1 +usr/share/man/man8/lsusb.8 +usr/share/man/man8/usbhid-dump.8 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..46a881a --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) -- cgit v1.2.3