lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 22 Feb 2009 12:20:44 +0100
From:	Krzysztof Helt <krzysztof.h1@...zta.fm>
To:	Risto Suominen <risto.suominen@...il.com>
Cc:	adaplas@....net, Andrew Morton <akpm@...ux-foundation.org>,
	geert@...ux-m68k.org, linux-fbdev-devel@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [Linux-fbdev-devel] [PATCH] fb: hide cursor in graphics mode

On Sun, 22 Feb 2009 11:25:04 +0200
Risto Suominen <risto.suominen@...il.com> wrote:

> Krzysztof, thank you for your efforts.
> 
> I've been using PowerMac platform with built-in ATI mach64 and Xorg
> server 1.1.1. 

I will try to reproduce the problem with Xorg 1.1.1 and your options.
I do not have the PowerMac and the ATI mach64 card.

> 
> In my opinion, Xfbdev assumes that the cursor will disappear when
> turning on graphics mode with ioctl(LinuxConsoleFd, KDSETMODE,
> KD_GRAPHICS). It's obvious that fbcon is not doing anything to switch
> the cursor off when it receives this ioctl, fbcon_is_inactive()
> prevents it. The problem comes from that something has made it appear,
> i.e. text mode frame buffer console. I have text consoles on VTs 1 to
> 6 and X on 7.
> 


> One maybe unusual property of atyfb is that the frame buffer is higher
> than the screen. To make Xfbdev work correctly I needed the patch
> below.
> 

The patch is not a correct fix. A simple workaround is to set a vyres = yres
and disable panning. I am able to reproduce this problem. A cause is
that Xfbdev prints some messages after it set up graphics mode, so
the screen got scrolled. I do not know what is an expected behaviour
(maybe with KD_GRAPHICS no messages should be printed).

Regards,
Krzysztof


----------------------------------------------------------------------
Zostan mistrzem parkowania w Bombaju!
Zagraj >> http://link.interia.pl/f204e 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