I built a projet that use direct i/o access to $100-$1F0 and $300-$307 i/o address. I use delphi 6 with a driver to enable direct i/o access in winNT,XP etc. and all is ok. Now I'd like to run my project in linux (I choose ubuntu 8.10) but all i/o access are refuse. Do you know if wine permit the direct use of i/o? What is the correct methode? (recompiling wine or the kernel, using a different i/o driver or other...)
Alessandro, Have you installed and registered the driver with wine? Sorry I can't answer more, as I haven't tried this type of i/o with Wine yet. Secondly, how large is the project, and what language? Often you can use QT, Mono, C++ or Java for these types of operations in Linux. If you are still in the development process, you may find success porting your code to another language. Cheers. -Tres On Sat, Mar 7, 2009 at 12:57 PM, alessandro_maffei <wineforum-user at winehq.org> wrote:> I built a projet that use direct i/o access to $100-$1F0 and $300-$307 i/o address. > I use delphi 6 with a driver to enable direct i/o access in winNT,XP etc. > and all is ok. > Now I'd like to run my project in linux (I choose ubuntu 8.10) but all i/o access are refuse. > Do you know if wine permit the direct use of i/o? > What is the correct methode? > (recompiling wine or the kernel, using a different ?i/o driver or other...) > > > > > >-- - Tres.Finocchiaro at gmail.com
alessandro_maffei wrote:> I built a projet that use direct i/o access to $100-$1F0 and $300-$307 i/o address. > I use delphi 6 with a driver to enable direct i/o access in winNT,XP etc. > and all is ok.Wine does not support this type of drivers. They can not and will not work on Wine. You can not access hardware ports on Linux from user space unless you running this program as root. Or used some other mechanism to allow yourself to access ports. Even if you running program as root, you still have to use ioperm() to enable port access. For more details see for example this HOWTO: http://tldp.org/HOWTO/IO-Port-Programming.html