Commit Graph

129 Commits

Author SHA1 Message Date
bjorn3 d94edccf9a driver/graphics: Avoid unconditionally enabling CursorPlaneHotspot
This is necessary to fix software cursor support in Orbital.
2026-03-12 20:31:16 +01:00
bjorn3 f01d0fe8a1 drivers/graphics: Introduce UPDATE_CURSOR ioctl
Orbital needs this as we don't implement cursor planes yet.
2026-03-11 23:17:38 +01:00
bjorn3 511c6080ca drivers/graphics: Add framebuffer indirection to the DRM interface
This matches the Linux DRM interface. With this I believe the only
divergence from the Linux DRM interface that would be a breaking change
to the in-tree users of the graphics api to change to the proper
interface is the use of the UPDATE_PLANE ioctl in the place of proper
modesetting interface. It should be possible to support this in
parallel to UPDATE_PLANE, so updating Orbital to the DRM interface
should now be possible. Orbital can be updated to the proper modesetting
interface once it is implemented.
2026-03-11 22:49:19 +01:00
bjorn3 9795abb0ea Fix a bunch of warnings 2026-03-11 22:05:44 +01:00
Jeremy Soller 49ef369fed Merge branch 'ps2d-self-test' into 'main'
ps2d: disable keyboard before running self test

See merge request redox-os/base!152
2026-03-11 07:18:08 -06:00
Jeremy Soller 3ea1fbf5f7 Merge branch 'no-panic-aml' into 'main'
acpid: Do not panic on AML failure

See merge request redox-os/base!151
2026-03-11 07:16:28 -06:00
Connor-GH 15790b1e1a ps2d: disable keyboard before running self test
Beforehand, if you spammed 'enter' (or any key) upon startup, your self
test would fail with 1C or 9C (the scancodes for pressing and releasing
enter respectively). We now disable the keyboard earlier, and this fixes
the issue.
2026-03-10 14:19:11 -05:00
Wildan M 89855606c2 acpid: Do not panic on AML failure 2026-03-10 23:38:47 +07:00
Jeremy Soller 5fdc723c38 ps2d: limit mouse resets to 10 2026-03-08 20:23:09 -06:00
bjorn3 331189d846 Rustfmt 2026-03-07 22:12:56 +01:00
bjorn3 48c652f5d1 Move DisplayHandle creation into GraphicsScheme::new 2026-03-07 17:49:45 +01:00
bjorn3 3c79908b5a drivers/graphics: Directly pass scheme name to DisplayHandle::new 2026-03-06 22:55:50 +01:00
bjorn3 f518db3d6a drivers/inputd: Minor cleanup 2026-03-06 22:55:33 +01:00
bjorn3 bae900b79c driver/graphics: Replace direct redox_sys_call_v0 usage with libredox 2026-03-06 22:55:21 +01:00
bjorn3 d70d648ceb Remove no longer necessary patches
New versions of drm and drm-sys have been released with Redox OS support.
2026-03-06 22:40:12 +01:00
Ibuki Omatsu 2738f69224 feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci 2026-02-28 08:15:16 -07:00
auronandace 7849aa23b3 make serde and toml workspace dependencies 2026-02-27 08:39:29 +00:00
bjorn3 a7ee3a2364 Update to toml 1.0 2026-02-26 17:28:12 +01:00
bjorn3 3d2951a23d init: Convert vesad, fbbootlogd and fbcond to services 2026-02-26 16:38:56 +01:00
bjorn3 e55bd17530 drivers/graphics: Fix a couple of warnings 2026-02-26 16:23:32 +01:00
nekluu 49f000a3ed fix: add descriptive error messages for -K flag 2026-02-26 16:23:22 +03:00
auronandace 4e77bb0f96 add precedence lint to drivers 2026-02-20 15:00:43 +00:00
bjorn3 0f0f12fb12 graphics/vesad: Fix multi-monitor support 2026-02-19 21:49:21 +01:00
bjorn3 dfee8f50d7 ps2d: Fix warnings 2026-02-18 22:41:05 +01:00
bjorn3 7ebeceb41d init: Allow init to register the scheme for a daemon
Unfortunately the scheme still has to be created by the daemon due to a
kernel bug, but once that is fixed, it would allow delayed spawning of
scheme daemons.
2026-02-18 22:40:09 +01:00
bjorn3 0a17fef534 Introduce a shared config locator
And use it for init and pcid-spawner
2026-02-17 22:26:04 +01:00
Wildan M 20eae1f054 ps2d: Don't crash on keyboard scan init 2026-02-10 00:10:21 +07:00
Wildan M 36e2fbd537 virtio-gpud: Don't crash on no edid descriptor 2026-02-08 15:50:58 +07:00
bjorn3 7f0e870b76 Update to pci_types 0.10.1
And avoid hiding channel open errors in pcid-spawner. This would have
made the location of the problem more obvious.
2026-02-07 18:02:32 +01:00
Jeremy Soller f2ffbf1eb5 Merge branch 'pin-pci_types-0.10.0' into 'main'
chore: Pin pci_types version to 0.10.0.

