Re: About Parallel Port Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 2007-05-25 at 14:48 +0800, Zhongli Xu wrote:
> I have a .sys driver for parallel port communication. 
> But it seems wine didn't support loading the driver.

As the first step, you should try to avoid the special Driver 
and use the Parallelport-Driver from Windows.
The default Location in the ObjectManager for
the first Parallel Port is: "\Device\Parallel0".
(HKLM\Hardware\Devicemap\Parallel Ports\")

But Parallel Ports are unsupported in wine yet....
(For serial Ports, the Driver is: "dlls\ntdll\serial.c")

> And directly accessing to parallel port is not allowed on the XP
> host, 
> therefore _outp and _inp are useless. 

You need to use the Windows-API for the access:
CreateFile / ReadFile / WriteFile and DeviceIOControl.

I do not know, if this need Admin-Rights...


-- 
 
By by ... Detlef



_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux