rM-docker
rM-docker copied to clipboard
Add missing input devices
I've been poking around with running applications from toltec in the emulator, and quite a few of them hard code the input paths, which cause them to crash when attempting to run them. For example chessmarkable will panic if you try to run it. While it would be best to solve this by having the emulator expose the devices, another workaround would be to update the rm2fb client to spoof those paths.
reMarkable: ~/ LD_PRELOAD=/home/root/librm2fb_client.so chessmarkable
[2023-10-05T22:32:45Z DEBUG chessmarkable] Debug Mode is enabled by default.
To change this, set the env "RUST_LOG" something else (e.g. info, warn, error or comma separated list of "[module=]<level>").
[2023-10-05T22:32:45Z INFO chessmarkable::savestates] Savestates file doesn't exist (yet).
thread 'main' panicked at 'Failed to find the multitouch evdev!', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libremarkable-0.4.3/src/input/scan.rs:114:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I have the same issue (I'm also using libremarkable).
How does one expose udev devices with QEMU? I'd like to help