Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2021, 08:05 PM   #1
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Emulating Nickel + touch input

Hi,
I've been working hard these last few days to try to get the Kobo firmware working in a QEMU-system-arm virtual machine (i.e. emulating a Kobo in a x86 PC)

I've successfully (and surprisingly) been able to build a cross-compiled Linux kernel, boot the stock filesystem and firmware of a Glo HD (with a disk image formatted in 3 partitions (rootfs, recoveryfs and onboard), and I gasped when I saw the Nickel setup welcome screen with language selection on a QEMU window. This was quite unexpected and of course it has cleared off many of my concerns in emulating/faking/redirecting a framebuffer to output via VNC or something like that.
I've also successfully got to a BusyBox shell where I can type commands and stuff.

But now that I've got into Nickel, I can't use it at all. Why? Touch input. (of course)
Sure it was not going to be easy... Do someone know how to simulate/emulate touch events that Nickel can understand?

I joined two screenshots of my QEMU window, if that can help you. One shows it in a console output mode, when it uses all the 1024x768 res. and the other shows Nickel covering about half of the screen.

Any help would be much appreciated.
Thanks!
Attached Thumbnails
Click image for larger version

Name:	console.png
Views:	348
Size:	42.6 KB
ID:	184731   Click image for larger version

Name:	nickel.png
Views:	373
Size:	26.5 KB
ID:	184732  
NiMa is offline   Reply With Quote
Old 04-15-2021, 02:15 PM   #2
shokara
Junior Member
shokara began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2021
Device: Kobo Clara HD
Hello,

Sorry but I don't know how to emulate touch input in QEMU, but may I ask how you got QEMU to boot into Nickel?
shokara is offline   Reply With Quote
Advert
Old 04-15-2021, 10:32 PM   #3
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Quote:
Originally Posted by shokara View Post
Hello,

Sorry but I don't know how to emulate touch input in QEMU, but may I ask how you got QEMU to boot into Nickel?
It was done in about one week, I had to compile a custom kernel for QEMU and recreate the SD card layout in a qcow2 image. Magically Nickel somehow decided that it would print no problem on the framebuffer, so that was great. But input is the boundary where I stopped. It's the limit. Without possible interaction with Qt, you can't do much but try things in the CLI, which is great but not really the point of having this emulator.
NiMa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulating Kobo firmware in virtual machine NiMa Kobo Developer's Corner 3 08-20-2020 01:08 PM
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel tonyv Kobo Developer's Corner 2 12-27-2012 09:35 AM
Touch Nook Simple Touch emulating PlayStation 1 games Dopedangel Barnes & Noble NOOK 1 09-09-2012 09:40 AM
iRex 1000 vs 1000S: Can I disable touch input? oddity iRex 4 05-04-2009 10:15 AM


All times are GMT -4. The time now is 10:58 PM.


MobileRead.com is a privately owned, operated and funded community.