I run Linux, but I have to keep a Win98SE partition for little things, one of which is ir.exe.
In common with other programs built from Delphi with little addon, ir.exe runs under WINE. The only (and crucial) problem is that it cannot access the Parallel port. Having gone through the source, there are a series of assembler IN and OUT commands which do the transfer. Linux being a secure system blocks them, I suppose.
I do not need the parallel port for anything else, as my printer and scanner are USB. Has anyone managed to solve this problem? If so, what did they do?
ir.exe and Linux/Wine?
Moderator: Moderators
ir.exe and Linux/Wine?
URC7560/URC7562, URC8910, URC6440/OARUSB04G and URC3661/Insignia NS-RMT5D21/Insignia NS-RMT8D21
-
classicsat
- Posts: 279
- Joined: Fri Feb 20, 2004 2:24 pm
That's the whole point, what I am asking is: does anyone know how to bypass the security so that I can do the IN/OUT stuff via my JP1. Otherwise WINE and ir.exe would work OK. I could make a few adjustments to the source and compile it in Lazarus/FPC, but I doubt it would make any difference!
URC7560/URC7562, URC8910, URC6440/OARUSB04G and URC3661/Insignia NS-RMT5D21/Insignia NS-RMT8D21
-
classicsat
- Posts: 279
- Joined: Fri Feb 20, 2004 2:24 pm
Maybe there is some more Linux appropriate solution using the USB version of the cable.
But if you want the printer port version, writing a seperate app would probably take a Linux Guru and would be much harder than solving the problem in Linux the same way it was solved in Windows.
PC hardware makes it easy for a device driver to kill the protection that stops an application from from direct use of the printer port. It should be a trivial task for a Linux Guru to write something that kills that protection. I'm not sure whether it would be easiest to kill it totally for the printer port, or just for the printer port within Wine, or for a specific application. But I'm confident some form of just killing the protection would be easier than doing it as a seperate app.
But if you want the printer port version, writing a seperate app would probably take a Linux Guru and would be much harder than solving the problem in Linux the same way it was solved in Windows.
PC hardware makes it easy for a device driver to kill the protection that stops an application from from direct use of the printer port. It should be a trivial task for a Linux Guru to write something that kills that protection. I'm not sure whether it would be easiest to kill it totally for the printer port, or just for the printer port within Wine, or for a specific application. But I'm confident some form of just killing the protection would be easier than doing it as a seperate app.
-
The Robman
- Site Owner
- Posts: 22063
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
The thread that Hal linked to explains how to run IR.exe under Linux.mtakahar wrote:https://www.hifi-remote.com/forums/viewtopic.php?p=19879
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!