Trying to connect a generic Bluetooth Gamepad to Fire TV2, although it connects fine and can navigate menus perfectly fine it refuses to work with Retroarch, saying (unconfigured).
Im quite certain i need to have the .kl file in place but im not sure how to assign the correct .kl file.
Can anyone with the knowhow please give me the correct command to list attached devices from adb, then i will know the product id and vendor id to configure it.
I did use it previously for a different controller but for the life of me i cant remember what the command was!.
Thanks in advance.
Related
Could some kind person point me in the direction of how to use CIF's (on DJ Droid 1.4, presume it's the same for every rom) along with Windows 7 to share a media folder?
I've (obviously wrongly), shared the folder in Windows, put in the network path, username and password and local path in the CIF's manager but it always fails to mount.
Many thanks.
I've worked it out now, in case anyone is interested, do not use the windows network name, instead do this:
Right click folder in Windows, select properties/sharing then click "Advanced Sharing", check "Share this folder" click ok.
Add the share in the CIFs manager with the windows box IP address and the folder, e.g.
192.168.1.2/Media
Use your windows username and password.
Job done.
what should be entered at Mount Point?
abc001 said:
what should be entered at Mount Point?
Click to expand...
Click to collapse
Any path on the phone. /sdcard/cifs/media works fine for me.
Sent from my HTC Desire using XDA App
Can someone explain how I would use this to access music on my home computer - I have a dns service so that I can remotely access the computer - using the built in htc music player, or is this not possible?
From what I understand, I simply share the folder (samba) in windows but how do I point my phone at that directory?
Chimp
Bump Would love this
Note: This will only work on your home Wifi network. If you want to make use of files from your home PC over 3G, you might want to use a VPN.
You'll need a rooted device and a custom kernel that allows CIFS. All AOSP ROMs use CIFS enabled kernels, but if you use a Sense ROM then you may need to install a newer kernel to get this to work (see the "all things Desire" thread in the "Desire Android Development" subforum for kernel options).
Install CifsManager from the market. Find the file 'cifs.ko' on your phone and make sure that the 'path to cifs.ko' in the CifsManager settings points to it.
You'll need to know:
- Your PC's IP address (i.e. 192.168.0.10)
- The name of the share you've created (i.e. Media)
- The name of the Windows user allowed to access the share (i.e. smeddy)
- The password of the Windows user allowed to access the share (i.e. 53cr3t)
In CifsManager, press menu, 'Add new share' and enter the above details. Press on the line in CifsManager with the red dot on the right. The dot should turn green. From now on, to use files from your PC on your phone, just open CifsManager and tap the share to connect.
You should now be able to access the files from the share on your PC as if they were located in /mnt/cifs/<share name> (if you have S-OFF) or /sdcard/mnt/cifs/<share name> (if you haven't).
I was thinking that a folder in the phone can be added as a share and accessed as a shared folder from a Windows 7 PC (the reverse of that mentioned here) using CIFs manager. Can this be done? If so can someone post detailed steps please?
No, as far as I know, that doesn't work yet.
What you'd need for that is an Android port of Samba. Some people over in the Android Software Development forums are discussing that, but I don't think it's working (yet). Edit: Apparently it is. See this thread for more information.
There are several FTPd's for Android in the market, though. That could do much the same thing.
@Cuchulainx
WOW! Thanks man. I was having trouble getting this to work. Couldn't seem to make a connection to my PC shares. Now with your help it works superb.
I can open word documents and excel spreadsheets on my phone from my computer and edit them with Quickoffice. Awesome.
Can also wirelessly transfer files from PC to phone. Cool.
Cheers mate. Clever boy!
great!!want to have a try, but don't know how to start~~
is there any way to get cifsmanager work with windows 7 which doesn't have a password? i get "I/O error" all the time.
Hi!
I've recently bought an 101 G9 turbo and this far I'm pretty satisfied with it. However there is one thing that I can't get working (that should work) and that is mounting windows shares.
When going through the "Files" application, I can see the workgroup "WORKGROUP" and after clicking on that I can see my computer, after clicking on that I get a username/password popup, so far so good. After entering the correct user name and password however the popup just appears again! Checking in dmesg or logcat shows the following error:
"CIFS_VFS: cifs_mount failed w/ return code = -6"
After some googling this turns out to be the error thrown when you're trying to mount a share that doesn't exist. Now, I'm thinking that I'm not actually trying to mount a share yet. I'm trying to "browse" what shares are available on my computer.
Now to the questions:
- Has this _ever_ worked for anyone? (It seems to me that it's trying to mount the computer as a share)
- Is it somehow possible to specify which share I want to mount (eg. //192.168.1.2/Videos) without "browsing" to it?
Thanks alot
ergoen
This is a common issue at the moment and to get around it just use a new file explorer from the app store (I use ES File explorer). Make sure that windows is set to share it on the network too as by default it just shares with home group.
Psi.
Hi everyone today I encountered a problem trying to play SG: dead zone whit my PS generic joystick, the problem was that I had the spinning camera and I figured out, I made a keylayout for the controller I think this layout can be use whit others joysticks and here its, if you want to try it the only thing you gonna need is the id vendor and id product that you can get it whit terminal emulator by typing
Code:
cat /proc/bus/input/devices
and search for the usb section, then just rename the file
Code:
Vendor_XXXX_Product_XXXX.kl
in my case I named it as
Code:
Vendor_0810_Product_0003.kl
just change to your device vendor and product id and put it to
Code:
/system/usr/keylayout/
remember it is just for a PS generic joystick and you need to be rooted. Sorry for my bad English! hope it helps
Can someone please help im trying to copy files from my FTV to a usb stick as i have 2 other FTV's and want to take the xbmc data log (org.xbmc.xbmc) from my existing FTV and put on the other 2 as i have it all personalised with favourites ect, I have managed to do this in the past but for some reason every time i try to copy to usb i get an error and am unable to do it, (im not in front of the ftv now but error is something like read only directory), really hoping someone can help
my FTVs are all fully rooted
paul.savo said:
Can someone please help im trying to copy files from my FTV to a usb stick as i have 2 other FTV's and want to take the xbmc data log (org.xbmc.xbmc) from my existing FTV and put on the other 2 as i have it all personalised with favourites ect, I have managed to do this in the past but for some reason every time i try to copy to usb i get an error and am unable to do it, (im not in front of the ftv now but error is something like read only directory), really hoping someone can help
my FTVs are all fully rooted
Click to expand...
Click to collapse
http://forum.xda-developers.com/fire-tv/development/busydrop-1-0-ssh-busybox-fire-tv-t2910548
If you can use this to get ssh set up you can easily copy any files to your PC then copy them onto the USB drive or wherever you need them. If you can't do this there is another way with the adbfire tool but I'm not sure if you can pull from that location with that tool. You can also use pull through adb. Hopefully someone who is more familiar with it can give you the exact command how to pull that particular file.
paul.savo said:
Can someone please help im trying to copy files from my FTV to a usb stick as i have 2 other FTV's and want to take the xbmc data log (org.xbmc.xbmc) from my existing FTV and put on the other 2 as i have it all personalised with favourites ect, I have managed to do this in the past but for some reason every time i try to copy to usb i get an error and am unable to do it, (im not in front of the ftv now but error is something like read only directory), really hoping someone can help
my FTVs are all fully rooted
Click to expand...
Click to collapse
Regardless of rootness. You can also use [APP] [Windows] Amazon FireTV Utility App v0.30 to back it up to C:\FTV\Kodi . Although not as fast as SSH it is still very dependable & very easy to use...
So I have been side loading apps, some games I want to play on the TV, but they won't work with a ps4 controller. I've done tested the gamepad with gamepad tester, it is actually all pretty spot on, just no start button. Regardless when I side load say Ducktales, it recognizes the X button. But nothing else. It's really odd.
I use this gamepad for emulators
http://amzn.to/1TG4nJX
You can change the kl keylayout files.
You can find the *.kl files in “/system/usr/keylayout/”.
There should be a file called “Vendor_YOUR-BT-CONTROLLER-V-ID_Product_YOUR-BT-CONTROLLER-P-ID.ki”.
You should be able to pull that files with:
adb pull /system/usr/keylayout/Vendor_YOUR-BT-CONTROLLER-V-ID_Product_YOUR-BT-CONTROLLER-P-ID.ki DESTINATION_OF_YOUR_CHOISE
Click to expand...
Click to collapse
To find out 100% the vendor and product ID of your controlling-devices, just connect your device and start
adb shell
Click to expand...
Click to collapse
and put
cat /proc/bus/input/devices
Click to expand...
Click to collapse
into it.
There should be the name of the device and the needed informations.
Then just google: “Vendor_YOURID_Product_YOURID.ki”
I found 3 ones, all working great for my Xiaomi BT controller.
You can also check the inputs and perhaps it is possible to install “Hacker’s Keyboard” app and you will be able to create your own ki-Files by getting the buttons and write them down in your ki file.
Greetings by Idijt
I am trying to map an Ouya controller
What's the easiest way to get the kl files to “/system/usr/keylayout/ after googling: “Vendor_YOURID_Product_YOURID.ki” ?
Is root needed?
quote:
You can change the kl keylayout files.
You can find the *.kl files in “/system/usr/keylayout/”.
There should be a file called “Vendor_YOUR-BT-CONTROLLER-V-ID_Product_YOUR-BT-CONTROLLER-P-ID.ki”.
You should be able to pull that files with:
Quote:
adb pull /system/usr/keylayout/Vendor_YOUR-BT-CONTROLLER-V-ID_Product_YOUR-BT-CONTROLLER-P-ID.ki DESTINATION_OF_YOUR_CHOISE
To find out 100% the vendor and product ID of your controlling-devices, just connect your device and start
Quote:
adb shell
and put
Quote:
cat /proc/bus/input/devices
into it.
There should be the name of the device and the needed informations.
Then just google: “Vendor_YOURID_Product_YOURID.ki”
I found 3 ones, all working great for my Xiaomi BT controller.
You can also check the inputs and perhaps it is possible to install “Hacker’s Keyboard” app and you will be able to create your own ki-Files by getting the buttons and write them down in your ki file.
Please read this tutorial carefully (take some time for this process)
http://gustavepate.github.io/blog/20130714/android-keyboard-layout-logitech-tablet-keyboard/
Greetings by Idijt