See merge request redox-os/base!115
2026-02-07 07:00:17 -07:00
Ibuki.O 22ab1e7878 chore: Pin pci_types version to 0.10.0. 2026-02-07 22:56:50 +09:00
bjorn3 6c01349bf4 drivers/graphics/ihdgd: Fix a warning 2026-02-07 13:18:48 +01:00
bjorn3 3d82140155 drivers/graphics/ihdgd: Minor EDID reading improvements
* Enable unproven feature of embedded-hal. We depend on it. Currently it
  gets implicitly enabled by bitbang-hal.
* Reduce nesting in probe_edid
2026-02-07 13:18:46 +01:00
Jeremy Soller 19c71bba06 xhcid: remove unnecessary eprintln 2026-01-29 11:20:18 -07:00
Jeremy Soller 3d56a47aeb xhcid: reduce logging 2026-01-29 11:02:13 -07:00
Jeremy Soller a58f9b9ae8 ps2d: format 2026-01-29 11:01:21 -07:00
Jeremy Soller 7ae1a61d0e usbhidd: use anyhow for error handling 2026-01-29 10:52:17 -07:00
Jeremy Soller 2d672b7cd9 Add anyhow to workspace 2026-01-29 10:47:45 -07:00
Jeremy Soller 65966e9371 ps2d: add missing TouchpadCommand enum 2026-01-29 08:56:42 -07:00
Jeremy Soller ce9c2a1fb4 ps2d: add MouseTx abstraction and WIP touchpad identification 2026-01-29 08:56:00 -07:00
Jeremy Soller 3edfd63eec ihdgd: use default output level 2026-01-29 08:53:45 -07:00
Wildan M ac1f3c7f6e Workaround PS/2 mouse init timeout 2026-01-29 15:24:56 +07:00
bjorn3 6096fffe5d Let init handle daemonization
This way init can track the lifecycle of services in the future. It may
also help with parallel booting in the future.
2026-01-26 21:51:14 +01:00
Jeremy Soller db78254203 Only init mouse when vmmouse not detected 2026-01-25 20:19:42 -07:00
Jeremy Soller 68c732b438 Merge branch 'usbhid-enh' into 'main'
usbhidd: Adjust logs, add mouse filter to prevent jumps

See merge request redox-os/base!105
2026-01-25 13:55:57 -07:00
bjorn3 ea96a9a697 Remove alxd
It hasn't been in a functional state for years.
2026-01-25 20:56:11 +01:00
bjorn3 fc1c391340 Move common::init call into pcid_interface::pci_daemon 2026-01-25 20:08:49 +01:00
Jeremy Soller 511d446993 PS2 mouse refactor 2026-01-25 10:07:58 -07:00
Wildan M 7bfcda6ffd usbhidd: Adjust logs, add mouse filter to prevent jumps 2026-01-25 21:14:59 +07:00
Wildan M 7a350efae4 Fix fmt 2026-01-23 01:13:41 +07:00