dummy_drv.o

George Kraft gk4 at swbell.net
Mon Nov 1 13:51:00 PST 2004


I'm trying to setup "dummy" as a 2nd device for my Xserver so
that I can use it with the gnome-magnifier:

#!/bin/sh
#
#	Filename "$HOME/.xinitrc".  
#	Run "xinit" to start X with the magnifier and 
#	virtual frame buffer.
#
exec > $HOME/.xerrors 2>&1
set -x
echo DISPLAY=$DISPLAY

(DISPLAY=:0.1 xsetroot -solid navy)
(DISPLAY=:0.1 xclock -geometry 100x100+462+340 &)
(DISPLAY=:0.0 xclock -digital -geometry 100x100+462+340 &)
#(DISPLAY=:0.1 gnome-session &)
sleep 5

magnifier -t $DISPLAY -s :0.1 -f -m -r 300 -z 1.5
xterm

#EOF

Below is a patch to my xorg.conf file; however, I'm not able to get
access to :0.1.  Could someone give me some hints?  I know there are
other ways to accomplish magnification, but I would like to see this
working first.

Thanks,

George (gk4)

*** xorg.conf.orig 2004-11-01 10:32:44.000000000 -0600
-- xorg.conf 2004-11-01 10:36:49.000000000 -0600
***************
*** 21,26 ****
-- 21,27 --
  EndSection
  
  Section "Module"
+ Load  "dummy"
  Load  "dbe"
  Load  "extmod"
  Load  "fbdevhw"
***************
*** 104,109 ****
-- 105,128 --
  EndSubSection
  EndSection
  
+ Section "Device"
+ Identifier "VFB"
+ Driver     "dummy"
+ EndSection
+ 
+ Section "Screen"
+ Identifier "Screen1"
+ Device "VFB"
+ EndSection
+ 
+ Section "ServerLayout"
+ Identifier "VFB Configured"
+ Screen 0 "Screen0" 0 0
+ Screen 1 "Screen1" RightOf "Screen0"
+ InputDevice "Mouse0" "CorePointer"
+ InputDevice "Keyboard0" "CoreKeyboard"
+ EndSection
+ 
  Section "DRI"
  Group        0
  Mode         0666

George (gk4)





More information about the xorg mailing list