Hi Karim,

Karim 'Kasi Mir' Senoucci wrote:
> 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.

Okay. Good to know. Now there is a chance to get also more recent kernels to 
work.

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

Why you want to run an X server on this little machine?

> 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>"
>
> [...]
>
> 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.

The tslib uses its own environment variables to "know" which input device it 
should use. Ensure the TSLIB_TSDEVICE environment variable is known, when the 
tslib gets loaded.
Refer also the 
file 
"configs/platform-friendlyarm-mini2440/projectroot/etc/profile.environment" 
from the BSP. It should be copied to "/etc/profile.environment" in your root 
file system. Ensure it gets sourced when you start your X-server.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to