I corrected the debug patch to handle values bigger than 0x7FFFFFFF
correctly.

I did some investigation with different pos and offset settings. I could
find out that:

when writing to the pos and the offset registers there are the following fields:
 - the vertical position (y) is a 11bit wide register at bits pos[10:0]
 - the horizontal position (x) is a 12bit wide register at bits pos[27:16]
 - the vertical offset (y) is a 7bit wide register at bits offset[6:0]
 - the horizontal offset (y) is also a 7bit wide register at bits offset[22:16]

All other bits are ignored when writing and interpreted as if they were
set to 0 by hardware.


** Attachment added: "openchrome-debug-cursor-position2.patch"
   
http://launchpadlibrarian.net/28135710/openchrome-debug-cursor-position2.patch

-- 
[K8M800] mouse pointer corruptly displayed at the bottom of the X screen
https://bugs.launchpad.net/bugs/386740
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to