#! /bin/sh /usr/share/dpatch/dpatch-run ## 14-a20-fix.dpatch by Colin Watson ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Output a dummy command after enabling the A20 gate to stop USB ## DP: keyboards hanging. See also: ## DP: http://cvs.savannah.gnu.org/viewvc/grub/stage2/asm.S?root=grub&view=log#rev1.62 @DPATCH@ diff -urNad syslinux-3.53~/bcopy32.inc syslinux-3.53/bcopy32.inc --- syslinux-3.53~/bcopy32.inc 2007-11-18 06:55:01.000000000 +0000 +++ syslinux-3.53/bcopy32.inc 2008-02-06 21:41:45.000000000 +0000 @@ -344,7 +344,11 @@ ; A20 unmasked, proceed... ; a20_done_pop: pop cx -a20_done: popad +a20_done: mov al,0FFh ; dummy command (USB hack) + out 064h, al + call empty_8042_uncond + + popad ret ;