Hi Will - I'm a bit tired but I recall having to try all the addresses to get my Netmos card to work - which you've already done. Looking at my config file I have quotes around my addresses (I have 2 ports, one an input only so that might be why - I'd have to go back and read docs). Also the dmesg file says something about the module parport - did you try commenting out the loadrt prob_parport? Not sure if this is what it refers to. Sorry I can't be of more assistance at the moment.
HTH Greg www.distinctperspectives.com > From: William Baden [mailto:willba...@hotmail.com] > Sent: Sunday, April 05, 2009 10:41 PM > Subject: [Emc-users] PCI Parallel port > > Hi all, > > Being still new to linux and EMC2 I have decided to use an old computer to learn > more about it, using a small table top mill that I built using various parts. Wanting > to branch out into a cheap I/O upgrade I decided to purchase a PCI parallel port > card. But I have run into a problem getting this going. > > After installing the card, I used "sudo lspci -v" to find out the address, this is what > was displayed: > [SNIP] > > 00:0b.0 Serial controller: Titan Electronics Inc VScom 010L 1 port parallel adaptor > (prog-if 02 [16550]) > Subsystem: Titan Electronics Inc VScom 010L 1 port parallel adaptor > Flags: medium devsel, IRQ 9 > I/O ports at c400 [size=8] > I/O ports at c800 [size=8] > I/O ports at cc00 [size=8] > I/O ports at d000 [size=8] > Memory at ed001000 (32-bit, non-prefetchable) [size=64] > [/SNIP > > Assuming that this "00:0b.0 Serial controller: Titan Electronics Inc VScom 010L 1 > port parallel adaptor" was the pci card that I recently installed, I used the address > "c400" for the address in the .hal file line: > > loadrt hal_parport cfg=0xc400 > > The .hal file that I used was created by stepconf, and functions fine with the built in > parallel port. But when I use 0xc400 as the address I get this error on startup of > Axis: > > Debug file information: > insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/emc2/hal_parport.ko': - > 1 Device or resource busy > FlatBed_Scanner_Mill_2nd_parallel_port_test.hal:27: exit value: 1 > FlatBed_Scanner_Mill_2nd_parallel_port_test.hal:27: insmod failed, returned -1 > See the output of 'dmesg' for more information. > 4820 > PID TTY STAT TIME COMMAND > Stopping realtime threads > Unloading hal components > > And also from dmesg: > > [ 336.998036] config string '0xc400' > [ 336.999790] PARPORT: ERROR: request_region(c400) failed > [ 336.999821] (make sure the kernel module 'parport' is unloaded) > > I have tried the other three address's listed. They allow Axis to start but cause no > outputs on the parallel port card. > > Also, after searching the Gmane archives, I found info about Netmos cards but nno > luck on VSCom. > > I am sure that I missed some steps in the setup fo this card but am unsure as to > what they are. > What are the steps that I missed to do and what can I do to track them down? > > Thanks, > > Will Baden > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users