The first thing I would do is to install the latest firmware on the gamepad and on any dongle if you use one, see also
Thread 87212. If the appropriate driver
hgame(4) has attached successfully, then there should be an associated
/dev/input/eventX. A quick and dirty test to see if it's working at all is to
cat(1) it as root, i.e.
# cat /dev/input/eventX
. In this way you don't have to deal with permissions in order to see if it works. When you press buttons and push the sticks etc. you should see gibberish on the terminal. If that's the case then it's working in general.
In order to make it also accessible for your normal user, you have to set the right owner or permission on
/dev/input/eventX, i.e.
chmod 666 /dev/input/eventX
or put your user in an appropriate group. I think the
Thread 84464 answers any further questions.
I checked all the /dev/input/events but none are working. The driver looks like its loaded but I don't think its actually working.
Do you know if there is anything I am doing wrong here?
#usbconfig
ugen0.3: <8BitDo Ultimate C 2.4G Wireless Controller> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA)
# kldstat
Id Refs Address Size Name
1 120 0xffffffff80200000 1d345b0 kernel
2 1 0xffffffff845b4000 3390 acpi_wmi.ko
3 1 0xffffffff845b8000 93260 if_iwlwifi.ko
4 1 0xffffffff8464c000 3220 intpm.ko
5 1 0xffffffff84650000 2178 smbus.ko
6 1 0xffffffff84653000 4d20 ng_ubt.ko
7 3 0xffffffff84658000 abb8 netgraph.ko
8 2 0xffffffff84663000 a250 ng_hci.ko
9 2 0xffffffff8466e000 2670 ng_bluetooth.ko
16 1 0xffffffff84687000 4364 ums.ko
17 1 0xffffffff8468c000 3360 wmt.ko
18 1 0xffffffff84800000 502958 amdgpu.ko
19 2 0xffffffff84690000 7c050 drm.ko
20 1 0xffffffff8470d000 22b8 iic.ko
21 3 0xffffffff84710000 3080 linuxkpi_hdmi.ko
22 3 0xffffffff84714000 6350 dmabuf.ko
23 3 0xffffffff8471b000 3378 lindebugfs.ko
24 1 0xffffffff8471f000 b360 ttm.ko
25 1 0xffffffff8472b000 39950 amdgpu_sienna_cichlid_sos_bin.ko
26 1 0xffffffff84765000 567e0 amdgpu_sienna_cichlid_ta_bin.ko
27 1 0xffffffff847bc000 3e748 amdgpu_sienna_cichlid_smc_bin.ko
28 1 0xffffffff84d03000 1d958 amdgpu_sienna_cichlid_dmcub_bin.ko
29 1 0xffffffff84d21000 425e0 amdgpu_sienna_cichlid_pfp_bin.ko
30 1 0xffffffff84d64000 425e0 amdgpu_sienna_cichlid_me_bin.ko
31 1 0xffffffff84da7000 42560 amdgpu_sienna_cichlid_ce_bin.ko
32 1 0xffffffff84dea000 22840 amdgpu_sienna_cichlid_rlc_bin.ko
33 1 0xffffffff84e0d000 43a90 amdgpu_sienna_cichlid_mec_bin.ko
34 1 0xffffffff84e51000 43a90 amdgpu_sienna_cichlid_mec2_bin.ko
35 1 0xffffffff84e95000 a5e0 amdgpu_sienna_cichlid_sdma_bin.ko
36 1 0xffffffff84ea0000 8f8d0 amdgpu_sienna_cichlid_vcn_bin.ko
37 1 0xffffffff84671000 3360 uhid.ko
38 1 0xffffffff84675000 33c0 usbhid.ko
39 4 0xffffffff84679000 3380 hidbus.ko
42 1 0xffffffff8467d000 2240 xb360gp.ko
43 2 0xffffffff84680000 30a8 hidmap.ko
44 1 0xffffffff84684000 21e8 hgame.ko