linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* fbdev_drv/xfree86 getting rid of /dev/tty0 console
@ 2004-06-04  7:12 Kate Alhola
  0 siblings, 0 replies; 2+ messages in thread
From: Kate Alhola @ 2004-06-04  7:12 UTC (permalink / raw)
  To: Linuxppc-Embedded


I try to use Xfree86 with fbdev_drv in embedded system and i got stuck
to "xf86OpenConsole: Cannot open /dev/tty0" or
"xf86OpenConsole: Cannot find a free VT" etc.

The problem is that the device is embedded ppc without any console at
all and least there won't never be
one in /dev/tty0 that is normally linked to serial port.

The problem is that /dev/tty0 looks a like to be hardcoded to
"xf86OpenConsole(void)" in xfree86 lnx_init.c and
it is called unconditionally from xf86Init.c . I have not found any
switch to switch console off from xfree86
config files. Also linkig /dev/tty to /dev/null or /dev/vcs0 etc does
not help, it just replaces
"can not open" error with "Cannot find a free VT".

I know that i  can hack xfree86 source and remove this dependency by
hand but it looks a like
not to be right or most elegant solution because i can't believe that i
am first one that tries to use
fbdev in embedded hw without any console.

The the linux distribution and filesystem is stantard eldk 3.0 ppc_82xx .

Kate

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* fbdev_drv/xfree86 getting rid of /dev/tty0 console
@ 2006-03-03 16:27 Arun
  0 siblings, 0 replies; 2+ messages in thread
From: Arun @ 2006-03-03 16:27 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: RASS Arun

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

Hello Sir

I am also getting the same error with ELDK 3.1 ppc_7xx, so please help us if u are able to solve it.


Regards
Arun Kumar

[-- Attachment #2: Type: text/html, Size: 737 bytes --]

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

end of thread, other threads:[~2006-03-03 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 16:27 fbdev_drv/xfree86 getting rid of /dev/tty0 console Arun
  -- strict thread matches above, loose matches on Subject: below --
2004-06-04  7:12 Kate Alhola

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).