LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   find parallel port address? (https://www.linuxquestions.org/questions/linux-general-1/find-parallel-port-address-557020/)

muddywaters 05-27-2007 10:15 AM

find parallel port address?
 
Suppose the hardware address for the parport could be found in bios but how to do this in ubuntu without resorting to the bios?

The device manager is not helping. Neither are commands like lspci or lshw and nothing shows up in dmesg. I expect it would be something like 0x378 but need to be sure as I will be running a special device through this port.

Emerson 05-27-2007 10:50 AM

If the port is enabled in the BIOS and kernel support is enabled then lshw definitely will show resources used.

muddywaters 05-27-2007 11:32 AM

Thanks for the quick reply Emerson. Unfortunately this could be bad news. I bought this machine second hand specifically to use the parallel port with a motor control software, Enhanced Machine Control (EMC).

Here's what shows up in "features setup" in the bios. Some of it is a bit greek to me

Code:

onboard FDC Enabled
Onboard IR Port disabled
Onboard Parallel Port 378
        Parallel Port Mode ECP
        Parallel Port IRQ 7
        Parallel Port DMA 3

Maybe this thread belongs in the hardware forum in hindsight :(

Emerson 05-27-2007 11:38 AM

FDC - floppy disk controller (I think)
IR Port - serial port, used for infrared adaptor.

Your parallel port seems enabled in the BIOS, do you have parport module loaded? (lsmod)

muddywaters 05-27-2007 12:46 PM

Code:

muddy@muddy-desktop:~$ lsmod | grep parport
parport                29640  2 ppdev,lp

In related news the floppy drive also doesn't work. Getting a bad feeling about this purchase :(

Edit and an update: The parallel port is enabled as proven by controllable stepping movement of all the motors. This is an unusual ubuntu release with a special kernel needed for realtime and some other features not normally found in ubuntu. Maybe this explains the total uselessness (is that a word?) of the ubuntu device manager?(rhetorical)

Thanks again for your help :)


All times are GMT -5. The time now is 06:53 PM.