Re: Problem in loading module of Software trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Insmod will not pick up dependencies in the same way modprobe will.

Make sure to also insmod industrialio.ko and iio-sw-trigger.ko before the sw trigger module. I
 think those are the only ones you will need.

J



On 26 March 2017 08:02:05 BST, SIMRAN SINGHAL <singhalsimran0@xxxxxxxxx> wrote:
>I read this documentation "Documentation/iio/iio_configfs.txt" for
>creating software trigger.
>
>So, by following this I created the module with name iio-trig-sample.c
>in drivers/iio/trigger/.
>
>iio-trigger-sample.c also compiled successfully.
>
>Now, when I tried to insert module:
>
>$ sudo insmod iio-trig-sample.ko
>insmod: ERROR: could not insert module iio-trig-sample.ko: Unknown
>symbol in module
>
>Ans in /var/log/kern.log:
>I am getting following reason:-
>iio_trig_sample: Unknown symbol iio_unregister_sw_trigger_type (err 0)
>iio_trig_sample: Unknown symbol iio_register_sw_trigger_type (err 0)
>--
>To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux