Giter Club home page Giter Club logo

Comments (15)

tejado avatar tejado commented on July 21, 2024 1

Yes, I can do this but I will need few days.

from android-keyboard-gadget.

pelya avatar pelya commented on July 21, 2024

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.

rudius avatar rudius commented on July 21, 2024

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.

rudius avatar rudius commented on July 21, 2024

i dont have CONFIG_USB_G_HID enabled in my kernel. Could it be some configuration problems?

from android-keyboard-gadget.

pelya avatar pelya commented on July 21, 2024

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.

rudius avatar rudius commented on July 21, 2024

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.

pelya avatar pelya commented on July 21, 2024

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.

rudius avatar rudius commented on July 21, 2024

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.

pelya avatar pelya commented on July 21, 2024

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.

tejado avatar tejado commented on July 21, 2024

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.

tejado avatar tejado commented on July 21, 2024

push...
@rudius It would be really great if you can provide the patch for the m8! Thanks!

from android-keyboard-gadget.

tejado avatar tejado commented on July 21, 2024

FYI:
I solved it now by myself. PR: #58

from android-keyboard-gadget.

AngryBananer avatar AngryBananer commented on July 21, 2024

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.

AngryBananer avatar AngryBananer commented on July 21, 2024

@tejado, when are you going to upload the kernel ?

from android-keyboard-gadget.

NTuberz avatar NTuberz commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.