DanielOgorchock / joycond

userspace daemon to combine joy-cons from the hid-nintendo kernel driver
GNU General Public License v3.0
360 stars 68 forks source link

L+R joycons do not pair #66

Open gnuninu opened 3 years ago

gnuninu commented 3 years ago

I am using openSUSE leap 15.2 with a 5.3.18-lp152.72-default kernel I have installed the hid-nintendo drivers (the latest version 3.1) with dkms as described in the guide and also compiled joycond successfully. I manage to connect both joycons fine with bluetooth however i can't pair them between each other with joycond pressing repeatedly L+R and/or any other button. Below a trace from /var/log/messages

2021-05-09T00:23:45.346221+01:00 ninu-leap15 kernel: [44948.122712] nintendo 0005:057E:2006.0006: delta=88 avg_delta=16
2021-05-09T00:24:06.629580+01:00 ninu-leap15 joycond[9077]: Waiting controller needs partner
2021-05-09T00:24:09.982169+01:00 ninu-leap15 kernel: [44972.760523] uinput: ff_effects_max should be non-zero when FF_BIT is set
2021-05-09T00:24:09.983447+01:00 ninu-leap15 joycond[9077]: message repeated 130 times: [ Waiting controller needs partner]
2021-05-09T00:24:09.983775+01:00 ninu-leap15 joycond[9077]: Found right
2021-05-09T00:24:09.984130+01:00 ninu-leap15 joycond[9077]: Failed to create libevdev_uinput; -22
2021-05-09T00:24:10.146848+01:00 ninu-leap15 systemd[1]: joycond.service: Main process exited, code=exited, status=1/FAILURE
2021-05-09T00:24:10.147854+01:00 ninu-leap15 systemd[1]: joycond.service: Unit entered failed state.
2021-05-09T00:24:10.148339+01:00 ninu-leap15 systemd[1]: joycond.service: Failed with result 'exit-code'.
2021-05-09T00:24:10.325060+01:00 ninu-leap15 systemd[1]: joycond.service: Service RestartSec=100ms expired, scheduling restart.
2021-05-09T00:24:10.327245+01:00 ninu-leap15 systemd[1]: Stopped joycond.
2021-05-09T00:24:10.329176+01:00 ninu-leap15 systemd[1]: Started joycond.
2021-05-09T00:24:10.336140+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=4
2021-05-09T00:24:10.337059+01:00 ninu-leap15 joycond[24405]: Creating new phys_ctlr for /dev/input/event3
2021-05-09T00:24:10.337925+01:00 ninu-leap15 joycond[24405]: Found Left Joy-Con
2021-05-09T00:24:10.338593+01:00 ninu-leap15 joycond[24405]: driver_name: Nintendo Switch Left Joy-Con
2021-05-09T00:24:10.339165+01:00 ninu-leap15 joycond[24405]: MAC: 60:6B:FF:58:28:CF
2021-05-09T00:24:11.264705+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=5
2021-05-09T00:24:11.265563+01:00 ninu-leap15 joycond[24405]: Creating new phys_ctlr for /dev/input/event20
2021-05-09T00:24:11.266752+01:00 ninu-leap15 joycond[24405]: Found Right Joy-Con
2021-05-09T00:24:11.267403+01:00 ninu-leap15 joycond[24405]: driver_name: Nintendo Switch Right Joy-Con
2021-05-09T00:24:11.267914+01:00 ninu-leap15 joycond[24405]: MAC: 60:6B:FF:58:03:99
2021-05-09T00:24:11.768654+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=14
2021-05-09T00:24:27.942123+01:00 ninu-leap15 kernel: [44990.718173] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:27.942150+01:00 ninu-leap15 kernel: [44990.718177] nintendo 0005:057E:2006.0006: delta=88 avg_delta=16
2021-05-09T00:24:30.406986+01:00 ninu-leap15 kernel: [44993.183196] nintendo 0005:057E:2007.0007: compensating for 4 dropped IMU reports
2021-05-09T00:24:30.407030+01:00 ninu-leap15 kernel: [44993.183204] nintendo 0005:057E:2007.0007: delta=100 avg_delta=16
2021-05-09T00:24:44.230154+01:00 ninu-leap15 kernel: [45007.005193] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:44.230188+01:00 ninu-leap15 kernel: [45007.005198] nintendo 0005:057E:2006.0006: delta=96 avg_delta=15
2021-05-09T00:24:49.450215+01:00 ninu-leap15 kernel: [45012.225102] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:49.450249+01:00 ninu-leap15 kernel: [45012.225109] nintendo 0005:057E:2006.0006: delta=84 avg_delta=15

Looks like it tries to pair them but eventually the daemon restart. Do you have any idea of what might be the cause of the issue?

ThisNekoGuy commented 1 year ago

Personally, I don't even get log messages about it at all from journald