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
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 2,007 11-20-2024, 03:53 PM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 107,275 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 317 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  RK3399 PCIe enumeration jhadd 0 548 01-31-2024, 08:56 AM
Last Post: jhadd
  yocto for RockPro64 Fide 1 1,142 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 3,551 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,688 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 93,709 08-11-2023, 11:13 AM
Last Post: mara
  How to enable CoreSight ETM trace on RockPro64 shpark 0 892 05-21-2023, 11:34 PM
Last Post: shpark
  rk3399 and Visual Output Processor 2 (VOP2) swan 3 2,191 05-13-2023, 12:01 AM
Last Post: swan

Forum Jump:


Users browsing this thread: 10 Guest(s)