On NixOS, I connect the Moga, like this:
[b0ef@t520:~]$ bluetoothctl scan on
Discovery started
[CHG] Controller EC:55:F9:F5:B4:79 Discovering: yes
[CHG] Device 00:1E:B5:8F:38:1F LegacyPairing: yes
[CHG] Device 00:1E:B5:8F:38:1F RSSI: 0xffffffc1 (-63)
[b0ef@t520:~]$ bluetoothctl connect 00:1E:B5:8F:38:1F
Attempting to connect to 00:1E:B5:8F:38:1F
[CHG] Device 00:1E:B5:8F:38:1F Connected: yes
[CHG] Device 00:1E:B5:8F:38:1F Paired: yes
Connection successful
[b0ef@t520:~]$ bluetoothctl info 00:1E:B5:8F:38:1F
Device 00:1E:B5:8F:38:1F (public)
Name: Moga Pro 2 HID
Alias: Moga Pro 2 HID
Class: 0x00000508 (1288)
Icon: input-gaming
Paired: yes
Bonded: no
Trusted: yes
Blocked: no
Connected: yes
WakeAllowed: yes
LegacyPairing: yes
UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
Modalias: usb:v20D6p6271d0001
[b0ef@t520:~]$ bluetoothctl trust 00:1E:B5:8F:38:1F
Changing 00:1E:B5:8F:38:1F trust succeeded
This is everything that is printed out in dmesg:
[ 2892.841856] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2892.841864] Bluetooth: HIDP socket layer initialized
On Debian, I see this in dmesg:
[ 120.858110] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 120.858120] Bluetooth: HIDP socket layer initialized
[ 122.775906] hid-generic 0005:20D6:6271.0003: unknown main item tag 0x0
[ 122.776133] input: Moga Pro 2 HID as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/0005:20D6:6271.0003/input/input29
[ 122.776313] hid-generic 0005:20D6:6271.0003: input,hidraw2: BLUETOOTH HID v0.01 Gamepad [Moga Pro 2 HID] on 68:94:23:ed:10:33
If I do a diff on lsmod on Debian, before and after connecting, I see:
2,3c2
< hidp 32768 1
< rfcomm 94208 16
---
> rfcomm 94208 4
26c25
< bluetooth 958464 51 btrtl,hidp,btmtk,btintel,btbcm,bnep,btusb,rfcomm
---
> bluetooth 958464 36 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
126,127c125,126
< hid 159744 4 hidp,wacom,usbhid,hid_generic
< i915 3051520 11
---
> hid 159744 3 wacom,usbhid,hid_generic
> i915 3051520 4
150c149
< drm 614400 9 drm_kms_helper,drm_display_helper,drm_buddy,thinkpad_acpi,i915,ttm
---
> drm 614400 8 drm_kms_helper,drm_display_helper,drm_buddy,thinkpad_acpi,i915,ttm
I also have this hid and hidp loaded on NixOS, so I can’t really see a difference