beautypg.com

Lanner AV-ICE02 User Manual

Page 28

background image

Software User Manual Version 1.0.1

25

4.2.2 Test

Results

When running the application in kernel space, open a second terminal window, log in

as root, and issue the following command:

# tail –f /var/log/messages

When running the application in user space, the results are printed to the terminal
window in which the application is launched.

Here is an example of the log messages created during the test:

4.2.3

Unloading the Sample Code

Once the kernel space sample code test has completed, the message Sample Code
Complete
is displayed. The module can then be unloaded using the following
command:

#rmmod cpa_sample_code.ko

Once the user space sample code test has completed, the kernel memory driver
qaeMemDrv.ko can be unloaded using the following command:

# rmmod qaeMemDrv.ko