[Bug 827] New: - Running Agfa Photowise under Wine
wine-bugs at winehq.com
wine-bugs at winehq.com
Thu Jun 27 02:08:10 CDT 2002
http://bugs.winehq.com/show_bug.cgi?id=827
Summary: Running Agfa Photowise under Wine
Product: Wine
Version: 20020605
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: wine-files
AssignedTo: wine-bugs at winehq.com
ReportedBy: tkujala at lut.fi
When Agfa Photowise tries to comminucate to the digital camera connected in
/dev/ttyS0, it tries to flush all file buffers using FlushFileBuffers()
Under linux, flushing /dev/ttyS0 seems to fail and FlushFileBuffers() will
return FALSE, which in turn causes Photowise to think that communication has failed.
Changing FlushFileBuffers() in files/file.c to always return TRUE, will make
Photowise to work perfectly, and finally I can use my old Agfa CL50 at full
115200 speed under linux.
The change I did was:
BOOL WINAPI FlushFileBuffers( HANDLE hFile )
{
BOOL ret;
SERVER_START_REQ( flush_file )
{
req->handle = hFile;
ret = !wine_server_call_err( req );
}
SERVER_END_REQ;
/* do not ever fail :) */
return TRUE;
/*return ret;*/
}
But this is not good, there probably should be some knowledge in the hFile,
which would tell the wineserver that this is a serial device and flushing
should be done in some other way (or not at all?).
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=827>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list