Problem parralel Port is not reconized in stretch configuration

More
29 May 2019 17:06 #135301 by Philippe
i don't saw the address parallel port in the ini or hal file, but with the last version weehzy all was OK

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

More
29 May 2019 17:23 #135307 by Todd Zuercher
That probably means that Linux is not seeing the card as a parallel port.

But that may not matter and can even be for the better. Can you see the card listed anywhere with lspci -v?
If so what are the addresses listed?

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

More
29 May 2019 17:31 #135308 by Philippe
see the message here after


2:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Compaq 500B Microtower
Physical Slot: 33
Flags: bus master, fast devsel, latency 0, IRQ 26
I/O ports at d800
Memory at febff000 (64-bit, non-prefetchable) [size=4K]
Memory at fdff0000 (64-bit, prefetchable) [size=64K]
Expansion ROM at febc0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

03:04.0 Communication controller: Device 9510:9805 (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0010
Flags: medium devsel, IRQ 10
I/O ports at ec00
I/O ports at e880
I/O ports at e800
I/O ports at e480
I/O ports at e400
I/O ports at e080

pilou@PilouCnc:~$

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

More
29 May 2019 19:15 #135316 by Todd Zuercher
Try using the port address 0xec00 and/or 0xe480.

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

More
30 May 2019 08:24 #135370 by Philippe
with 0xe480 or 0xec00 the parallel port is not found
How can I see if the parallel port is recognized by Linux

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

More
30 May 2019 13:06 #135385 by andypugh

Philippe wrote: 03:04.0 Communication controller: Device 9510:9805 (rev 01)


This might be a parallel port.
www.pcilookup.com/?ven=&dev=9805&action=submit

But it seems that the vendor ID is maybe not known, so Linux can't tell what it is.
This might not matter to the hal parallel port driver, to an extent it does not care.

Can you copy and paste the exact "not found" error message? It's probably easiest from the terminal:
halrun
loadrt hal_parport cfg="0xec00"
show pin
exit

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

More
30 May 2019 16:32 #135400 by Philippe
see here after
pilou@PilouCnc:~$ halrun
halrun: Realtime already running. Use 'halrun -U' to stop existing realtime session.
pilou@PilouCnc:~$ loadrt hal_parport cfg="0xec00"
bash: loadrt : commande introuvable
pilou@PilouCnc:~$

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

More
30 May 2019 16:37 #135401 by andypugh
OK, do this without LinuxCNC running

(Though, if the parport isn't found, how is it that LinuxCNC is running?)

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

More
30 May 2019 16:38 #135402 by Philippe

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

More
30 May 2019 17:08 #135404 by Philippe
when i put the parallel port in my Hal file linuxcnc run with a error message

File Attachment:

File Name: erroraxis.doc
File Size:85 KB
Attachments:

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

Time to create page: 0.100 seconds
Powered by Kunena Forum