From owner-freebsd-questions Mon Aug 31 03:24:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24675 for freebsd-questions-outgoing; Mon, 31 Aug 1998 03:24:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24668 for ; Mon, 31 Aug 1998 03:24:24 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh (helo=axl.training.iafrica.com) by axl.training.iafrica.com with local-esmtp (Exim 1.92 #1) for freebsd-questions@freebsd.org id 0zDR7I-0001rJ-00; Mon, 31 Aug 1998 12:23:20 +0200 From: Sheldon Hearn To: freebsd-questions@FreeBSD.ORG Subject: ioctl KDSETRAD not working for kbdcontrol Date: Mon, 31 Aug 1998 12:23:19 +0200 Message-ID: <7148.904558999@axl.training.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I am running 2.2.7-STABLE and kbdcontrol(1) is not permitting changes to the typematic rate on my syscons virtual terminals. Both my kernel and userland are -STABLE as of Friday 28 August. I've used gdb to have a look, and the problem is definitely that ioctl() doesn't understand either KDSETRAD as a request, or doesn't like the rate structure that kbdcontrol's set_keyrates() passes to it as argp. Unfortunately, I get a little lost when I try to step into the ioctl() code. I would really appreciate any help in debugging this problem. Even finding the code for ioctl() would be a start, at this point! Thanks, Sheldon. | $ date ; uname -r ; ls -l `which kbdcontrol` ; tty | Mon Aug 31 11:25:29 SAST 1998 | 2.2.7-STABLE | -r-xr-xr-x 1 bin bin 32768 Aug 29 20:30 /usr/sbin/kbdcontrol | /dev/ttyv1 | $ kbdcontrol -r fast | kbdcontrol: setting keyboard rate: Invalid argument | $ kbdcontrol -r 250.34 | kbdcontrol: setting keyboard rate: Invalid argument To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message