atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
2.01k stars 113 forks source link

HELP! Looking for testers #94

Closed atar-axis closed 5 years ago

atar-axis commented 5 years ago

Hey there, If somebody is interested in helping me testing new functions, please tell me (or subscribe to this issue). Thank you very much in advance!

Gigabyte29 commented 5 years ago

I can help if you want

atar-axis commented 5 years ago

That would be great! What kernel are you on?

Gigabyte29 commented 5 years ago

I'm on Antergos with kernel 5.0.7.arch1

Lysdestic commented 5 years ago

I've been following this project loosely as I've got a couple of original Xbox One controllers that function via the old wireless adapter (i.e., not Bluetooth). I understand that is of lesser priority, but if you ever make any headway in that area, I'd be glad to help test. :)

atar-axis commented 5 years ago

We need testers for:


https://github.com/atar-axis/xpadneo/tree/new_udev_rule discussion: #91

We need some older kernel versions / especially raspbian an so on


https://github.com/atar-axis/xpadneo/tree/enable_ff discussion: #88

plafue commented 5 years ago

I tested the udev rule of the new_udev_rule branch and the microsoft module grabs control of the gamepad every time.

With master at least every second time or so the udev rule works and xpadneo binds with the controller. So i'm sticking with the master version for now.

uname -a : 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

cat /sys/module/bluetooth/parameters/disable_ertm : Y

this is what dmesg says about my usb dongle:

[    1.513611] usb 3-3: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91
[    1.513612] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    1.513613] usb 3-3: Product: CSR8510 A10
atar-axis commented 5 years ago

Thank you for Testing @plafue!! What does dmesg say when hid-microsoft grabs it?

plafue commented 5 years ago
[   64.322244] Bluetooth: HIDP socket layer initialized
[   64.322754] hid-generic 0005:045E:02FD.0003: unknown main item tag 0x0
[   64.322819] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00
:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0003/input/input
11
[   64.322886] input: Xbox Wireless Controller Consumer Control as /devices/p
ci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD
.0003/input/input12
[   64.322933] hid-generic 0005:045E:02FD.0003: input,hidraw2: BLUETOOTH HID
v9.03 Gamepad [Xbox Wireless Controller] on 00:1a:7d:da:71:04
[   64.431667] microsoft 0005:045E:02FD.0003: unknown main item tag 0x0
[   64.431725] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00
:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0003/input/input
13
[   64.431806] microsoft 0005:045E:02FD.0003: input,hidraw2: BLUETOOTH HID v9
.03 Gamepad [Xbox Wireless Controller] on 00:1a:7d:da:71:04
[   64.432410] xpadneo: hello there!
plafue commented 5 years ago

And this when xpadneo takes control:

[  251.270100] xpadneo 0005:045E:02FD.0005: unknown main item tag 0x0
[  251.270140] input: Xbox Wireless Controller as /devices/pci0000:00/0000:00
:14.0/usb3/3-3/3-3:1.0/bluetooth/hci0/hci0:71/0005:045E:02FD.0005/input/input
16
[  251.270311] xpadneo 0005:045E:02FD.0005: input,hidraw2: BLUETOOTH HID v9.0
3 Gamepad [Xbox Wireless Controller] on 00:1a:7d:da:71:04
atar-axis commented 5 years ago

Can you give it another try? I just updated the branch.

plafue commented 5 years ago

One file left behind... Classic ;)

It seems to work reliably now :tada: yay!

Thanks a lot for all the effort you put in xpadneo @atar-axis! :heart:

atar-axis commented 5 years ago

Hehe, happy to hear that - thank you for reporting the issue and testing!

plafue commented 5 years ago

Mention me anytime if you need testers :+1:

Nachti!

atar-axis commented 5 years ago

Perfect, thank you for that offer! Nacht ;)

atar-axis commented 5 years ago

both PR's/branches are merged into master now, hopefully stable. Thanks for testing.

gordonsolar commented 5 years ago

Hi, i installed xpadneo in order to be able to rumble my new xbox controller attached to my raspberry pi 3 (the controller is new and only called xbox controller, not "one" or "360" or anything). Before installation i had the controller running via Bluetooth using python and evdev to read the buttons and analog sticks (worked fine). I followed the installation description in https://pimylifeup.com/xbox-controllers-raspberry-pi/ (installing xboxdrv). When i connect with the controller, it seems, that only the hid-generic takes over control - see dmesg below. Now it seems that this is a general problem - but i cannot see the solution in any of the issues ... Help would be appreciated - i can also act as a tester for raspberry pi :-)

[Mai 5 20:42] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ +0,000030] Bluetooth: HIDP socket layer initialized [ +0,006041] hid-generic 0005:045E:02FD.0001: unknown main item tag 0x0 [ +0,001050] input: Xbox Wireless Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:11/0005:045E:02FD.0001/input/input0 [ +0,000694] hid-generic 0005:045E:02FD.0001: input,hidraw0: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on b8:27:eb:73:c7:4f [ +0,046279] hid_xpadneo: loading out-of-tree module taints kernel. [ +0,000994] xpadneo: hello there!

uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

atar-axis commented 5 years ago

Please open a new Issue @gordongnarf ;) Solving this issue would flood this one here which is dedicated to something else :) (thank you for your offer btw)

atar-axis commented 5 years ago

Even the new udev-rule seems to be unstable, I am therefore looking for testers for a new one: https://github.com/atar-axis/xpadneo/issues/100#issuecomment-489569419

So far tested on:

@plafue: Could you please give it a try too? :)

atar-axis commented 5 years ago

I am looking for testers for the new mouse simulation mode, see here for instructions

atar-axis commented 5 years ago

Even the new udev-rule seems to be unstable, I am therefore looking for testers for a new one: #100 (comment)

So far tested on:

5.0.10-arch1-1-ARCH (my local machine) 4.14.98-v7+ (@gordongnarf)

I switched to another udev rule since more an more users reported issues. I hope it works for all now.

The mouse simulation branch ist still under testing and development. I hope somebody can give it a try soon.

atar-axis commented 5 years ago

I will close this since nobody is testing, looks like this is the wrong way to call for help :grin: