LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-27-2007, 11:15 AM   #1
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
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.
 
Old 05-27-2007, 11:50 AM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
If the port is enabled in the BIOS and kernel support is enabled then lshw definitely will show resources used.
 
Old 05-27-2007, 12:32 PM   #3
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Original Poster
Rep: Reputation: 30
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
 
Old 05-27-2007, 12:38 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
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)
 
Old 05-27-2007, 01:46 PM   #5
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Original Poster
Rep: Reputation: 30
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

Last edited by muddywaters; 05-27-2007 at 07:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 02:15 AM
parallel port mehro Linux - Hardware 5 01-31-2006 07:43 AM
Can't find parallel port /printer Richard Perry Linux - Hardware 1 03-04-2005 08:33 PM
Cannot use parallel port under 2.6.4 jimbob1234 Slackware 2 03-14-2004 09:34 PM
Mandrake 9 can't find parallel port printer jrfay Linux - Hardware 0 03-14-2003 01:11 PM


All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration