xserver-kdrive-common : Xserver: add support xorg for buglabs's bug 1.x an bump PR
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sun, 28 Mar 2010 02:01:57 +0000 (04:01 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sun, 28 Mar 2010 16:16:15 +0000 (18:16 +0200)
commitc63b4066a5b2552a04e8a2e692931fc5fbb253c6
treebc00472dc862f981c34c4553fb4fccef6cd75bc0
parent771108bb00dceae1f1f80ef9467e79fe19528937
xserver-kdrive-common : Xserver: add support xorg for buglabs's bug 1.x an bump PR

Handle the case where we have Xorg on a bug device
  (kdrive support was not present and not added):
The bug device has 3 framebuffer devices nodes:
/dev/fb0 : 160x105 monochrome lcd screen, on bugbase
/dev/fb1 : 320x240 first color lcd screen (bug module)
/dev/fb2 : 320x240 second color lcd screen (bug module)

if we don't add this commit,Xserver would be running the following command
  at the end:
xinit /etc/X11/Xsession -- /usr/bin/Xorg :0  -pn -screen 160x105x1
which will produce the following result for xorg:
(EE) No Screen section called "160x105x1"
(EE) Unable to determine the screen layout
(EE) Error parsing the config file

Fatal server error:
no screens found

Note that here  "bug" is the machine defined in conf/machine/bug.conf
recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver
recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb