Peter, Thanks for the idea, I have tried it and still come up with "device or resource busy" of one address and no output on the other three addresses. Will have to wait til after this weekend, taking a vacation with the wife!
Thanks again, Will Baden > Date: Tue, 7 Apr 2009 12:57:58 +0200 > To: [email protected] > From: [email protected] > Subject: Re: [Emc-users] PCI Parallel port > > William, > if you can't find the correct memory addresses of your card then try the > hard way: remove all PCI or ISA cards and everything else that's not > necessary to run the bare PC. Boot and look at /proc/ioports for changes to > the former state (risk a few sheets of paper ro print the file contents). > Test the port if you suspect an address to work. Then put in the other > cards one after the other, rebooting and trying each time. Weary job. > By the way: my addresses changed from a400 and b000 to b400 and d000 when I > moved the PC from one room to another...;-) > > Best regards > Peter Blodow > > Hello William, > > last week I had just the same problem. It turned out that some other device > claimed the same addresses as my Netmos 2 port card. This particular one > may be hard to find. First, use lspic -vv or even lspci -vvv to get more > information than with lspci -v. > > Look at /proc/ioports: You will find addresses like a400, b000 up to d000. > My card supplies 6 such possibilities to chose. Behind the valid address > EMC had put in a line stating "hal parport" as a comment. That's the one. > If you are not sure, try them all with stepconf: insert the address to be > tested, doubleclick on Continue to get to the X-Axis page and "test axis". > If the re is no motion, return with doubleclick and try the next address. > Within a minute I had tested all 6 addresses given. > Don't save the stepconf five when leaving in case you have made unintended > changes. > > Note that this address you found can change in case you play with BIOS or > Cmos-Setup or install some other devices. > > I made myself a printer port test plug with LED's (from a serial null > modem) so I can see what's happening on the lines without the whole machine > setup. > > Best regards > Peter Blodow > > > > At 04:40 06.04.2009, you wrote: > > >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: > > > >00:00.0 Host bridge: Intel Corporation 440LX/EX - 82443LX/EX Host bridge > >(rev 03) > > Flags: bus master, medium devsel, latency 64 > > Memory at e8000000 (32-bit, prefetchable) [size=64M] > > Capabilities: [a0] AGP version 1.0 > > > >00:01.0 PCI bridge: Intel Corporation 440LX/EX - 82443LX/EX AGP bridge > >(rev 03) (prog-if 00 [Normal decode]) > > Flags: bus master, 66MHz, medium devsel, latency 64 > > Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 > > I/O behind bridge: 0000b000-0000bfff > > Memory behind bridge: d8000000-e7ffffff > > > >00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01) > > Flags: bus master, medium devsel, latency 0 > > > >00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) > >(prog-if 80 [Master]) > > Flags: bus master, medium devsel, latency 64 > > [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] > > [size=8] > > [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] > > [size=1] > > [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] > > [size=8] > > [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] > > [size=1] > > I/O ports at f000 [size=16] > > > >00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) > >(prog-if 00 [UHCI]) > > Flags: bus master, medium devsel, latency 64, IRQ 10 > > I/O ports at c000 [size=32] > > > >00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01) > > Flags: medium devsel, IRQ 9 > > > >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] > > > >00:0c.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] > >(rev 30) > > Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100 > > Flags: bus master, medium devsel, latency 64, IRQ 10 > > I/O ports at d400 [size=128] > > Memory at ed000000 (32-bit, non-prefetchable) [size=128] > > Expansion ROM at ec000000 [disabled] [size=128K] > > Capabilities: [dc] Power Management version 1 > > > >01:00.0 VGA compatible controller: S3 Inc. 86c794 [Savage 3D] (rev 01) > >(prog-if 00 [VGA controller]) > > Subsystem: CardExpert Technology Unknown device 8a20 > > Flags: bus master, 66MHz, medium devsel, latency 80, IRQ 11 > > Memory at d8000000 (32-bit, non-prefetchable) [size=128M] > > Expansion ROM at e0000000 [disabled] [size=64K] > > Capabilities: [dc] Power Management version 1 > > Capabilities: [80] AGP version 1.0 > > > >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 > > > > > > > > > > > >_________________________________________________________________ > >Quick access to your favorite MSN content and Windows Live with Internet > >Explorer 8. > > >http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A > > >------------------------------------------------------------------------------ > >_______________________________________________ > >Emc-users mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users _________________________________________________________________ Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
