[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#296963: USB mouse continuously disconnecting



reassign 296963 kernel-image-2.6.10-1-k7
thanks

On Feb 26, Luca Corti <luca.corti@infinito.it> wrote:

> Basically, my Microsoft Intellimouse Optical USB 1.1A stops responding
> randomly. This happens quite often (at around 5 minutes intervals or
> less). In /var/log/syslog I read:

Blame your kernel, hotplug just acts on the events which the kernel is
reporting to it:

> Feb 26 01:02:46 localhost kernel: usb 1-1: USB disconnect, address 2
> Feb 26 01:02:46 localhost hal.hotplug[7596]: DEVPATH is not set
> Feb 26 01:02:46 localhost udev[7573]: removing device node '/dev/input/ts0'
> Feb 26 01:02:46 localhost udev[7583]: removing device node '/dev/input/mouse0'
> Feb 26 01:02:46 localhost udev[7593]: removing device node '/dev/input/event1'
> Feb 26 01:02:49 localhost kernel: usb 1-1: new low speed USB device using uhci_hcd and address 3
> Feb 26 01:02:49 localhost hal.hotplug[7678]: DEVPATH is not set
> Feb 26 01:02:49 localhost input.agent[7656]:      evbug:blacklisted

It may also be interesting to understand why HAL complains about
$DEVPATH not being set (which would be a kernel bug too), I suggest you
install the attached script as /etc/hotplug.d/default/logger.hotplug and
then look at the log file it generates.

-- 
ciao,
Marco
#!/bin/sh

[ "$USER" = root ] && exit

FILE="/tmp/hotplug.log"

[ -f $FILE ] || : > $FILE
if [ -w $FILE ]; then
  exec >> $FILE 2>&1
else
  echo "[Cannot write to $FILE.]"
fi
unset FILE

(
echo ========================================================================
date
echo $0 "$@"
echo
set
) | egrep -v "^'$|^(_|PATH|PWD|PPID|SHLVL|HOME|IFS|OPTIND|PS[1234])="

Attachment: signature.asc
Description: Digital signature


Reply to: