Debian Bug report logs - #245500
hotplug: typo in usb.rc causes error on startup

version graph

Package: hotplug; Maintainer for hotplug is (unknown);

Reported by: Sebastian Bertho <sebdebian@bertho.de>

Date: Fri, 23 Apr 2004 14:48:01 UTC

Severity: normal

Tags: patch

Found in version 0.0.20040329-8

Fixed in version hotplug/0.0.20040329-12

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#245500; Package hotplug. (full text, mbox, link).


Acknowledgement sent to Sebastian Bertho <sebdebian@bertho.de>:
New Bug report received and forwarded. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sebastian Bertho <sebdebian@bertho.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: hotplug: typo in usb.rc causes error on startup
Date: Fri, 23 Apr 2004 16:26:18 +0200
Package: hotplug
Version: 0.0.20040329-8
Severity: normal
Tags: patch


hotplug does not load my usb scanner module on startup. Everything works
fine on hotplugging.

I found out that the DEVICE variable is empty when calling libusbscanner.

In usb_boot_events() in usb.rc, line 104 the term "device" in the for
statement should be "DEVICE" - this solves the problem for me.


104c104
<               for device in /sys/bus/usb/devices/[0-9]*; do
---
>               for DEVICE in /sys/bus/usb/devices/[0-9]*; do

regards,
  Sebastian Bertho

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-mx
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages hotplug depends on:
ii  debconf                      1.4.22      Debian configuration management sy
ii  module-init-tools            3.0-pre10-2 tools for managing Linux kernel mo
ii  modutils                     2.4.26-1    Linux module utilities
ii  procps                       1:3.2.1-2   The /proc file system utilities

-- debconf information:
  hotplug/use_net_liface: true
  hotplug/ignore_pci_class_display: true
  hotplug/net_agent_policy: hotplug
  hotplug/static_module_list: 
  hotplug/usbd_enable: true
* hotplug/usb_keyboard: 
  hotplug/x11_usbmice_hack: false




Reply sent to Marco d'Itri <md@linux.it>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Sebastian Bertho <sebdebian@bertho.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 245500-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 245500-close@bugs.debian.org
Subject: Bug#245500: fixed in hotplug 0.0.20040329-12
Date: Sun, 18 Jul 2004 10:17:03 -0400
Source: hotplug
Source-Version: 0.0.20040329-12

We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:

hotplug_0.0.20040329-12.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.diff.gz
hotplug_0.0.20040329-12.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.dsc
hotplug_0.0.20040329-12_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-12_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 245500@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated hotplug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 18 Jul 2004 01:20:44 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-12
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Marco d'Itri <md@linux.it>
Description: 
 hotplug    - Linux Hotplug Scripts
Closes: 237952 243716 243716 243716 245500 248070 248304 248900 252287 253927 256893 256897 257043 257723 257849 257867 259141 259488
Changes: 
 hotplug (0.0.20040329-12) unstable; urgency=low
 .
   * Install the isapnp modprobe aliases in the right place.
   * New patch 012_usb.rc_fix_coldplugging to generate more correct
     coldplugging events for USB. Requires kernel >= 2.6.7.
     Remove obsolete patches 012_usb.rc_no_usbmodules and
     012_usb.rc_try_all_interfaces.
     (Closes: #243716, #245500, #243716, #243716, #248900, #237952, #248304)
     (Closes: #252287, #253927)
   * Removed patch 009_usb.agent_remover, it's broken (the $DEVPATH does
     not exist anymore on removal) and useless because now $DEVICE should
     always be generated. (Closes: #248070)
   * Create the net.enable flag file in postinst. (Closes: #256897)
   * Updated patch 050_net.agent_ifupdown to make net.ifup print a debug
     message only if net.enable does not exist yet. (Closes: #256893)
   * Updated patch firmware_dirs to search for firmware files in
     /usr/local/lib/firmware/ too. (Closes: #257849)
   * New patch 017_pci.rc_pcimodules_once to run pcimodules only once on
     2.4 systems. (Closes: #259488)
   * Updated po templates: da, fr. (Closes: #257867, #259141)
   * Updated isapnp.rc to support blacklisting by module name.
     Patch courtesy of Santi Béjar. (Closes: #257043)
   * Depend on grep >= 2.5.1.ds1-2, which fixes -q. (Closes: #257723)
Files: 
 fbc3277dd3eb1849a8df8dabaec15f9f 673 admin standard hotplug_0.0.20040329-12.dsc
 45b332380fa4aa817d099864e73482b5 40361 admin standard hotplug_0.0.20040329-12.diff.gz
 c6f06f279fead4f1524187d233f88309 60824 admin standard hotplug_0.0.20040329-12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+oKrFGfw2OHuP7ERAgcvAJ9SpxeW28+j//HCV8V7Hbhr+4/RwgCgpct6
WYsdt6twGihzROhtA0fPQfU=
=UK7A
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:49:59 2026; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.