- 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.
Depending on the version of LinuxCNC you are using, this message may be spurious. It is just saying there's no OS-connected parallel port that matches that address.Kidkasual1 wrote: 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.
57360 (decimal) = 0xe010 (hex). So, the address is getting handled through the loadrt command.
Jon
Please Log in to join the conversation.
Kidkasual1 wrote: Is there some other way to put the parport_pc.ko kernel file into the HAL manually
parport_pc won't help.
If the relay clicks when LinuxCNC starts up then LinuxCNC is changing the state of at least one pin on the parallel port.
Have you tried checking the voltage on the "dir" output of the BoB (and also the parport pin) as you jog back and forth. You can't see the step pulses with a multimeter, but you should see the DIR show high in one direction and low in the other.
In fact, go back to basics and take linuxCNC out of the picture. Open the LinuxCNC config picker and pick sample-configurations -> apps -> parport-0x378
Now, clearly that isn't the right address, but I believe that on an installed system it will copy the config to your ~/linuxcnc/configs folder, where you can edit the HAL file to match your 0xe010 address and re-try the utility. It allows you to see the state of the parport pins, and to toggle the outputs in a way that should be detectable with a multimeter. (and it should let you toggle the relay on and off)
Please Log in to join the conversation.
with LinuxCNC
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.
Yes and no. parport_pc is a real time module, so it looks like a kernel module, but requires services from the real time system, so it can't be run as a normal kernel device driver.Kidkasual1 wrote: Is there some other way to put the parport_pc.ko kernel file into the HAL manually besides using the command terminal? I've tried insmod parport_pc and insmod parport_pc.ko, as well as typing insmod followed by the full file address for the parport_pc.ko kernel file and I cannot get Linux to load the parport_pc kernel to the HAL.
You could start the real time system by command line and then install the driver, but that really won't do much except for testing, and you have to be a bit of a guru to know how to do that.
There is a program you can load that tests the parallel port. See :
wiki.linuxcnc.org/cgi-bin/wiki.pl?Parallel_Port_Tester
You can see what LinuxCNC is sending to the port, and also see what it is getting back from the input pins.
You will have to modify the ptest.hal file to put in the parport address.
Jon
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
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
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
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Please Log in to join the conversation.
