Hi.
I started working on keyboard driver, and for starters I would like to detect the existance using ACPI FADT table.
It appears that the 8042 flag is marked as 0 - missing.
I'm using qemu-system-i386 for testing, with no specific configuration. is the problem is in qemu configuration ?
ACPI FADT reports missing 8042 keyboard under qemu
ACPI FADT reports missing 8042 keyboard under qemu
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: ACPI FADT reports missing 8042 keyboard under qemu
Have you checked that that field is valid in that table? If the table is of an earlier version, the field should be assumed to be "true"
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Re: ACPI FADT reports missing 8042 keyboard under qemu
According to ACPI documentation, the 8042 is valid since V2. however I didn't find any reference in the FADT table to the current table version.
Where does the FADT version is written ?
Where does the FADT version is written ?
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
Re: ACPI FADT reports missing 8042 keyboard under qemu
Found it. silly me.
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
Re: ACPI FADT reports missing 8042 keyboard under qemu
That was indeed the problem. FADT is version 1.
How come it's so old ? FADT is now at version 5. Qemu doesn't support later versions ?
How come it's so old ? FADT is now at version 5. Qemu doesn't support later versions ?
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2
Educational Purpose Operating System - EPOS
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: ACPI FADT reports missing 8042 keyboard under qemu
It doesn't need to - All the information qemu needs to provide is within the v1 structure - so it's a waste of space to provide the larger versions.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc