Par port card problems what to do???
- garymcrobertpdx
- Offline
- Elite Member
- Posts: 164
- Thank you received: 1
and the mother board par port works also.
I got a dual port Netmos card it fails to work????
I used the lspci -v and got the address
04:00.0 Communication controller: NetMos Technology PCI 9815 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 2P0S (2 port parallel adaptor)
Flags: medium devsel, IRQ 11
I/O ports at dcc8
I/O ports at dcd0
I/O ports at dcd8
I/O ports at dce0
I/O ports at dce8
I/O ports at dcf0
I tried each address one at a time.
loadrt hal_parport cfg="0xdcc8 out"
loadrt hal_parport cfg="0xdcd0 out"
loadrt hal_parport cfg="0xdcd8 out"
loadrt hal_parport cfg="0xdce0 out"
loadrt hal_parport cfg="0xdce8 out"
loadrt hal_parport cfg="0xdcf0 out"
Nothing! What is the magic incantation?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
What is the magic incantation?
You can try [code] cat /proc/ioports[/quote] which should give you an unambiguous address.
Or try looking through dmesg, when parport_pc loads it says where it has found ports.
Or you could try using index numbers (0, 1, 2) rather than the port address in the loadrt line.
Please Log in or Create an account to join the conversation.
- garymcrobertpdx
- Offline
- Elite Member
- Posts: 164
- Thank you received: 1
Yes I have been there and I tried the suggested procedure.
me@CNC:~$ /sbin/insmod /lib/modules/2.6.24-16-rtai/kernel/drivers/parport/parport_pc.ko
insmod: error inserting '/lib/modules/2.6.24-16-rtai/kernel/drivers/parport/parport_pc.ko': -1 Operation not permitted
me@CNC:~$
But as you can see it failed to deliver results perhaps due to my lack of experience with Linux???
Please Log in or Create an account to join the conversation.
- garymcrobertpdx
- Offline
- Elite Member
- Posts: 164
- Thank you received: 1
tried the command
me@CNC:~$ cat /proc/ioports
got a lot of stuff but I do see some thing familiar
d000-dfff : PCI Bus #04
dcc8-dccf : 0000:04:00.0
dcd0-dcd7 : 0000:04:00.0
dcd8-dcdf : 0000:04:00.0
dce0-dce7 : 0000:04:00.0
dce8-dcef : 0000:04:00.0
dcf0-dcff : 0000:04:00.0
This looks much like the results from the command
me@CNC:~$ lspci -v
Subsystem: LSI Logic / Symbios Logic 2P0S (2 port parallel adaptor)
Flags: medium devsel, IRQ 11
I/O ports at dcc8
I/O ports at dcd0
I/O ports at dcd8
I/O ports at dce0
I/O ports at dce8
I/O ports at dcf0 [size=16
tried using loadrt hal_parport cfg="0 out"EMC2 gave an error when launched it.
how did I screw up the syntax
Please Log in or Create an account to join the conversation.
tried using loadrt hal_parport cfg="0 out"EMC2 gave an error when launched it.
Have you tried without the "out"?
loadrt hal_parport cfg="0"
I beleive out is the default.
Does your motherboard also have a parallel port?
Rick G
Please Log in or Create an account to join the conversation.
- garymcrobertpdx
- Offline
- Elite Member
- Posts: 164
- Thank you received: 1
Looks like I have been barking up the wrong tree! the problem is not the address of the board.
But a problem with the boards lack of ability to source current. For some reason this card has
outputs that vary from 5ma to 0.1ma which is not adequate to drive a opto LED in a motor drive.
So why is this the case with one card and not another? what sort of weird design is this?
I sure would like to see a list of brand name par port cards that are known to work
properly, that sure could save a lot of time and irritation.
Anyway thank for your suggestions and help
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
Looks like I have been barking up the wrong tree! the problem is not the address of the board.
But a problem with the boards lack of ability to source current.
They generally do a lot better at sinking current.
Connect 5V to the top of the Opto, and connect the parport on the ground side, you will probably find that works a lot better.
Please Log in or Create an account to join the conversation.
- garymcrobertpdx
- Offline
- Elite Member
- Posts: 164
- Thank you received: 1
The card is new out of the box. I could build a add on buffer using something like
a 74HC244 but what a pain in the butt.. I miss the old ISA buss it was a snap to
ship data in and out of the IO buss via a TTL latch that could sink and source 20ma
with no screwing around.
Please Log in or Create an account to join the conversation.