Closed josteink closed 11 years ago
In file asusdec/jni/com_cyanogenmod_asusdec_KeyHandler.cpp
change
#define ASUSDEC_DEV "/dev/asusdec"
to
#define ASUSDEC_DEV "/dev/asusec"
have you tried this? the tf700 code changed to asusdec in most places and the java lib is now asusdec.
Building and testing it now.
Besides dev asusec exists unlike asusdec ;)
That's certainly embarrassing.
Makes sense, I figured that the mount point would have been changed with the rest of the code. Where is that getting set?
$ grep -R "asusec" * | wc -l
88
Evidently all over the place :)
Seriously though, I don't see where it's getting set, but I'm trying the build now with that slight modification and it seems to do have an effect. It makes the entire dock unusable after pressing the touchpad toggle. Undocking and redocking is no good :)
I guess a little bit more work is needed, but in all fairness, it does disable the touchpad as well. Lol.
lol, almost all defines for keyboard languages.
The /dev mountpoint is here: ramdisk/ueventd.ventana.rc:/dev/asusec 0660 system system
I'm thinking that I'll go through later and update all of the references to asusdec, including the one for the keyhandler, just for consistency.
Retesting now, it actually does work.
If you want to clean up the references later, that's all cool too, but right now I'll do a push and consider this fixed.
Sounds good to me.
I decided not to update the code to asusdec because I found that the kernel relies on asusec and the asusec mount point.
Then we'll leave it at that and I honestly don't see a problem with it.
Investigate TF300T & TF700T codebase to see if we got freebies we can port from here.