Parallell Port PCI & PCIe Add In Card Info Thread

More
5 years 4 months ago #212181 by phillc54
No difference Rob, it still runs a parport config fine.
Code:
garage:~ $ sudo dmesg -C garage:~ $ sudo modprobe parport_pc io-0xdc00 irq=10 garage:~ $ sudo dmesg garage:~ $ ~/linuxcnc-dev/scripts/linuxcnc ~/linuxcnc/configs/mill/mill.ini LINUXCNC - 2.9.0~pre0 Machine configuration directory is '/home/phill/linuxcnc/configs/mill' Machine configuration file is 'mill.ini.expanded' Starting LinuxCNC... Found file(REL): ./mill.hal Waiting for component 'trivkins' to become ready.......Waited 3 seconds for master. giving up. .Note: Using POSIX realtime config string 'dc00 out' Linux parallel port @56320 not found

Please Log in to join the conversation.

  • BeagleBrainz
  • Topic Author
  • New Member
  • New Member
More
5 years 4 months ago #212182 by BeagleBrainz
Replied by BeagleBrainz on topic Parallell Port PCI & PCIe Add In Card Info Thread
No output from the second dmesg ?

Please Log in to join the conversation.

More
5 years 4 months ago #212184 by phillc54
None at all, that is copy/paste from the screen.

An interesting thing is that I am playing around with a Mesa 7i90 I bought a few years ago and have never used.

I can see the 7i90 from the hm2_7i90 driver and also mesaflash from the first Oxford chipped card but not from the MosChip chipped card. Yet a LinuxCN parport config works fine for both cards.

Edit: Shoot I just noticed a typo in my modprobe command. I will try again...

Please Log in to join the conversation.

More
5 years 4 months ago #212185 by phillc54
Still the same, no output from the second dmesg.

I also did a verbose on modprobe but nothing there as well...

Please Log in to join the conversation.

  • BeagleBrainz
  • Topic Author
  • New Member
  • New Member
More
5 years 4 months ago #212188 by BeagleBrainz
Replied by BeagleBrainz on topic Parallell Port PCI & PCIe Add In Card Info Thread
Interesting
Laptop without PP, choosing an arbitrary empty address
First run of Linuxcnc is without loading ppdev
2nd & 3rd runs of Linuxcnc is after loading ppdev
None of the 3 runs gave the "port not found" message.
Code:
rmurphy@thinkPad-t530:~$ sudo modprobe parport_pc io=0xdc00 rmurphy@thinkPad-t530:~$ dmesg [43175.578001] parport 0xdc00 (WARNING): CTR: wrote 0x0c, read 0xff [43175.578005] parport 0xdc00 (WARNING): DATA: wrote 0xaa, read 0xff [43175.578006] parport 0xdc00: You gave this address, but there is probably no parallel port there! [43175.578015] parport0: PC-style at 0xdc00, irq -20544 [PCSPP,TRISTATE] [43175.578018] parport0: irq -20544 in use, resorting to polled operation rmurphy@thinkPad-t530:~$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/rmurphy/linuxcnc/configs/by_interface.parport.stepper-1' Machine configuration file is 'stepper_mm.ini' Starting LinuxCNC... Found file(lib): /usr/share/linuxcnc/hallib/core_stepper.hal Note: Using POSIX realtime Found file(REL): ./standard_pinout.hal config string '0xdc00' open(/dev/parport0): No such file or directory hal_parport: rtapi_app_main: No such file or directory (-2) ./standard_pinout.hal:5: waitpid failed /usr/bin/rtapi_app hal_parport ./standard_pinout.hal:5: /usr/bin/rtapi_app exited without becoming ready ./standard_pinout.hal:5: insmod for hal_parport failed, returned -1 Shutting down and cleaning up LinuxCNC... Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/rmurphy/linuxcnc_debug.txt and /home/rmurphy/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal rmurphy@thinkPad-t530:~$ sudo modprobe ppdev rmurphy@thinkPad-t530:~$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/rmurphy/linuxcnc/configs/by_interface.parport.stepper-1' Machine configuration file is 'stepper_mm.ini' Starting LinuxCNC... Found file(lib): /usr/share/linuxcnc/hallib/core_stepper.hal Note: Using POSIX realtime Found file(REL): ./standard_pinout.hal config string '0xdc00' note: MAXV max: 30.480 units/sec 1828.800 units/min note: LJOG max: 30.480 units/sec 1828.800 units/min note: LJOG default: 0.424 units/sec 25.440 units/min note: jog_order='XYZ' note: jog_invert=set([]) Shutting down and cleaning up LinuxCNC... task: 596 cycles, min=0.000061, max=0.023330, avg=0.009850, 0 latency excursions (> 10x expected cycle time of 0.010000s) Note: Using POSIX realtime rmurphy@thinkPad-t530:~$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/rmurphy/linuxcnc/configs/by_interface.parport.stepper-1' Machine configuration file is 'stepper_mm.ini' Starting LinuxCNC... Found file(lib): /usr/share/linuxcnc/hallib/core_stepper.hal Note: Using POSIX realtime Found file(REL): ./standard_pinout.hal config string '0' note: MAXV max: 30.480 units/sec 1828.800 units/min note: LJOG max: 30.480 units/sec 1828.800 units/min note: LJOG default: 0.424 units/sec 25.440 units/min note: jog_order='XYZ' note: jog_invert=set([]) Shutting down and cleaning up LinuxCNC... task: 426 cycles, min=0.000046, max=0.018297, avg=0.009764, 0 latency excursions (> 10x expected cycle time of 0.010000s) Note: Using POSIX realtime rmurphy@thinkPad-t530:~$

Please Log in to join the conversation.

More
5 years 4 months ago #212192 by phillc54
Strange stuff, I will give it a shot tomorrow with the parport removed.

Please Log in to join the conversation.

  • BeagleBrainz
  • Topic Author
  • New Member
  • New Member
More
5 years 4 months ago #212195 by BeagleBrainz
Replied by BeagleBrainz on topic Parallell Port PCI & PCIe Add In Card Info Thread
If you can reboot
Then run with the PP still installed
Code:
sudo dmesg -C sudo modprobe parport_pc io=0xdc00 irq=10 sudo dmesg ls /dev/parport* sudo modprobe ppdev ls /dev/parport*

Now I'm thinking all this should create a /dev/parport0 entry.
Then instead of using loadrt hal_parport cfg="0xdc00 out" you should be able use loadrt hal_parport cfg="0 out"

Please Log in to join the conversation.

More
5 years 4 months ago #212243 by phillc54
With the PP installed:
Code:
garage:~ $ sudo dmesg -C garage:~ $ sudo modprobe parport_pc io=0xdc00 irq=10 garage:~ $ sudo dmesg garage:~ $ ls /dev/parport* ls: cannot access '/dev/parport*': No such file or directory garage:~ $ sudo modprobe ppdev garage:~ $ sudo dmesg garage:~ $ ls /dev/parport* ls: cannot access '/dev/parport*': No such file or directory garage:~ $

Without the PP installed:
Code:
garage:~ $ sudo dmesg -C garage:~ $ sudo modprobe parport_pc io=0xdc00 garage:~ $ dmesg garage:~ $

Please Log in to join the conversation.

  • BeagleBrainz
  • Topic Author
  • New Member
  • New Member
More
5 years 4 months ago #212245 by BeagleBrainz
Replied by BeagleBrainz on topic Parallell Port PCI & PCIe Add In Card Info Thread
What Distro are you using ?
It's strange that there is no output after dmesg.
Did you reboot before running these commands ?

Please Log in to join the conversation.

More
5 years 4 months ago #212246 by phillc54

BeagleBrainz wrote: What Distro are you using ?

MX-19.4, a Buster derivative


It's strange that there is no output after dmesg.

I agree


Did you reboot before running these commands ?

I surely did.

Please Log in to join the conversation.

Time to create page: 0.148 seconds
Powered by Kunena Forum