On 7/6/22 09:47, A mp wrote:
Hi everyone,

My name is Andrew.

Recently, I went through the Linux Foundations intro to kernel development 
course. As part of the course, it gets us to put a print statement inside of 
the uvcvideo driver, recompile the kernel and then load the module and check 
dmesg for the print statement.

After several attempts, I was unable to find this print statement inside of 
dmesg. I know that the modified drier was compiling successfully and my custom 
kernel was indeed installed but no idea about this pr_info statement.

I tried this in Ubuntu and Fedora inside of virtualbox. Not sure if that would 
make any difference.

echo "7" > /proc/sys/kernel/printk

and make sure that you have your module listed in lsmod


Thanks,

Andrew.


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to