danitool / openwrt-pkgs

my custom OpenWrt packages: lirc and others
GNU General Public License v2.0
9 stars 4 forks source link

can't install module #1

Closed mehmetserter closed 8 years ago

mehmetserter commented 8 years ago

Hi, the lirc packages build without error but insmod gives the following error: kmod: failed to insert /lib/modules/3.10.49/lirc_gpio_generic.ko

the kernel is patched with "728-MIPS-ath79-add-gpio-irq.patch"

I'm using openwrt BB on ar71xx

danitool commented 8 years ago

Check that you're not using any gpio already used by the kernel. GPIOs for leds or buttons cannot be used by default because they are already handled by other kernel drivers.

mehmetserter commented 8 years ago

Thank you for your reply, It turns out I had to add dependecies (+libusb +libftdi) to lirc package as well, and kernel clean solved the issue.