linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tty open screws X color palette
@ 2004-08-13 11:47 Olaf Hering
  2004-08-15  1:09 ` Antonino A. Daplas
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2004-08-13 11:47 UTC (permalink / raw)
  To: linux-fbdev-devel


An 'echo foo > /dev/tty42' while X runs will screw the color palette, if
tty42 wasnt in use before. Tested on ibook G3 and G4.
This will happen with rage128 and radeonfb in 2.6.5 and later,
X version is 4.3.99.

X runs usually with a different color depth than the kernel framebuffer
console.
How can this be fixed? tty open should not touch the hardware if the tty
is not active.


-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty open screws X color palette
  2004-08-13 11:47 tty open screws X color palette Olaf Hering
@ 2004-08-15  1:09 ` Antonino A. Daplas
  2004-08-15  6:32   ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Antonino A. Daplas @ 2004-08-15  1:09 UTC (permalink / raw)
  To: Olaf Hering, linux-fbdev-devel

On Friday 13 August 2004 19:47, Olaf Hering wrote:
> An 'echo foo > /dev/tty42' while X runs will screw the color palette, if
> tty42 wasnt in use before. Tested on ibook G3 and G4.
> This will happen with rage128 and radeonfb in 2.6.5 and later,
> X version is 4.3.99.
>
> X runs usually with a different color depth than the kernel framebuffer
> console.
> How can this be fixed? tty open should not touch the hardware if the tty
> is not active.

I tried the above and nothing happens to X.  My setup is X86 nVidia AGP
on rivafb linux-2.6.8-rc4-mm1.

There are a bunch of framebuffer patches in rc4-mm1, perhaps those will
help.  Otherwise, it's probably a driver or arch specific problem.

Tony




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty open screws X color palette
  2004-08-15  1:09 ` Antonino A. Daplas
@ 2004-08-15  6:32   ` Olaf Hering
  2004-08-15  9:37     ` Antonino A. Daplas
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2004-08-15  6:32 UTC (permalink / raw)
  To: adaplas; +Cc: linux-fbdev-devel

 On Wed, Sep 15, Antonino A. Daplas wrote:

> On Friday 13 August 2004 19:47, Olaf Hering wrote:
> > An 'echo foo > /dev/tty42' while X runs will screw the color palette, if
> > tty42 wasnt in use before. Tested on ibook G3 and G4.
> > This will happen with rage128 and radeonfb in 2.6.5 and later,
> > X version is 4.3.99.
> >
> > X runs usually with a different color depth than the kernel framebuffer
> > console.
> > How can this be fixed? tty open should not touch the hardware if the tty
> > is not active.
> 
> I tried the above and nothing happens to X.  My setup is X86 nVidia AGP
> on rivafb linux-2.6.8-rc4-mm1.

Do you have 'Option "usefbdev" "true"' in our XF86Config?

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty open screws X color palette
  2004-08-15  6:32   ` Olaf Hering
@ 2004-08-15  9:37     ` Antonino A. Daplas
  0 siblings, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2004-08-15  9:37 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linux-fbdev-devel

On Sunday 15 August 2004 14:32, Olaf Hering wrote:
>  On Wed, Sep 15, Antonino A. Daplas wrote:
> > On Friday 13 August 2004 19:47, Olaf Hering wrote:
> > > An 'echo foo > /dev/tty42' while X runs will screw the color palette,
> > > if tty42 wasnt in use before. Tested on ibook G3 and G4.
> > > This will happen with rage128 and radeonfb in 2.6.5 and later,
> > > X version is 4.3.99.
> > >
> > > X runs usually with a different color depth than the kernel framebuffer
> > > console.
> > > How can this be fixed? tty open should not touch the hardware if the
> > > tty is not active.
> >
> > I tried the above and nothing happens to X.  My setup is X86 nVidia AGP
> > on rivafb linux-2.6.8-rc4-mm1.
>
> Do you have 'Option "usefbdev" "true"' in our XF86Config?

No.  I tried that option before but it produces a segfault.

Tony




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-15  9:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 11:47 tty open screws X color palette Olaf Hering
2004-08-15  1:09 ` Antonino A. Daplas
2004-08-15  6:32   ` Olaf Hering
2004-08-15  9:37     ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).