On Thu, 2011-08-04 at 20:58 -0700, doug metzler wrote: > Thanks Dave, It's a NetMos Technology PCI 9865 Parallel Controller card. > > I found this great tutorial here: > > http://ubuntuforums.org/showthread.php?t=1233589 > > and as you can see I posted a request but didn't get a response. > > The symptom is that my instance is showing the card as being disabled. > I don't know what step I missed to enable the card. And I really > don't have sufficient knowledge of sudo or any of the tools used in > the message to work my way through error messages. > > Thanks, > > DougM
I haven't reviewed your history, so this may not apply. If you are using your parallel port to control some of your machine's I/O or software signal generation, I believe the "disabled" message does not matter. The lspci utility provides the BIOS addresses that are assigned to your card. My guess is, lspci also checks to see if any drivers are using the listed addresses and if not, labels them "disabled". In the old days, EMC2 and the normal printer driver did not get along, so the EMC2 distribution removed the automatic loading of the parallel port printer drivers that were normally in the bootup sequence. You can load the printer driver and, I believe (maybe?), the disabled status in lspci will go away. There is some information at the bottom of this page: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos So, if you are not running a printer, don't worry about "disabled". The EMC2 parallel port driver will make the port available to EMC2's HAL. If you are, load the linux printer drivers and the card should work for printing. Usually, the tricky part is in finding the proper address space to use with the EMC2 port driver. The lspci list could show one or more address blocks. My understanding so far is, for each parallel port there are one or more, usually three, blocks. One is for the standard parallel port I/O (data out register, control register, status register), then extended block (registers for Bi-directional, EPP, ECP) and maybe manufacturers special block. If your card has two parallel ports or serial ports more blocks will show up. The above link may show some hints on how to find the base register address that is needed for the EMC2 port driver. Also, the linux parallel port and printer drivers, if loaded, will reserve the I/O address blocks for printing and (may) keep EMC2 from using them. "lsmod" should list the loaded modules. Look for ppdev, pp, and parport_pc and unload them if needed (again, see above link). -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
