Commit Graph

550 Commits

Author SHA1 Message Date
Jeremy Soller b4256fdf00 Improve ahcid error format 2022-04-19 18:03:52 -06:00
Jeremy Soller ed5257e23f Enable xhcid and make usbhidd more quiet 2022-04-13 17:01:43 -06:00
Jeremy Soller a3a76284cb xhcid: set logging filter to info 2022-04-13 09:05:26 -06:00
Jeremy Soller 8db1781146 xhcid: use actual BAR size 2022-04-12 20:34:56 -06:00
Jeremy Soller 84a20ca706 Send events to orbital 2022-04-11 20:32:50 -06:00
Jeremy Soller 220e13c2d6 Map USB keyboards using us layout 2022-04-11 20:28:44 -06:00
Jeremy Soller 8e1f91137e e1000d: use syscall::Daemon 2022-04-01 18:02:49 -06:00
4lDO2 3795ea4893 Merge branch 'update-toolchain-2022' into 'master'
Update toolchain to 2022-03-18.

See merge request redox-os/drivers!79
2022-03-27 10:04:06 +00:00
4lDO2 07f10fb4d1 Update redox_syscall to v0.2.12 2022-03-24 16:06:00 +01:00
4lDO2 d426ffacea Update toolchain to 2022-03-18. 2022-03-19 15:06:29 +01:00
Jeremy Soller 0e6698de64 ps2d: Wait for ps2 initialization before sending daemon ready 2022-03-01 21:46:15 -07:00
Jeremy Soller 76d46d9236 p2sd: disable second port if no mouse found 2022-03-01 21:41:55 -07:00
Jeremy Soller 397f45e19d p2sd: fixes for mouseless systems 2022-03-01 21:34:53 -07:00
Jeremy Soller c69ee40684 Print out selected keymap 2022-03-01 20:56:08 -07:00
Jeremy Soller c5a1013bc2 rtl8168d: use syscall::Daemon 2022-03-01 20:34:27 -07:00
Jeremy Soller 0ff0c42ce6 p2sd: Add timeout handling 2022-03-01 20:34:13 -07:00
Jeremy Soller 64b49f10a0 Fix vesad rusttype feature 2022-02-28 14:23:47 -07:00
Jeremy Soller ac92188447 Move bgad and vboxd out of initfs 2022-02-28 14:17:34 -07:00
Jeremy Soller 0a617abb36 Disable xhcid 2022-02-28 14:10:41 -07:00
Jeremy Soller d31133956d Remove debug: logging from acpid, logd now handles that 2022-02-28 14:02:58 -07:00
Jeremy Soller 88fc91dfb7 Only create acpi scheme after tables are found and parsed 2022-02-28 11:21:47 -07:00
Jeremy Soller 07a2c5d590 Do not require display:input in usbhidd yet 2022-02-14 10:12:12 -07:00
Jeremy Soller d40a908cfd Add logging to usbhidd 2022-02-14 09:38:40 -07:00
Jeremy Soller 0cd3a6b797 Fix scheme name for xhcid and launch drivers 2022-02-14 09:38:31 -07:00
Jeremy Soller 88a6eb17e9 Make nvmed less async, reduces hangs 2022-02-11 14:26:21 -07:00
Jeremy Soller a1d8b81428 Increase NVME debug level 2022-02-11 11:00:50 -07:00
Jeremy Soller 544f1cbebc nvmed,xhcid: print BAR number 2022-02-11 10:44:38 -07:00
Jeremy Soller 33ef3a3262 xhcid: panic if BAR is 0 2022-02-11 10:42:05 -07:00
Jeremy Soller b9d6ca7db5 nvmed: panic if BAR is 0 2022-02-11 10:41:56 -07:00
Jeremy Soller 5e42b0697e Skip parsing vendor caps with length 0 2022-02-11 09:23:48 -07:00
Jeremy Soller 4a8059302f Disable ihdad, it causes issues on real hardware 2022-02-11 08:53:41 -07:00
Jeremy Soller 5e3248ce26 Get vesad framebuffer from env 2022-02-05 19:57:11 -07:00
Jeremy Soller 36b3af4262 ihdad logging 2021-12-01 16:14:15 -07:00
Jeremy Soller 4da3ceb723 Workaround hang on real hardware 2021-08-10 18:25:44 -06:00
4lDO2 2a9d380f02 Merge branch 'update_dependencies' into 'master'
Update dependencies.

See merge request redox-os/drivers!78
2021-06-18 15:24:25 +00:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
Jeremy Soller 5a279d4081 Use redox-log in ahcid 2021-06-01 21:37:52 -06:00
Jeremy Soller abb4760379 Merge branch 'acpid' into 'master'
Add a userspace ACPI driver.

See merge request redox-os/drivers!75
2021-05-06 18:30:39 +00:00
4lDO2 641feb01b1 Print parsed tables only with debug verbosity. 2021-03-13 12:40:26 +01:00
4lDO2 c6efa649be Add DMAR parsing.
In the future, this will probably be moved into its own driver, probably
called `intelvtdd` or `intelvfiod`. This is because `acpid` already
provides an interface to read from ACPI tables, which `pcid` has used
for quite long (when that scheme was provided by the kernel). AMD
implements IOMMU as a PCI function, so letting these be separate drivers
would certainly be beneficial.

The same thing might apply for HPET or MADT, which are the only ACPI
tables still parsed in the kernel.
2021-03-13 12:34:56 +01:00
4lDO2 391f7c4184 WIP: Improve acpid logging. 2021-03-12 23:45:16 +01:00
4lDO2 3989477669 Also open a file descriptor in debug:.
This is to allow the shutdown logs to reach serial output before the
system shuts down, which is especially useful on QEMU.
2021-03-11 17:50:17 +01:00
4lDO2 5fc0f0fa4e Successfully parse the namespace. 2021-03-11 12:48:34 +01:00
4lDO2 0feb8685a6 Fix the acpi scheme freeze. 2021-03-11 08:31:43 +01:00
4lDO2 20e6384cca WIP: Implement the userspace ACPI scheme. 2021-03-10 20:50:16 +01:00
4lDO2 7de9816c50 Basic ACPI init code, daemonize. 2021-03-10 18:06:30 +01:00
4lDO2 5d661eab59 Successfully load physical SDTs, and handle kstop*
Well, while it does now wait for the kstop pipe, that is not to say that
it actually performs the ACPI shutdown... yet.
2021-03-10 14:38:43 +01:00
4lDO2 df4a6aee81 Remove global variables, make it compile. 2021-03-10 12:13:28 +01:00
4lDO2 be984885bb WIP: Move ACPI code from kernel to drivers. 2021-03-10 11:24:27 +01:00
4lDO2 00b7674321 Use correct syscall when dropping PCIe context. 2021-03-08 14:37:38 +01:00