r/Redox • • 13d ago

Real Hardware Debugging

EDIT: Asking on Matrix I discovered that the kernel already outputs to serial ports (if they are available)

Hi, I have discovered Redox some time ago but never got to try it until I discovered that Linux and most BSDs are getting devoured by the grey LLM slop, so I figured it was time to get into it.

I have a Dell Optiplex 7010 SFF with a 3rd gen i5, I managed to boot the latest daily desktop build (w/ UEFI), but at the login screen no input device worked.

I want to try and figure out why the USB HID drivers don't cooperate, and I wanted to ask if it's possible to get the console/kernel log out of any COM port. I am lucky that this old thing has an RS-232 port :D

If there is no direct way to get the output from the kernel, would setting the serial port as the UEFI ConOut work, or does the kernel stop writing to it after graphical boot?

5 Upvotes

4 comments sorted by

2

u/gregwtmtno 10d ago

I can't answer your question, but when I had a similar problem, I found a way to disable booting into the graphical environment so I could at least look at the boot logs. You may have luck with an external keyboard where the built in doesn't work!

1

u/Calm_Peanut8562 10d ago

I ended up ordering a PS/2 keyboard and mouse since my motherboard has ports for them

1

u/gregwtmtno 9d ago

Have you tried a USB keyboard? I found that worked where the PS/2 driver didn’t.

1

u/Calm_Peanut8562 8d ago

USB was my first try, didn't work :c