Solved: Xbox 360 Controller stops working RP2
|
6th Aug, 2016, 12:48 AM
Post: #1
|
|||
|
|||
Xbox 360 Controller stops working RP2
Hi:
Today I have updated my RP2´s xbian from 14.2 to the latest version (16.1 I think it is) . Before my xbox 360 controller was working flawlessly, but in this new version it stops working after I turn off and on the RP2. After I install the drivers and do the mapping, the RP2 reboots and works fine but when I turn it off and plug it again either doesnt work or it works 2 seconds and stops working. I disabled the CEC option in the xbian just in case but same result. I used this 2 tutorials with the same result: https://gist.github.com/HazCod/e9c0e600e0c8d0f72f4f http://forum.xbian.org/thread-789.html Thx in advance! |
|||
7th Aug, 2016, 10:15 PM
Post: #2
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Did you already looked into logs?
Kodi log is in /home/xbian/.kodi/temp/kodi.log (enabling debug messages could help) And if nothing is in Kodi log, maybe in kernel messages you could find something (use command sudo dmesg to display kernel messages) |
|||
9th Aug, 2016, 05:21 AM
Post: #3
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
(7th Aug, 2016 10:15 PM)Nachteule Wrote: Did you already looked into logs? Hi thank you Nachteule I updated the Xbian this morning and the XBox controller works as the home screen first appears, provided that you start to naviagate the menu immediately. However, if I wait 5 or 10 seconds after the home screen is visible, the controller isn´t recognised at all. Also, I have to turn the XBox controller on before I turn on Xbian, whereas in the previous version, the controller worked even if there was a delay of 15 mins or more between loading Xbian and turn the controller on. Do you have any idea why this could be happening? Could it be a change in the kernel version? Tomorrow I will check the Kodi log to see the difference between when I press the button immediately and when I wait. |
|||
10th Aug, 2016, 08:01 AM
Post: #4
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
(9th Aug, 2016 05:21 AM)ocbgold Wrote: I updated the Xbian this morning and the XBox controller works as the home screen first appears, provided that you start to naviagate the menu immediately. However, if I wait 5 or 10 seconds after the home screen is visible, the controller isn´t recognised at all. Also, I have to turn the XBox controller on before I turn on Xbian, whereas in the previous version, the controller worked even if there was a delay of 15 mins or more between loading Xbian and turn the controller on. Sounds familiar to this post http://forum.xbian.org/thread-789-post-26038.html#pid26038 Quote:Do you have any idea why this could be happening? Could it be a change in the kernel version? Impossible to say. AFAIR, Kodi 14.x was still running under Wheezy, so distribution has been changed, and many many kernel version are between those releases A few questions: How did you upgrade your system? Did you run apt-get or flashed a new image? Which additional repository (staging and/or devel) have you enabled? I do not know if lirc service is needed for this controller or not. If needed, please show me version of installed version: Terminal apt-cache policy xbian-package-lirc |
|||
11th Aug, 2016, 07:41 AM
Post: #5
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Hi thank you again Nachteule:
Quote:How did you upgrade your system? Did you run apt-get or flashed a new image? I did a clean install from the latest version avaible in the webpage. Quote:Which additional repository (staging and/or devel) have you enabled? I had problems since the beginning, the first think that I did after the clean install It was to follow this tutorial: https://gist.github.com/HazCod/e9c0e600e0c8d0f72f4f The controller was recognized, the mapping was copy and paste but it didnt work, I did the same tutorial that I used with the xbian 14.2 that I had been using: http://forum.xbian.org/thread-789.html I only have exodus installed and aeon nox as skin. xbian@xbian ~ $ apt-cache policy xbian-package-lirc 1.5.0-2 0 500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages xbian-package-lirc: Installed: 20160315 Candidate: 20160315 Version table: *** 20160315 0 100 /var/lib/dpkg/status 1.5.1 0 500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages 1.5.0-3 0 500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages 1.5.0-2 0 500 mirror://apt.xbian.org/mirror.txt/ stable/main armhf Packages |
|||
11th Aug, 2016, 08:47 AM
Post: #6
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
(11th Aug, 2016 07:41 AM)ocbgold Wrote: I did a clean install from the latest version avaible in the webpage. Ok, that's what I supposed you did Quote:I only have exodus installed and aeon nox as skin. Ok, I see Please install previous version of lirc: Terminal sudo apt-get install xbian-package-lirc=1.5.1 and try again |
|||
14th Aug, 2016, 10:19 PM
Post: #7
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Quote:Ok, I see Hi Nachteule thank you again for helping me! I have just done that and I got the same result , maybe if I try the version of lirc that It was used in xbian 14.2 will fix the problems. Do you remember which version is it? Also I read this article in retropie 3.8.1 (which I also have but older version). "There are currently problems with the XBox/XBox 360 controller driver xboxdrv caused by a Raspbian kernel update. This can be worked around by rolling back the Kernel". Do you think this could be the problem? Thank you again! |
|||
15th Aug, 2016, 04:03 AM
Post: #8
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
(14th Aug, 2016 10:19 PM)ocbgold Wrote: I have just done that and I got the same result , maybe if I try the version of lirc that It was used in xbian 14.2 will fix the problems. Do you remember which version is it? Absolutely impossible to say. Probably it is version you tested last, because all 'older' versions are from end of 2014 and Kodi 14.2 arrived beginning of 2015, so I suppose you always used this version. But again, I do not know if LIRC is really needed Quote:"There are currently problems with the XBox/XBox 360 controller driver xboxdrv caused by a Raspbian kernel update. This can be worked around by rolling back the Kernel". Everything could be the problem. But again, without looking into log files it is impossible to say. |
|||
25th Aug, 2016, 05:57 AM
Post: #9
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Quote:Everything could be the problem. But again, without looking into log files it is impossible to say. Hi Nachteule thank you again, I have been away and I couldnt get the log before: I´ve followed these instructions http://kodi.wiki/view/Log_file/Easy and I got the Logfile. This Logfile corresponds to the controller working from the beginning: http://paste.ubuntu.com/23085994/ And this one corresponds to the controller NOT working when xbian starts: http://paste.ubuntu.com/23086014/ I think the next logfile could be the most useful because it corresponds to the controller not working when xbian starts, after that the controller goes off due to inactivity so I turned it on and it works but after 20 seconds it stops working again. http://paste.ubuntu.com/23086030/ Also here you have the kernel messages: Controller working from the beginning: http://pastebin.com/i3vcDpZ0 Controller Not Working when xbian starts: http://pastebin.com/ubFzD2p9 Controller Not Working, turns off due to inactivity, I turn it on it works and after 20 secs stops working again: http://pastebin.com/0ssxyQ1U Thank you again if you need any other data just let me now! |
|||
28th Aug, 2016, 08:49 PM
Post: #10
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Wow, many logs
Unfortunately I can not see any difference between working and not working situation. Devices are always created and Kodi reads from those devices also. Maybe this is the problem, that xboxdrv and Kodi are reading from the same devices. Or the driver internally stops working after the controller moves into idle state. Without having such hardware for test it is very difficult do debug. What I will do is building new xboxdrv package (the debian one is 2 years old) and provide a tool called evtest (comes with xboxdrv sources) to see if events are still coming from controller |
|||
30th Aug, 2016, 04:01 AM
Post: #11
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Build new packages (0.8.8) and uploaded to stable repo
|
|||
30th Aug, 2016, 04:43 AM
Post: #12
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
(30th Aug, 2016 04:01 AM)Nachteule Wrote: Build new packages (0.8.8) and uploaded to stable repo Thank you Nachteule! Thanks to you now It seems to be working! Terminal xbian@xbian ~ $ sudo xboxdrv xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/ Copyright 2008-2011 Ingo Ruhnke <grumbel@gmail.com> Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details. Controller: Xbox 360 Wireless Receiver Vendor/Product: 045e:0719 USB Path: 001:004 Wireless Port: 0 Controller Type: Xbox360 (wireless) Thank you again! |
|||
30th Aug, 2016, 05:09 AM
Post: #13
|
|||
|
|||
RE: Xbox 360 Controller stops working RP2
Really great news
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
CEC stops working | grandcanyon | 4 | 5,235 |
7th Feb, 2023 12:27 PM Last Post: grandcanyon |
|
CEC stops working after watching movie | Brothell | 2 | 7,135 |
7th Mar, 2015 10:22 AM Last Post: particleman |
|
CEC randomly stops working | eth0 | 2 | 10,659 |
14th Dec, 2014 05:08 AM Last Post: Bob Rohan |
|
Xbox "S" controller driver? | nodots | 3 | 11,237 |
10th Oct, 2013 01:22 PM Last Post: f1vefour |
|
[PROBLEM] MCE IR Controller "Cypress USB Keyboard" not working | equildi | 3 | 12,993 |
17th Mar, 2013 04:25 AM Last Post: CurlyMo |