Comments (11)
I've done some testing and it seems like libusb
is returning LIBUSB_TRANSFER_NO_DEVICE
after waking up the computer. This usually only happens when you physically remove the dongle and causes xow to stop all USB transfers. I'll probably have to make some adjustments to the USB code to handle this case.
from xow.
@webodan Please try out the suspend
branch (make sure that the updated service definition gets loaded). While I couldn't find a way for xow to recover after a suspend, I made sure that the service restarts when the system wakes up.
from xow.
@NoXPhasma and @andreashuetter, could you try this out for me? I made some significant changes to the USB backend (making it simpler) which will definitely need testing. As an inevitable result of fixing the suspend issue, xow does now terminate when you wake from sleep or unplug the dongle and is then restarted automatically by systemd
.
from xow.
The service stops when the dongle gets removed, but does not restart when I plug in the dongle again.
Mär 15 04:30:31 NoXP-PC systemd[1]: Started Xbox One Wireless Dongle Driver.
Mär 15 04:30:31 NoXP-PC xow[533968]: 2020-03-15 04:30:31 INFO - xow v0.3-27-g28cbc4d ©Severin v. W.
Mär 15 04:30:31 NoXP-PC xow[533968]: 2020-03-15 04:30:31 INFO - Dongle plugged in
Mär 15 04:30:31 NoXP-PC xow[533968]: 2020-03-15 04:30:31 INFO - Wireless address: 62:45:b4:fe:81:16
Mär 15 04:30:31 NoXP-PC xow[533968]: 2020-03-15 04:30:31 INFO - Dongle initialized
Mär 15 04:30:35 NoXP-PC xow[533968]: 2020-03-15 04:30:35 ERROR - Error in bulk read: LIBUSB_ERROR_NO_DEVICE
Mär 15 04:30:35 NoXP-PC xow[533968]: 2020-03-15 04:30:35 ERROR - Error in bulk read: LIBUSB_ERROR_NO_DEVICE
Mär 15 04:30:35 NoXP-PC systemd[1]: xow.service: Succeeded.
from xow.
Make sure that you run systemctl enable xow
and systemctl restart xow
after installing the branch to reload the service config.
from xow.
Yes, I've done that. It just doesn't restart itself after I remove the dongle and reconnect it.
from xow.
Okay I found the issue, sudo make install
won't install/override the new service file which includes Restart=always
. Once I update the service file manually it works.
from xow.
It should overwrite them. When I checkout master
, do install
and then checkout suspend
followed by install
it replaces the contents of the service.
from xow.
I expected the same here as well, but for some reason it didn't. I even tried to install it two times to get sure.
from xow.
Oh well, I'm just going to add a notice to run sudo make uninstall
before updating to the README to make sure everyone's covered.
from xow.
Merged into master
(196371d).
from xow.
Related Issues (20)
- Headset recognize as pad HOT 1
- high temperature when plug in xbox wireless adapter. HOT 3
- make error 127 - firmware.bin HOT 1
- All my controllers stopped working in steam
- The controller freezes HOT 3
- Controller immediately disconnects after connecting HOT 2
- make: *** No targets specified and no makefile found. Stop. HOT 4
- How to disable vibration
- Debian packaginfg HOT 1
- Cabextract missing
- xow uses 50% CPU on idle HOT 2
- Could not resolve host: download.windowsupdate.com
- XOW Not connecting the controller to the usb dongle HOT 1
- fix bug in install instructions HOT 1
- Issues Installing on steamdeck
- Does it detect xbox controller motion?
- GipMessageClass Enum
- Core dump seconds after connecting controller
- Unable to Migrate from `xow` to `xone` HOT 2
- #include <cstddef>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xow.