Velocity is Like OpenTable on Steroids

We all enjoy a night out with friends or our significant other from time to time. However, there is … more

Android Lollipop Lands for the Sony Xperia Z Ultra

The undisputed king of the beasts–at least in Sony’s current stable,is the … more

Android 5.0 Lollipop in 3D–EVO 3D, That Is!

It is that time of the year once again. Flowers bloom (or snow falls, depending on which … more

Gaming Console with Lollipop? Ouya Gets an Android TV Port

Android is a very flexible platform, and it can be used on a large variety of … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Enable XBox wireless controller ?

OP rootSr.

8th January 2014, 06:58 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
20 posts
Join Date:Joined: Jan 2014
More
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 01:10 PM. Reason: to update the steps followed.
2nd February 2014, 05:11 AM   |  #2  
OP Junior Member
Thanks Meter: 0
 
20 posts
Join Date:Joined: Jan 2014
More
Any suggestions or help here will be appreciative.
2nd February 2014, 05:14 AM   |  #3  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 930
 
3,138 posts
Join Date:Joined: Feb 2011
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, 06:48 AM   |  #4  
OP Junior Member
Thanks Meter: 0
 
20 posts
Join Date:Joined: Jan 2014
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, 07:51 AM   |  #5  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 930
 
3,138 posts
Join Date:Joined: Feb 2011
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, 01:12 PM   |  #6  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,480
 
24,590 posts
Join Date:Joined: Aug 2010
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 rootSU For This Useful Post: [ View ]
2nd February 2014, 06:36 PM   |  #7  
aooga's Avatar
Senior Member
Flag California
Thanks Meter: 930
 
3,138 posts
Join Date:Joined: Feb 2011
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, 01:05 PM   |  #8  
OP Junior Member
Thanks Meter: 0
 
20 posts
Join Date:Joined: Jan 2014
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 01:07 PM.
3rd February 2014, 10:11 PM   |  #9  
Alex240188's Avatar
Senior Member
Flag Hull
Thanks Meter: 639
 
1,001 posts
Join Date:Joined: May 2010
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 10: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