Linuxcnc not seeing limit switches

More
10 years 10 months ago - 10 years 10 months ago #67041 by Todd Zuercher
Try this command at the terminal. When I do it on a machine with an on board port and a 2 port pci card this is what it shows.
cat /proc/ioports | grep parport
Code:
digital1@digital1:~$ cat /proc/ioports | grep parport 0378-037a : parport0 e030-e032 : parport2 e050-e052 : parport1 digital1@digital1:~$
The on board port is address 0378, and the other two are e030 and e050.
lspci -v on the same machine shows.
Code:
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 18 I/O ports at e050 [size=8] I/O ports at e040 [size=8] I/O ports at e030 [size=8] I/O ports at e020 [size=8] I/O ports at e010 [size=8] I/O ports at e000 [size=16] Kernel driver in use: parport_pc
Last edit: 10 years 10 months ago by Todd Zuercher.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #67042 by TarHeelTom
Thanks, Todd.

Had forgotten all about the grep command. A very useful tool.

Anyone know what the difference between "-v" and "-vv" is? I seem to get the same result with either.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #67108 by TarHeelTom
Tried to run "grep parport" last night and after two hours, grep had not yet found any replies, but had not given up.

Anyone know how to dorect grep to look in a particular area?

Thanks

Tom

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #67111 by Todd Zuercher
Copy and paste this whole line to a terminal prompt and press enter.
Code:
cat /proc/ioports | grep parport
Last edit: 10 years 10 months ago by Todd Zuercher.

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum