LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2015, 04:51 PM   #1
brianmcm
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Rep: Reputation: Disabled
Newbie with a PCI to Parallel Card problem


I'm a newbie with a Linux box running Ubuntu 10.04 that I'm attempting to setup to control a desktop CNC. The box didn't have a parallel port so I purchased a SYBA PCI to Parallel card. Following the instructions from the card I ran "lspci -v" and below is what it showed;

03:00.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0010
Flags: medium devsel, IRQ 19
I/O ports at ec00 [size=8]
I/O ports at e880 [size=8]
I/O ports at e800 [size=8]
I/O ports at e480 [size=8]
I/O ports at e400 [size=8]
I/O ports at e080 [size=16]
Kernel modules: parport_serial

The instruction stated to use the following command;

/sbin/modprobe parport_pc io=e080, irq=19 If I read the instructions correctly.

Unfortunately, the instructions didn't say where to add this command line. Also I didn't see any drivers listed on the disk for the chipset referenced above. So is the card trying to use a generic driver installed by Linux?

Your guidance is greatly appreciated!!
Thank you Brian
 
Old 02-07-2015, 06:21 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,869

Rep: Reputation: 283Reputation: 283Reputation: 283
Hello Brian. Welcome to LQ forums. Your 'lspci' output confirms that the device is supported by the kernel 'parport_serial' driver.

BTW, the modinfo command will show the device chipsets supported by a given hardware driver module
Code:
modinfo parport_serial
The module will load automatically (at boot) with the detection of this card, but if you want to load it with options, then you create a file in /etc/modprobe.d/ directory eg 50-parport_serial.conf
Code:
options parport_serial io=e080, irq=19
*assuming these are valid options to parse
 
Old 02-07-2015, 09:27 PM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,869

Rep: Reputation: 283Reputation: 283Reputation: 283
Correction to my above post: I note the options pertain to the parport_pc module (on which parport_serial depends), so the configuration file would contain
Code:
options parport_pc io=e080, irq=19
 
Old 02-09-2015, 01:17 PM   #4
brianmcm
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you Ferrari for you assistance. Can you guide me on how to set this up to load correctly?
And what file am I modifying?

Sorry about having to hold my hand.
Again Thank you
Brian
 
Old 02-09-2015, 01:44 PM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,869

Rep: Reputation: 283Reputation: 283Reputation: 283
You need to create the file with an editor (as root). There are a number of editors, graphical and CLI you can choose from. For example, using nano
Code:
sudo nano /etc/modprobe.d/50-parport_pc.conf
Enter the root password when prompted. In that configuration text file put
Code:
options parport_pc io=e080, irq=19
Save when done. When you next boot, the module will load with these parameters.
 
Old 02-12-2015, 12:36 PM   #6
brianmcm
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you Ferrari for the guidance.
Hope to try it out this weekend. Will let you know.

Much appreciated, Brian
 
Old 02-12-2015, 08:22 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,201

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
Side notes.

Some bios may not like add on cards.

Some systems really do have a LPT0 on the motherboard even if no connector. So you may need to use this as LPT1.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding support for second parallel port on PCI card Serena Debian 1 08-18-2007 12:47 PM
parallel port PCI card : changing modes slg23 Linux - Hardware 1 06-05-2007 03:32 PM
I/O parallel port PCI Card (12886 chipset) bobbens Linux - Hardware 0 10-29-2004 12:57 PM
PCI Parallel Port Card Nerox Linux - Hardware 1 08-25-2004 07:48 AM
Trouble getting a printer to work through a PCI parallel port card kzito Linux - General 0 08-10-2003 01:22 PM


All times are GMT -5. The time now is 06:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration