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

After connecting controller on windows, I have to unplug and plug again in ubuntu for the service to start #20

Closed
Hedronmx opened this issue Jan 8, 2020 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@Hedronmx
Copy link

Hedronmx commented Jan 8, 2020

If I connect my controller in windows and then restart to ubuntu, if I just turn on the controller it wont work, I need to replug the adapter for the controller to connect again.

@medusalix
Copy link
Owner

Are you using the older dongle? You might have to blacklist the mt76 kernel module as described in issue #14. If that doesn't work then I'll have to see your debug logs.

@medusalix medusalix added the bug Something isn't working label Jan 13, 2020
@Hedronmx
Copy link
Author

I realized its everytime the service starts, since after installing XOW I need to replug the adapter. Also I ran sudo ./xow and it was stuck on initializing adapter

@medusalix medusalix added this to the v0.4 milestone Feb 20, 2020
@medusalix
Copy link
Owner

@Hedronmx I've pushed a (potential) fix to the restart branch. It works for me, though I'm only switching between my Linux VM and Windows. Please make sure you've completely removed the old version before checking out the fix.

@andreashuetter As you've had issues with reboots in the past, I'd like to make sure we're not bringing them back. Could you please double check if this fix doesn't break anything for you?

@andreashuetter
Copy link

andreashuetter commented Feb 21, 2020

OK, so I did some additonal testing today, but so far only with the old dongle. As soon as I find the time, I can also repeat those tests with the new dongle.
I tested both branches (master & restart) and didn't find any differences between them so far. No matter whether I use commit c3aeee0 (restart branch) or commit e8a6d75 (master branch), the behavior is the same:

When cold-booting my machine, it always seems to work.

When warm-booting my machine, then SOMETIMES (not very often) it happens that

  • the LED of the controllers is brighter than usual
  • no input from the controllers is detected

In this case I can either replug the adapter to make it work again, or I can turn the controllers off and on (which isn't really a problem as for me). After that the brightness of the controller LED is normal again and everything is fine.

I am using 1708 controllers.

@medusalix
Copy link
Owner

@andreashuetter Thanks for the extensive test. It's always hard for me to reproduce issues that happen only sometimes, especially considering that I run Linux in a virtual machine.

@Hedronmx I've pushed the changes to master, please comment if the issue isn't fixed.

@Hedronmx
Copy link
Author

Sorry I couldn't test it! Was really busy. I will give it go on master. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants