Parallel port no longer accessible even though no changes to system.

Posted by marcusw on Stack Overflow See other posts from Stack Overflow or by marcusw
Published on 2010-05-09T00:27:50Z Indexed on 2010/05/09 1:38 UTC
Read the original article Hit count: 275

I have an old Dell Dimension 8200 running Gentoo which I use solely to control various things using the parallel port. After shutting it down a few weeks ago, I started it up again today and tried to access the parallel port like I usually do. Unfortunately, my code bombed out when it tried to call ioperm(888,1,1) to grab the parallel port which returned an error code of -1. There have been no changes to the system be it hardware or software, no updates, no tweaking, no dropping the case, no over-amping the data pins, nothing. The port and the software have been working fine for months with no changes, and were working fine when I shut it down last. Running my code with root privileges changes nothing. What is breaking this and how can I fix it?

© Stack Overflow or respective owner

Related posts about parallel-port

Related posts about hardware-interface

  • Serial Port Data Structure

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I need to send data to a hardware device over serial port. I'm using a program called serial port tool for os x. After I connect to the device there is a form box where I can type data to send. I have no idea how to format the data. Here is an excerpt from the manual for the device. "The Net Manager… >>> More

  • GDI & Hardware Cursor

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Dear All I am working on iMX51 project. I want to know what does GDI and hardware cursor means? The RTOS which i am using is WINCE 6.0 r3. We are actually looking to speed up the GDI and to implement the hardware cursor. So for that i want to know abt the GDI and the Hardware… >>> More

  • Ruby SerialPorts Gem

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Using Ruby SerialPorts Gem to interact with hardware. When I write a byte array to the hardware using a program called "Serial Port Monitor" the hardware responds correctly. However, when I write the same byte array using ruby it doesn't work unless I do a read request just before the write request… >>> More

  • How to simulate a USB drive

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi all, Is it possible to simulate a USB drive with software only? I mean, for example, to expose a local memory space to the OS so the device manager will recognize it as a USB device. I'm not familiar with hardware implementation, but I'm sure that it is possible somehow to emulate the USB protocol… >>> More

  • problem with two .NET threads and hardware access

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm creating an application which communicates with the device via FT2232H USB/RS232 converter. For communication I'm using FTD2XX_NET.dll library from FTDI website. I'm using two threads: first thread continuously reads data from the device the second thread is the main thread of the Windows Form… >>> More