RETRO GAMING: UPDATED RECALBOX FOR THE RK3399 ROCKPRO64
#11
(03-20-2019, 04:08 PM)Luke Wrote:
(03-20-2019, 10:59 AM)km782 Wrote: Does the "Additional fixes for Xbox One controllers" mean that they should work over Bluetooth or only USB?  Mine works fine when connected over USB but I am unable to pair it via Bluetooth.

Thank you so much for all of the hard work that has been put into this!

The Xbox One controller is literally the ONLY controller none of us had  to test (we tested all other controllers)... so you tell us.

The controller works great when connected via USB.

It won't pair via Bluetooth.  In emulationstation the controller is never found.  

I found something online that said if you run:


Code:
echo 1 > /sys/module/bluetooth/parameters/disable_ertm

it will let you connect the controller.  After that the emulationstation will find the controller, listing it with the MAC address and "Xbox Wireless Controller" but as soon as you select it to pair it immediately says "Unable to Pair Controller."

When I log into the computer via SSH, using bluetoothctl I can get it to pair and trust but it won't connect:

Attempting to connect to 9C:AA:1BBig GrinF:B2:14
Failed to connect: org.bluez.Error.Failed

The package xpadneo (https://github.com/atar-axis/xpadneo) is supposed to connect the controller.  Any chance this could be added to recalbox?

Let me know if there is anything that you would like to me to try or any more information that would be helpful.  Thanks!
#12
Need to think on this and get back to you. Congrats on the good attitude (for not whining that something doesn't work) and thanks for being willing to help out testing!

[edit] it may be a good idea to post the question on the Recalbox forum too!
You can find me on IRC, Discord and Twitter


#13
km782 - there should be a file named /etc/init.d/S98xboxone which runs on every boot. That file will run the code you found:
echo 1 > /sys/module/bluetooth/parameters/disable_ertm

I suggest removing / forgetting all paired devices from bluez, rebooting, and then re-pairing.

Unfortunately, as Lukasz said, we don't have an xboxone controller to test, and we greatly appreciate your feedback and help testing that!
#14
(03-21-2019, 05:02 AM)Mrfixit2001 Wrote: km782 - there should be a file named /etc/init.d/S98xboxone which runs on every boot. That file will run the code you found:
  echo 1 > /sys/module/bluetooth/parameters/disable_ertm

I suggest removing / forgetting all paired devices from bluez, rebooting, and then re-pairing.

Unfortunately, as Lukasz said, we don't have an xboxone controller to test, and we greatly appreciate your feedback and help testing that!

I've been playing around with it for the last few days.  I found that one of the problems I was having is the bluetooth signal coming from the Rockpro64 seems to be pretty weak.  I may look into getting a bluetooth USB adapter in the future but for the time being I was able to reposition the antennas and get the Xbox One controller to connect using the bluetoothctl utility.  It also reconnects automatically after a reboot.

Once connected, the controller works great in Emulation Station.  I can configure the buttons and they all are recognized correctly.  However, none of the buttons work in any of the emulators.  Only the D-Pad and left Joystick work.  Do you have any idea what could cause this? 

I don't know if it matters but the controller is detected as "XBox Wireless Controller" when I connect it via bluetooth.  If I connect the same controller via USB it is detected as "MICROSOFT X-BOX ONE S PAD".  When it is connected via USB everything works fine both in Emulationstation and within the emulators.

Thanks again for the help!
#15
km782, sorry we really have no way of helping out with the Xbox One controller at this time... simply because we don't have one on hand. This may or may not be specific to our builds, so perhaps its worthwhile trying to ask in the thread over at Recalbox: https://forum.recalbox.com/topic/16463/p...gedin=true
You can find me on IRC, Discord and Twitter


#16
Hi, I am currently using the RockPro primarily for Kodi and am running a nightly version of LibreElec. Are your changes (e.g. 4K resolution) also available in the nightly of libreelec or does it make sense to switch? From reading through the forum it seems that your image is a better adapted to the RockPro boards, than libreelec. But "exclusive" features you listed (CEC, Leia, etc) are also available in the Libreelec release, so thats why I am wondering.
#17
snoopy_ca - good questions Smile The exclusive features are exclusive to recalbox releases, as no other version of recalbox has Kodi Leia yet. However there are also some kernel customizations which should better adapt kodi for the rockpro, yes. I expect you should have better luck with 4k@60fps playback on my recalbox build than on LE, but I would genuinely love to hear feedback if you have the chance to test for yourself!
#18
Can you elaborate on what that physical mapping stuff is in the DTB for video output?

I have borrowed your kernel, plugged it into LibreELEC's build system, and everything is cool except 4K won't initialize, and all HDMI modes except "RGB" cause unrecoverable video corruption. I removed that physical mapping stuff from the DTB, and now it fires up without any graphics problems, but it seems to be using VOPL, as 4K is not available. But at least it's not unstable anymore. I dunno why I had to do that.

Is it because your mali blob is different?

Is your mali blob inside of the kernel tree I'm nabbing, or is it externally referenced (and therefore I am going to need the URL to it?)
Maybe I need to tell LibreELEC where to grab the same mali blob you are using...
#19
Updated Release of RECALBOX For the RockPro64 RK3399

- Suspend and Resume support is now included - fully operational on Roshambo Case out of the box! (https://www.cloudmedia.com/?product=rosh...aming-case)
- AUFS drivers embedded into kernel
- CDN-DP firmware loading fixed
- LOTS of mainline back-ports and custom fixes
- Additional drivers included in kernel, including (but not limited to):
        * LOTS of networking stuff, such as VLAN and IPv6
        * Requirements for DOCKER containers
        * Additional Intel PCIe drivers
        * RAID support
-Newer versions of some emulators (such as PSP)
- Additional PCIe driver fixes - Gen2 training now works
- Improved Networking Performance
- IR-Receiver support added to device tree

https://github.com/mrfixit2001/recalbox_...tag/190427
#20
Updated release - PCIe issues are now resolved!
https://github.com/mrfixit2001/recalbox_...tag/190527


Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian is looking for maintainer for ROCKPro64 TRS-80 13 823 12-01-2021, 05:27 PM
Last Post: Ron Piggott
  Using the PCIe slot of ROCKPro64 as EndPoint mode nonoriri 1 149 11-20-2021, 10:53 AM
Last Post: fire219
  RockPro64 - HDMI and higher resolutions PakoSt 0 141 11-16-2021, 03:48 PM
Last Post: PakoSt
  Debian Bullseye & RockPro64: No tty consoles? Pete Tandy 9 799 11-08-2021, 02:33 PM
Last Post: TRS-80
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 21 2,036 11-06-2021, 06:42 AM
Last Post: Pete Tandy
  RockPro64 EDP in Armbian hannescam 2 427 10-15-2021, 09:07 AM
Last Post: hannescam
  Two Questions About Debian on RockPro64 publiclewdness 0 225 09-30-2021, 11:54 AM
Last Post: publiclewdness
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 213 09-28-2021, 04:10 AM
Last Post: rookieone
  slave mode on Rockpro64 Radhika.gabani 1 990 09-22-2021, 05:35 AM
Last Post: mahtew
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 46 33,401 09-21-2021, 09:39 AM
Last Post: mara

Forum Jump:


Users browsing this thread: 2 Guest(s)