Re: [PATCH] vt - fb: hide cursor in graphics mode

From: Risto Suominen
Date: Fri Jan 23 2009 - 07:27:10 EST


2009/1/22 Risto Suominen <risto.suominen@xxxxxxxxx>:
> 2009/1/22 Risto Suominen <risto.suominen@xxxxxxxxx>:
>> 2009/1/22 Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>:
>>>
>>> NAK. You need to work out what your real problem is I think. When we
>>> enter graphics mode we hide the cursor automatically and always have done.
>>>
>>> See set_cursor() and also do_blank_screen(1)
>>>
>> Could it be that console != fg_console, and we never reach do_blank_screen?
>>
>> Risto
>>
> Wait, I have a better theory: fbcon_is_inactive() hinders
> fbcon_cursor() from doing anything, if the vc is already in graphics
> mode.
>
> Risto
>
Well, looks like this theory holds. I'll send another patch, this time
for fbcon.c, that demonstrates this by fixing the problem.

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