Javin Posted October 9, 2020 Posted October 9, 2020 I have a couple NanoPi (Neo, Neo 3, R2S, Neo 2 Black) devices and recently I wanted to tinker with trying to get them to be an IP KVM. The hang-up I hit is that I can't get g_hid to work. I am in way over my head but usually my google-fu gets me through. I can't find what I am looking for and it seems that most of the posts on the forum were from 2017 when there was an issue with the kernel that was supposed to be resolved. I am running Armbian 20.08.7 Bionic with Linux 5.8.13-sunxi on a NanoPi Neo (H3) but the error is on all of the devices. Anyway, the error I am getting is: root@nanopineo:~# modprobe g_hid modprobe: ERROR: could not insert 'g_hid': No such device I was reading that I needed to recompile the kernel or something along those lines to get it to work. Can anyone point me to a good tutorial for getting that part of things working? Side note: g_ether and g_serial work just fine. though post reboot it changes to g_serial and I believe I need to change that in the boot config. Thanks for any help. I appreciate it.
Werner Posted October 11, 2020 Posted October 11, 2020 Go to https://docs.armbian.com/Developer-Guide_Build-Preparation/ and setup a build environment as described. The script will do the rest for you (besides adjusting the kernel configuration and enabling the modules you need which will be easy enough via menuconfig )
Recommended Posts