error bij opstarten linuxcnc in 2.8

LinuxCNC kan hier besproken worden

Moderator: Moderators

Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Ik heb de nieuwe linuxcnc in debian buster geinstalleerd.

Helaas is de update niet vlekkeloos gegaan.

Om te beginnen zaten er dos-style line endings in de hal file maar die zijn er nu uit.

Maar nog steeds start de boel niet op, ook niet de met de installatie inbegrepen configs.

Hier mijn opstart plus debug info:

Code: Selecteer alles

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/sven/linuxcnc/configs/Alu-XYZA'
Machine configuration file is 'Alu-XYZA.ini'
INIFILE=/home/sven/linuxcnc/configs/Alu-XYZA/Alu-XYZA.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./Alu-XYZA.hal
Found file(LIB): /usr/share/linuxcnc/hallib/xhc-hb04.tcl
xhc-hb04.tcl: Using existing outpin signame: spindle-cmd-rps-abs
Starting TASK program: milltask
DELAY=
APP: monitor-xhc-hb04 found: </usr/bin/monitor-xhc-hb04>
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
task: 286 cycles, min=0.000036, max=0.019587, avg=0.009547, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:00.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
xhc-hb04: waiting for XHC-HB04 device
xhc-hb04: found XHC-HB04 device
xhc-hb04: connection lost, cleaning up
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
xhc-hb04.tcl: !!! <halui.spindle.stop> target pin does not exist, continuing
xhc-hb04.tcl: !!! <halui.spindle.start> target pin does not exist, continuing
xhc-hb04.tcl: using std_start_pause_button
Can not find -sec APPLICATIONS -var DELAY -num 1 
note: MAXV     max: 100.000 units/sec 6000.000 units/min
note: LJOG     max: 100.000 units/sec 6000.000 units/min
note: LJOG default: 75.000 units/sec 4500.000 units/min
note: AJOG     max: 5600.000 units/sec 336000.000 units/min
note: AJOG default: 36.000 units/sec 2160.000 units/min
note: jog_order='XYZA'
note: jog_invert=set([])
Traceback (most recent call last):
  File "/usr/bin/axis", line 4130, in <module>
    _dynamic_tabs(inifile)
  File "/usr/bin/axis", line 3962, in _dynamic_tabs
    child = Popen(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
8485
8523
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f7ab1999000
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: vr 2 okt 2020 10:03:21 CEST
            UTC Date: vr 2 okt 2020 8:03:21 UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 10:03:21 up 37 min, 1 user, load average: 0,39, 0,40, 0,38
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/sven/linuxcnc/configs/Alu-XYZA
                USER: sven
             LOGNAME: sven
                HOME: /home/sven
              EDITOR: 
              VISUAL: 
            LANGUAGE: 
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1680x1050 pixels (444x277 millimeters)
                PATH: /usr/bin:/home/sven/linuxcnc/configs/Alu-XYZA/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: LinC-2
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.132-1 (2020-07-24)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-10-rt-amd64 root=UUID=797143e6-f7a8-47e0-b143-df2d270757c5 ro quiet
          model name: Intel(R) Pentium(R) CPU G3240 @ 3.10GHz
               cores: 2
             cpu MHz: 3093.134
             parport: 0000-0000 : parport0
              serial: 0000-0000 : serial

Versions:
                 gcc: gcc (Debian 8.3.0-6) 8.3.0
              python: Python 2.7.16
                 git: not_in_PATH
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /etc/init.d/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib

dpkg -l '*linuxcnc*':
Gevraagd=(U)onbekend/(I)nstalleren/ve(R)wijderen/(P)wissen/(H)ouden
| Status=Niet/Inst/Conf/Uitgep/halF-geconf/Halfgeïnst/verWacht-trig/Trig-bezig
|/ Fout?=(geen)/heRinst. nodig/ (Status,Fout: hoofdletter=ernstig)
||/ Naam                Versie       Architectuur Omschrijving
+++-===================-============-============-=====================================================================
un  linuxcnc            <geen>       <geen>       (geen beschrijving beschikbaar)
un  linuxcnc-dev        <geen>       <geen>       (geen beschrijving beschikbaar)
un  linuxcnc-doc        <geen>       <geen>       (geen beschrijving beschikbaar)
ii  linuxcnc-doc-cn     1:2.8.0      all          motion controller for CNC machines and robots (Chinese
ii  linuxcnc-doc-en     1:2.8.0      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.8.0      all          controlador de movimiento para máquinas CNC y robots (Español).
ii  linuxcnc-doc-fr     1:2.8.0      all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <geen>       <geen>       (geen beschrijving beschikbaar)
un  linuxcnc-sim-dev    <geen>       <geen>       (geen beschrijving beschikbaar)
ii  linuxcnc-uspace     1:2.8.0      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.0      amd64        PC based motion controller for real-time Linux

Met daarin de hele rare regel:
PATH: /usr/bin:/home/sven/linuxcnc/configs/Alu-XYZA/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Laatst gewijzigd door Sven op 02 okt 2020 11:18, 1 keer totaal gewijzigd.
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
DaBit
Donateur
Berichten: 11014
Lid geworden op: 05 dec 2012 13:48
Locatie: Oss

Re: error bij opsterten linuxcnc in 2.8

Bericht door DaBit »

Waar-ie over valt is dit:

Code: Selecteer alles

note: jog_invert=set([])
Traceback (most recent call last):
  File "/usr/bin/axis", line 4130, in <module>
    _dynamic_tabs(inifile)
  File "/usr/bin/axis", line 3962, in _dynamic_tabs
    child = Popen(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Ergens probeer je iets in een user tabje te laden wat niet bestaat. Je camerabeeld ofzo.
De belangrijkste wet in de wetenschap: 'hoe minder efficient en hoe meer herrie, hoe leuker het is'
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opsterten linuxcnc in 2.8

Bericht door Sven »

Aha!
Ik moet misschien nog wat cameraspul installeren, dank zover!
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Camera werkt weer, opstarten lukt niet.

Het begint met een g-code error:
Near line 0 of /usr/share/axis/images/axis.ngc:
exception during generator call: TypeError: 'NoneType' object is non callable

Na OK klikken...

Heeft ''ERROR Can't open the device /dev/spindelregeling (errno 22)" er iets mee van doen?

Code: Selecteer alles

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/sven/linuxcnc/configs/Alu-XYZA'
Machine configuration file is 'Alu-XYZA.ini'
INIFILE=/home/sven/linuxcnc/configs/Alu-XYZA/Alu-XYZA.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./Alu-XYZA.hal
Found file(LIB): /usr/share/linuxcnc/hallib/xhc-hb04.tcl
xhc-hb04.tcl: Using existing outpin signame: spindle-cmd-rps-abs
Starting TASK program: milltask
DELAY=
APP: monitor-xhc-hb04 found: </usr/bin/monitor-xhc-hb04>
Starting DISPLAY program: axis
ERROR Can't open the device /dev/spindelregeling (errno 22)
vfd: ERROR: couldn't open serial device
Shutting down and cleaning up LinuxCNC...
task: 17278 cycles, min=0.000038, max=0.014952, avg=0.010050, 0 latency excursions (> 10x expected cycle time of 0.010000s)
xhc-hb04: waiting for XHC-HB04 device
xhc-hb04: found XHC-HB04 device
xhc-hb04: connection lost, cleaning up
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:00.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
xhc-hb04.tcl: !!! <halui.spindle.stop> target pin does not exist, continuing
xhc-hb04.tcl: !!! <halui.spindle.start> target pin does not exist, continuing
xhc-hb04.tcl: using std_start_pause_button
Can not find -sec APPLICATIONS -var DELAY -num 1 
note: MAXV     max: 100.000 units/sec 6000.000 units/min
note: LJOG     max: 100.000 units/sec 6000.000 units/min
note: LJOG default: 75.000 units/sec 4500.000 units/min
note: AJOG     max: 5600.000 units/sec 336000.000 units/min
note: AJOG default: 36.000 units/sec 2160.000 units/min
note: jog_order='XYZA'
note: jog_invert=set([])
open: No such file or directory
custom_postgui.hal:6: waitpid failed hy_vfd vfd
custom_postgui.hal:6: hy_vfd exited without becoming ready
3279
3313
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7fa56f45f000
Note: Using POSIX realtime
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
javanree
Berichten: 1020
Lid geworden op: 10 mei 2011 12:16
Locatie: Renswoude
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door javanree »

Je VFD via RS485 aangestuurd oid ? Waarschijnlijk had je eerder een scriptje dat die device link maakte (hotplug oid)
Even in je .hal en .ini de 'spindelregeling' uitcommenten misschien ?
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Yep, dat is zo. Dat aansturen in ieder geval. Voor deel twee van je vraag doe ik nu virtueel mijn hoofd omhoog en kijk Dabit virtueel vragend aan...
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
DaBit
Donateur
Berichten: 11014
Lid geworden op: 05 dec 2012 13:48
Locatie: Oss

Re: error bij opstarten linuxcnc in 2.8

Bericht door DaBit »

Dabit was even klussen.

Die /dev/spindelregeling is een alias voor het USB device dat je spindel aanstuurt. Werd aangemaakt met een udev rule.

Hoe komt het dat die er niet meer is? Iets met Linux gedaan? USB -RS485 converter vervangen door een andere?
De belangrijkste wet in de wetenschap: 'hoe minder efficient en hoe meer herrie, hoe leuker het is'
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Ik heb de nieuwe iso geinstalleerd, hardware is onveranderd.
Maar de nieuwe staat op een aparte partitie en de oude debian wheezy werkt nog gewoon.

Is zo'n udev rule te knippen en plakken of moet die opnieuw ergens geschreven worden?
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
DaBit
Donateur
Berichten: 11014
Lid geworden op: 05 dec 2012 13:48
Locatie: Oss

Re: error bij opstarten linuxcnc in 2.8

Bericht door DaBit »

Die kun je gewoon kopieren uit de oude installatie naar dezelfde plek in de nieuwe situatie.
Zo uit het hoofd (ik woon tijdelijk bij pa, geen linuxbak in de buurt, hobbyhok internetloos en momenteel zelfs ook stroomloos) staan die in /etc/udev/rules.d/. Mezelf kennende is de naam van de rule luid en duidelijk.
De belangrijkste wet in de wetenschap: 'hoe minder efficient en hoe meer herrie, hoe leuker het is'
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Koel, ga ik dinsdag proberen. (grmblmrbr, juffen en meesters studiedag...)
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

DaBit schreef: 04 okt 2020 10:03 staan die in /etc/udev/rules.d/.
Dawassum!
Eh, bijna.

Systeem draait weer maar geeft nog steeds de error
"Near line 0 of /usr/share/axis/images/axis.ngc:
exception during generator call: TypeError: 'NoneType' object is non callable"

Ook in mijn eigen bestanden.
In een speurtocht naar deze error vind ik behalve dit draadje verwijzingen naar python. Zit het probleem daar?
Als ik de python sectie in de .ini file bekijk dan is er niets veranderd en de locatie van de bestanden in de config map zijn gewoon meegekopieerd naar de nieuwe debian.

Maar belangrijker, de spindle start niet op, maar ik zie verder geen errors.

EDIT:
Er is helemaal niks te zien in de viewer, freespad is niet zichtbaar!

Verder lijkt de acceleratie hoger maar soepeler dan ik gewend ben. is daar in 2.8 iets veranderd?
De getallen in de .ini file zijn nog hetzelfde.
EDIT2:
Misschien is een door Dabit ingestelde lager acceleratie in jog mode niet door het conversiescript vertaald...
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Gebruikersavatar
DaBit
Donateur
Berichten: 11014
Lid geworden op: 05 dec 2012 13:48
Locatie: Oss

Re: error bij opstarten linuxcnc in 2.8

Bericht door DaBit »

Pfoe, goeie. Haal anders alle 'extra' dingetjes zoals de camera enzo er eens uit, en kijk of het scheelt?
De belangrijkste wet in de wetenschap: 'hoe minder efficient en hoe meer herrie, hoe leuker het is'
Gebruikersavatar
hainjedaf
Donateur
Berichten: 2424
Lid geworden op: 01 aug 2011 10:01
Locatie: Amsterdam
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door hainjedaf »

Heb je de juiste Python versie?
Met vriendelijke groet,
Marout Sluijter-Borms,
Amsterdam

Prusa Mini met OctoPrint
Sparren en tinkeren met iedereen en over alles wat techniek is.
Gebruikersavatar
Sven
Berichten: 5985
Lid geworden op: 24 sep 2008 09:13
Locatie: Arnhem
Contacteer:

Re: error bij opstarten linuxcnc in 2.8

Bericht door Sven »

Camera er uit geweest, maakt geen verschil.

Python 3 gedeïnstalleerd, maakt geen verschil. (Of moet ik dan nog opnieuw opstarten?)
Python 2.7 verwijderen zou ook linuxcnc verwijderen, dat lijkt me niet de bedoeling? ;)
350 kilo 1250x1250 aluminium portaalfrees:
http://cnczone.nl/viewtopic.php?f=8&t=13039
Beginnen met CNC? Ontwerpen, bouwen, of toch kopen?
http://cnczone.nl/viewtopic.php?f=8&t=15481
Plaats reactie