(2017-07-20, 20:33)garbear Wrote: (2017-07-20, 05:07)linkinsoldier Wrote: (2017-07-19, 22:53)bite_your_idols Wrote: I have discovered an strange issue: after 0714 build my DS3 via bluetooth is assigned as Controller 2, so if I launch Retroarch with Gamestarter Addon I can not control the menus or play games... Maybe it is something related with retroplayer? anyone with the same problem? Any workaround?
Yes I had the same problem. I posted it a few days ago with a debug log but I am not sure whether this is worked on or further input is necessary!
@milhouse/@garbear: did you have any luck to get to the bottom of this?
First of all, we can't control what happens (or is broken) outside of Kodi. Second of all, the code to manage controllers and their ports doesn't exist. So you won't find a solution in Kodi. Hence, I've started creating a Player Manager so that troubleshooting and fixing this will be possible. Expect this feature within a week or two.
And third of all, no debug log, no problem.
Yes, I know you can not control what happens outside kodi, what I am saying is that when in kodi, controller management has an odd behavior since 0714 build. When I connect my controller (DS3/DS4) it is recognized as second controller, in my DS3 the second red light is on. Also if I connect my DS4 via USB it is assigned as second controller and then if I connect my DS3 it is recognized as controller 4...
First I thought that it was related with LibreELEC since bluetooth is managed/paired with LibreELEC settings addon, but using USB it is the same, that's why in my previous post I just was asking if it is something anyone else is experiencing, now that I tested more thoroughly here are the logs:
Build 0713 with DS3 via bluetooth:
https://pastebin.com/UEdjHG5U
Build 0713 with DS4 via USB:
https://pastebin.com/gy8H1MCE
Build 0720 with DS3 via Bluetooth:
https://pastebin.com/KLf4n0jz
Build 0720 with DS4 via USB:
https://pastebin.com/yVRAtrMW
Build 0720 with DS4/USB + DS3/Bluetooth:
https://pastebin.com/MSiyuFkC
as excerpt you can see in builds previous to 0714:
Code:
Using only DS3:
23:08:39.224 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony PLAYSTATION(R)3 Controller Motion Sensors": can't find <controller> tag
23:08:39.473 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: PLAYSTATION(R)3 Controller
Using only DS4:
00:02:42.136 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony PLAYSTATION(R)3 Controller Motion Sensors": can't find <controller> tag
00:02:42.153 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony Computer Entertainment Wireless Controller Motion Sensors": can't find <controller> tag
00:02:42.432 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: Sony Computer Entertainment Wireless Controller
00:02:42.642 T:1891627936 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:10 bits:101001
Controller is assigned as joystick 0
and in latest builds:
Code:
Using only DS3:
23:43:58.855 T:1674572704 NOTICE: PLAYSTATION(R)3 Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:3 m_deviceType:0 bits:001000
23:44:02.569 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony PLAYSTATION(R)3 Controller Motion Sensors": can't find <controller> tag
23:44:02.866 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: PLAYSTATION(R)3 Controller
23:44:02.898 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/1: PLAYSTATION(R)3 Controller Motion Sensors
23:44:03.175 T:1891627936 NOTICE: PLAYSTATION(R)3 Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:3 m_deviceType:0 bits:001000
Using only DS4:
23:56:14.071 T:1542493088 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:11 bits:101111
23:56:14.165 T:1542493088 NOTICE: Sony Computer Entertainment Wireless Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:6 m_deviceType:0 bits:001000
23:56:17.789 T:1892676512 ERROR: AddOnLog: Joystick Support: Device "Sony PLAYSTATION(R)3 Controller Motion Sensors": can't find <controller> tag
23:56:17.821 T:1892676512 ERROR: AddOnLog: Joystick Support: Device "Sony Computer Entertainment Wireless Controller Motion Sensors": can't find <controller> tag
23:56:18.113 T:1892676512 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: Sony Computer Entertainment Wireless Controller
23:56:18.150 T:1892676512 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/1: Sony Computer Entertainment Wireless Controller Motion Sensors
23:56:18.528 T:1892676512 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:11 bits:101111
23:56:18.631 T:1892676512 NOTICE: Sony Computer Entertainment Wireless Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:6 m_deviceType:0 bits:001000
Using both DS4 and DS3:
00:08:25.439 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony PLAYSTATION(R)3 Controller Motion Sensors": can't find <controller> tag
00:08:25.450 T:1891627936 ERROR: AddOnLog: Joystick Support: Device "Sony Computer Entertainment Wireless Controller Motion Sensors": can't find <controller> tag
00:08:25.690 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: Sony Computer Entertainment Wireless Controller
00:08:25.723 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/1: Sony Computer Entertainment Wireless Controller Motion Sensors
00:08:25.941 T:1910072224 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:11 bits:101111
00:08:26.031 T:1910072224 NOTICE: Sony Computer Entertainment Wireless Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:6 m_deviceType:0 bits:001000
00:08:26.507 T:1891627936 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:11 bits:101111
00:08:26.601 T:1891627936 NOTICE: Sony Computer Entertainment Wireless Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:6 m_deviceType:0 bits:001000
00:08:36.744 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/2: PLAYSTATION(R)3 Controller
00:08:36.776 T:1891627936 NOTICE: Register - new joystick device registered on addon->peripheral.joystick/3: PLAYSTATION(R)3 Controller Motion Sensors
00:08:37.197 T:1891627936 NOTICE: Sony Computer Entertainment Wireless Controller Touchpad: keys:0 ext:0 but:1 rel:0 abs:0 m_deviceType:11 bits:101111
00:08:37.304 T:1891627936 NOTICE: Sony Computer Entertainment Wireless Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:6 m_deviceType:0 bits:001000
00:08:37.477 T:1891627936 NOTICE: PLAYSTATION(R)3 Controller Motion Sensors: keys:0 ext:0 but:0 rel:0 abs:3 m_deviceType:0 bits:001000
Controller is assigned twice, first as joystick 0 as it should be, then as joystick 1 for "motion sensors".
I'm sorry I have no controller without "motion sensors" to test.
any idea?