An Xbox-Linux user recently asked: Hi, I saw you managed to fix annoying problem with halt for kenel 2.6.16. Is it possible to obtain the patch or maybe some clues how to solve the problem Thanks for your help /smrdko Yes, somewhere between kernel 2.6.12 and 2.6.16 the Xbox-Linux Kernel seems to have lost the ability to power-off the machine when you issue a Halt. While working on XFedora 6, I came across the issue, and added in a quick-fix for the 2.6.18 xbox-linux patch.
The problem exists in kernel-2.6/arch/i386/mach-xbox/reboot.c, and here is the code you need, if you aren't using the patches for xbox-linux 2.6.18 or later.
void machine_halt(void)
{
/* Lalee Forced Halts to Shut Off */
xbox_pic_cmd(SMC_SUBCMD_POWER_OFF);
}Hope this helps! |
|||















Recent comments
2 weeks 2 hours ago
2 weeks 2 days ago
3 weeks 5 days ago
3 weeks 5 days ago
3 weeks 6 days ago
7 weeks 3 days ago
7 weeks 3 days ago
7 weeks 4 days ago
8 weeks 3 hours ago
11 weeks 6 days ago