USB HD used as pointer input dev

Bug #796325 reported by gweg
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evdev

Natty, 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 athlon i386 GNU/Linux
udev 167-0ubuntu3
xserver-xorg-input-evdev 1:2.6.0-1ubuntu12

After starting system, with USB HD plugged in, then I log in and type startx.
X-windows starts, but mouse (trackball) is not working.

Note that GPM mouse tracking works fine with or without the USB HD.

From Xorg.log (working case, without HD plugged in):

[ 87.153] (II) config/udev: Adding input device Logitech Trackball (/dev/input/event3)
[ 87.153] (**) Logitech Trackball: Applying InputClass "evdev pointer catchall"
[ 87.153] (II) Using input driver 'evdev' for 'Logitech Trackball'
[ 87.153] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 87.153] (**) Logitech Trackball: always reports core events
[ 87.153] (**) Logitech Trackball: Device: "/dev/input/event3"
[ 87.168] (--) Logitech Trackball: Found 3 mouse buttons
[ 87.168] (--) Logitech Trackball: Found scroll wheel(s)
[ 87.168] (--) Logitech Trackball: Found relative axes
[ 87.168] (--) Logitech Trackball: Found x and y relative axes
[ 87.168] (II) Logitech Trackball: Configuring as mouse
[ 87.168] (II) Logitech Trackball: Adding scrollwheel support
[ 87.168] (**) Logitech Trackball: YAxisMapping: buttons 4 and 5
[ 87.168] (**) Logitech Trackball: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 87.168] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.0/input/input3/event3"
[ 87.168] (II) XINPUT: Adding extended input device "Logitech Trackball" (type: MOUSE)
[ 87.168] (II) Logitech Trackball: initialized for relative axes.
[ 87.168] (**) Logitech Trackball: (accel) keeping acceleration scheme 1
[ 87.168] (**) Logitech Trackball: (accel) acceleration profile 0
[ 87.168] (**) Logitech Trackball: (accel) acceleration factor: 2.000
[ 87.168] (**) Logitech Trackball: (accel) acceleration threshold: 4
[ 87.170] (II) config/udev: Adding input device Logitech Trackball (/dev/input/mouse0)
[ 87.170] (II) No input driver/identifier specified (ignoring)

--------------------------------------------
Failure case, with USB HD plugged in:

[ 41.855] (II) config/udev: Adding input device Logitech Trackball (/dev/input/mouse0)
[ 41.855] (II) No input driver/identifier specified (ignoring)
[ 41.864] (II) config/udev: Adding input device Western Digital External HDD (/dev/input/event2)
[ 41.864] (**) Western Digital External HDD : Applying InputClass "evdev keyboard catchall"
[ 41.864] (II) Using input driver 'evdev' for 'Western Digital External HDD '
[ 41.864] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 41.864] (**) Western Digital External HDD : always reports core events
[ 41.864] (**) Western Digital External HDD : Device: "/dev/input/event2"
[ 41.880] (--) Western Digital External HDD : Found 12 mouse buttons
[ 41.880] (II) Western Digital External HDD : Configuring as mouse
[ 41.880] (**) Western Digital External HDD : YAxisMapping: buttons 4 and 5
[ 41.880] (**) Western Digital External HDD : EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 41.880] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2:1.1/input/input2/event2"
[ 41.880] (II) XINPUT: Adding extended input device "Western Digital External HDD " (type: MOUSE)
---
Architecture: i386
CurrentDmesg: [ 26.632021] eth0: no IPv6 routers present
CustomUdevRuleFiles: 10-vboxdrv.rules
DistroRelease: Ubuntu 11.04
MachineType: System manufacturer System Product Name
Package: udev 167-0ubuntu3
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic-pae root=UUID=739a6fe9-da5d-409f-95ca-f1734eedf5b1 ro text bogus
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Tags: natty
Uname: Linux 2.6.38-8-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/28/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0401
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78L-M
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0401:bd09/28/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78L-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
---
Architecture: i386
CurrentDmesg: [ 26.992019] eth0: no IPv6 routers present
CustomUdevRuleFiles: 10-vboxdrv.rules
DistroRelease: Ubuntu 11.04
MachineType: System manufacturer System Product Name
Package: udev 167-0ubuntu3
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic-pae root=UUID=739a6fe9-da5d-409f-95ca-f1734eedf5b1 ro text bogus
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Tags: natty
Uname: Linux 2.6.38-8-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/28/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0401
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78L-M
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0401:bd09/28/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78L-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

fun, should be a udev bug. Please run 'apport-collect 796325' before, and after plugging the HD in.

affects: xserver-xorg-input-evdev (Ubuntu) → udev (Ubuntu)
Changed in udev (Ubuntu):
status: New → Incomplete
Revision history for this message
gweg (gweg) wrote : BootDmesg.txt

apport information

tags: added: apport-collected natty
description: updated
Revision history for this message
gweg (gweg) wrote : Dependencies.txt

apport information

Revision history for this message
gweg (gweg) wrote : Lspci.txt

apport information

Revision history for this message
gweg (gweg) wrote : Lsusb.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcInterrupts.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcModules.txt

apport information

Revision history for this message
gweg (gweg) wrote : UdevDb.txt

apport information

Revision history for this message
gweg (gweg) wrote : UdevLog.txt

apport information

Revision history for this message
gweg (gweg) wrote : BootDmesg.txt

apport information

description: updated
Revision history for this message
gweg (gweg) wrote : Dependencies.txt

apport information

Revision history for this message
gweg (gweg) wrote : Lspci.txt

apport information

Revision history for this message
gweg (gweg) wrote : Lsusb.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcInterrupts.txt

apport information

Revision history for this message
gweg (gweg) wrote : ProcModules.txt

apport information

Revision history for this message
gweg (gweg) wrote : UdevDb.txt

apport information

Revision history for this message
gweg (gweg) wrote : UdevLog.txt

apport information

Revision history for this message
gweg (gweg) wrote :

The first apport is a fresh reboot without the usb hd (pointer works in x-windows).
The second apport is a fresh reboot with the usb hd (pointer not working in x-windows).
In both cases, I collected the information from a non-root user (admin1) without starting X.

gweg (gweg)
Changed in udev (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
gweg (gweg) wrote :

Still broken with Western Digital 2.5 inch portable drive.
With a 3.5 inch NexStar USB enclosure, the problem does not occur.

Pointer (trackball):
Bus 004 Device 003: ID 046d:c404 Logitech, Inc. TrackMan Wheel

Western Digital Drive (problem occurs):
Bus 001 Device 005: ID 1058:0705 Western Digital Technologies, Inc.

NexStar Enclosure (bug does not occur):
Bus 001 Device 002: ID 13fd:1e40 Initio Corporation

Revision history for this message
mike@papersolve.com (mike-papersolve) wrote :

This bug really is a PITA as it can result in crashes in gnome-settings-daemon. I have to execute:

xinput --set-prop "Western Digital My Book" "Device Enabled" 0

at the start of every X session and then start gnome-settings-daemon again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.