Comments (15)
Yes, I can do this but I will need few days.
from android-keyboard-gadget.
Could you please try
echo 0 > /sys/class/android_usb/android0/enable
echo mtp,adb,hid > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
hid should be added to that list automatically inside driver, but for some
reason this does not happen on your kernel.
thanks for the patch. I applied it on the dirtyunicorn kernel 3.4.109 for
the HTC oneM8. ->
https://github.com/DirtyUnicorns/android_kernel_htc_msm8974.
Every thing looked good excepts that /dev/hidg* are not created.
i have the following if that can help:
root@htc_m8:/ # cat /proc/devices | grep hidg
229 hidg
root@htc_m8:/ # cat /sys/class/android_usb/android0/functions
mtp,adb
I tried to create with mknod but i had "no such device or address"
Is there something that i could do to make it work?
—
Reply to this email directly or view it on GitHub
#43.
from android-keyboard-gadget.
i don t have enabled
root@htc_m8:/ # echo 0 > /sys/class/android_usb/android0/enable
tmp-mksh: can't create /sys/class/android_usb/android0/enable: No such file or directory
from android-keyboard-gadget.
i dont have CONFIG_USB_G_HID enabled in my kernel. Could it be some configuration problems?
from android-keyboard-gadget.
Yes, probably.
On Dec 1, 2015 2:11 AM, "rudius" [email protected] wrote:
i dont have CONFIG_USB_G_HID enabled in my kernel. Could it be some
configuration problems?—
Reply to this email directly or view it on GitHub
#43 (comment)
.
from android-keyboard-gadget.
i have currently android composite gadget selected in my conf. It seems i can t have both (HID gadget and android composite gadget) I assume the correct one is android composite gadget?
from android-keyboard-gadget.
Yes, you need Andrid composite gadget, the driver is compiled with it.
On Dec 1, 2015 2:27 AM, "rudius" [email protected] wrote:
i have currently android composite gadget selected in my conf. It seems i
can t have both (HID gadget and android composite gadget) I assume the
correct one is android composite gadget?—
Reply to this email directly or view it on GitHub
#43 (comment)
.
from android-keyboard-gadget.
HTC has modified the code to manage differently the gadget driver. I have made it work on my phone. The patch should be good with all kernel for it (HTC oneM8). I will close the issue. Let me know if you want to add the patch to your repo.
And a big thanks for your work! It s awesome.
from android-keyboard-gadget.
If you publish your compiled kernel anywhere, like XDA, I would like to
mention it in the readme in my repo.
On Thu, Dec 3, 2015 at 12:22 AM, rudius [email protected] wrote:
HTC has modified the code to manage differently the gadget driver. I have
made it work on my phone. The patch should be good with all kernel for it
(HTC oneM8). I will close the issue. Let me know if you want to add the
patch to your repo.
And a big thanks for your work! It s awesome.—
Reply to this email directly or view it on GitHub
#43 (comment)
.
from android-keyboard-gadget.
Is this patch now somewhere available? If would be great if you can provide it.
And would it work also for the htc one m7?
Thanks!
from android-keyboard-gadget.
push...
@rudius It would be really great if you can provide the patch for the m8! Thanks!
from android-keyboard-gadget.
FYI:
I solved it now by myself. PR: #58
from android-keyboard-gadget.
Could someone please upload the compiled kernel for the M8? I tryed to do it myself but it didn't worked....
from android-keyboard-gadget.
@tejado, when are you going to upload the kernel ?
from android-keyboard-gadget.
i know im really late to this, but has anyone compiled one? At least give me a link if you find anything pls and thank u
from android-keyboard-gadget.
Related Issues (20)
- Some Questions...Pls Help HOT 2
- Stuck on opening HOT 10
- need hid patch for 4.4.117 kernel
- Ji
- Keyboard
- Require patch for samsung grand 2
- nokia 1020 HOT 1
- No f_hid.c found pls help
- pelya/Android_keyword gadget
- Permissions bug HOT 2
- rdp support HOT 1
- could you add support for samsung galaxy j3 (2016)
- Please send the poc_android files
- what is the VNC password?
- Pin
- How to get or Where can i find the hid-keyboard file?
- Add redmi note 4 support
- No 64bit support
- hid-gadget-test behaving strange
- Well
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-keyboard-gadget.