Welcome to the Linux Foundation Forum!

Using UIO driver without a real HW


I am working on an Ubuntu PC and I am trying to use the UIO driver.
I want to use the generic PCI UIO driver and then add some stuff to it.
The problem is that currently I do not have the PCI hardware but still I want to start developing the driver and the user space driver.
Without the HW the kernel does not recognize that I have a new device ,does not attache the UIO instance to it and does not to start the driver.
Due to that I do not have /dev/uio0 that I can work with.
Is there a way to tell the kernel to initiate the driver anyway, or to emulate a PCI device?
Thank you


Upcoming Training