Package: hotplug
Version: 0.0.20040329-17
Severity: normal
File: /etc/hotplug/usb.agent

Hi,

usb.agent, which sets up the $REMOVER variable for
/etc/hotplug/usb/$MODULENAME scripts, finds the $REMOVER-varible using
this code:

if [ "$DEVPATH" != "" ]; then
  # probably, 2.6.x
    REMOVER=/var/run/usb/$(readlink -f $SYSFS/$DEVPATH | sed -e 's;/;%;g')

While this works fine when adding a device, after unplugging the device,
the file $SYSFS/$DEVPATH of course no longer exists, thus $REMOVER
contians just "/var/run/usb", and the file with the real $REMOVER path
will not be called.

Thanks,

nomeata

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10.otto
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages hotplug depends on:
ii  debconf                      1.4.46      Debian configuration management sy
ii  grep                         2.5.1.ds1-4 GNU grep, egrep and fgrep
ii  module-init-tools            3.2-pre1-2  tools for managing Linux kernel mo
ii  modutils                     2.4.26-1.2  Linux module utilities
ii  procps                       1:3.2.5-1   /proc file system utilities

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to