Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freezing on "adding epoll_subscriber" #75

Open
ghost opened this issue Aug 12, 2021 · 14 comments
Open

freezing on "adding epoll_subscriber" #75

ghost opened this issue Aug 12, 2021 · 14 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2021

i can't pair joycons with SL+SR, L+R, etc

● joycond.service - joycond
     Loaded: loaded (/etc/systemd/system/joycond.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2021-08-12 12:25:15 EEST; 13s ago
   Main PID: 4821 (joycond)
      Tasks: 1 (limit: 19023)
     Memory: 384.0K
        CPU: 3ms
     CGroup: /system.slice/joycond.service
             └─4821 /usr/bin/joycond

Aug 12 12:25:15 fedora systemd[1]: Started joycond.
Aug 12 12:25:15 fedora joycond[4821]: adding epoll_subscriber: fd=4

theres the logs, (yes they are full logs)

@ghost ghost changed the title freezing on "adding_epoll_subscriber" freezing on "adding epoll_subscriber" Aug 12, 2021
@ghost
Copy link
Author

ghost commented Aug 12, 2021

extra info: im on Fedora 34 and i built joycond and dkms-hid-nintendo from source

@ghost
Copy link
Author

ghost commented Sep 1, 2021

is anyone gonna answer?

@ghost
Copy link
Author

ghost commented Sep 24, 2021

is anyone gonna answer?

@gamezoid123
Copy link

Yeah, I'm having the same issue on gentoo. would really appreciate some help as well.

@githubwasamistake
Copy link

Happening to me on ubuntu 20.04, also built joycond and dkms-hid-nintendo from source

@githubwasamistake
Copy link

ok, I got the pad working when I switched usb ports, I previously connected it through a usb hub, everything appears to work except the gyro... does this driver support the gyro?

@ghost
Copy link
Author

ghost commented Dec 3, 2021

what usb port? as far as i know joycons dont have usb, and this issue is:

i can't pair joycons

oh and i fixed it, i dont know how, but it fixed itself and i just realised gyro pointer doesnt exist on joycond, so there goes my project :D

@githubwasamistake
Copy link

I was using a pro controller by usb through a usb hub and it was giving the same error as you got
when I decided to plug it directly into a motherboard port, it was finally able to pair properly
there's another joycon driver on github and it appears to have gyro, I'll be trying that out since I wanna try gyro controls in fps

@charJe
Copy link

charJe commented Aug 24, 2022

I have this same problem. I'm using Guix and have tried the package from guix and building from source. Same issue. I have hid_nintendo kernel module loaded.

@infirit
Copy link

infirit commented Aug 24, 2022

afaik you need to press a couple buttons before things start to work, https://github.com/DanielOgorchock/joycond#usage

@charJe
Copy link

charJe commented Aug 24, 2022

This is probably the problem then. My joycons are only in pairing mode (blinking lights) before connecting to bluetooth. As soon as they connect with bluetooth, one gets a single light, and the other gets two lights.

@infirit
Copy link

infirit commented Aug 25, 2022

I agree the message about polling isn't very helpful. Maybe it can print out the button combinations and mention it's waiting for them untill it does something.

@charJe
Copy link

charJe commented Aug 25, 2022

Maybe I should create a new issue for this.

@charJe
Copy link

charJe commented Aug 28, 2022

I tested this on a different operating system (ubuntu) (same machine). Everything is built from source and using dkms hid-nintendo. I tried this with several configurations. Here is the result of each.

configuration 1: no hid-nintendo, no joycond.

Joycons connect with bluetooth. After connecting, the lights continue to bounce back and forth. This seems all normal, obviously we can't move on because we have no driver.

configuration 2: hid-nintendo, no joycond.

Joycons connect with bluetooth. After connecting, one joycon becomes single player (1 light) the other becomes second player (2 lights). Interestingly this is the same thing that happens on my guix computer whether running joycond or not.

configuration 3: hid-nintendo, joycond (run with sudo joycond)

Joycons connect with bluetooth. After connecting, all the lights go out (different than what is described in the "Usage" document). At this point, joycond has a lot of output whereas before it was just adding epoll_subscriber. Pressing buttons on the joycons does not make them light up. Pressing buttons on the joycons does make joycond identify the joycon with a log. The joycons can be paired together with the shoulder buttons as intended. A single joycon can go into horizontal mode by using the side buttons (SL & SR); however, only one controller can be in horizontal mode, and the other one needs a partner while the side buttons do nothing (this is most certainly a separate issue though).

conclusion

This indicates that the problem does not lie with my bluetooth configuration or the hid-nintendo, but indeed somehow with joycond not picking up on the joycons. I'm not sure how to continue from here though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants