pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.22k stars 308 forks source link

Can you create a patch for Moto E condor? #116

Closed necessary129 closed 6 years ago

necessary129 commented 6 years ago

The patching is not working for kernel 3.04 for condor.

patching file drivers/usb/gadget/Makefile
patching file drivers/usb/gadget/android.c
Hunk #2 succeeded at 2253 (offset 21 lines).
Hunk #3 succeeded at 2321 (offset 21 lines).
Hunk #4 succeeded at 2650 (offset 21 lines).
patching file drivers/usb/gadget/f_hid.c
Hunk #3 FAILED at 179.
Hunk #4 FAILED at 233.
Hunk #5 FAILED at 247.
Hunk #6 succeeded at 298 (offset 11 lines).
Hunk #7 succeeded at 399 (offset 11 lines).
Hunk #8 succeeded at 418 (offset 11 lines).
Hunk #9 succeeded at 522 (offset 11 lines).
Hunk #10 succeeded at 594 (offset 11 lines).
Hunk #11 succeeded at 616 (offset 11 lines).
Hunk #12 succeeded at 666 (offset 11 lines).
Hunk #13 succeeded at 717 (offset 11 lines).
3 out of 13 hunks FAILED -- saving rejects to file drivers/usb/gadget/f_hid.c.rej
patching file drivers/usb/gadget/f_hid.h
patching file drivers/usb/gadget/f_hid_android_keyboard.c
patching file drivers/usb/gadget/f_hid_android_mouse.c
conrad-heimbold commented 6 years ago

Please try to fix the patch errors manually.

  1. Find every file $FILE that also has a $FILE.rej
  2. Compare $FILE and $FILE.rej and find out, which patches are necessary.