landauclassic

New Member


Messages: 1

Hello :

I am trying to configure a bluetooth gamepad on FreeBSD 13.0, specifically an 8Bitdo SF30, basically a clone of the classic SNES controller. I have not found any information regarding this gamepad in this forum.

I have configured , hcsecd and bthidd successfully, actually the controller is paired successfully as it would be in any other operating system. The led indicators on the device indicate that the device is functional at the connection level.
Code:
[root@galaxy ~]# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
8BitdoSnes 72 ACL 0 MAST P2P 0 0 0 OPEN
[root@galaxy ~]#
However I don't see any uhid device in the operating system, as it happens when I connect it via USB cable directly to the system.
Code:
uhid0: <8Bitdo SF30 Pro Controller, rev 2.00/1.14, addr 4> on usbus1
Is there anything I am omitting in the configuration of the device via Bluetooth ? has anyone configured an 8Bitdo device before?

Regards
 

sidetone

Daemon

Reaction score: 921
Messages: 1,883

I've gotten an 8Bitdo Famicon/NES retro gamepad to work only with the usb cable in a previous FreeBSD. The Bluetooth part didn't work, but the device showed up in dmesg as a (nonworking) wireless device.

I don't remember details, but this worked with either joystick(4) or SDL with the USB cable. The joystick input driver and manpage comes with x11-drivers/xf86-input-joystick. Unfortunately, this driver made the gamepad function as a mouse on my desktop as well.


In FreeBSD 13.0, there's hgame(4), which depends on iichid(4) in base. iichid isn't enabled by default. This would be what to check out. You can get it to work with the usb cable; try that first. Bluetooth or wireless capability could take a lot of work, which I don't know the current status. It's hit or miss, if it's within reach of now. If it's compatible with Bluetooth v1.2 or v2, it might work.
 
Top