- Posts: 43
- Thank you received: 0
Linux will not recognize my BOB no matter WHAT I try to do
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Go to $ /lib/modules/4.19.0-11-amt64/kernel/drivers/parport in Buster 2.8.0 and it is sitting right there. The file is called parport_pc.ko. I just can't get it into the programming where I believe it needs to be to initialize the parport_pc kernel driver upon boot up. Does that sound like a plausible source of the issue to anyone else?
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Please Log in to join the conversation.
Kidkasual1 wrote: I had figured out that I had a WCH 382 chipset in the parallel port adapter I had purchased, which, again..... see prior posts... (what KILLS me is that it was actually WORKING before it didn't... How is the WCH 382 chipset KNOWN to not work with Linux, yet I honestly had the machine jogging on command in all 4 axis before it all crashed........HOW??????)
This is a dual-boot system and these boards need a driver loading in to them at power-up. Perhaps booting in to Windows loaded the driver to the card. Then, booting to Linux without a power-down would leave the WCH board on a working state.
If you were then to power down the system and boot straight to LinuxCNC, the driver would not be resident on the board, and the port would stop working.
Now that you have reinstalled Windows you probably don't have the WCH driver anywhere on the system.
Please Log in to join the conversation.
Kidkasual1 wrote: If there is no kernel module driving the parallel port, then that could explain why the parallel port can't be talked to, right?
That isn't a problem, as LinuxCNC provides its own driver.
However, the question of _why_ the parport_pc driver isn't trying to drive the card is possibly indicative of a problem.
But, you say that you hear the relay click on the board when you power up LinuxCNC? That actually hints that there is some form of communication.
You also say that the stepper motors are not locked. This rather suggests that the issue might be with the drive enable wiring. I would suggest just disconnecting the drive enable (As most steppers default to "enabled") and see if the drives do, at least, then lock.
Please Log in to join the conversation.
linuxcnc.org/docs/html/man/man1/hal_parport.1.html
It looks like the correct syntax might be :
loadrt hal_parport cfg="0xe010 out"
And, of course, also try 0xe000
Jon
Please Log in to join the conversation.
Instead of setting it to "out", set it to "epp" and see if that works.
Jon
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
I also changed from the X-Media PCIe adapter card that runs with the WCH 382X chipset and driver to the MosChip 9900 chipset and driver that runs on a new PCIe card from SIIG about a week ago. Same results. Nothing.
Also rewired everything 3 separate times to 3 separate BOB'S from 2 different manufacturers. Same results. No communication.
Tried setting parport to epp and also the e000 address with no results.
Set pin 14 (enable) to "unused", and nothing.
As for the relay, it powers high upon boot up and stays high. It only powers low when I try to open the axis GUI, and even then only if the parallel port address is one it recognizes. e010 work fine for that. It will stay low until I power down the entire computer. However, when I start the Axis GUI, it still gives me the same "Linux parallel port @57360 not found" error in the bottom right corner of the GUI display and I have ZERO communication with the BOB.
Please Log in to join the conversation.
so that really suggests a hardware problem. If the step motors are not locked
(and you don't have them disabled somehow). That is your issue, not LinuxCNC
setup.
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Please Log in to join the conversation.
