dos_fs: semi-stub for open("LPT")

Kirill Smelkov kirr at landau.phys.spbu.ru
Tue Dec 2 15:11:00 CST 2003


I had a problem with Phyton uprog32 (eprom programmer). This program first 
scans available parports by opening them (from LPT1 to LPT4) and then uses 
direct port access. While latter is ok with ppdev, open(LPT) fails with (LPT1 
fo example):

fixme:dosfs:DOSFS_OpenDevice device open L"LPT1" not supported (yet)
err:file:CreateFileW Couldn't open device L"LPT1"!

so here is my patch. i doubt it's correct, but at least it works (now i can 
use my ChipProg+ under Linux!!!)

Changelog:
    Kirill Smelkov <kirr at landau.phys.spbu.ru>
    semi-stub for CreateFile("LPT")








-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpt_open.patch
Type: text/x-diff
Size: 3430 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031203/d8fb4365/lpt_open.bin


More information about the wine-patches mailing list