Description
The following note about term emulator vs. console seems to suggest that in a virtual console we always see the output of printk
(or pr_info
, or others) in the terminal. It doesn't seem to be the case. I always have to check sudo dmesg
to find whatever I print from within the module.
Furthermore the note mention journalctl
, but that shows the action of insmod
and rmmod
that I perform, not the output of the printing functions; again, that is shown in dmesg
, which is unfortunately used but not presented first, just like journalctl
.
I'm still at the beginning (I've read up to chapter 5.6 "Device Drivers"), but I think this is exactly what gives value to my comment.
Should I have better understanding in the future, I'll try to improve this wording myself, if somebody will not have done it yet.
Lines 167 to 180 in 7b38f37