We are developing a kernel and X driver for Solaris on SPARC systems, using
Sun Studio 12.  We're using the SUNWxwddk and the document OpenWindows
Server Device Developer's Guide.

 

These seems to be considerably more difficult than what we did for Solaris
and OpenSolaris for the X86.   One of the problems that we have is that we
can't figure out how to have both the mouse and touch screen capability (as
core pointers) simultaneously from a desktop (such as CDE).  

 

We can use the command xsetpointer, which is a small app we wrote that uses
XChangePointerDevice() to change the core pointer.  

 

In /usr/openwin/server/etc/OWconfig we have

 

# X Display

class="XDISPLAY" name="0"

        coreKeyboard="IKBD" corePointer="IMOUSE"

        dev0="/dev/fb";

 

# CG6 display adapter

class="XSCREEN" name="SUNWcg6"

        ddxHandler="ddxSUNWcg6.so.1" ddxInitFunc="sunCG6Init";

 

# Sun Keyboard module

class="XINPUT" name="IKBD"

        ddxHandler="ddxSUNWkbd.so.1"

        ddxInitFunc="ddxSUNWkbdProc";

 

# Sun Mouse module

class="XINPUT" name="IMOUSE"

        ddxHandler="ddxSUNWmouse.so.1"

        ddxInitFunc="ddxSUNWmouseProc";

 

In /etc/openwin/server/etc/OWconfig, we added:

 

 

class="XINPUT" name="XYZSER"

    ddxHandler="ddxXYZSerial.so.1"

    ddxInitFunc="ddxXYZControlProc";

 

At this time, our /etc/openwin/server/etc/OWconfig has the merged lines from
the /usr version and /etc version of OWconfig, which we think happened when
we issued the fbconfig command to change resolution.

 

On our X86-based Solaris systems, all of this is a bit easier (but then,
we're a lot more familiar with X11R6/Xfree), as all we need to do is add to
xorg.conf:

 

Section "ServerLayout"

        Identifier     "X.org Configured"

        Screen      0  "Screen0" 0 0

        InputDevice    "Mouse0" "CorePointer"

        InputDevice    "Keyboard0" "CoreKeyboard"

        InputDevice    "XYZ" "SendCoreEvents"

EndSection

 

 

Any help anyone could offer would be greatly appreciated!

 

 

Jeffery L. Bahr, PhD

Set Software Services

549 Rider Ridge Drive

Longmont, CO  80501

Voice:  (303) 485 0800 Extension 2
Cell:  (303) 594-8547
Fax:  (303) 682-5659

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/xwin-discuss/attachments/20080206/87e0643f/attachment.html>

Reply via email to