Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bring up fbkeyboard with systemd #6

Open
SteveBetter opened this issue Apr 22, 2024 · 0 comments
Open

bring up fbkeyboard with systemd #6

SteveBetter opened this issue Apr 22, 2024 · 0 comments

Comments

@SteveBetter
Copy link

SteveBetter commented Apr 22, 2024

I would like to bring up fbkeyboard with systemd on a phone device. So I created fbkeyboard.service as below:

[Unit]
Description=fbkeyboard

[Service]
Type=simple
ExecStart=/home/ubuntu/fbkeyboard_1 -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

The ubuntu login prompt appears, but no fbkeyboard.

When I modify the above [Install] section to
WantedBy=getty.target,
fbkeyboard appears without the login prompt and I can input characters on the blank screen.

What should I do to log in using fbkeyboard?


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant