[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#85629: keymap for RiscPC



>The keyboard hardware is the same, but what is at the end of the
>keyboard cable in the machine is different.

It doesn't matter.  So long as you configure the keyboard for scancode set 1, 
the PC keymap will work.  If you remember, this is what we do for CLPS7500.

	/* ibm powerpc portables need this to use scan-code set 1 -- Cort
	 * and 8042-less machines, like the ARM/Acorn RiscPC -- chris@aleph1 */
#ifdef KBD_CCMD_READ_MODE
	kbd_write_command_w(KBD_CCMD_READ_MODE);
	if (!(kbd_wait_for_input() & KBD_MODE_KCC))
#endif
	{
		/*
		 * If the controller does not support conversion,
		 * Set the keyboard to scan-code set 1.
		 */
		kbd_write_output_w(0xF0);
		kbd_wait_for_input();
		kbd_write_output_w(0x01);
		kbd_wait_for_input();
	}

p.




Reply to: