baskerville / plato

Document reader
Other
1.26k stars 105 forks source link

Clara 2E Support #267

Closed TheWranger closed 1 year ago

TheWranger commented 1 year ago

Support for the Clara 2E would great. Currently, the program boots but doesn't respond to the touch screen at all.

baskerville commented 1 year ago

Could you try the attached binary, select Applications → Rotation Values in the main menu, follow the instructions and post the resulting info.log?

plato-clara_2e-test01.zip

vivithecanine commented 1 year ago

It doesn't seem possible to select anything on the screen at all, or rather, you can click things but they never do anything except show they've been selected (ver 0.9.33)

IMG_20221107_163106_116

baskerville commented 1 year ago

Could you try the attached binary?

plato-clara_2e-test02.zip

vivithecanine commented 1 year ago

Could you try the attached binary?

plato-clara_2e-test02.zip

I can confirm that I can now select things with the screen with the new binary

vivithecanine commented 1 year ago

contents of info.log after running Rotation Values

Plato is running on a Kobo Clara 2E.
The framebuffer resolution is 1072 by 1448.
Tap (73, 960) (1072, 1448)
Tap (56, 87) (1072, 1448)
Tap (1371, 56) (1072, 1448)
Tap (1343, 1014) (1072, 1448)
Framebuffer rotation: 0 -> 0.
Tap (73, 59) (1448, 1072)
Framebuffer rotation: 1 -> 1.
Tap (1400, 38) (1072, 1448)
Framebuffer rotation: 2 -> 2.
Tap (1406, 1021) (1448, 1072)
Framebuffer rotation: 3 -> 3.
Tap (106, 1026) (1072, 1448)
Framebuffer rotation: 3 -> 3.
Startup rotation: 3.
Mirroring scheme: (2, 1).
umount: can't unmount /mnt/onboard: Device or resource busy
insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/configfs.ko': invalid module format
insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/libcomposite.ko': invalid module format
insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/usb_f_mass_storage.ko': invalid module format
baskerville commented 1 year ago

The rotations values seems fine already.

Does the interface rotate correctly when you rotate the device?

vivithecanine commented 1 year ago

I have Gyroscope set to Auto (the default) and it does not rotate

baskerville commented 1 year ago

Could you also try:

TheWranger commented 1 year ago

Sorry, went overseas the day I made this issue and haven't had internet till now. Frontlight (as well as warmth control) and WiFi seem to be working fine with this binary. Thanks!

plato-clara_2e-test02.zip