Subject: Re: wskbd ioctl question
To: firstname.lastname@example.org, Chris Jones <email@example.com>
From: Matthias Drochner <firstname.lastname@example.org>
Date: 09/03/1998 21:59:39
Excerpts from netbsd: 3-Sep-98 wskbd ioctl question Chris
> I open the device (/dev/ttyE0 or /dev/wskbd) as O_RDWR,
> and then I try to do a WSKBDIO_BELL ioctl. It says, "Permission
Hmm. Just tried the appended program, and got a beep.
> Maybe my kernel (-current from Aug
> 13) has different code than my sources (Sep 2)?
There are no changes to wscons which could explain this.
int a, b;
a = open("/dev/ttyE0", O_RDWR, 0);
if (a < 0)
b = ioctl(a, WSKBDIO_BELL, 0);
if (b < 0)