Installation of the module
Firstly, check the modules now installed and confirm that there is no real time task module:
% lsmod
Module Size Used by Tainted: PF
mbuff 8492 0
rtl_sched 30368 0
rtl_fifo 10848 0 (unused)
rtl_posixio 8052 0 [rtl_fifo]
rtl_time 7084 0 [rtl_sched rtl_posixio]
rtl 21232 0 [rtl_sched rtl_fifo rtl_posixio rtl_time]
vmnet 23656 6
vmmon 27444 0 (unused)
Next, install the module `rect_module.o' by the command `insmod' such as:
% insmod rect_module.o
Warning: loading rect_module.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module rect_module loaded, with warnings
Check if the module is installed correctly:
% lsmod
Module Size Used by Tainted: PF
rect_module 1872 0 (unused) <--- This means the module is installed correctly.
mbuff 8492 0
rtl_sched 30368 0 [rect_module]
rtl_fifo 10848 0 (unused)
rtl_posixio 8052 0 [rtl_fifo]
rtl_time 7084 0 [rect_module rtl_sched rtl_posixio]
rtl 21232 0 [rtl_sched rtl_fifo rtl_posixio rtl_time]
vmnet 23656 6
vmmon 27444 0 (unused)
Now, the square wave has been occurred on D/A board.
Check the wave form by the oscilloscope.