Skip to contentSkip to conversation

X-Box one controller causes Xpad to crash [NEW INFO]

DISCUSSION Dmitry Torokhov 2 participants 3 messages Nov 27, 2015 – Dec 1, 2015 3 messages not in the archive HID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Jonathan,

Quoted 3 lines · Jonathan Beilharz

Still haven't got it on the mailing list... Also can't find any info on how to add new stuff. I already had sent an email sometime ago but since then I found out more.

Hmm, not sure why your email do not reach the list, it does not require subscription for posting...

Quoted 11 lines

[1.] One line summary of the problem:
X-Box one controller causes Xpad to crash

[2.] Full description of the problem/report:
Plugging in the so called "Xbox one (converted forces)" controller crashes the Xpad module.
Important part of dmesg:
"BUG: unable to handle kernel NULL pointer dereference at 000000000000004e" "RIP [<ffffffffc02c952a>] xpad_probe+0x37a/0x9eb [xpad]"

You need the following commit from mainline:

39a7a88872df98f0c3c50fe278fd1a1f597afd95 - Input: xpad - add Covert Forces edition of the Xbox One controller

There was a report that while it fixes the crash the controller is not really working, so I'd like to hear about your results.

Thanks.

Signature · 1 line
Dmitry

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20151127180809.GD27040@dtor-ws

#4 lore raw
Quoted 37 lines · Dmitry Torokhov
Quoted 28 lines · Jonathan Beilharz
Quoted 27 lines · Dmitry Torokhov

Hi Jonathan,

Quoted 3 lines · Jonathan Beilharz

Still haven't got it on the mailing list... Also can't find any info on how to add new stuff. I already had sent an email sometime ago but since then I found out more.

Hmm, not sure why your email do not reach the list, it does not require subscription for posting...

Quoted 10 lines

[1.] One line summary of the problem:
X-Box one controller causes Xpad to crash

[2.] Full description of the problem/report:
Plugging in the so called "Xbox one (converted forces)" controller crashes the Xpad module.
Important part of dmesg:
"BUG: unable to handle kernel NULL pointer dereference at 000000000000004e" "RIP [<ffffffffc02c952a>] xpad_probe+0x37a/0x9eb [xpad]"

You need the following commit from mainline:

39a7a88872df98f0c3c50fe278fd1a1f597afd95 - Input: xpad - add Covert Forces edition of the Xbox One controller

There was a report that while it fixes the crash the controller is not really working, so I'd like to hear about your results.

Quoted 8 lines
Quoted 2 lines

Thanks.

Thanks for answering.

But shouldn't the commit be included in the "Linux version 4.3.0-040300-generic (kernel@gomeisa) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #201511020949 SMP Mon Nov 2 14:50:44 UTC 2015" I tested with?

Quoted 7 lines

No, it was in the pull request I sent for 4.4-rc1.

Quoted 1 line

If not should I build the latest mainline kernel?

That would be great.

Thanks.

So I now was able to boot the new kernel fully (also onto desktop).

The patch fixes the crash and also the module gets successfully loaded dynamically.

But as you said earlier it isn't "working". jscal/jstest tell me the right amount of axes and buttons. But it doesn't matter if I calibrate the controller or not. Everything stays the same. I can move everything as much as I want but nothing changes in jstest.

Thanks for looking into this.

#5 lore raw
Quoted 46 lines · Jonathan Beilharz
Quoted 37 lines · Dmitry Torokhov
Quoted 28 lines · Jonathan Beilharz
Quoted 27 lines · Dmitry Torokhov

Hi Jonathan,

Quoted 3 lines · Jonathan Beilharz

Still haven't got it on the mailing list... Also can't find any info on how to add new stuff. I already had sent an email sometime ago but since then I found out more.

Hmm, not sure why your email do not reach the list, it does not require subscription for posting...

Quoted 10 lines

[1.] One line summary of the problem:
X-Box one controller causes Xpad to crash

[2.] Full description of the problem/report:
Plugging in the so called "Xbox one (converted forces)" controller crashes the Xpad module.
Important part of dmesg:
"BUG: unable to handle kernel NULL pointer dereference at 000000000000004e" "RIP [<ffffffffc02c952a>] xpad_probe+0x37a/0x9eb [xpad]"

You need the following commit from mainline:

39a7a88872df98f0c3c50fe278fd1a1f597afd95 - Input: xpad - add Covert Forces edition of the Xbox One controller

There was a report that while it fixes the crash the controller is not really working, so I'd like to hear about your results.

Quoted 8 lines
Quoted 2 lines

Thanks.

Thanks for answering.

But shouldn't the commit be included in the "Linux version 4.3.0-040300-generic (kernel@gomeisa) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #201511020949 SMP Mon Nov 2 14:50:44 UTC 2015" I tested with?

Quoted 7 lines

No, it was in the pull request I sent for 4.4-rc1.

Quoted 1 line

If not should I build the latest mainline kernel?

That would be great.

Thanks.

Quoted 7 lines

So I now was able to boot the new kernel fully (also onto desktop).

The patch fixes the crash and also the module gets successfully loaded dynamically.

But as you said earlier it isn't "working". jscal/jstest tell me the right amount of axes and buttons. But it doesn't matter if I calibrate the controller or not. Everything stays the same. I can move everything as much as I want but nothing changes in jstest.

Thanks for looking into this.

Should I open up a new "Thread" for this? I'm still new to lkml