Comments (8)
That error is thrown when xow doesn't have the necessary permissions to open /dev/uinput
(they're set by the udev rules). I'll add a corresponding notice to the README for future users.
from xow.
Not sure what happened but after a reboot, I was trying to capture a wireshark and it turned out that all was working fine! Thanks!!
from xow.
Awesome, I had a great time using the wireless controller, thanks for that :)
from xow.
This behavior is happening with v0.4-11-gbea16b4 on latest retropie pi4 weekly image.
How would one add the necessary permissions?
from xow.
@FrandSX They should be set automatically by the udev rules that are added during installation. You might want to check if there are other udev rules that change the permissions back (like in issue #54).
from xow.
I have a similar problem:
The LED also doesn't blink
How do I set these udev rules? @medusalix
$ sudo systemctl status xow -l
● xow.service - Xbox One Wireless Dongle Driver
Loaded: loaded (/etc/systemd/system/xow.service; enabled; vendor preset: disabled)
Active: failed (Result: core-dump) since Thu 2021-02-04 17:37:49 CET; 1min 13s ago
Process: 1512 ExecStart=/usr/local/bin/xow (code=dumped, signal=ABRT)
Main PID: 1512 (code=dumped, signal=ABRT)
Feb 04 17:37:48 Aaron-Manjaro systemd[1]: xow.service: Failed with result 'core-dump'.
Feb 04 17:37:48 Aaron-Manjaro systemd[1]: Started Xbox One Wireless Dongle Driver.
Feb 04 17:37:48 Aaron-Manjaro xow[1512]: 2021-02-04 17:37:48 INFO - xow v0.5-24-g9d5a11b ©Severin v. W.
Feb 04 17:37:48 Aaron-Manjaro xow[1512]: 2021-02-04 17:37:48 INFO - Waiting for device...
Feb 04 17:37:49 Aaron-Manjaro xow[1512]: 2021-02-04 17:37:49 ERROR - Firmware reset timed out
Feb 04 17:37:49 Aaron-Manjaro xow[1512]: terminate called after throwing an instance of 'Mt76Exception'
Feb 04 17:37:49 Aaron-Manjaro xow[1512]: what(): Failed to load firmware
Feb 04 17:37:49 Aaron-Manjaro systemd[1]: xow.service: Main process exited, code=dumped, status=6/ABRT
Feb 04 17:37:49 Aaron-Manjaro systemd[1]: xow.service: Failed with result 'core-dump'.
from xow.
Run sudo udevadm monitor -p
in a terminal before connecting the dongle/controller, it should then show all udev rules applied when the device is detected.
But there may also be a problem that the dongle is already loaded with a firmware by the mt76 kernel module for wifi (I've seen this behavior while experimenting with xow). Could you also show the output of dmesg|grep mt
and lsmod
?
from xow.
@kakra sudo udevadm monitor -p
just keeps scanning, when I manually start xow with systemctl start xow
, I get this:
KERNEL[4350.154600] change /devices/pci0000:00/0000:00:14.0/usb2/2-1 (usb)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/002/000
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=45e/2fe/100
TYPE=0/0/0
BUSNUM=002
DEVNUM=000
SEQNUM=5033
MAJOR=189
MINOR=129
KERNEL[4350.298919] change /devices/pci0000:00/0000:00:14.0/usb2/2-1 (usb)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/002/002
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=45e/2fe/100
TYPE=0/0/0
BUSNUM=002
DEVNUM=002
SEQNUM=5034
MAJOR=189
MINOR=129
UDEV [4350.303752] change /devices/pci0000:00/0000:00:14.0/usb2/2-1 (usb)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/002/000
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=45e/2fe/100
TYPE=0/0/0
BUSNUM=002
DEVNUM=000
SEQNUM=5033
USEC_INITIALIZED=5631894
ID_VENDOR=Microsoft_Inc.
ID_VENDOR_ENC=Microsoft\x20Inc.
ID_VENDOR_ID=045e
ID_MODEL=XBOX_ACC
ID_MODEL_ENC=XBOX\x20ACC
ID_MODEL_ID=02fe
ID_REVISION=0100
ID_SERIAL=Microsoft_Inc._XBOX_ACC_210793
ID_SERIAL_SHORT=210793
ID_BUS=usb
ID_USB_INTERFACES=:ffffff:
ID_VENDOR_FROM_DATABASE=Microsoft Corp.
ID_PATH=pci-0000:00:14.0-usb-0:1
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_1
MAJOR=189
MINOR=129
TAGS=seat
CURRENT_TAGS=seat
UDEV [4350.307489] change /devices/pci0000:00/0000:00:14.0/usb2/2-1 (usb)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-1
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/002/002
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=45e/2fe/100
TYPE=0/0/0
BUSNUM=002
DEVNUM=002
SEQNUM=5034
USEC_INITIALIZED=5631894
ID_VENDOR=Microsoft_Inc.
ID_VENDOR_ENC=Microsoft\x20Inc.
ID_VENDOR_ID=045e
ID_MODEL=XBOX_ACC
ID_MODEL_ENC=XBOX\x20ACC
ID_MODEL_ID=02fe
ID_REVISION=0100
ID_SERIAL=Microsoft_Inc._XBOX_ACC_210793
ID_SERIAL_SHORT=210793
ID_BUS=usb
ID_USB_INTERFACES=:ffffff:
ID_VENDOR_FROM_DATABASE=Microsoft Corp.
ID_PATH=pci-0000:00:14.0-usb-0:1
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_1
MAJOR=189
MINOR=129
TAGS=seat
CURRENT_TAGS=seat
dmesg|grep mt
gives me back nothing
And finally lsmod
gives out
Module Size Used by
rfcomm 90112 16
squashfs 73728 5
loop 36864 10
cmac 16384 5
algif_hash 16384 2
algif_skcipher 16384 2
af_alg 32768 10 algif_hash,algif_skcipher
bnep 28672 2
btusb 69632 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
bluetooth 741376 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 2 bluetooth
rfkill 28672 7 bluetooth
ecc 36864 1 ecdh_generic
mceusb 45056 0
mousedev 24576 0
input_leds 16384 0
joydev 28672 0
intel_rapl_msr 20480 0
intel_rapl_common 32768 1 intel_rapl_msr
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
coretemp 20480 0
kvm_intel 323584 0
kvm 856064 1 kvm_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
iTCO_wdt 16384 0
aesni_intel 372736 7
intel_pmc_bxt 16384 1 iTCO_wdt
snd_hda_codec_via 24576 1
snd_hda_codec_generic 98304 1 snd_hda_codec_via
crypto_simd 16384 1 aesni_intel
at24 24576 0
mei_hdcp 24576 0
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 73728 1
iTCO_vendor_support 16384 1 iTCO_wdt
cryptd 24576 4 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
snd_hda_intel 57344 5
snd_intel_dspcfg 24576 1 snd_hda_intel
rapl 16384 0
intel_cstate 20480 0
snd_hda_codec 167936 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_via
uinput 20480 0
nvidia_drm 69632 17
intel_uncore 172032 0
i2c_i801 36864 0
snd_hda_core 106496 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_via
pcspkr 16384 0
i2c_smbus 20480 1 i2c_i801
nvidia_modeset 1232896 49 nvidia_drm
snd_hwdep 16384 1 snd_hda_codec
drm_kms_helper 266240 1 nvidia_drm
snd_pcm 147456 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 45056 1 snd_pcm
cec 73728 1 drm_kms_helper
mei_me 49152 1
rc_core 61440 2 mceusb,cec
snd 114688 17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_hda_codec_via,snd_pcm
mei 126976 3 mei_hdcp,mei_me
alx 57344 0
drm 585728 20 drm_kms_helper,nvidia_drm
lpc_ich 28672 0
soundcore 16384 1 snd
mdio 16384 1 alx
agpgart 53248 1 drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
evdev 28672 26
mac_hid 16384 0
nvidia 34091008 3056 nvidia_modeset
msr 16384 0
sg 40960 0
fuse 139264 5
crypto_user 16384 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
ext4 815104 2
crc32c_generic 16384 0
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 139264 1 ext4
sr_mod 28672 0
cdrom 77824 1 sr_mod
uas 32768 0
usb_storage 81920 1 uas
hid_generic 16384 0
ata_generic 16384 0
usbhid 65536 0
pata_acpi 16384 0
hid 147456 2 usbhid,hid_generic
xhci_pci 20480 0
crc32c_intel 24576 4
xhci_hcd 286720 1 xhci_pci
ehci_pci 20480 0
ata_piix 36864 5
ehci_hcd 98304 1 ehci_pci
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.