View Single Post
Old 08-20-2018, 12:29 PM   #16
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Ok, reinstalled the fb-ink from this thread.

Code:
[root@(none) ~]# hexdump -x /dev/input/event1
0000000    eb30    5b7a    19c6    000c    0003    0001    0240    0000
0000010    eb30    5b7a    19eb    000c    0003    0000    03ec    0000
0000020    eb30    5b7a    19f7    000c    0003    0018    0065    0000
0000030    eb30    5b7a    1a03    000c    0001    014a    0001    0000
0000040    eb30    5b7a    1a0d    000c    0000    0000    0000    0000
0000050    eb30    5b7a    5867    000d    0003    0018    0000    0000
0000060    eb30    5b7a    588f    000d    0001    014a    0000    0000
0000070    eb30    5b7a    5898    000d    0000    0000    0000    0000

[root@(none) ~]# button_scan -p
[FBInk] Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°)
[FBInk] Fontsize set to 24x24 (IBM base glyph size: 8x8)
[FBInk] Line length: 45 cols, Page size: 60 rows
[FBInk] It's a perfect fit!
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes
[FBInk] Kernel's HZ value appears to be 100
Button color is expected to be #D9D9D9
We need to match two buttons each between 135 and 270 pixels wide!
Looking for buttons in a 810x432 rectangle, from (54, 792) to (864, 1224)
Failed end of match after 1 consecutive matches @ (522, 825)
Failed end of match after 1 consecutive matches @ (313, 826)
Failed end of match after 1 consecutive matches @ (385, 827)
Failed end of match after 1 consecutive matches @ (463, 827)
Failed end of match after 1 consecutive matches @ (501, 827)
Failed end of match after 1 consecutive matches @ (560, 827)
Failed end of match after 1 consecutive matches @ (120, 886)
Failed end of match after 1 consecutive matches @ (217, 902)
Failed end of match after 1 consecutive matches @ (110, 910)
Failed end of match after 1 consecutive matches @ (151, 914)
End of match 1 after 184 consecutive matches @ (390, 989)
End of match 2 after 184 consecutive matches @ (584, 989)
Matched on a 184x70 button! :)
x=1024, y=588
H2OČr1: x=415, y=491
Pressing the Connect button . . .
On iteration nr. 0, pixel (540, 1439) was #FFFFFF
On iteration nr. 1, pixel (540, 1439) was #FFFFFF
On iteration nr. 2, pixel (540, 1439) was #FFFFFF
On iteration nr. 3, pixel (540, 1439) was #FFFFFF
On iteration nr. 4, pixel (540, 1439) was #FFFFFF
On iteration nr. 5, pixel (540, 1439) was #FFFFFF
On iteration nr. 6, pixel (540, 1439) was #FFFFFF
On iteration nr. 7, pixel (540, 1439) was #FFFFFF
On iteration nr. 8, pixel (540, 1439) was #FFFFFF
On iteration nr. 9, pixel (540, 1439) was #FFFFFF
On iteration nr. 10, pixel (540, 1439) was #FFFFFF
On iteration nr. 11, pixel (540, 1439) was #FFFFFF
On iteration nr. 12, pixel (540, 1439) was #FFFFFF
On iteration nr. 13, pixel (540, 1439) was #FFFFFF
On iteration nr. 14, pixel (540, 1439) was #FFFFFF
On iteration nr. 15, pixel (540, 1439) was #FFFFFF
On iteration nr. 16, pixel (540, 1439) was #FFFFFF
On iteration nr. 17, pixel (540, 1439) was #FFFFFF
On iteration nr. 18, pixel (540, 1439) was #FFFFFF
On iteration nr. 19, pixel (540, 1439) was #FFFFFF
[FBInk] Failed to press the Connect button!
patrik is offline   Reply With Quote