testing strategy
Chuck Robey
chuckr at telenix.org
Sun Jul 20 12:33:54 PDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon Thum wrote:
> Chuck Robey wrote:
>> What's a dix? I *think* I saw the words "device independent Xserver),
>> but I'm
> xserver/dix, mainly. Absolutely useable.
>
>> Second, I never heard of a kdrive, and on this one, I can't even
>> hazard the
>> least guess. Same questions as above.
> xserver/hw/kdrive
> A experimetal server, quite independent code base AFAIK.
>
>> Lastly, xephyr. I get it that, in conjunction somehow with kdrive,
>> it's xome
> xserver/hw/kdrive/ephyr
> As I got it: Xserver-in-a-window
> But of course since you are testing xf86 input drivers, won't buy you a
> thing IMO.
Actually, I thought I would run my input driver under xephyr, then be able to
bring it up and take it down separately from my xserver. Hell, I give up on
this, then. I only REALLY need the config stuff, I guess.
>
>> God, I really hate freeloading like this, so if you folks know of
>> anything you
>> can think of which I should have read in advance of this, I'd really
>> appreciate
>> being pointed that way.
> I hope I helped you at least a bit.
> I'm doing input stuff too, on one system, and I don't know a way around
> ctrl-alt-Fx. Maybe get a second system (I guess that system wouldn't
> need a fullblown X, but don't rely on that). See this:
> http://www.x.org/wiki/Development/Documentation/ServerDebugging
All the people who replied, my thanks. I get really frustrated at being forced
to act like folks I normally hold in contempt, not being able to do my own
research. I know its not your fault, hell, I'm not terribly great at writing
docs either (although, if I could get anyone to commit to serving as my content
expert, I would write up what I use at least. I'm probably going to try to do
that anyhow, because no matter how little I know various parts, it seems better
than nothing at all.
I just finished spending 4 hours playing about with hw/xfree86/parser/cpconfig
(I wrote a small makefile for it) and I've been swapping various functions I
found in that directory, trying to find out how to parse the config file. I get
it how to print various stuff from List-s but I can't tell the right way to go
about making the List s yet. If there was an example of how to find all of the
following config section, I would truly appreciate this. Don't need to tell me
how to do it, just list the functions needed, I'll experiment out the rest:
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
#Driver "/dev/atkbd1"
Driver "keyboard"
EndSection
That's all. I'll be needing sections other than this, probably dealing with
tablets, and options I can't list here yet, but learning to do the stuff above
will certainly teach me what's left.
I know how to register all the values (valuators and buttons) and send events, I
just need to read the conf file. cpconfig is not terribly useful at this,
although it DOES work.
>
> Good luck!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiDkyIACgkQz62J6PPcoOmeFACfZL5Jw/KtfH8qu3nxtcCR7IBD
ZfUAoIptKcM9LdrjG8YeY80kCGovTH2B
=IhUI
-----END PGP SIGNATURE-----
More information about the xorg
mailing list