Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,823 Members 42,073 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Enable XBox wireless controller ?

Tip us?
 
rootSr.
Old
(Last edited by rootSr.; 7th February 2014 at 12:10 PM.) Reason: to update the steps followed.
#1  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Jan 2014
Service [Q] Enable XBox wireless controller ?

I have gone through xda threads to enable xbox controller using OTG cable. I find http://forum.xda-developers.com/show....php?t=1792531. Is it the same procedure for Nexus 5 or its just for nexus 7. If the procedure is different please share the details and post the nexus 5 specific instructions if there are any.

What I did:

1. lsusb command to verify vendor details. (i got o45e 0719)
2. Copied Vendor_045e_Product_0719.kl to /system/usr/keylayout/ and applied permissions
3. Copied Vendor_045e_Product_0719.kcm to /system/usr/keychars/ and applied permissions

I connected xbox wireless controller but no luck. Did I miss something here?

I just find post below. I haven't tried yet. If you try, post your comments.

http://www.armtvtech.com/armtvtechfo...29&t=222#p5663

Please find the attached files that I have copied (it includes 0291 files as well).
xbox wireless controller files.zip
 
rootSr.
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Jan 2014
Any suggestions or help here will be appreciative.
 
aooga
Old
#3  
aooga's Avatar
Senior Member
Thanks Meter 861
Posts: 2,917
Join Date: Feb 2011
Location: California
Quote:
Originally Posted by rootSr. View Post
Any suggestions or help here will be appreciative.
uhh. How about you try it first? And do you have anything to do with the real @rootSU or just a coincidence? If you're asking if OTG works on the N5, it does.
 
rootSr.
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Jan 2014
Quote:
Originally Posted by aooga View Post
uhh. How about you try it first? And do you have anything to do with the real @rootSU or just a coincidence? If you're asking if OTG works on the N5, it does.
Dude I tried and added the steps and source/info i collected so far.
 
aooga
Old
#5  
aooga's Avatar
Senior Member
Thanks Meter 861
Posts: 2,917
Join Date: Feb 2011
Location: California
Quote:
Originally Posted by rootSr. View Post
Dude I tried and added the steps and source/info i collected so far.
You added that well after I posted. I've never tried this so I won't be of much help. Good luck though.

Sent from my Nexus 5 using Tapatalk
 
rootSU
Old
#6  
rootSU's Avatar
Senior Member
Thanks Meter 10,883
Posts: 22,067
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by aooga View Post
uhh. How about you try it first? And do you have anything to do with the real @rootSU or just a coincidence? If you're asking if OTG works on the N5, it does.
haha. We're not rootJr. and rootSr. In fact if one of us were to be senior based on age, there is a fair chance it would be me
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
The Following User Says Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
aooga
Old
#7  
aooga's Avatar
Senior Member
Thanks Meter 861
Posts: 2,917
Join Date: Feb 2011
Location: California
Quote:
Originally Posted by rootSU View Post
haha. We're not rootJr. and rootSr. In fact if one of us were to be senior based on age, there is a fair chance it would be me
Yeah...I was just curious.

Sent from my Nexus 5 using Tapatalk
 
rootSr.
Old
(Last edited by rootSr.; 3rd February 2014 at 12:07 PM.)
#8  
Junior Member - OP
Thanks Meter 0
Posts: 20
Join Date: Jan 2014
Quote:
Originally Posted by rootSU View Post
haha. We're not rootJr. and rootSr. In fact if one of us were to be senior based on age, there is a fair chance it would be me
Guys, sorry i didn't see the posts a day. Name is just a coincidence. I hope thread doesn't go off-topic.
 
Alex240188
Old
(Last edited by Alex240188; 3rd February 2014 at 09:47 PM.)
#9  
Alex240188's Avatar
Senior Member
Thanks Meter 635
Posts: 1,000
Join Date: May 2010
Location: Hull
just had a look into this.
It appears something software is wrong.
I have got my phone setup via OTG to the Xbox 360 Wireless controller
modified the wired controller and changed product ID
pushed and chmodded it
still doesnt work just like you

looking over the logcat. looks like it errors out before even accepting the device into android.

the only thing that appears in the logcat when pluggin in the Wireless adapter is the following line which i dont understand
Code:
W/ContextImpl(  860): Calling a method in the system process without a qualified
 user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.usb.UsbSett
ingsManager.deviceAttached:621 com.android.server.usb.UsbHostManager.usbDeviceAd
ded:156 com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2 com.android.s
erver.usb.UsbHostManager.access$000:38
just going to inspect the kernel log now.

Hmm, so the kernel log detects the device but that is where it stops.
It never gets passed to android as a host device due to the error in the Logcat
anybody have any idea?

Kernel Log
Code:
<6>[ 1860.266686] usb 1-1: new full-speed USB device number 19 using xhci-hcd
<6>[ 1860.294351] usb 1-1: New USB device found, idVendor=045e, idProduct=0719
<6>[ 1860.294612] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumbe
r=3
<6>[ 1860.295045] usb 1-1: Product: Xbox 360 Wireless Receiver for Windows
<6>[ 1860.295466] usb 1-1: Manufacturer: ┬®Microsoft
<6>[ 1860.295703] usb 1-1: SerialNumber: NOTSHOWINGYOU
<6>[ 1861.216354] usb 1-1: USB disconnect, device number 19
OK after some digging it turns out that we need xpad.ko as a kernel module which doesnt look like its available yet

someone is already ahead of us in the nexus 4 forums
http://forum.xda-developers.com/nexu...mepad-t2263680

also requesting the following kernel modules for gamepad support for the 3.4.0 kernel

Tags
controller, game, nexus, wireless, xbox
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes