FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[Q] Enable XBox wireless controller ?

20 posts
Thanks Meter: 0
 
By rootSr., Junior Member on 8th January 2014, 05:58 AM
Post Reply Subscribe to Thread Email Thread
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
Last edited by rootSr.; 7th February 2014 at 12:10 PM. Reason: to update the steps followed.
 
 
2nd February 2014, 04:11 AM |#2  
OP Junior Member
Thanks Meter: 0
 
More
Any suggestions or help here will be appreciative.
2nd February 2014, 04:14 AM |#3  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 971
 
More
Quote:
Originally Posted by rootSr.

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.
2nd February 2014, 05:48 AM |#4  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by aooga

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.
2nd February 2014, 06:51 AM |#5  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 971
 
More
Quote:
Originally Posted by rootSr.

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
2nd February 2014, 12:12 PM |#6  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,820
 
More
Quote:
Originally Posted by aooga

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
The Following User Says Thank You to danarama For This Useful Post: [ View ]
2nd February 2014, 05:36 PM |#7  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 971
 
More
Quote:
Originally Posted by rootSU

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
3rd February 2014, 12:05 PM |#8  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by rootSU

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.
Last edited by rootSr.; 3rd February 2014 at 12:07 PM.
3rd February 2014, 09:11 PM |#9  
Alex240188's Avatar
Senior Member
Flag Hull
Thanks Meter: 689
 
More
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
Last edited by Alex240188; 3rd February 2014 at 09:47 PM.
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes