Re: Device driver on userland
Ernesto Bascón wrote:
Hi everybody:
Is it possible creating a device driver on userland?
It's possible to drive devices from user space. You need the kernel's
help in obtaining a map of their I/O space. The X server's graphics
drivers access video cards from user space, for instance.
Would your driver have to respond to interrupts from the device? That
is tricky; you need something like Peter Chubb's user space interrupt
patch.
.
Relevant Pages
- Re: [PATCH] uio: User IRQ Mode
... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ... This can easily be done without your patch. ... (Linux-Kernel) - Re: [PATCH] uio: User IRQ Mode
... This patch adds a "User IRQ Mode" to UIO. ... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ... (Linux-Kernel) - Re: [PATCH] uio: User IRQ Mode
... This patch adds a "User IRQ Mode" to UIO. ... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ... (Linux-Kernel) - Re: PCI lib for 2.4 //kwds: pci, dma, mapping memory, kernel vs. user-space.
... They are *all* you can use for a user-space driver. ... internal kernel interfaces that are not accessible from user space. ... You should be able to do high speed data streaming from user space -- ... I'm measuring 10 microseconds from a PCI board asserting an interrupt ... (Linux-Kernel) - Re: Writing to a device at a known physical address
... Your program would fail at least on this architecture. ... and hardware registers instead. ... is how do I access /dev/mem from user space? ... Every example driver I've ... (comp.os.linux.embedded) |
|