Xorg on fbdev, howto?
Rahul Jain
rahul at schmizz.net
Thu Aug 21 00:45:23 PDT 2008
On Thu, Aug 21, 2008 at 9:24 AM, Rahul Jain <rahul at schmizz.net> wrote:
> On Wed, Aug 20, 2008 at 5:35 PM, Rahul Jain <rahul at schmizz.net> wrote:
>> I am trying to configure X server on an ARM based virtual processor.
>> The binaries that I have are from Xorg 6.8.2 however.
>> The frame buffer device that I have is a "CLCD: Versatile hardware,
>> Sanyo QVGA display". Now, this in theory seems to work as a
>> framebuffer device, since I can see the kernel boot up logo through a
>> GUI which communicates with it.
>> Since there was no device /dev/fb* I created one:
>>
>> mknod /dev/fb0 c 29 0
>>
>> But it looks like this is not correct, for when I try to start the X
>> server here is what I get:
>>
>> /usr/bin/X11/startx: /usr/bin/X11/startx: 130: mcookie: not found
>> xauth: creating new authority file //.Xauthority
>> xauth: creating new authority file //.Xauthority
>> xauth: (stdin):1: bad "add" command line
>> xauth: creating new authority file //.Xauthority
>> xauth: creating new authority file //.Xauthority
>> xauth: (stdin):1: bad "add" command line
>>
>> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
>> _XSERVTransOpen: transport open failed for inet6/10.0.2.15:0
>> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
>>
>> X Window System Version 6.8.2
>> Release Date: 9 February 2005
>> X Protocol Version 11, Revision 0, Release 6.8.2
>> Build Operating System: MontaVista Linux [ELF] MontaVista Software, Inc.
>> Current Operating System: Linux 10.0.2.15
>> 2.6.18_pro500-versatile926ejs #144 PREEMPT Wed Aug 20 16:38:21 CEST
>> 2008 armv5tejl
>> Build Date: 10 March 2007
>> Before reporting problems, check http://wiki.X.Org
>> to make sure that you have the latest version.
>> Markers: (--) probed, (**) from config file, (==) default setting,
>> (++) from command line, (!!) notice, (II) informational,
>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 1 00:00:00 1970
>> (==) Using config file: "/etc/X11/xorg.conf"
>> (EE) FBDEV(0): FBIOPAN_DISPLAY: Invalid argument
>>
>>
>> If someone could please tell me how to get this working, I would be
>> really grateful. I am really sorry that I am using such an old version
>> of the Xorg server but this is what I have at the moment.
>>
>> Thanks
>> Rahul Jain
>>
>
> It seems that the fbdev went to sleep after some time. And the fbdev
> is running on /dev/tty0. I typed the following to wake up the frame
> buffer device.
> echo -n -e "\\033[9;0]" >/dev/tty0
>
> However, when I start X now, I get the following error:
>
> # xinit
>
> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> _XSERVTransOpen: transport open failed for inet6/10.0.2.15:0
> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
>
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: MontaVista Linux [ELF] MontaVista Software, Inc.
> Current Operating System: Linux 10.0.2.15
> 2.6.18_pro500-versatile926ejs #144 PREEMPT Wed Aug 20 16:38:21 CEST
> 2008 armv5tejl
> Build Date: 10 March 2007
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 1 00:00:00 1970
> (==) Using config file: "/etc/X11/xorg.conf"
> (EE) FBDEV(0): ioctl FBIOGET_FSCREENINFO: Invalid argument
> (EE) Screen(s) found, but none have a usable configuration.
>
> Fatal server error:
> no screens found
>
> Please consult the The X.Org Foundation support
> at http://wiki.X.Org
> for help.
> Please also check the log file at "/var/log/Xorg.0.log" for additional
> information.
>
> Any ideas anyone?
>
Forgot to attach the Xorg.0.log. Here it is, maybe someone has an idea.
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/10.0.2.15:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: MontaVista Linux [ELF] MontaVista Software, Inc.
Current Operating System: Linux 10.0.2.15
2.6.18_pro500-versatile926ejs #144 PREEMPT Wed Aug 20 16:38:21 CEST
2008 armv5tejl
Build Date: 10 March 2007
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 1 00:00:00 1970
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "fb0"
(WW) No monitor specified for screen "Screen 1".
Using a default monitor configuration.
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/TTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(WW) FontPath is completely invalid. Using compiled-in default.
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(--) using VT number 2
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) FBDEV: driver for framebuffer: fbdev
(II) FBDEV(0): using /dev/fb/0
(II) Running in FRAMEBUFFER Mode
(EE) FBDEV(0): ioctl FBIOGET_FSCREENINFO: Invalid argument
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
Rahul
More information about the xorg
mailing list