Hello again,
Am 11.07.2012 15:38, schrieb Juergen Beisert:
Well, I tried it with both the current kernel 3.4.4 and a quite old one
(2.6.39) now (both compiled using ptxdist-2012.06.0) now, and both
result in the same black display. Either my configuration ist wrong (but
I don't know what to change at all), or it actually doesn't work and
hasn't worked for some time. Theres only one older kernel with patch
files in the BSP (2.6.38), I will give that one a try as well.
Do not use older kernels from my BSP. If the 3.4.4 does not work, even the
older ones will not work. It seems the kernel code for the AT070TN83 is
broken since the beginning.
Well, before I could heed your warning, a funny thing happened: the
2.6.38 kernel works.
The fbtest aplications shows a picture, and after enabling the frame
buffer console in the kernel config (where it seemed to be disabled by
default) I got picture there as well. Your objections nonwithstanding, I
will use the 2.6.38 for the time being, now trying to get xorg to start
properly. At the moment "startx" starts the X window system, then starts
a few dozen(!) xterms that almost bring the system to a halt, and
nothing else. After i kill all the xterms, the cpu load goes down to
normal, but it seems the default xorg.config isn't working. I have built
the system using the stardard xserver (not klive) and the corresponding
input drivers, but the tslib doesn't work (though calibrating the
library with the console program works).
log output:
(EE) XKB: Couldn't open rules file /usr/lib/X11/xkb/rules/xfree86
XKB: Failed to compile keymap
(EE) Generic Keyboard: Keyboard initialization failed. This could be a
missing or incorrect setup of xkeyboard-config.
(EE) Couldn't init device "Generic Keyboard"
ts_open failed (device=(null))
(EE) PreInit returned NULL for "tslib"
(EE) <default pointer>: Cannot find which device to use.
(EE) xf86OpenSerial: No Device specified.
(EE) <default pointer>: cannot open input device
(EE) PreInit failed for input device "<default pointer>"
Default config generated by ptxdist (just commented out the mouse part,
as I've got no mouse connected to the board):
Section "Files"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
### Disable default modules
#Section "Module"
# Disable "dbe"
# Disable "glx"
# Disable "freetype"
# Disable "type1"
# Disable "record"
# Disable "dri"
#EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "de"
EndSection
Section "InputDevice"
Identifier "tslib"
Driver "tslib"
Option "SendCoreEvents"
Option "TslibDevice" "/dev/input/event0"
EndSection
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
#EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "fbdev"
Option "DontSetTiming" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
InputDevice "tslib"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
EndSection
I don't know what goes wrong here - as it seems, the tslib driver tries
to open "(null)" instead of the input device /dev/input/event0 which is
named in the xorg.config. I will try to find out what's the problem
here, but if anyone has a tip for me I'd be grateful.
Greetings
Karim Senoucci