Thread (15 messages) 15 messages, 3 authors, 2004-05-18

Re: mode setting and console locking

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-05-16 22:08:35

On Mon, 2004-05-17 at 01:57, Jon Smirl wrote:
I have two video cards installed. I run X on the primary and fbdev on the
secondary.  I'm having a problem setting the mode to the fbdev device from an
xterm window. This was working six months ago in 2.6 but it is broken currently.

If I load fbdev on my primary card, then run X on it, fbset will work on the
primary card fron the xterm window.

if I load fbdev on my secondary card (it is reset and fbdev loads without
problem) then fbset from an xterm window will lock my box. fbset from a console
window works fine. I have tried this both ways, swapping the primary and
secondary cards, so it doesn't seem to be the card drivers.

Is there some locking going on in fbdev mode setting that is interacting with X?
My X server does not have the fbdev driver loaded. The only thing I can think of
is that the console is marked at being in KD_GRAPHICs. Any ideas?
No, there is currently no locking. There is locking between printk (fbcon)
and mode setting but not with userland clients. 

Ben.




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help