@paalfe, can you test the autoconfig files with linuxraw instead of udev? input_driver = “linuxraw” Possibly the button id’s might be different when using linuxraw. Is there any tool to check the button id’s in Lakka? In Retropie you could use the tool jstest.
The latest nightly ships RA 1.2.2 I think.
autoconfig files do not work with linuxraw.
[QUOTE=jayp76;25863]@paalfe, can you test the autoconfig files with linuxraw instead of udev? input_driver = “linuxraw” Possibly the button id’s might be different when using linuxraw. Is there any tool to check the button id’s in Lakka? In Retropie you could use the tool jstest.[/QUOTE]
autoconfig files do not work with linuxraw.
I have upgraded my rPi1 from Lakka-RPi.arm-devel-20150529164419-r21027-g43f71a8.img to Lakka-RPi.arm-devel-20150719121625-r21067-gb1a3d7d.kernel + Lakka-RPi.arm-devel-20150719121625-r21067-gb1a3d7d.system, and I deleted the retroarch.cfg file. This version includes the latest 8bitdo autoconfig files.
RetroArch still won’t see the 8bitdo controllers when connected via Bluetooth, they do not show at all in retroarch > settings > input > user 1 device index. It says “N/A (Port #0)”. When the 8bitdo controllers is connected via Bluetooth I do get /dev/input/js0, /dev/input/event1 and /dev/input/mouse1.
Maybe something is wrong in our kernel or udev rules?
Thanks for all of your help, it made a bunch of nerds happy.
Let me know if you want me to test again, when there is a reason for testing
Whenever I’m not in so much debt, I’ll definitely grab a bluetooth controller and I’ll fiddle until either the controller breaks or I get it. My current job would give me the free time at work to have endless hours to invest into attempting to get it to pair seemlessly. Until then…
Installed Lakka-Generic.x86_64-devel-20150728020643-r21120-gb6541ab.img on a PC, connected my 8bitdo controllers via bluetooth and they do not work here either. Seems like the problem is in Lakka, not RetroArch itself since the controllers works fine via bluetooth if using RetroArch on Ubuntu.
Ok, we may need a kernel module. Any idea of which one?
Installed OpenELEC 5.0.8 (arm) Diskimage on my rPi1 and added RetroArch following this guide http://misapuntesde.com/post.php?id=502. I connected my 8bitdo NES30 gamepad via bluetooth (Mode START+R), it shows as trusted and connected in OpenELEC Settings > Bluetooth. When I press the D-pad buttons inside OpenELEC the mouse pointer wakes, recording here: https://goo.gl/photos/gMwWQaqji6qwJpNP7. RetroArch do NOT see the gamepad at all.
I searched the OpenElec forums for 8bitdo and nes30. There are several forum threads about peolpe wanting to use the 8bitdo nes30 gamepad via bluetooth inside OpenElec/Kodi and with RetroArch as an addon, but there are no solutions on how to make it work. http://openelec.tv/forum/search?query=8bitdo&childforums=1 http://openelec.tv/forum/search?query=nes30&childforums=1
Hi paalfe. When you pair the controller via bluetoothctl, do you see it as js0? We need to check if the problem is on the bluetooth side or the RA side.
When the controller is connected via bluetooth I do get /dev/input/event2, /dev/input/js0 and /dev/input/mouse1. screenshot: https://mrkr.io/Fkrbi3rgAw
Here are some “udevadm info -an /dev/input/js0” results:
- OS = Lakka with 8bitdo SFC30 gamepad connected via Bluetooth (START+R): RetroArch do NOT see the controller - http://pastebin.com/TLd1U6eJ.
- OS = OpenELEC with 8bitdo NES30 gamepad connected via Bluetooth (START+R): RetroArch do NOT see the controller - http://pastebin.com/raaSCCD5.
- OS = Ubuntu with 8bitdo NES30 gamepad connected via Bluetooth (START+R): RetroArch DO see the controller, both for manual mapping and in autoconfig - http://pastebin.com/by99JB2u.
Thanks for the info. I see some differences in the udevadm info, but I can’t make sure if they are due to the difference of hardware (one time you use PC, one time you use RPi, and not the same USB port).
Do you still get a message like “BLUETOOTH HID v1.00 Keyboard” in your dmesg? If so, can you try to bind manually in RetroKeyboard mode in RA?
The message “unknown main item tag 0x0” searched on google brings results about timeout or device going idle.
[QUOTE=Kivutar;26270]Thanks for the info. I see some differences in the udevadm info, but I can’t make sure if they are due to the difference of hardware (one time you use PC, one time you use RPi, and not the same USB port).
Do you still get a message like “BLUETOOTH HID v1.00 Keyboard” in your dmesg? If so, can you try to bind manually in RetroKeyboard mode in RA?
The message “unknown main item tag 0x0” searched on google brings results about timeout or device going idle.[/QUOTE]
I have now done testing on the same hardware with everyting connected at the same USB ports and using only 8Bitdo NES30 (Firmware v2.61 - 2015-06-06) via bluetooth (START+R). Lakka installed on internal SSD and Ubuntu livebooting from USB storage.
PC1 booting Lakka-Generic.x86_64-devel-20150728020643-r21120-gb6541ab from internal SSD.
###########################################
# Lakka - The DIY retro emulation console #
# ...... visit http://www.lakka.tv ...... #
###########################################
Lakka (unofficial) Version: devel-20150728020643-r21120-gb6541ab
Lakka git: b6541ab0fd2582d6c53b3f2d016750ffad31df14
Lakka:~ # ls -alh /dev/input/ ; # Before connecting and trusting 8Bitdo NES30 via Bluetooth (START+R).
total 0
drwxr-xr-x 4 root root 280 Aug 2 2015 .
drwxr-xr-x 16 root root 3.6K Aug 2 2015 ..
drwxr-xr-x 2 root root 80 Aug 2 2015 by-id
drwxr-xr-x 2 root root 80 Aug 2 2015 by-path
crw-rw---- 1 root input 13, 64 Aug 2 2015 event0
crw-rw---- 1 root input 13, 65 Aug 2 2015 event1
crw-rw---- 1 root input 13, 66 Aug 2 2015 event2
crw-rw---- 1 root input 13, 67 Aug 2 2015 event3
crw-rw---- 1 root input 13, 68 Aug 2 2015 event4
crw-rw---- 1 root input 13, 69 Aug 2 2015 event5
crw-rw---- 1 root input 13, 70 Aug 2 2015 event6
crw-rw---- 1 root input 13, 71 Aug 2 2015 event7
crw-rw---- 1 root input 13, 63 Aug 2 2015 mice
crw-rw---- 1 root input 13, 32 Aug 2 2015 mouse0
Lakka:~ # ls -alh /dev/input/ ; # After connecting and trusting 8Bitdo NES30 via Bluetooth (START+R).
total 0
drwxr-xr-x 4 root root 340 Aug 2 18:15 .
drwxr-xr-x 16 root root 3.7K Aug 2 18:15 ..
drwxr-xr-x 2 root root 80 Aug 2 2015 by-id
drwxr-xr-x 2 root root 80 Aug 2 2015 by-path
crw-rw---- 1 root input 13, 64 Aug 2 2015 event0
crw-rw---- 1 root input 13, 65 Aug 2 2015 event1
crw-rw---- 1 root input 13, 66 Aug 2 2015 event2
crw-rw---- 1 root input 13, 67 Aug 2 2015 event3
crw-rw---- 1 root input 13, 68 Aug 2 2015 event4
crw-rw---- 1 root input 13, 69 Aug 2 2015 event5
crw-rw---- 1 root input 13, 70 Aug 2 2015 event6
crw-rw---- 1 root input 13, 71 Aug 2 2015 event7
crw-rw---- 1 root input 13, 72 Aug 2 18:15 event8
crw-rw-r-- 1 root input 13, 0 Aug 2 18:15 js0
crw-rw---- 1 root input 13, 63 Aug 2 2015 mice
crw-rw---- 1 root input 13, 32 Aug 2 2015 mouse0
crw-rw---- 1 root input 13, 33 Aug 2 18:15 mouse1
dmesg
udevadm info -an /dev/input/js0
# cat /dev/input/js0 ; # Weird symbols appear when I press the buttons on the gamepad, this means it is working.
�U��U��U��U��U��U��U��U��U�U� �U�
�U�
�U�
�U��U��U��U��U��U��U��U��U��U��U��U��U���U���U��U�j��U�ˡ�U"��U����U�U���Uѥ�U���U��Uv��UUi��Uʩ�U>��U���U��U
��U
���U
T��U
U
���U���UU���U^C
Bind Mode “RetroKeyboard” do not work.
Photo showing User 1 Device Index = N/A (Port #0)
The Gamepad do NOT work in RetroArch, not manual mapping (RetroPad or RetroKeyboard) and not Autoconfig.
PC1 booting ubuntu-14.04.2-desktop-amd64 from live USB (no updates) + ssh-server + RetroArch installed from https://launchpad.net/~libretro/+archive/ubuntu/stable.
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com/
ubuntu@ubuntu:~$ ls -alh /dev/input/ ; # Before connecting and trusting 8Bitdo NES30 via Bluetooth (START+R).
total 0
drwxr-xr-x 4 root root 280 Aug 2 19:41 .
drwxr-xr-x 17 root root 4.2K Aug 2 19:41 ..
drwxr-xr-x 2 root root 80 Aug 2 2015 by-id
drwxr-xr-x 2 root root 80 Aug 2 2015 by-path
crw-r----- 1 root root 13, 64 Aug 2 19:35 event0
crw-r----- 1 root root 13, 65 Aug 2 19:35 event1
crw-r----- 1 root root 13, 66 Aug 2 19:35 event2
crw-r----- 1 root root 13, 67 Aug 2 19:35 event3
crw-r----- 1 root root 13, 68 Aug 2 19:35 event4
crw-r----- 1 root root 13, 69 Aug 2 19:35 event5
crw-r----- 1 root root 13, 70 Aug 2 19:35 event6
crw-r----- 1 root root 13, 71 Aug 2 19:35 event7
crw-r----- 1 root root 13, 63 Aug 2 19:35 mice
crw-r----- 1 root root 13, 32 Aug 2 19:35 mouse0
ubuntu@ubuntu:~$ ls -alh /dev/input/ ; # After connecting and trusting 8Bitdo NES30 via Bluetooth (START+R).
total 0
drwxr-xr-x 4 root root 340 Aug 2 19:42 .
drwxr-xr-x 17 root root 4.2K Aug 2 19:42 ..
drwxr-xr-x 2 root root 80 Aug 2 2015 by-id
drwxr-xr-x 2 root root 80 Aug 2 2015 by-path
crw-r----- 1 root root 13, 64 Aug 2 19:35 event0
crw-r----- 1 root root 13, 65 Aug 2 19:35 event1
crw-r----- 1 root root 13, 66 Aug 2 19:35 event2
crw-r----- 1 root root 13, 67 Aug 2 19:35 event3
crw-r----- 1 root root 13, 68 Aug 2 19:35 event4
crw-r----- 1 root root 13, 69 Aug 2 19:35 event5
crw-r----- 1 root root 13, 70 Aug 2 19:35 event6
crw-r----- 1 root root 13, 71 Aug 2 19:35 event7
crw-rw----+ 1 root root 13, 72 Aug 2 19:42 event8
crw-rw-r--+ 1 root root 13, 0 Aug 2 19:42 js0
crw-r----- 1 root root 13, 63 Aug 2 19:35 mice
crw-r----- 1 root root 13, 32 Aug 2 19:35 mouse0
crw-rw----+ 1 root root 13, 33 Aug 2 19:42 mouse1
dmesg
udevadm info -an /dev/input/js0
$ cat /dev/input/js0 ; # Weird symbols appear when I press the buttons on the gamepad, this means it is working.
� �� �� �� �� �� �� �� �� � � � �
� �
� �
� �� �� �� �� �� �� �� �� ��� ��� ��� ��� ��� ��� �� �! ! ! �! �" �# �# �$ �$ ��$ �0% 0% �' ( �( �( `) �) L* �* <- �- P. / L0
�0
h1
�1
^C
Bind Mode “RetroKeyboard” is not necessary, RetroPad works fine.
Video showing User 1 Device Index = N/A (Port #0), but it is working (manual mapping and autoconfig) ?! https://goo.gl/photos/Nw15thjc33JvF6LV6
Installed package “joystick” and “jstest-gtk”, it shows and works fine there.
The Gamepad works fine in RetroArch (manual mapping and autoconfig).
Morning!
I have been trying to get my 8bitdo NES controller to work and I have looked through this but can’t quite understand what I need to do to make it work right. It connects fine and the Dpad works but can’t bind the A’s and B’s etc.
Any direction to get me going?
[QUOTE=zoomy942;26413]Morning!
I have been trying to get my 8bitdo NES controller to work and I have looked through this but can’t quite understand what I need to do to make it work right. It connects fine and the Dpad works but can’t bind the A’s and B’s etc.
Any direction to get me going?[/QUOTE]
This is the problem this forum thread is trying to solve, there is at the moment no solution on the problem. When a solution is found it will probably be posted here.
In mode1 (powered on with START) the D-pad works as arrow keys (keyboard), therefor the D-pad works. For the D-pad to work as a joystick, you need to power it on with START+R (requires firmware v2.52 or newer).
Firmware updates and instructions for the modes is found at http://8bitdo.com/.
The version of Lakka available for download via the wizard on http://www.lakka.tv/ is from 05-29-2015 and is missing most of the autoconfigs for the 8bitdo gamepads (it includes 8bitdo NES30 USB mode autoconfig), instructions for upgrading to nightly builds (includes all 8bitdo autoconfigs) is here http://www.lakka.tv/doc/Upgrading-Lakka/. Still only USB mode is working in Lakka, bluetooth with 8bitdo do not work at moment in Lakka.
If this worked it could be a workaround till a solution is found: Power on the gamepads with START+B (keyboard mode player 1) or START+B+R (keyboard mode player 2) and map the buttons manually in Lakka / RetroArch. 8bitdo SFC30 Bluetooth GamePad Manual: http://8bitdo.com/sfc30/manual.html.
[TABLE=“class: grid, width: 500, align: left”]
Lakka / RetroArch RetroPad 8bitdo (START+B) keyboard mode 8bitdo (START+B+R) keyboard mode (2P)
B J U
Y I T
Select N X
Start O Y
Up C P
Down D Q
Left E R
Right F A
A G B
X H S
L K V
R M W
[/TABLE]
I have now tested Mode START+B (keyboard mode player 1) and Mode START+B+R (keyboard mode player 2) with 8bitdo FC30, SFC30, NES30 and SNES30 on Lakka and on Ubuntu 14.04. The bluetooth connection fail to stay connected, so these modes do not work with Linux.
I see the latest firmware v2.62 (2015-07-23) has fixed the bug that it can’t be used on Mac with keyboard mode(START+B or START+B+R). I flashed my gamepads with this version, but it did not help. The gamepads disconnect as soon as they connect.
[QUOTE=paalfe;26438]I have now tested Mode START+B (keyboard mode player 1) and Mode START+B+R (keyboard mode player 2) with 8bitdo FC30, SFC30, NES30 and SNES30 on Lakka and on Ubuntu 14.04. The bluetooth connection fail to stay connected, so these modes do not work with Linux.
I see the latest firmware v2.62 (2015-07-23) has fixed the bug that it can’t be used on Mac with keyboard mode(START+B or START+B+R). I flashed my gamepads with this version, but it did not help. The gamepads disconnect as soon as they connect.[/QUOTE]
I stumbled across your post as I was attempting to resolve the same issue I was having with an 8bitdo SNES30, emulationstation, and retroarch, running via Retrosmc (a tool for installing most of RetroPie on OSMC for Raspberry Pi 2. In the end, this post plus a couple others helped me put together enough information to create a workaround solution. I linked my full explanation below. Hope it works for you. Enjoy!
http://forum.8bitdo.com/forum.php?mod=redirect&goto=findpost&ptid=475&pid=1837&fromuid=507