All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kate Alhola <kate@iti.fi>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: fbdev/xfree86 getting rid of /dev/tty0 console
Date: Fri, 04 Jun 2004 10:07:18 +0300	[thread overview]
Message-ID: <40C01FA6.2010806@iti.fi> (raw)

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 lesst 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 "void 
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.


Kate


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504

                 reply	other threads:[~2004-06-04  7:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40C01FA6.2010806@iti.fi \
    --to=kate@iti.fi \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.