From: "Witold Filipczyk" <juandon@poczta.onet.pl>
To: linux-msdos@vger.kernel.org
Subject: Re: non-privileged raw keyboard
Date: Sun, 7 Apr 2002 21:13:53 +0200 [thread overview]
Message-ID: <20020407191353.GA20279@wagsty> (raw)
In-Reply-To: <Pine.LNX.4.21.0204071843230.10598-100000@pg5.enm.bris.ac.uk>
On Sun, Apr 07, 2002 at 06:52:13PM +0100, Bart Oldeman wrote:
> On Sun, 7 Apr 2002, Witold Filipczyk wrote:
>
> > Second part - video doesn't work for me.
> > /dev/mem can't write errno 13 (something like this)
> > (I use SVGATextMode).
> > My proposal of this patch is in attachment (keyboard only)
>
> This was a bug, which was only exposed by my changes.
> It depended on the setting of $_console: $_console is a protected
> setting. But there is/was confusion between config.console and
> config.console_video: $_console sets config.console_video and not
> config.console. config.console is set if certain ioctls find out that we
> are running on the console. I don't completely understand this but the
> following should fix your problem as well:
>
> --- src/base/init/config.c.old Sun Apr 7 18:42:14 2002
> +++ src/base/init/config.c Sun Apr 7 18:43:05 2002
> @@ -741,7 +741,7 @@
> config.emuretrace = 0; /* already emulated */
> }
> else {
> - if (!can_do_root_stuff && config.console) {
> + if (!can_do_root_stuff && config.console_video) {
> /* force use of Slang-terminal on console too */
> config.console = config.console_video = config.vga = config.graphics = 0;
> config.cardtype = 0;
>
> and I prefer this (+ my complete earlier patch) to your solution;)
>
> IMHO the member config.console should be eliminated here to avoid
> further confusion but let's do that later.
> Please let me know if this helps you too.
Now, works fine.
WF
prev parent reply other threads:[~2002-04-07 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.21.0204040045290.17033-100000@pg5.enm.bris.ac.uk>
[not found] ` <Pine.LNX.4.21.0204040205400.17205-100000@pg5.enm.bris.ac.uk>
2002-04-07 16:34 ` non-privileged raw keyboard Witold Filipczyk
2002-04-07 17:52 ` Bart Oldeman
2002-04-07 19:13 ` Witold Filipczyk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020407191353.GA20279@wagsty \
--to=juandon@poczta.onet.pl \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox