Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
KIII AMLOGIC S905 Not picking up usb controllers (works with others)
Collapse
X
-
Originally posted by darro87 View Post
-
Originally posted by cmac86 View Post
Cheers mate. The app i used is the one you've mentioned I had that downloaded from before and when I tested with it the buttons I said that didn't work throw out a 0 where the buttons that work give for example 96 and 97 etc. Basically the app knows there is button presses but it returns a 0. I also was on my way to making a kl file after doing some reading when I got stuck with the buttons showing a 0 instead of a number to use. I'm not sure what to do from there tho. Any ideas? I've learned quite alot in the last few days and that's down to yourself mate. Much appreciated.
Comment
-
Originally posted by darro87 View Post
Hmm..maybe. Open up terminal and enter 'getevent' ..it'll list devices connected. Plug in your controller and see if it pops up as a new device. Once it does, take note of which device it is, then press a key. The screen should fill up with some numbers, you'll have to sort through to pinpoint the values you need. The buttons will have a more or less sequential or grouped set of codes, so you can use that to figure out what numbers represent the key codes. For example, my controller had 0130, 0131, 0132, etc pop up when i pressed keys, and those corresponded to my key codes (I double checked my kl to verify). See if you have similar luck with yours.
Comment
-
Originally posted by cmac86 View Post
Hey darro. I used gamepad test again and now I noticed that if I press either L1 R1 Y and X they all seemed to be linked to each other. If I was to press R1 on the gamepad app L1 Y and X also show they are being pressed. Very strange. I'm going to do some testing on my laptop with an emulator to see if the buttons are in fact the same or if I can key map them to work with something else. This will tell me that the controller does work or does not (could be the cheap controllers fault) maybe this is the reason all those buttons are showing a 0.
Comment
-
Originally posted by darro87 View Post
I think they appear linked because they all default to the same mapping (hopefully). Did the 'getevent' test give the same codes for each button as well? If not, then you should be fine, just need to map them out into the kl file. If you're having trouble reading the codes, hook up the controller and cycle through ABXY, then take a pic and post it here, I'll see if I can help decipher it with you.
I seem to be stuck with getting both ff-memless and hid-dr to run at boot with script manager, ive found both files in the directory where i put them from the start and edited them to show as a script and to have su permissions and boot at startup. It doesn't seem to work. For the minute i dont mind loading them via terminal but would love it to run at boot.Last edited by cmac86; 07 January 2017, 18:05.
Comment
-
Glad you got through it man! Congrats!
I had a lil trouble with the script myself, so hopefully I can save you some time here as well. You can try:
Code:cd /storage/emulated/legacy/ insmod ff-memless.ko insmod hid-dr.ko
The options I set on my file are:
The issue I had in the earlies was putting su in the script itself, rather than just setting the su (and boot) parameter via ScriptManager as shown in the pic. Hopefully using it this way will work for you too.
Let me know.
Comment
-
Originally posted by darro87 View PostGlad you got through it man! Congrats!
I had a lil trouble with the script myself, so hopefully I can save you some time here as well. You can try:
Code:cd /storage/emulated/legacy/ insmod ff-memless.ko insmod hid-dr.ko
The options I set on my file are:
The issue I had in the earlies was putting su in the script itself, rather than just setting the su (and boot) parameter via ScriptManager as shown in the pic. Hopefully using it this way will work for you too.
Let me know.
Also when I used script manager I went to the directory (root as you've shown me) clicked on ff-memless.ko first and edited just like you have in your screenshot, I done this originally before ive read your last post but after saving and rebooting it still didn't work.
So can I remake my steps.
In terminal I do the steps to get the controller connected
(cd /storage/emulated/legacy/
insmod ff-memless.ko
insmod hid-dr.ko)
Once connected I open SM, then from there I find root directory where both files are. I then edit ff-memless.ko to be used as a script and tick boot su and fav. Do this the same for hid-dr.ko. Save then exit. reboot with no success,
Thanks for helping me darro. honestly appreciate it mate.
Comment
-
Originally posted by cmac86 View Post
Not sure I get what you mean mate? Is it possible to enter commands in Script manager? like "cd /storage/emulated/legacy/"
Also when I used script manager I went to the directory (root as you've shown me) clicked on ff-memless.ko first and edited just like you have in your screenshot, I done this originally before ive read your last post but after saving and rebooting it still didn't work.
So can I remake my steps.
In terminal I do the steps to get the controller connected
(cd /storage/emulated/legacy/
insmod ff-memless.ko
insmod hid-dr.ko)
Once connected I open SM, then from there I find root directory where both files are. I then edit ff-memless.ko to be used as a script and tick boot su and fav. Do this the same for hid-dr.ko. Save then exit. reboot with no success,
Thanks for helping me darro. honestly appreciate it mate.
That's not exactly how it works. You should undo those, ie delete the config for running those 2 files at boot etc.
What you have to do, is in the menu for script manager, click 'New Script'. Open it up in the SM Editor, and paste (or type) the code I gave you above. Once you save that, you set the 'su' and 'boot' parameters on that script file you created, and it'll run the script on boot with su permissions, which will insmod the ko files for you.
Sorry I wasn't clear on it earlier, my bad.
Let me know if you're successful!
Comment
-
Originally posted by darro87 View Post
Oh, I see the issue.
That's not exactly how it works. You should undo those, ie delete the config for running those 2 files at boot etc.
What you have to do, is in the menu for script manager, click 'New Script'. Open it up in the SM Editor, and paste (or type) the code I gave you above. Once you save that, you set the 'su' and 'boot' parameters on that script file you created, and it'll run the script on boot with su permissions, which will insmod the ko files for you.
Sorry I wasn't clear on it earlier, my bad.
Let me know if you're successful!
Comment
-
Originally posted by Hez13 View PostDoes the .ko file also works with s905x devices?
Sent from my GT-I9505G using Tapatalk
I have used a couple s905 ko files successfully on s905x devices. It may work for you as well, but I can't guarantee. There is no harm in trying however, as if they are incompatible, you'll just get an error message.
Hope this helps.
Comment
-
Hi,
I'm searching the hid-dr.ko driver module(Dragonrise USB HID Gamepads. (Vendor_0079_Product_0006)) that works with a "Bqeel Y4 Max", S905X2, Android 8.1 and Kernel 4.9.76
I tried the one which has already been posted in this tread, but it give me this error: "insmod: failed to load hid-dr.ko: Exec format error"
Any help is greatly appreciated!
Comment
What's Going On
Collapse
There are currently 3338 users online. 2 members and 3336 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment