Low budget plasma setup, what do I need?

More
7 years 2 months ago #142228 by tecno
installed locate

bengt@plasma:~$ locate hostmot2
bengt@plasma:~$ locate hm2_7i90
bengt@plasma:~$

Please Log in to join the conversation.

More
7 years 2 months ago #142229 by PCW
Ah, I was not aware that locate was not included by default in debian
Not sure whats broken on your system

Please Log in to join the conversation.

More
7 years 2 months ago #142231 by tecno
This is what I downloaded this morning and burned a DVD, so something is broken as locate reports nothing!

Attachment not found

Please Log in to join the conversation.

More
7 years 2 months ago #142234 by PCW
Well locate is not going to work until it builds the database (I think it does this nightly)
you can force a database build with:

sudo updatedb

Really not sure how halcmd can work but loadrt hostmot2 does not
Also you had one time when it did work:

bengt@plasma:~$ halcmd -f
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15

Bad hardware?
Some weird thing with locale?

Please Log in to join the conversation.

More
7 years 2 months ago #142235 by tecno
updatedb did the trick, now I get report.

Will test halcmd -f etc.. and I get back again.

Please Log in to join the conversation.

More
7 years 2 months ago #142236 by tecno
bengt@plasma:~$ locate hm2_7i90
/usr/lib/linuxcnc/modules/hm2_7i90.so
/usr/share/man/man9/hm2_7i90.9.gz

bengt@plasma:~$ locate hostmot2
/usr/lib/linuxcnc/modules/hostmot2.so
/usr/share/doc/hostmot2-firmware-3x20-1
/usr/share/doc/hostmot2-firmware-3x20-1/README
/usr/share/doc/hostmot2-firmware-3x20-1/SV24.PIN.gz
/usr/share/doc/hostmot2-firmware-3x20-1/SVST16_24.PIN.gz
/usr/share/doc/hostmot2-firmware-3x20-1/changelog.gz
/usr/share/doc/hostmot2-firmware-3x20-1/copyright
/usr/share/doc/hostmot2-firmware-3x20-1/regmap.gz
/usr/share/doc/hostmot2-firmware-4i65
/usr/share/doc/hostmot2-firmware-4i65/README
/usr/share/doc/hostmot2-firmware-4i65/SV12.PIN
/usr/share/doc/hostmot2-firmware-4i65/SVST8_4.PIN
/usr/share/doc/hostmot2-firmware-4i65/SVST8_4IM2.PIN
/usr/share/doc/hostmot2-firmware-4i65/TPEN6_6.PIN
/usr/share/doc/hostmot2-firmware-4i65/changelog.gz
/usr/share/doc/hostmot2-firmware-4i65/copyright
/usr/share/doc/hostmot2-firmware-4i65/regmap.gz
/usr/share/doc/hostmot2-firmware-4i68
/usr/share/doc/hostmot2-firmware-4i68/README
/usr/share/doc/hostmot2-firmware-4i68/SV12.PIN
/usr/share/doc/hostmot2-firmware-4i68/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-4i68/SVST4_8.PIN
/usr/share/doc/hostmot2-firmware-4i68/SVST8_4.PIN
/usr/share/doc/hostmot2-firmware-4i68/SVST8_4IM2.PIN
/usr/share/doc/hostmot2-firmware-4i68/SVST8_8IM2.PIN
/usr/share/doc/hostmot2-firmware-4i68/TPEN6_6.PIN
/usr/share/doc/hostmot2-firmware-4i68/changelog.gz
/usr/share/doc/hostmot2-firmware-4i68/copyright
/usr/share/doc/hostmot2-firmware-4i68/regmap.gz
/usr/share/doc/hostmot2-firmware-5i20
/usr/share/doc/hostmot2-firmware-5i20/README
/usr/share/doc/hostmot2-firmware-5i20/SV12.PIN
/usr/share/doc/hostmot2-firmware-5i20/SV12IM_2X7I48_72.PIN
/usr/share/doc/hostmot2-firmware-5i20/SV12_2X7I48_72.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST2_8.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_3P.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_4.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_4IM2.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVTP6_7I39.PIN
/usr/share/doc/hostmot2-firmware-5i20/TPEN6_6.PIN
/usr/share/doc/hostmot2-firmware-5i20/changelog.gz
/usr/share/doc/hostmot2-firmware-5i20/copyright
/usr/share/doc/hostmot2-firmware-5i20/regmap.gz
/usr/share/doc/hostmot2-firmware-5i22-1
/usr/share/doc/hostmot2-firmware-5i22-1.5
/usr/share/doc/hostmot2-firmware-5i22-1.5/README
/usr/share/doc/hostmot2-firmware-5i22-1.5/SV16.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1.5/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-5i22-1.5/SVST8_24.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1.5/SVST8_8.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1.5/changelog.gz
/usr/share/doc/hostmot2-firmware-5i22-1.5/copyright
/usr/share/doc/hostmot2-firmware-5i22-1.5/regmap.gz
/usr/share/doc/hostmot2-firmware-5i22-1/README
/usr/share/doc/hostmot2-firmware-5i22-1/SV16.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-5i22-1/SVST8_24.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1/SVST8_8.PIN.gz
/usr/share/doc/hostmot2-firmware-5i22-1/changelog.gz
/usr/share/doc/hostmot2-firmware-5i22-1/copyright
/usr/share/doc/hostmot2-firmware-5i22-1/regmap.gz
/usr/share/doc/hostmot2-firmware-5i23
/usr/share/doc/hostmot2-firmware-5i23/README
/usr/share/doc/hostmot2-firmware-5i23/SV12.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVST4_8.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVST8_4.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVST8_4IM2.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVST8_8IM2.PIN
/usr/share/doc/hostmot2-firmware-5i23/SVTP6_7I39.PIN
/usr/share/doc/hostmot2-firmware-5i23/TPEN6_6.PIN
/usr/share/doc/hostmot2-firmware-5i23/changelog.gz
/usr/share/doc/hostmot2-firmware-5i23/copyright
/usr/share/doc/hostmot2-firmware-5i23/regmap.gz
/usr/share/doc/hostmot2-firmware-7i43-2
/usr/share/doc/hostmot2-firmware-7i43-2/README
/usr/share/doc/hostmot2-firmware-7i43-2/SV8.PIN
/usr/share/doc/hostmot2-firmware-7i43-2/SVST4_4.PIN
/usr/share/doc/hostmot2-firmware-7i43-2/TPEN4_5.PIN
/usr/share/doc/hostmot2-firmware-7i43-2/changelog.gz
/usr/share/doc/hostmot2-firmware-7i43-2/copyright
/usr/share/doc/hostmot2-firmware-7i43-2/regmap.gz
/usr/share/doc/hostmot2-firmware-7i43-4
/usr/share/doc/hostmot2-firmware-7i43-4/README
/usr/share/doc/hostmot2-firmware-7i43-4/SV8.PIN
/usr/share/doc/hostmot2-firmware-7i43-4/SVST4_12.PIN
/usr/share/doc/hostmot2-firmware-7i43-4/SVST4_4.PIN
/usr/share/doc/hostmot2-firmware-7i43-4/SVST4_6.PIN
/usr/share/doc/hostmot2-firmware-7i43-4/TPEN4_5.PIN
/usr/share/doc/hostmot2-firmware-7i43-4/changelog.gz
/usr/share/doc/hostmot2-firmware-7i43-4/copyright
/usr/share/doc/hostmot2-firmware-7i43-4/regmap.gz
/usr/share/doc/hostmot2-firmware-all
/usr/share/doc/hostmot2-firmware-all/README
/usr/share/doc/hostmot2-firmware-all/changelog.gz
/usr/share/doc/hostmot2-firmware-all/copyright
/usr/share/doc/hostmot2-firmware-all/regmap.gz
/usr/share/man/man9/hostmot2.9.gz
/var/lib/dpkg/info/hostmot2-firmware-3x20-1.list
/var/lib/dpkg/info/hostmot2-firmware-3x20-1.md5sums
/var/lib/dpkg/info/hostmot2-firmware-4i65.list
/var/lib/dpkg/info/hostmot2-firmware-4i65.md5sums
/var/lib/dpkg/info/hostmot2-firmware-4i68.list
/var/lib/dpkg/info/hostmot2-firmware-4i68.md5sums
/var/lib/dpkg/info/hostmot2-firmware-5i20.list
/var/lib/dpkg/info/hostmot2-firmware-5i20.md5sums
/var/lib/dpkg/info/hostmot2-firmware-5i22-1.5.list
/var/lib/dpkg/info/hostmot2-firmware-5i22-1.5.md5sums
/var/lib/dpkg/info/hostmot2-firmware-5i22-1.list
/var/lib/dpkg/info/hostmot2-firmware-5i22-1.md5sums
/var/lib/dpkg/info/hostmot2-firmware-5i23.list
/var/lib/dpkg/info/hostmot2-firmware-5i23.md5sums
/var/lib/dpkg/info/hostmot2-firmware-7i43-2.list
/var/lib/dpkg/info/hostmot2-firmware-7i43-2.md5sums
/var/lib/dpkg/info/hostmot2-firmware-7i43-4.list
/var/lib/dpkg/info/hostmot2-firmware-7i43-4.md5sums
/var/lib/dpkg/info/hostmot2-firmware-all.list
/var/lib/dpkg/info/hostmot2-firmware-all.md5sums
bengt@plasma:~$

