protonscr

Steam client blocks in uninterruptible sleep state when trying to work with Logitech F310

steamclosed reviewedSteam clientGeneral controller / Steam Input
ValveSoftware/steam-for-linux#3527 · opened 2014-10-06 by mdharris · updated 2019-07-18 · 3 comments · github
Mmdharris 2014-10-06 github

Whenever the Steam client itself tries to interface with my Logitech F310 gamepad (which is in Xbox pad mode) it hangs in uninterruptible sleep (D) state. This requires a reboot to make the hanging steam process go away. An example of how to trigger this (100% reproducible for me) is by pressing the gamepad icon in the upper right of the Steam window (via mouse click). Associated syslog entries are as follows:

Oct 6 13:39:15 kirin kernel: [162202.373078] INFO: task steam:8136 blocked for more than 120 seconds.
Oct 6 13:39:15 kirin kernel: [162202.373176] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 6 13:39:15 kirin kernel: [162202.373274] steam D ffffffff81806240 0 8136 1 0x00020004
Oct 6 13:39:15 kirin kernel: [162202.373277] ffff88031f58ddb8 0000000000000086 ffff88031f58dd68 ffffffff81312717
Oct 6 13:39:15 kirin kernel: [162202.373279] ffff88031f58dfd8 ffff88031f58dfd8 ffff88031f58dfd8 00000000000137c0
Oct 6 13:39:15 kirin kernel: [162202.373281] ffff880404581700 ffff880401008000 ffff88031f58ddc8 ffff88031635de40
Oct 6 13:39:15 kirin kernel: [162202.373283] Call Trace:
Oct 6 13:39:15 kirin kernel: [162202.373288] [] ? kobject_put+0x27/0x60
Oct 6 13:39:15 kirin kernel: [162202.373291] [] schedule+0x3f/0x60
Oct 6 13:39:15 kirin kernel: [162202.373295] [] usb_kill_urb.part.4+0x5d/0xa0
Oct 6 13:39:15 kirin kernel: [162202.373298] [] ? add_wait_queue+0x60/0x60
Oct 6 13:39:15 kirin kernel: [162202.373299] [] usb_kill_urb+0x31/0x40
Oct 6 13:39:15 kirin kernel: [162202.373302] [] xpad_close+0x51/0x60 [xpad]
Oct 6 13:39:15 kirin kernel: [162202.373305] [] input_close_device+0x61/0x90
Oct 6 13:39:15 kirin kernel: [162202.373307] [] evdev_release+0xa1/0xd0
Oct 6 13:39:15 kirin kernel: [162202.373310] [] __fput+0xbe/0x210
Oct 6 13:39:15 kirin kernel: [162202.373312] [] fput+0x25/0x30
Oct 6 13:39:15 kirin kernel: [162202.373313] [] filp_close+0x66/0x90
Oct 6 13:39:15 kirin kernel: [162202.373315] [] sys_close+0xb2/0x120
Oct 6 13:39:15 kirin kernel: [162202.373318] [] sysenter_dispatch+0x7/0x2e

Here's my system info:

Ubuntu 12.04
kirin 3.2.0-69-generic #103-Ubuntu SMP Tue Sep 2 05:02:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nvidia driver 340.46
Intel ivy bridge i5 cpu
USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)

Logitech F310 info (from lsusb -v):

Bus 001 Device 003: ID 046d:c21d Logitech, Inc. F310 Gamepad [XInput Mode]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc21d F310 Gamepad [XInput Mode]
bcdDevice 40.14
iManufacturer 1 Logitech
iProduct 2 Gamepad F310
iSerial 3 C3CEA012
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 48
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 93
bInterfaceProtocol 1
iInterface 0
** UNRECOGNIZED: 10 21 10 01 01 24 81 14 03 00 03 13 02 00 03 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Device Status: 0x0000
(Bus Powered)

Please let me know if you require any further information.

Thanks!

Mmdharris 2014-10-06 github

Note: the F310 works fine in a number of games. It's only when Steam itself tries to touch it that the steam process goes off the rails.

Kkisak-valve maintainer 2018-04-06 github

Hello @mdharris, are you still experiencing this issue on an up to date system?

Kkisak-valve maintainer 2018-05-18 github

Closing pending feedback.

Nothing extracted yet.