2007-02-13 17:37:53

by Rodolfo Giometti

[permalink] [raw]
Subject: [PATCH] pxafb: Add option to enable/disable the cursor

Add cursor enable/disable, very useful if you wish a full screen boot
logo.

Cursor can be disabled from kernel command line:

video=pxafb:nocursor

or from sysfs interface:

echo 1 > /sys/module/pxafb/parameters/nocursor

Signed-off-by: Rodolfo Giometti <[email protected]>


Attachments:
(No filename) (301.00 B)
patch-pxafb-nocursor (1.93 kB)
Download all attachments

2007-02-13 17:48:37

by Russell King

[permalink] [raw]
Subject: Re: [PATCH] pxafb: Add option to enable/disable the cursor

On Tue, Feb 13, 2007 at 06:38:05PM +0100, Rodolfo Giometti wrote:
> Add cursor enable/disable, very useful if you wish a full screen boot
> logo.

Maybe this should be a generic option? Or maybe issue ESC [ 25 l
to disable the cursor if you're wanting to turn it off from userspace.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:

2007-02-13 18:04:53

by Rodolfo Giometti

[permalink] [raw]
Subject: Re: [PATCH] pxafb: Add option to enable/disable the cursor

On Tue, Feb 13, 2007 at 05:48:29PM +0000, Russell King wrote:
>
> Maybe this should be a generic option? Or maybe issue ESC [ 25 l
> to disable the cursor if you're wanting to turn it off from userspace.

This is useful if you have a full screen boot logo. How I can issue
ESC [ 25 l at boot time?

Without this patch the full screen boot logo is corrupted in the upper
left corner with a little box containing the blinking cursor.

Ciao,

Rodolfo

--

GNU/Linux Solutions e-mail: [email protected]
Linux Device Driver [email protected]
Embedded Systems [email protected]
UNIX programming phone: +39 349 2432127

2007-02-13 18:22:08

by James Simmons

[permalink] [raw]
Subject: Re: [PATCH] pxafb: Add option to enable/disable the cursor


> On Tue, Feb 13, 2007 at 05:48:29PM +0000, Russell King wrote:
> >
> > Maybe this should be a generic option? Or maybe issue ESC [ 25 l
> > to disable the cursor if you're wanting to turn it off from userspace.
>
> This is useful if you have a full screen boot logo. How I can issue
> ESC [ 25 l at boot time?
>
> Without this patch the full screen boot logo is corrupted in the upper
> left corner with a little box containing the blinking cursor.

The reason you have a cursor is because you are using the framebuffer
console. Do you need fbcon ?

2007-02-15 13:22:44

by Rodolfo Giometti

[permalink] [raw]
Subject: Re: [PATCH] pxafb: Add option to enable/disable the cursor

On Tue, Feb 13, 2007 at 06:22:01PM +0000, James Simmons wrote:
>
> The reason you have a cursor is because you are using the framebuffer
> console. Do you need fbcon ?

Yes. During the system update process on in the production stage a
console is very useful.

Ciao,

Rodolfo

--

GNU/Linux Solutions e-mail: [email protected]
Linux Device Driver [email protected]
Embedded Systems [email protected]
UNIX programming phone: +39 349 2432127