Re:GEOS Device Drivers (again)

diel@intbuso.boeblingen.netsurf.de
Tue, 17 Dec 96 16:34:30 -0500

Nathan, as I send you the previous urgent message, I think I should inform
you on my newest findings. My PCMCIA driver (as any PCMCIA driver) needs
the PCMCIA library. When GEOS attempts to load my driver, it first
attempts to load the PCMCIA library. A few hours ago, I got suspicious
that the problem GEOS seems to have with my driver is in fact a problem it
has with its PCMCIA library. So I removed all references to the PCMCIA
library from my device driver and tried a again the GeodeUseDriver() for
my driver.
It worked successfully !!!!

This leads to new and modified questions (i.e. you may ignore my previous
note):

1. Isn't it possible to get more detailed possible causes for the return
code
GLE_LIBRARY_PROTOCOL_ERROR for the case where an indirectly
required library is the source of the problem ?
- what is the exact condition being violated ?
- which two protocol numbers are compared (if at all) ?
(PCMCIA library with device driver, or with the system, or with
the
application)
2. Is it possible for me to change the protocol number of the PCMCIA
library ? I experimented already, and found out that I'm able to
generate
a .REV file for the PCMCIA library, but I rather ask you before I
may damage something.
3. Do you have any idea what a reasonable protocol number would be ?
(assuming that the protocol number is the source of the problem)
4. Is it (a) necessary and (b) possible for me to reset the protocol
number
of my device driver after having it increased to 12 ?
5. What can I expect when I move to the real Omnigo ? (So far I'm still
with the emulator).
Are the protocol numbers of the Omnigo Simulator and that of the real
Omnigo identical ?

Sorry for causing you that much work, but I hope you agree that it is not
possible for an average developer to develop a GEOS PCMCIA device driver
without help.

Regards, Hans Diel

-----------------------------------------------------------
diel@intbuso.boeblingen.netsurf.de
-----------------------------------------------------------