Bug 1550273 - Sony DUALSHOCK 3 (SIXAXIS) controllers do not report input when connected over Bluetooth [NEEDINFO]
Summary: Sony DUALSHOCK 3 (SIXAXIS) controllers do not report input when connected ove...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-28 21:56 UTC by Kyle Marek
Modified: 2018-08-29 15:14 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-29 15:14:33 UTC
Type: Bug
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)

Description Kyle Marek 2018-02-28 21:56:56 UTC
Description of problem:
Sony controller connects over bluetooth but does not report any input.

Version-Release number of selected component (if applicable):
kernel-4.15.4-300.fc27.x86_64
bluez-5.48-3.fc27.x86_64

Additional info:
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1473064

DUALSHOCK 4 still pairs and functions.

Purchased item page:
https://www.newegg.com/Product/Product.aspx?Item=9SIAAWT4D87817
https://web.archive.org/web/20170720002954/https://www.newegg.com/Product/Product.aspx?Item=9SIAAWT4D87817
Model number: CECHZC2U.

Gentoo page on DualShock 3
https://wiki.gentoo.org/wiki/Sony_DualShock#Bluetooth
https://web.archive.org/web/20170719233554/https://wiki.gentoo.org/wiki/Sony_DualShock#Bluetooth

kmarek ~
$ realpath /sys/class/bluetooth/hci0/device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0

kmarek ~
$ cat /sys/bus/usb/devices/1-6/idVendor
8087

kmarek ~
$ cat /sys/bus/usb/devices/1-6/idProduct
07dc

kmarek ~
$ sudo lsusb -vd 8087:07dc

Bus 001 Device 003: ID 8087:07dc Intel Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x07dc 
  bcdDevice            0.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
can't get device qualifier: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered


Relevant kernel output regarding my bluetooth hardware:
[   30.911867] Bluetooth: hci0: read Intel version: 3707100180012d0d27
[   30.911869] Bluetooth: hci0: Intel device is already patched. patch num: 27


Log of my testing:

kmarek ~
$ journalctl -b -f -l --no-pager -u bluetooth.service &
<initial output omitted>

kmarek ~
$ dmesg -w &
<initial output omitted>

kmarek ~
$ bluetoothctl
[NEW] Controller 7C:5C:F8:41:42:D0 localhost.localdomain [default]
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# discoverable on
Changing discoverable on succeeded 
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# devices
[bluetooth]# 
[ 3596.255499] usb 1-3: new full-speed USB device number 18 using xhci_hcd
[ 3596.382642] usb 1-3: New USB device found, idVendor=054c, idProduct=0268
[ 3596.382648] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3596.382652] usb 1-3: Product: PLAYSTATION(R)3 Controller
[ 3596.382656] usb 1-3: Manufacturer: SZMY-POWER CO.,LTD.
[ 3596.385889] input: SZMY-POWER CO.,LTD. PLAYSTATION(R)3 Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:054C:0268.0016/input/input64
[ 3596.438656] input: SZMY-POWER CO.,LTD. PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:054C:0268.0016/input/input63
[ 3596.439243] sony 0003:054C:0268.0016: input,hiddev99,hidraw1: USB HID v81.11 Joystick [SZMY-POWER CO.,LTD. PLAYSTATION(R)3 Controller] on usb-0000:00:14.0-3/input0
[NEW] Device 00:26:5C:BE:F7:92 Sony PLAYSTATION(R)3 Controller
Feb 28 16:40:22 localhost.localdomain bluetoothd[1268]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:054C:0268.0016/hidraw/hidraw1)
Feb 28 16:40:22 localhost.localdomain bluetoothd[1268]: sixaxis: setting up new device
[CHG] Device 00:26:5C:BE:F7:92 Trusted: yes
[CHG] Device 00:26:5C:BE:F7:92 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[ 3632.204607] usb 1-3: USB disconnect, device number 18
[CHG] Device 00:26:5C:BE:F7:92 Class: 0x00000540
[CHG] Device 00:26:5C:BE:F7:92 Icon: input-keyboard
[CHG] Device 00:26:5C:BE:F7:92 Connected: yes
[ 3640.998584] sony 0005:054C:0268.0017: unknown main item tag 0x0
[ 3641.003459] input: Sony PLAYSTATION(R)3 Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/bluetooth/hci0/hci0:256/0005:054C:0268.0017/input/input66
[ 3641.004318] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/bluetooth/hci0/hci0:256/0005:054C:0268.0017/input/input65
[ 3641.005033] sony 0005:054C:0268.0017: input,hidraw1: BLUETOOTH HID v80.00 Joystick [Sony PLAYSTATION(R)3 Controller] on 7c:5c:f8:41:42:d0
[Sony PLAYSTATION(R)3 Controller]# info
Device 00:26:5C:BE:F7:92 (public)
	Name: Sony PLAYSTATION(R)3 Controller
	Alias: Sony PLAYSTATION(R)3 Controller
	Class: 0x00000540
	Icon: input-keyboard
	Paired: no
	Trusted: yes
	Blocked: no
	Connected: yes
	LegacyPairing: no
	UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v054Cp0268d0000
[Sony PLAYSTATION(R)3 Controller]# 


/dev/input/js0 is created when plugging the controller in, removed when unplugging the controller, and created when connecting over bluetooth. The controller remains connected until I request a disconnect from my computer.

`cat /dev/input/js0` returns the controller input when plugged in, but does not report input when connected over bluetooth.

Comment 1 Kyle Marek 2018-02-28 22:04:31 UTC
When freshly connected over bluetooth (controller from off state to bluetooth state), the following is appended to dmesg about every 16 seconds:
[ 4946.004513] Bluetooth: hci0: last event is not cmd complete (0x0f)

Comment 2 Justin M. Forbes 2018-07-23 15:21:54 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 27 kernel bugs.

Fedora 27 has now been rebased to 4.17.7-100.fc27.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 28, and are still experiencing this issue, please change the version to Fedora 28.

If you experience different issues, please open a new bug report for those.

Comment 3 Justin M. Forbes 2018-08-29 15:14:33 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 5 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.