From 7902e0f21b4149800eb36da017e431fc7fcac0b4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Jan 2004 10:21:02 +0000 Subject: don't use ioctl KDSKBENT with kernel 2.6, until fixed... --- perl-install/keyboard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index 121d1cf8e..d616e3403 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -384,7 +384,7 @@ sub from_usb() { sub load { my ($keymap) = @_; - return if $::testing; + return if $::testing || c::kernel_version() =~ /^\Q2.6/; my ($magic, @keymaps) = unpack "I i" . c::MAX_NR_KEYMAPS() . "a*", $keymap; $keymap = pop @keymaps; -- cgit v1.2.1