On Wed, 17 Dec 2008 13:25:10 -0500, Joseph Smith joe@settoplinux.org wrote:
On Wed, 17 Dec 2008 16:10:14 +0100, Peter Stuge peter@stuge.se wrote:
Joseph Smith wrote:
I came up with this simple ppdev driver (attached) to test LED's connected to the data lines, But if all goes well it will be a good base for a Paraflasher->flashrom driver. Comments, suggestions?
Looks like it should work fine, but you can bet it will be pretty slow. :)
lmilk using direct port IO needs rougly 300 seconds to program a 256kbyte chip.
Hmm, I like the direct IO approach also, but it would be the dirty way
for
a user-space driver. ppdev user-space driver is supposed to be the politically correct way. I'm stuck between a rock, can anyone else shed some light on this? Which way should we go on this?
What about a combonation of the two. I could use the ppdev driver to control access to the parallel port and then just use direct IO reads and writes (outb and inb) directly to the port. I think if that will work, it will speed thing right up :-)