Thanks for the diagnosis Stef. Your log shows the overrun is when you write the last bits of the page - it then zeroed the next byte in preparation to write another bit. I've fixed this by only zeroing out this byte when about to write. I've also removed the +1 from the color page writes - they shouldn't be necessary.
Thanks for the diagnosis Stef. Your log shows the overrun is when you write the last bits of the page - it then zeroed the next byte in preparation to write another bit. I've fixed this by only zeroing out this byte when about to write. I've also removed the +1 from the color page writes - they shouldn't be necessary.
http:// bazaar. launchpad. net/~simple- scan-team/ simple- scan/trunk/ revision/ 567