All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Scot Doyle <lkml14@scotdoyle.com>
Cc: Jiri Slaby <jslaby@suse.cz>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	Pavel Machek <pavel@ucw.cz>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	linux-api@vger.kernel.org, linux-man@vger.kernel.org
Subject: Re: [PATCH 1/2] vt: add cursor blink interval escape sequence
Date: Wed, 25 Mar 2015 12:19:49 +0100	[thread overview]
Message-ID: <20150325111949.GA24230@kroah.com> (raw)
In-Reply-To: <alpine.LNX.2.11.1502271911380.4248@localhost>

On Fri, Feb 27, 2015 at 07:13:48PM +0000, Scot Doyle wrote:
> Add an escape sequence to specify the current console's cursor blink
> interval. The interval is specified as a number of milliseconds until
> the next cursor display state toggle, from 50 to 65535. /proc/loadavg
> did not show a difference with a one msec interval, but the lower
> bound is set to 50 msecs since slower hardware wasn't tested.
> 
> Store the interval in the vc_data structure for later access by fbcon,
> initializing the value to fbcon's current hardcoded value of 200 msecs.
> 
> Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
> Acked-by: Pavel Machek <pavel@ucw.cz>
> ---
>  drivers/tty/vt/vt.c            | 9 +++++++++
>  include/linux/console_struct.h | 1 +
>  2 files changed, 10 insertions(+)
> 
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 6e00572..ab1f173 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -135,6 +135,7 @@ const struct consw *conswitchp;
>   */
>  #define DEFAULT_BELL_PITCH	750
>  #define DEFAULT_BELL_DURATION	(HZ/8)
> +#define DEFAULT_CURSOR_BLINK_MS	200
>  
>  struct vc vc_cons [MAX_NR_CONSOLES];
>  
> @@ -1590,6 +1591,13 @@ static void setterm_command(struct vc_data *vc)
>  		case 15: /* activate the previous console */
>  			set_console(last_console);
>  			break;
> +		case 16: /* set cursor blink duration in msec */

Where is this now documented?  Is this a "standard" ASCII command
somewhere?  Adding new userspace apis have to be documented properly.

Without that, I can't take this series, sorry.

greg k-h

WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Scot Doyle <lkml14@scotdoyle.com>
Cc: Jiri Slaby <jslaby@suse.cz>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	Pavel Machek <pavel@ucw.cz>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	linux-api@vger.kernel.org, linux-man@vger.kernel.org
Subject: Re: [PATCH 1/2] vt: add cursor blink interval escape sequence
Date: Wed, 25 Mar 2015 11:19:49 +0000	[thread overview]
Message-ID: <20150325111949.GA24230@kroah.com> (raw)
In-Reply-To: <alpine.LNX.2.11.1502271911380.4248@localhost>

On Fri, Feb 27, 2015 at 07:13:48PM +0000, Scot Doyle wrote:
> Add an escape sequence to specify the current console's cursor blink
> interval. The interval is specified as a number of milliseconds until
> the next cursor display state toggle, from 50 to 65535. /proc/loadavg
> did not show a difference with a one msec interval, but the lower
> bound is set to 50 msecs since slower hardware wasn't tested.
> 
> Store the interval in the vc_data structure for later access by fbcon,
> initializing the value to fbcon's current hardcoded value of 200 msecs.
> 
> Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
> Acked-by: Pavel Machek <pavel@ucw.cz>
> ---
>  drivers/tty/vt/vt.c            | 9 +++++++++
>  include/linux/console_struct.h | 1 +
>  2 files changed, 10 insertions(+)
> 
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index 6e00572..ab1f173 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -135,6 +135,7 @@ const struct consw *conswitchp;
>   */
>  #define DEFAULT_BELL_PITCH	750
>  #define DEFAULT_BELL_DURATION	(HZ/8)
> +#define DEFAULT_CURSOR_BLINK_MS	200
>  
>  struct vc vc_cons [MAX_NR_CONSOLES];
>  
> @@ -1590,6 +1591,13 @@ static void setterm_command(struct vc_data *vc)
>  		case 15: /* activate the previous console */
>  			set_console(last_console);
>  			break;
> +		case 16: /* set cursor blink duration in msec */

Where is this now documented?  Is this a "standard" ASCII command
somewhere?  Adding new userspace apis have to be documented properly.

Without that, I can't take this series, sorry.

