On 8/5/2011 12:59 AM, Kirk Wallace wrote: > 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
Lots of good info here, Kirk, but I don't think your guess is correct. I looked at the source code for lspci and all it does is read the value of a bit, conventionally called PCI_COMMAND_IO, in a word, conventionally called PCI_COMMAND in the device interface. If it is unset, then lspci appends the "disabled" label in its report. I believe it is the driver that sets this bit as part of its initialization but I'm not in a position to test this. Nothing earthshaking here. Just a minor correction to make sure no one over-estimates the intelligence of lspci. Regards, Kent ------------------------------------------------------------------------------ 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
