kopia lustrzana https://gitlab.com/sane-project/website
99 wiersze
3.8 KiB
HTML
99 wiersze
3.8 KiB
HTML
<!-- received="Wed Dec 23 18:26:15 1998 PST" -->
|
||
<!-- sent="Thu, 24 Dec 1998 13:22:56 +1000" -->
|
||
<!-- name="Mick Howe" -->
|
||
<!-- email="mickhowe@pcug.org.au" -->
|
||
<!-- subject="Re: Plustek Parallel and Os/2" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="Plustek Parallel and Os/2" -->
|
||
<title>sane-devel: Re: Plustek Parallel and Os/2</title>
|
||
<h1>Re: Plustek Parallel and Os/2</h1>
|
||
<b>Mick Howe</b> (<a href="mailto:mickhowe@pcug.org.au"><i>mickhowe@pcug.org.au</i></a>)<br>
|
||
<i>Thu, 24 Dec 1998 13:22:56 +1000</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#268">[ date ]</a><a href="index.html#268">[ thread ]</a><a href="subject.html#268">[ subject ]</a><a href="author.html#268">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0269.html">Justin Young: "Re: scanmaker v310?"</a>
|
||
<li> <b>Previous message:</b> <a href="0267.html">Alex Madon: "kernel panic HP6200C scanner + SCSI?"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
I'm still not able to compile the code. I need to solve the following:-<br>
|
||
<p>
|
||
typedef VOID (*PFNDATAPROCESS)(PVOID pBuf, PVOID pImage, ULONG<br>
|
||
dwAppBytesLine);<br>
|
||
typedef VOID (*PFNLINESAMPLE)(VOID);<br>
|
||
<p>
|
||
I can't see what is actually being defined here<br>
|
||
<p>
|
||
typedef BOOLEAN (*PFNSHADING)(VOID);<br>
|
||
<p>
|
||
<p>
|
||
if((pBuffer = ExAllocatePool(NonPagedPool, 2560)) != NULL) /* 1280:<br>
|
||
Read,1280:Write */<br>
|
||
{<br>
|
||
/* setup ASIC registers and clear all scan states (no stepping) */<br>
|
||
RtlZeroMemory(&AsicReg, sizeof (AsicReg));<br>
|
||
RtlZeroMemory(a_nbNewAdrPointer, $NumberOfScanStep / 2);<br>
|
||
<p>
|
||
asic.c: In function `ReadWriteTest':<br>
|
||
asic.c:102: warning: implicit declaration of function `kmalloc'<br>
|
||
asic.c:102: `GFP_KERNEL' undeclared (first use this function)<br>
|
||
asic.c:102: (Each undeclared identifier is reported only once<br>
|
||
asic.c:102: for each function it appears in.)<br>
|
||
asic.c:128: warning: implicit declaration of function `kfree'<br>
|
||
asic.c: In function `SetupScannerVariables':<br>
|
||
asic.c:353: `GFP_KERNEL' undeclared (first use this function)<br>
|
||
<p>
|
||
I think this bit is Linux specific and needs a rewrite for OS/2<br>
|
||
<p>
|
||
<p>
|
||
ptdrv.c:54: warning: `struct inode' declared inside parameter list<br>
|
||
ptdrv.c:54: warning: its scope is only this definition or declaration,<br>
|
||
ptdrv.c:54: warning: which is probably not what you want.<br>
|
||
<p>
|
||
Not sure about this<br>
|
||
<p>
|
||
At the moment I'm trying to figure out how to open and talk to the<br>
|
||
parallel port.<br>
|
||
I may be trying to exceed my abilities.<br>
|
||
<p>
|
||
Progress reports will follow when I make same progress.<br>
|
||
<p>
|
||
/\/\ik<br>
|
||
<p>
|
||
Aluigi Teseo wrote:<br>
|
||
<p>
|
||
<i>> Hello Mick.</i><br>
|
||
<i>> I have read your message to Sane Mailing list,..I have the Plustek</i><br>
|
||
<i>> Parallel Scanner 600P ...and not work with Os/2.</i><br>
|
||
<i>> You are suceed to work ? ....like?</i><br>
|
||
<i>> Thanks for your reply,...excuse my English I don't speak.</i><br>
|
||
<i>></i><br>
|
||
<i>> --</i><br>
|
||
<i>></i><br>
|
||
<i>> CIAO,TESEO.</i><br>
|
||
<i>> INTERNET --> <a href="mailto:a.teseo@provincia.ps.it">a.teseo@provincia.ps.it</a></i><br>
|
||
<i>> ICQ UIN --> 6767048</i><br>
|
||
<i>> * OS/2 Supporter *</i><br>
|
||
<i>> "Perche' uso OS/2? ....Perche' amo poter scegliere."</i><br>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<pre>
|
||
--
|
||
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
||
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0269.html">Justin Young: "Re: scanmaker v310?"</a>
|
||
<li> <b>Previous message:</b> <a href="0267.html">Alex Madon: "kernel panic HP6200C scanner + SCSI?"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|