You are not logged in.

#1 2024-04-18 14:30:24

steve_better
Member
Registered: 2021-07-04
Posts: 2

systemd, fbkeyboard

My console is on tty1. The login interface appears. I would like to use fbkeyboard to input characters.
So I created a systemd service for fbkeyboard as below:

[Unit]
Description=fbkeyboard

[Service]
Type=simple
ExecStart=/home/*/fbkeyboard -d /dev/input/event2  -f /usr/share/fonts/truetype/noto/NotoSans-Bold.ttf
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty1
Restart=on-failure
RestartSec=10
KillMode=process

[Install]
WantedBy=multi-user.target

But it didn't work.

I can use fbkeyboard with the same kernel in alpine linux with "tty1::respawn:/usr/bin/fbkeyboard -d /dev/input/event2" in inittab. (fbkeyboard recompiled, not problem of fbkeyboard)
Can anyone help?


----
I tried buffyboard with service file like the above. The system gets frozen and sometimes reboots itself.
fbkeyboard works fine on the device with the same kernel and a postmarketOS rootfs. The above service file is on a ubuntu rootfs.

Last edited by steve_better (2024-04-22 10:31:57)

Offline

Board footer

Powered by FluxBB