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

Re: X11/Thinkpad T430: partially drops input from USB devices after resume



On Sat, Mar 21, 2015 at 01:05:58AM +0000, stefan.schwarzer@gmx.net wrote:

> I am using my laptop (lenovo T430, debian testing)
> regularly in a docking station. The dock has a USB
> keyboard, USB mouse and monitor  permanently attached. The
> laptops suspends from time to time, and _after_ resuming
> X11 or some other system component  the input from USB
> mouse and keyboard to be dropped/ignored partially.
> Symptoms are that the cursor does not move with the mouse,
> however it will start moving again if I click any of the
> mouse buttons; or that the keyboard input is ignored until
> I hit some arbitrary keys very rapidly. The USB amnesia
> starts again if I leave the input device untouched for
> some seconds.  The issue will not occur for newly
> connected devices or if I reconnect mouse/keyboard. The
> dock is not the issue as I can reproduce the phenomenon
> with a USB mouse directly connected to the laptop. 
> 
> I am looking for ways to correctly diagnose things to file
> a bug (against which package: xorg-input, kernel/driver,
> ...).

I've had a similar problem with my T410, running sid. 
I was losing the first few keystrokes when I begin typing on a USB
keyboard. I didn't connect it with sleeping.

At the moment (typing on USB keyboard I plugged in to test)
I don't see the problem.

Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.3 (Debian 4.8.3-13) ) #1 SMP Debian 3.16.7-2 (2014-11-06)

cheers,

Joel
 
> dmesg shows on device attachment/boot, e.g. for a cordless USB mouse:
> [316267.291416] usb 3-1.2: new low-speed USB device number 7 using ehci-pci
> [316267.390581] usb 3-1.2: New USB device found, idVendor=046d, idProduct=c521
> [316267.390588] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [316267.390591] usb 3-1.2: Product: USB Receiver
> [316267.390593] usb 3-1.2: Manufacturer: Logitech
> [316267.397463] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/0003:046D:C521.002D/input/input60
> [316267.397850] hid-generic 0003:046D:C521.002D: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input0
> [316267.405442] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.1/0003:046D:C521.002E/input/input61
> [316267.406232] hid-generic 0003:046D:C521.002E: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input1
> 
> on wakeup (all USB related messages)
> [316278.048335] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
> [316278.048401] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
> [316278.048465] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
> [316278.048543] PM: noirq resume of devices complete after 15.665 msecs
> ...
> [316278.428114] usb 3-1.1: reset full-speed USB device number 3 using ehci-pci
> [316278.592293] usb 3-1.6: reset high-speed USB device number 6 using ehci-pci
> 
> lsusb (after resume)
> sts@nbof08:~$ lsusb
> Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 006: ID 04f2:b2da Chicony Electronics Co., Ltd 
> Bus 003 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
> Bus 003 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
> Bus 003 Device 007: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver
> Bus 003 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader
> Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
> Xorg.0.log (info refering to device attachment, there is no info after resume:
> ...
> [316188.752] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event14)
> [316188.752] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
> [316188.752] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
> [316188.752] (**) Logitech USB Receiver: always reports core events
> [316188.752] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event14"
> [316188.752] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc521
> [316188.752] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
> [316188.752] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
> [316188.752] (--) evdev: Logitech USB Receiver: Found relative axes
> [316188.752] (--) evdev: Logitech USB Receiver: Found x and y relative axes
> [316188.752] (II) evdev: Logitech USB Receiver: Configuring as mouse
> [316188.752] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
> [316188.752] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
> [316188.752] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> [316188.752] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/0003:046D:C521.002D/input/inpu
> t60/event14"
> [316188.752] (II) evdev: Logitech USB Receiver: initialized for relative axes.
> [316188.752] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
> [316188.752] (**) Logitech USB Receiver: (accel) acceleration profile 0
> [316188.752] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
> [316188.752] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
> [316188.753] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse1)
> [316188.753] (II) No input driver specified, ignoring this device.
> [316188.753] (II) This device may have been added with another device file.
> [316188.777] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event16)
> [316188.777] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
> [316188.777] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
> [316188.777] (**) Logitech USB Receiver: always reports core events
> [316188.777] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event16"
> [316188.777] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc521
> [316188.777] (--) evdev: Logitech USB Receiver: Found 1 mouse buttons
> [316188.778] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
> [316188.778] (--) evdev: Logitech USB Receiver: Found relative axes
> [316188.778] (II) evdev: Logitech USB Receiver: Forcing relative x/y axes to exist.
> [316188.778] (--) evdev: Logitech USB Receiver: Found absolute axes
> [316188.778] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
> [316188.778] (--) evdev: Logitech USB Receiver: Found keys
> [316188.778] (II) evdev: Logitech USB Receiver: Configuring as mouse
> [316188.778] (II) evdev: Logitech USB Receiver: Configuring as keyboard
> [316188.778] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
> [316188.778] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
> [316188.778] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> [316188.778] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.1/0003:046D:C521.002E/input/inpu
> t61/event16"
> [316188.778] (**) Option "xkb_rules" "evdev"
> [316188.778] (**) Option "xkb_model" "pc105"
> [316188.778] (**) Option "xkb_layout" "de"
> [316188.778] (II) evdev: Logitech USB Receiver: initialized for relative axes.
> [316188.778] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
> [316188.778] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
> [316188.778] (**) Logitech USB Receiver: (accel) acceleration profile 0
> [316188.778] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
> [316188.778] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
> 
> I have no clue what could be going on...
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] cn3ufkFqi1mU1@mid.individual.net">https://lists.debian.org/[🔎] cn3ufkFqi1mU1@mid.individual.net
> 

-- 
Joel Roth
  


Reply to: