Date: Mon, 31 Aug 1998 12:23:19 +0200 From: Sheldon Hearn <axl@iafrica.com> To: freebsd-questions@FreeBSD.ORG Subject: ioctl KDSETRAD not working for kbdcontrol Message-ID: <7148.904558999@axl.training.iafrica.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7148.904558999>