Re: T60 poweroff command hang at halting Hurd...

2024-11-09 Thread Almudena Garcia
Yes, I detected this problem some time ago. The halt command doesn't shutdown the machine. Instead, keep it in a suspension-like status, in which the machine is "sleep", but doesn't turn off. Damien told me some years ago that the problem is related with IRQ number, and an implementation of ACPIca

Re: [RFC PATCH v2 4/4] Add rtc server

2024-11-09 Thread Zhaoming Luo
On 11/8/24 5:10 PM, Sergey Bugaev wrote: On Fri, Nov 8, 2024 at 4:55 AM Zhaoming Luo wrote: diff --git a/rtc/main.c b/rtc/main.c new file mode 100644 index ..114fb497 --- /dev/null +++ b/rtc/main.c @@ -0,0 +1,88 @@ + +#include + +#include +#include +#include I don't think you ne

T60 poweroff command hang at halting Hurd...

2024-11-09 Thread Zhaoming Luo
Hi, I have installed Debian Hurd on my T60. I just finished configuring apt[0] so it has more packages. When I typed poweroff, it got stuck at `startup: halting Hurd...`. I have forced to shut it down (by holding the power button) several times; it seems to me the force shutdown didn't break

Re: [RFC PATCH] Adding RTC device (work in progress)

2024-11-09 Thread Sergey Bugaev
On Fri, Nov 8, 2024 at 3:26 AM Zhaoming Luo wrote: > The rest of the stuff > is mainly about filling codes into the server-side functions; it may > require some time as I haven't had any experience of writing drivers. Me neither :) But, perhaps the following would be somewhat useful. The osdev w

Re: [RFC PATCH v2 2/4] Add ioctl interface for rtc device

2024-11-09 Thread Zhaoming Luo
On 11/8/24 4:48 PM, Sergey Bugaev wrote: Hi Zhaoming, Hi On Fri, Nov 8, 2024 at 11:01 AM Samuel Thibault wrote: Here as well this breaks the build since at this point of the series you haven't added rtc.h yet. Better just merge all the patches. To expand on what Samuel says, the point is t