* Q: problems with missing /dev/tty0 on X startup in MIPS system
@ 2004-08-12 18:02 Ralf Ackermann
2004-08-12 19:04 ` Geert Uytterhoeven
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Ralf Ackermann @ 2004-08-12 18:02 UTC (permalink / raw)
To: linuxconsole-dev, linux-mips; +Cc: Ralf Ackermann
Hello,
I'm trying to get VGA output on a MIPSel system (MeshCube
http://www.meshcube.org) to work.
The system uses a miniPCI ATI Rage VGA card (=> problem does not get
initialized due to lack of system BIOS => hopefully initialized by int10
XFree86 x86 emulator code).
I've attached an USB mouse and keyboard but fail to start X due to
Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
My questions to those working with MIPS boards / on the Ruby/Linux console
project are:
- 1. How to test the USB input functionality?
(I could test the mouse by doing: cat < /dev/input/mice
=> any hints on doing something similar for the keyboard?)
- 2. Any hints on the missing /dev/tty0 stuff? (this is maybe
related to the console / keyboard stuff?)
Any hints are welcome, best regards
Ralf
---------------------------------------------------------------
Dr. Ralf Ackermann _ rac@KOM.tu-darmstadt.de
Multimedia Communications |/ | | |\/| Merckstrasse 25
|\ |_| | | 64283 Darmstadt, Germany
Tel.: (+49) 6151 16-6138 Fax: (+49) 6151 16-6152
---------------------------------------------------------------
http://www.kom.tu-darmstadt.de/~rac
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
2004-08-12 18:02 Q: problems with missing /dev/tty0 on X startup in MIPS system Ralf Ackermann
@ 2004-08-12 19:04 ` Geert Uytterhoeven
2004-08-12 22:15 ` Ralf Ackermann
2004-08-12 19:11 ` Svetoslav Slavtchev
2004-08-12 20:06 ` Goswin von Brederlow
2 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2004-08-12 19:04 UTC (permalink / raw)
To: Ralf Ackermann; +Cc: linuxconsole-dev, Linux/MIPS Development
On Thu, 12 Aug 2004, Ralf Ackermann wrote:
> I'm trying to get VGA output on a MIPSel system (MeshCube
> http://www.meshcube.org) to work.
> The system uses a miniPCI ATI Rage VGA card (=> problem does not get
> initialized due to lack of system BIOS => hopefully initialized by int10
> XFree86 x86 emulator code).
So virtual consoles are not working.
> I've attached an USB mouse and keyboard but fail to start X due to
>
> Fatal server error:
> xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
> - 2. Any hints on the missing /dev/tty0 stuff? (this is maybe
> related to the console / keyboard stuff?)
Yep, that's the current virtual console. Do you have CONFIG_VT enabled? If yes,
probably the VC initialization failed due to vgacon failing. In that case, you
can try enabling dummycon (and hope X can wake up your graphics card).
BTW, there exists (depending on your kernel version) code in atyfb to
initialize the RAGE XL.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
@ 2004-08-12 19:11 ` Svetoslav Slavtchev
0 siblings, 0 replies; 7+ messages in thread
From: Svetoslav Slavtchev @ 2004-08-12 19:11 UTC (permalink / raw)
To: Ralf Ackermann; +Cc: linuxconsole-dev, linux-mips, rac
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1475 bytes --]
> Hello,
>
> I'm trying to get VGA output on a MIPSel system (MeshCube
> http://www.meshcube.org) to work.
> The system uses a miniPCI ATI Rage VGA card (=> problem does not get
> initialized due to lack of system BIOS => hopefully initialized by int10
> XFree86 x86 emulator code).
>
> I've attached an USB mouse and keyboard but fail to start X due to
>
> Fatal server error:
> xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
>
> My questions to those working with MIPS boards / on the Ruby/Linux console
> project are:
> - 1. How to test the USB input functionality?
> (I could test the mouse by doing: cat < /dev/input/mice
> => any hints on doing something similar for the keyboard?)
not a guru here, but i hope this will help you
-----------------------
modprobe evdev
cat /proc/bus/input/devices
: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=4 2000000 2b803878 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7
<snip>
cat /dev/input/event0
------
should give you some characters on typing to
the corresponding keyboard
> - 2. Any hints on the missing /dev/tty0 stuff? (this is maybe
> related to the console / keyboard stuff?)
>
> Any hints are welcome, best regards
> Ralf
best,
svetljo
--
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
@ 2004-08-12 19:11 ` Svetoslav Slavtchev
0 siblings, 0 replies; 7+ messages in thread
From: Svetoslav Slavtchev @ 2004-08-12 19:11 UTC (permalink / raw)
To: Ralf Ackermann; +Cc: linuxconsole-dev, linux-mips
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1475 bytes --]
> Hello,
>
> I'm trying to get VGA output on a MIPSel system (MeshCube
> http://www.meshcube.org) to work.
> The system uses a miniPCI ATI Rage VGA card (=> problem does not get
> initialized due to lack of system BIOS => hopefully initialized by int10
> XFree86 x86 emulator code).
>
> I've attached an USB mouse and keyboard but fail to start X due to
>
> Fatal server error:
> xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
>
> My questions to those working with MIPS boards / on the Ruby/Linux console
> project are:
> - 1. How to test the USB input functionality?
> (I could test the mouse by doing: cat < /dev/input/mice
> => any hints on doing something similar for the keyboard?)
not a guru here, but i hope this will help you
-----------------------
modprobe evdev
cat /proc/bus/input/devices
: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120003
B: KEY=4 2000000 2b803878 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7
<snip>
cat /dev/input/event0
------
should give you some characters on typing to
the corresponding keyboard
> - 2. Any hints on the missing /dev/tty0 stuff? (this is maybe
> related to the console / keyboard stuff?)
>
> Any hints are welcome, best regards
> Ralf
best,
svetljo
--
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
2004-08-12 18:02 Q: problems with missing /dev/tty0 on X startup in MIPS system Ralf Ackermann
2004-08-12 19:04 ` Geert Uytterhoeven
2004-08-12 19:11 ` Svetoslav Slavtchev
@ 2004-08-12 20:06 ` Goswin von Brederlow
2 siblings, 0 replies; 7+ messages in thread
From: Goswin von Brederlow @ 2004-08-12 20:06 UTC (permalink / raw)
To: Ralf Ackermann; +Cc: linuxconsole-dev, linux-mips
Ralf Ackermann <rac@KOM.tu-darmstadt.de> writes:
> Hello,
>
> I'm trying to get VGA output on a MIPSel system (MeshCube
> http://www.meshcube.org) to work.
> The system uses a miniPCI ATI Rage VGA card (=> problem does not get
> initialized due to lack of system BIOS => hopefully initialized by int10
> XFree86 x86 emulator code).
>
> I've attached an USB mouse and keyboard but fail to start X due to
>
> Fatal server error:
> xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
Didn't you see my mail about MAKEDEV?
MfG
Goswin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
2004-08-12 19:04 ` Geert Uytterhoeven
@ 2004-08-12 22:15 ` Ralf Ackermann
2004-08-12 22:28 ` Pete Popov
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Ackermann @ 2004-08-12 22:15 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Ralf Ackermann, dev-list, linuxconsole-dev,
Linux/MIPS Development
Still unable to get the miniPCI ATI Rage to work with the meshcube.
> Yep, that's the current virtual console. Do you have CONFIG_VT enabled? If yes,
> probably the VC initialization failed due to vgacon failing. In that case, you
> can try enabling dummycon (and hope X can wake up your graphics card).
>
> BTW, there exists (depending on your kernel version) code in atyfb to
> initialize the RAGE XL.
Hello Geert,
many thanks for your help. With the dummycon and the atyfb code activated
(I'm using a 2.4.24 kernel) I was able to start the X server.
Unfortunately - neither the fbdev code nor the X startup activates the
card.
The X startup failed with an "unable to map the card" once and now
repeatedly fails with:
...
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Aug 13 00:05:26 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(EE) No devices detected.
Fatal server error:
no screens found
I do not see whether any int10 module specific code is executed (the X.log
file does not indicate any module load activities at all.
Any hints here on the list on how to proceed? I'll probably better try
to ask the Xfree people now.
best regards
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Q: problems with missing /dev/tty0 on X startup in MIPS system
2004-08-12 22:15 ` Ralf Ackermann
@ 2004-08-12 22:28 ` Pete Popov
0 siblings, 0 replies; 7+ messages in thread
From: Pete Popov @ 2004-08-12 22:28 UTC (permalink / raw)
To: Ralf Ackermann
Cc: Geert Uytterhoeven, dev-list, linuxconsole-dev,
Linux/MIPS Development
>Unfortunately - neither the fbdev code nor the X startup activates the
>card.
>The X startup failed with an "unable to map the card" once and now
>repeatedly fails with:
>
>
I don't know which ATI Rage card you have exactly, but there is a patch
for the RageXL (tested on a MIPS board) on
ftp.linux-mips.org:/pub/linux/mips/people/ppopov/2.4/aty_nobiosinit.patch.
The problem is that at kernel version 2.4.24 or .25, don't remember
which one, the aty code was restructured and the patch does not apply
anymore.
Pete
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-12 22:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-12 18:02 Q: problems with missing /dev/tty0 on X startup in MIPS system Ralf Ackermann
2004-08-12 19:04 ` Geert Uytterhoeven
2004-08-12 22:15 ` Ralf Ackermann
2004-08-12 22:28 ` Pete Popov
2004-08-12 19:11 ` Svetoslav Slavtchev
2004-08-12 19:11 ` Svetoslav Slavtchev
2004-08-12 20:06 ` Goswin von Brederlow
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.