Please Log in to join the conversation.

More
7 years 2 months ago #142237 by tecno
This error from halcmd

halcmd: loadrt hm2_7i90 ioaddr=0xec00 ioaddr_hi=0xe880 epp_wide=0 config=" "
hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
hm2: no firmware specified in config modparam! the board had better have firmware configured already, or this won't work
hm2/hm2_7i90.0: invalid cookie, got 0x04040404, expected 0x55AACAFE
hm2/hm2_7i90.0: FPGA failed to initialize, or unexpected firmware?
hm2_7i90.0: board at (ioaddr=0xEC00, ioaddr_hi=0xE880, epp_wide OFF) not found!
hm2_7i90: rtapi_app_main: Invalid argument (-22)
<stdin>:1: waitpid failed /usr/bin/rtapi_app hm2_7i90
<stdin>:1: /usr/bin/rtapi_app exited without becoming ready
<stdin>:1: insmod for hm2_7i90 failed, returned -1

Please Log in to join the conversation.

More
7 years 2 months ago #142238 by PCW
Right so the hm2_7i90.so file is there as expected...

Looking back,
bengt@plasma:~$ halcmd -f
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_7190 ioaddr=0xec00 ioaddr_high=0xe880 epp_wide=0 config=" "
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7I90 not 7190

hm2_7190: dlopen: /usr/lib/linuxcnc/modules/hm2_7190.so: cannot open shared object file: No such file or directory

Please Log in to join the conversation.

More
7 years 2 months ago #142239 by tecno
Via my laptop I can run mesaflash readhmid so the 7i90 is OK.

So is the pport busted? I will try another one >>>> BRB

Please Log in to join the conversation.

