![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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! |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() 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? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |