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

Reply via email to