More
7 years 2 months ago #142241 by tecno
bengt@plasma:~$ halcmd -f
halcmd: loadrt hostmot2
Waiting for component 'hostmot2' to become ready...Waited 3 seconds for master. giving up.
.Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
.
halcmd: loadrt hm2_7i90 ioaddr=0xeC00 ioaddr_hi=0xe880 epp_wide=0 config=" "
hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
hm2: no firmware specified in config modparam! the board had better have firmware configured already, or this won't work
hm2/hm2_7i90.0: 72 I/O Pins used:
hm2/hm2_7i90.0: IO Pin 000 (P1-01): StepGen #0, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 001 (P1-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 002 (P1-05): StepGen #1, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 003 (P1-07): StepGen #1, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 004 (P1-09): StepGen #2, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 005 (P1-11): StepGen #2, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 006 (P1-13): StepGen #3, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 007 (P1-15): StepGen #3, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 008 (P1-17): StepGen #4, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 009 (P1-19): StepGen #4, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 010 (P1-21): StepGen #5, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 011 (P1-23): StepGen #5, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 012 (P1-25): StepGen #6, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 013 (P1-27): StepGen #6, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 014 (P1-29): StepGen #7, pin Step (Output)
hm2/hm2_7i90.0: IO Pin 015 (P1-31): StepGen #7, pin Direction (Output)
hm2/hm2_7i90.0: IO Pin 016 (P1-33): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i90.0: IO Pin 017 (P1-35): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i90.0: IO Pin 018 (P1-37): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i90.0: IO Pin 019 (P1-39): PWMGen #1, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i90.0: IO Pin 020 (P1-41): IOPort
hm2/hm2_7i90.0: IO Pin 021 (P1-43): IOPort
hm2/hm2_7i90.0: IO Pin 022 (P1-45): Encoder #0, pin A (Input)
hm2/hm2_7i90.0: IO Pin 023 (P1-47): Encoder #1, pin A (Input)
hm2/hm2_7i90.0: IO Pin 024 (P2-01): IOPort
hm2/hm2_7i90.0: IO Pin 025 (P2-03): IOPort
hm2/hm2_7i90.0: IO Pin 026 (P2-05): IOPort
hm2/hm2_7i90.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i90.0: IO Pin 028 (P2-09): IOPort
hm2/hm2_7i90.0: IO Pin 029 (P2-11): IOPort
hm2/hm2_7i90.0: IO Pin 030 (P2-13): IOPort
hm2/hm2_7i90.0: IO Pin 031 (P2-15): IOPort
hm2/hm2_7i90.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i90.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i90.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i90.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i90.0: IO Pin 036 (P2-25): IOPort
hm2/hm2_7i90.0: IO Pin 037 (P2-27): IOPort
hm2/hm2_7i90.0: IO Pin 038 (P2-29): IOPort
hm2/hm2_7i90.0: IO Pin 039 (P2-31): IOPort
hm2/hm2_7i90.0: IO Pin 040 (P2-33): IOPort
hm2/hm2_7i90.0: IO Pin 041 (P2-35): IOPort
hm2/hm2_7i90.0: IO Pin 042 (P2-37): IOPort
hm2/hm2_7i90.0: IO Pin 043 (P2-39): IOPort
hm2/hm2_7i90.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i90.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i90.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i90.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i90.0: IO Pin 048 (P3-01): IOPort
hm2/hm2_7i90.0: IO Pin 049 (P3-03): IOPort
hm2/hm2_7i90.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i90.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i90.0: IO Pin 052 (P3-09): IOPort
hm2/hm2_7i90.0: IO Pin 053 (P3-11): IOPort
hm2/hm2_7i90.0: IO Pin 054 (P3-13): IOPort
hm2/hm2_7i90.0: IO Pin 055 (P3-15): IOPort
hm2/hm2_7i90.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i90.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i90.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i90.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i90.0: IO Pin 060 (P3-25): IOPort
hm2/hm2_7i90.0: IO Pin 061 (P3-27): IOPort
hm2/hm2_7i90.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i90.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i90.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i90.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i90.0: IO Pin 066 (P3-37): IOPort
hm2/hm2_7i90.0: IO Pin 067 (P3-39): IOPort
hm2/hm2_7i90.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i90.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i90.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i90.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i90.0: registered
hm2_7i90.0: board at (ioaddr=0xEC00, ioaddr_hi=0xE880, epp_wide OFF) found
halcmd:

Please Log in to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum