[PATCH] Allow unimap change on non fg console

From: Kurt Garloff (garloff_at_suse.de)
Date: 11/29/03

  • Next message: Darren Dupre: "Re: "DV failed to configure device" for Quantum DLT4000 tape drive on Adaptec 2940UW, 2.6.0-test11"
    Date:	Sat, 29 Nov 2003 21:12:25 +0100
    To: Andries Brouwer <Andries.Brouwer@cwi.nl>
    
    
    
    

    Hi Andries,

    The comment in front of vt_ioctl() reads
    /*
     * We handle the console-specific ioctl's here. We allow the
     * capability to modify any console, not just the fg_console.
     */

    Unfortunately, this does not apply to PIO_UNIMAPCLR, nor
    GIO_/PIO_UNIMAP. They always operate on the current foreground
    console, which is inconsistent at least. For most ioctls, the
    comment is applicable.

    It also causes problems, as setfont can't do the full job on
    the non-fg consoles. (OK, our setfont is slightly changed to
    even try it ... as you know.)

    The attached patch does fix this.
    Please consider applying to 2.6.x.

    I have a similar patch for 2.4, but it never got merged :-(
    because not many people seem to care and I submitted in the middle
    of the 2.4 series ...
    It has been in UnitedLinux/SUSE kernels for ages, though.

    Regards,

    -- 
    Kurt Garloff                   <kurt@garloff.de>             [Koeln, DE]
    Physics:Plasma modeling <garloff@plasimo.phys.tue.nl> [TU Eindhoven, NL]
    Linux:SCSI, Security           <garloff@suse.de>    [SUSE Nuernberg, DE]
    
    

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/




  • Next message: Darren Dupre: "Re: "DV failed to configure device" for Quantum DLT4000 tape drive on Adaptec 2940UW, 2.6.0-test11"

    Relevant Pages

    • [PATCH] interrupt driven hvc_console as vio device (final)
      ... Here is the revised hvc_console patch which fixes the issues you were ... This is an hvc_console patch which provides driver and ppc64 ... console output functionality prior to early console init (pre mem init ... -Added early discovery of vterm/vty adapters by doing a bus walk on ...
      (Linux-Kernel)
    • Keyboard drivers and multimedia keys (Dell Inspiron 8xxxx)
      ... Inspiron notebook work (in console and/or X), I came across an oldish ... I can of course apply the patch to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: TIOCCONS security revisited
      ... > In August 2004, Olaf Dabrunz posted a patch, which appears to have got ... The problem is that TIOCCONS causes security problems. ... the ioctl TIOCCONS allows any user to redirect console output to ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] Linux 2.6 Real Time Kernel
      ... > didn't skip when I switched from X to a text console. ... > keyboard no longer worked in X, but that seems to be due to some ... Most of the modules did not work without your patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kern/71142; VESA 1024x768; (Poor Console resolution on Compaq 2103US)
      ... I chose to stick with FreeBSD over Slackware ... >for my laptop for the simplicity in its init system ... >proper console resolution was a pain as I favour ... >still some issues that the patch created in making use ...
      (freebsd-current)