PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

  • RobotMatic
  • RobotMatic's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
19 Mar 2025 00:23 #324241 by RobotMatic
the point is that Linuxcnc does not find a parallel port, it finds a port that it can use but the kernel driver defines it as serial, it does not matter what is the capacity of the micro that uses the PCIE board, nor does it interest all the capabilities that you mention. Linuxcnc does not know how to solve the situation and gives us an alarm with a dual message, everything works perfectly, we are the ones who have to follow. I'm asking if you can somehow eliminate this situation of alarm or Dual message, I'm not trying to discuss technology, Nothing in the cpus works in Parallel, everything is serial, if you think differently perfect, I have no problem with that, but please don't deviate the reason why this thread was created in the forum. Thanks a lot.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 00:25 #324242 by tommylight
No "serialized parallel" or "parallel serialized" no no noooooooo! :)
I really do not like labeling stuff at random like that, it is a parallel port interface running on a PCI-E bus, not the same thing and absolutely not something to be mixed at random.
The one with serial ports is an UART running on a PCI-E bus, nothing in common except the "serial" part.
-
Watching RoboMatic's pictures it just dawned on me, the normal PCI ports use one of the 16 IRQ's (FYI PC has 16 IRQ from 0-15) but this in the picture is 16 and still shows like a normal IRQ, so i wonder.... but the other one is IRQ32 and in a group of IOMMU so it has no memory address.
Also most probably lack of DMA access might be triggering the warning...
This needs more testing, whenever i get a chance, and whenever i get more PCI-E ones as i am out of those for now.
The following user(s) said Thank You: RobotMatic

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 00:31 #324243 by tommylight

the point is that Linuxcnc does not find a parallel port, it finds a port that it can use but the kernel driver defines it as serial,

Hmmm, if it works, i am sure LinuxCNC can find it as parallel port, the driver in use being serial is strange if there is actually nothing serial on the board, but from experience most of those boards do show as serial and parallel or both, despite missing serial ports.
I would aim at missing "driver in use" when the error appears...
The following user(s) said Thank You: RobotMatic

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

  • RobotMatic
  • RobotMatic's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
19 Mar 2025 01:18 #324247 by RobotMatic
The IRQ32 plate is the one that triggers the ALRMA

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

More
19 Mar 2025 01:44 #324248 by unknown
PCW gave a very valid solution, so that has been covered.
The driver in use covers both functions of the board, and if you look at the dependencies of the driver you'll see that the parallel part uses parallel port modules.
But that is neither here nor there, the thing is a solution has given and if you really really want a change you'll have to mention on GitHub , as that's where the changes happen. You can go on and on posting messages on the forum but it'll do SFA.
And in reality it is only a minor thing that doesn't affect the functionality. If you get no response from the Devs there's nothing to stop you from cloning the repo, editting the source file and rebuilding from source, the build procedure is very well documented in the docs. I linked to the file where the message comes from, PCW gave a solution, all the hardwork has been done. Now the ball is in your court, if you choose not to do anything,nothing will change, if you choose to get involved and not just complain something may happen.
Or you could attempt to completely rewrite the detection routine.
This is how open source projects move forward. The forums are just really for user support, code stuff usually gets done via the Devs mailing list or via GitHub. Links to these resources can be found on the Linuxcnc home page.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 01:57 #324249 by tommylight
F@king google, can not find the chip that was used as parallel port on mainboards, it was something like 665 and some other numbers...or 8255 i think, been to long, and google isn't helping at all.

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

More
19 Mar 2025 01:59 #324250 by unknown

What if you try 0xD010 ?

I think a parallel port card is basically 3 latched, buffered, 8-bit shift registers attached to a very primitive MCU.

2 bidirectional shift registers.
1 Parallel in, serial out shift register.

And a CMOS not gate on 4 pins.

Seriously dude your techno babble never ceases to amaze me.
MCS9900 Diagram 


Can't link directly to datasheets but you can find it on this page.
asix.com.tw/en/product/Interface/PCIe_bridge/MCS9900

Interesting idea:

Connect one of the pins on your breakout board to a falling-edge-triggered shift register to turn one output into 8 outputs!
[/code]

Already an example of that on the wiki. Bit more involved than what you suggest.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Shift_Register_Port_Expander

 

Attachments:

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

More
19 Mar 2025 02:09 #324252 by unknown

F@king google, can not find the chip that was used as parallel port on mainboards, it was something like 665 and some other numbers...or 8255 i think, been to long, and google isn't helping at all.
 

Early versions used discrete components (think XT 74LS374 according to the tomb linked below), usually these were ISA cards, 8255 sounds about right maybe some more dedicated chips later then the Super IO chips, which actually connect via LPC bus.
en.wikipedia.org/wiki/Super_I/O.

For those interested in ancient history
ia800901.us.archive.org/26/items/f15_Par...images_processed.pdf
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 02:25 #324255 by tommylight
My "obsession" with parallel port is not a result of using it for CNC machines, oh no, it started in the PC/XT and PC/AT era when i used it for transferring files between PC's, and using floppies was considered "mild torture", had some DOS software named "fx.exe", boot from floppy, run it and choose the send/recieve PC and it moved.
Never failed, ever, and was much, much faster than floppy or serial or InfraRed.
Unfortunately, i can not find it anymore, i did have a need for it last year when i fixed all my old laptops, as one of those has a really old and thick HDD that can not be powered through USB-IDE adapters. Had to use IR...got some more gray hairs! :)
LinuxCNC (EMC2 back then) only reinforced that obsession.
The following user(s) said Thank You: unknown

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

More
19 Mar 2025 03:16 #324259 by unknown
Geesh the first thing I remeber using a parallel port for was tone generation using a R2R digital to analogue converter (well a buffer connected to 2R2 network), almost a very frequency function generator.
Then using it to power some a steppers via a H-Bridge for a silly little robot platorm. Then some 433MHz remote control, a "sledge hammer" logic analyser knocked up a breadboard, a DCC model train control station, first running under DOS, then wrote a vxd in assembly for win95 to replace the DOS TSR. Probably some other stupid stuff as well.

Never got to play with thing like zip drives, ethernet or sound with the parallel port, used to get most of my stuff 2nd hand at computer markets, this was before ebay took off. Kind of miss wondering around the markets and seeing what exotic stuff you could get.
AT one time I actually used it for connecting to a printer, had to get rid of my HP Laser Jet just last year, to be honest I found it on the side of the road and got a good 10 years of service out of it, made quite a few PCBs using the toner transfer method. That doesn't make sense nowadays when you can get 5 double sided PCB shipped down under for about $7 AUD, just a bit of a wait that's all.

Ahhh that's right I used laplink as well for transferring files. MSODS 6.22 had Intersvr & Interlnk for file transfer aswell.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.098 seconds
Powered by Kunena Forum