Re: [PATCH hurd]: adding /dev/rtc device

2024-10-23 Thread Zhaoming Luo
On 10/24/24 10:12 AM, Zhaoming Luo wrote: On 10/21/24 9:04 PM, Samuel Thibault wrote: By implementing the corresponding RPC, whose msgid is given by the IOC_MSGID macro. For instance for RTC_RD_TIME._IOR('p', 0x09, struct rtc_time) the group is 'p' and the command is 0x9, so the subsystem

Re: [PATCH hurd]: adding /dev/rtc device

2024-10-23 Thread Zhaoming Luo
On 10/21/24 9:04 PM, Samuel Thibault wrote: By implementing the corresponding RPC, whose msgid is given by the IOC_MSGID macro. For instance for RTC_RD_TIME._IOR('p', 0x09, struct rtc_time) the group is 'p' and the command is 0x9, so the subsystem would be 14, and the exact RPC would b

[PATCH 3/3] Expose device(mbinfo) with read access to multiboot info

2024-10-23 Thread Damien Zammit
This adds a new mach device called mbinfo that exposes the multiboot information to userspace. --- i386/Makefrag.am| 2 ++ i386/i386at/conf.c | 8 +++ i386/i386at/mbinfo.c| 53 + i386/i386at/mbinfo.h| 35 ++

[PATCH 2/3] multiboot: Support graphic mode preferences

2024-10-23 Thread Damien Zammit
This change forces multiboot loader to provide video mode info and also sets the preferred video mode to EGA text to ensure existing console behaviour still works. When support for graphical consoles is provided, we can change the preferred mode to linear framebuffer. --- i386/i386at/boothdr.S

[PATCH 1/3] multiboot v1: Add video framebuffer info

2024-10-23 Thread Damien Zammit
--- i386/include/mach/i386/multiboot.h | 72 ++ 1 file changed, 72 insertions(+) diff --git a/i386/include/mach/i386/multiboot.h b/i386/include/mach/i386/multiboot.h index c3538c1f..87bcd595 100644 --- a/i386/include/mach/i386/multiboot.h +++ b/i386/include/mach/i386/

trying to fix dino-im on the Hurd

2024-10-23 Thread Joshua Branson
Heyo friends, So dino-im used to work on the Hurd. I used it once, but after I rebooted and tried to use it again I keep getting this error message on startup: Xlib: sequence lost (0x1009d > 0x9f) in reply type 0x0! Xlib: sequence lost (0x100a2 > 0xa4) in reply type 0x0! Xlib: sequence lost (0

Re: [PATCH v2 hurd] irqhelp: Dont bail when cannot connect to acpi

2024-10-23 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mer. 23 oct. 2024 00:34:54 +, a ecrit: > As the acpi translator requires libirqhelp, we cannot fail when > libirqhelp cannot connect to acpi translator, break the egg/chicken. > > acpi translator will only call the irqhelp api with fixed gsi during startup,