1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

Kernel: Expose minor device numbers for keyboard and mouse

A fix for two FIXMEs, and paving the way for multi-keyboard/mouse
support, I guess.
This commit is contained in:
Valtteri Koskivuori 2021-05-01 20:50:07 +03:00 committed by Linus Groh
parent 6536a979d8
commit 370231c05c
4 changed files with 8 additions and 12 deletions

View file

@ -101,9 +101,9 @@ static void prepare_devfs()
VERIFY(phys_group);
chown_wrapper("/dev/fb0", 0, phys_group->gr_gid);
chown_wrapper("/dev/keyboard", 0, phys_group->gr_gid);
chown_wrapper("/dev/keyboard0", 0, phys_group->gr_gid);
chown_wrapper("/dev/mouse", 0, phys_group->gr_gid);
chown_wrapper("/dev/mouse0", 0, phys_group->gr_gid);
auto tty_group = getgrnam("tty");
VERIFY(tty_group);