greg k-h

  parent reply	other threads:[~2015-03-25 11:19 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 20:37 [PATCH v3 0/2] fbcon: user-defined cursor blink interval Scot Doyle
2015-01-26 20:37 ` Scot Doyle
2015-01-26 20:40 ` [PATCH v3 1/2] fbcon: store cursor blink interval in fbcon_ops Scot Doyle
2015-01-26 20:40   ` Scot Doyle
2015-01-26 20:41 ` [PATCH v3 2/2] fbcon: expose cursor blink interval via sysfs Scot Doyle
2015-01-26 20:41   ` Scot Doyle
2015-01-26 20:54   ` Richard Weinberger
2015-01-26 20:54     ` Richard Weinberger
2015-02-25  9:49   ` Pavel Machek
2015-02-25  9:49     ` Pavel Machek
2015-02-25 23:32     ` [PATCH " Scot Doyle
2015-02-25 23:32       ` Scot Doyle
2015-02-26 22:02       ` Pavel Machek
2015-02-26 22:02         ` Pavel Machek
2015-02-26 22:02         ` Pavel Machek
2015-02-27 19:10         ` [PATCH 0/2] add cursor blink interval terminal escape sequence Scot Doyle
2015-02-27 19:10           ` Scot Doyle
2015-02-27 19:10           ` Scot Doyle
2015-02-27 19:13           ` [PATCH 1/2] vt: add cursor blink interval " Scot Doyle
2015-02-27 19:13             ` Scot Doyle
2015-02-27 19:13             ` Scot Doyle
2015-03-14 17:48             ` Scot Doyle
2015-03-14 17:48               ` Scot Doyle
2015-03-14 17:48               ` Scot Doyle
2015-03-25 11:19             ` Greg Kroah-Hartman [this message]
2015-03-25 11:19               ` Greg Kroah-Hartman
     [not found]               ` <20150325111949.GA24230-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-03-26 13:51                 ` [PATCH v2 0/3] add cursor blink interval terminal " Scot Doyle
2015-03-26 13:51                   ` Scot Doyle
2015-03-26 13:51                   ` Scot Doyle
2015-03-26 13:54                   ` [PATCH v2 1/3] vt: add cursor blink interval " Scot Doyle
2015-03-26 13:54                     ` Scot Doyle
2015-03-26 13:54                     ` Scot Doyle
2015-03-28  0:35                     ` Mike Frysinger
2015-03-28  0:35                       ` Mike Frysinger
2015-03-28  7:50                       ` Pavel Machek
2015-03-28  7:50                         ` Pavel Machek
2015-03-28  7:50                         ` Pavel Machek
2015-03-26 13:56                   ` [PATCH v2 2/3] fbcon: use the cursor blink interval provided by vt Scot Doyle
2015-03-26 13:56                     ` Scot Doyle
2015-03-26 13:56                     ` Scot Doyle
2015-05-19 21:15                     ` Kevin Hilman
2015-05-19 21:15                       ` Kevin Hilman
2015-05-19 21:15                       ` Kevin Hilman
     [not found]                       ` <CAMAWPa-6ZbE5cDkEZq0XpYa2pHcnf3qweSSVHAXhfhUAUCbKcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-19 21:40                         ` Thierry Reding
2015-05-19 21:40                           ` Thierry Reding
2015-05-19 21:40                           ` Thierry Reding
2015-05-19 21:45                           ` Kevin Hilman
2015-05-19 21:45                             ` Kevin Hilman
     [not found]                             ` <CAMAWPa88E2pfViKLXjxWHuT4ZkVhzYt_BsXGePzc-70ZrEmJFA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-19 21:52                               ` Thierry Reding
2015-05-19 21:52                                 ` Thierry Reding
2015-05-19 21:52                                 ` Thierry Reding
2015-05-19 23:41                                 ` Greg Kroah-Hartman
2015-05-19 23:41                                   ` Greg Kroah-Hartman
     [not found]                                   ` <20150519234112.GA25218-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-05-20 12:36                                     ` Thierry Reding
2015-05-20 12:36                                       ` Thierry Reding
2015-05-20 12:36                                       ` Thierry Reding
     [not found]                                       ` <20150520123615.GA24016-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-05-21  4:26                                         ` Greg Kroah-Hartman
2015-05-21  4:26                                           ` Greg Kroah-Hartman
2015-05-21  4:26                                           ` Greg Kroah-Hartman
     [not found]                                           ` <20150521042638.GB22632-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-05-21  8:00                                             ` Thierry Reding
2015-05-21  8:00                                               ` Thierry Reding
2015-05-21  8:00                                               ` Thierry Reding
2015-05-22  2:00                                               ` Greg Kroah-Hartman
2015-05-22  2:00                                                 ` Greg Kroah-Hartman
2015-05-22  2:00                                                 ` Greg Kroah-Hartman
2015-05-22 10:00                                                 ` Thierry Reding
2015-05-22 10:00                                                   ` Thierry Reding
2015-05-22 10:33                                                   ` Arnd Bergmann
2015-05-22 10:33                                                     ` Arnd Bergmann
2015-05-22 10:33                                                     ` Arnd Bergmann
2015-05-22 11:49                                                     ` Thierry Reding
2015-05-22 11:49                                                       ` Thierry Reding
2015-05-22 11:49                                                       ` Thierry Reding
2015-05-22 13:07                                                       ` Silvan Jegen
2015-05-22 13:07                                                         ` Silvan Jegen
2015-05-22 13:07                                                         ` Silvan Jegen
2015-05-22 13:24                                                       ` Arnd Bergmann
2015-05-22 13:24                                                         ` Arnd Bergmann
2015-05-22 13:24                                                         ` Arnd Bergmann
2015-05-22 14:41                                                         ` Thierry Reding
2015-05-22 14:41                                                           ` Thierry Reding
2015-05-22 14:41                                                           ` Thierry Reding
2015-05-22 14:32                                                       ` Greg Kroah-Hartman
2015-05-22 14:32                                                         ` Greg Kroah-Hartman
2015-05-22 14:32                                                         ` Greg Kroah-Hartman
     [not found]                                                         ` <20150522143205.GA6508-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-05-22 14:44                                                           ` Thierry Reding
2015-05-22 14:44                                                             ` Thierry Reding
2015-05-22 14:44                                                             ` Thierry Reding
2015-05-20  0:36                                 ` Scot Doyle
2015-05-20  0:36                                   ` Scot Doyle
2015-03-26 13:57                   ` [PATCH v2 3/3] console_codes.4: Add CSI sequence for cursor blink interval Scot Doyle
2015-03-26 13:57                     ` Scot Doyle
2015-03-26 13:57                     ` Scot Doyle
2015-03-28  7:51                     ` Pavel Machek
2015-03-28  7:51                       ` Pavel Machek
2015-03-28  7:51                       ` Pavel Machek
2015-07-05 17:41                     ` Scot Doyle
2015-07-05 17:41                       ` Scot Doyle
2015-07-05 17:41                       ` Scot Doyle
2015-07-21 16:55                       ` Michael Kerrisk (man-pages)
2015-07-21 16:55                         ` Michael Kerrisk (man-pages)
2015-07-21 16:55                         ` Michael Kerrisk (man-pages)
     [not found]                         ` <CAKgNAkgqTckfydFTDFsoqB1b_fAEiDZGYP=7b-bhN8d4Mp-bsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-21 18:45                           ` Scot Doyle
2015-07-21 18:45                             ` Scot Doyle
2015-07-21 18:45                             ` Scot Doyle
2015-03-28  7:54                   ` [PATCH v2 0/3] add cursor blink interval terminal escape sequence Pavel Machek
2015-03-28  7:54                     ` Pavel Machek
2015-03-28  7:54                     ` Pavel Machek
2015-05-10 13:32                     ` Greg Kroah-Hartman
2015-05-10 13:32                       ` Greg Kroah-Hartman
2015-02-27 19:15           ` [PATCH 2/2] fbcon: use the cursor blink interval provided by vt Scot Doyle
2015-02-27 19:15             ` Scot Doyle
2015-02-27 19:15             ` Scot Doyle
2015-05-27  5:57             ` Andrey Wagin
2015-05-27  5:57               ` Andrey Wagin
2015-05-27  5:57               ` Andrey Wagin
     [not found]               ` <CANaxB-zX4GkExeCzwgYZVDVZE47DHOCnRiYe86difk4fRMK=9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-27  7:52                 ` Scot Doyle
2015-05-27  7:52                   ` Scot Doyle
2015-05-27  7:52                   ` Scot Doyle
2015-05-27 11:07                   ` Andrey Wagin
2015-05-27 11:07                     ` Andrey Wagin
2015-05-27 11:07                     ` Andrey Wagin
2015-03-02 11:15           ` [PATCH 0/2] add cursor blink interval terminal escape sequence Tomi Valkeinen
2015-03-02 11:15             ` Tomi Valkeinen
2015-03-02 11:15             ` Tomi Valkeinen

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=20150325111949.GA24230@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=geert@linux-m68k.org \
    --cc=jslaby@suse.cz \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=lkml14@scotdoyle.com \
    --cc=mtk.manpages@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=plagnioj@jcrosoft.com \
    --cc=tomi.valkeinen@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.