tail -f /var/log/messages
Enter the above command in a new shell.
On 1/18/06, Medeiros Edward M NPRI <MedeirosEM@xxxxxxxxxxxxxxxxx> wrote:
Hello,
I just wrote a simple PCI device driver based on a char device driver that someone submitted to this website. I have done the following to install the driver:
- insmod pci_char_driver.ko
- mknod /dev/pci_char_driver c 12 0
- chmod 674 /dev/pci_char_driver
When I run "lsmod" I see my driver and when I run"ls -l /dev/pci_char_driver" I see my device with the correct major and minor numbers.
The problem is that when I run "dmesg" I don't see any of the print statements I put in the "probe()" routine! Am I looking in the right place?
Where does the output for printk go?
Thank you.