Dziwna sprawa z tą bateria i zegarem.
Bateria na bank dobra a i tak traci ustawienia zegara.
Druga sprawa, po odpaleniu linuxcnc i włączeniu frezarki przestaje działać klikanie myszką.
Kursor chodzi ale nic nie idzie "kliknąć".
Niestety nie wszystko idzie z klawiatury obsłużyć, np przewinięcie kodu by sprawdzić od której linii zacząć i zacząć od tej linii.
Wczoraj frez mi złamało już tak w 2/3.
No od dzisiaj w ogóle dziwnie chodził. Zrobiłem aktualizację do 2.6.4 i za pierwszym razem wywala błąd. Dopiero za drugim idzie.
Kod: Zaznacz cały
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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.6.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/Maszna'
Machine configuration file is 'Maszna.ini'
INIFILE=/home/cnc/linuxcnc/configs/Maszna/Maszna.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=18630
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 File exists
18630
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 22.507115] I-pipe: Domain RTAI registered.
[ 22.507133] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 22.507139] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 22.507245] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 22.507251] PIPELINE layers:
[ 22.507257] f81b0e20 9ac15d93 RTAI 200
[ 22.507263] c085cb20 0 Linux 100
[ 22.661380] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 22.661793] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 22.661806] RTAI[sched]: hard timer type/freq = APIC/8312890(Hz); default timing: periodic; linear timed lists.
[ 22.661815] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1595989000 hz.
[ 22.661822] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 22.662018] RTAI[usi]: enabled.
[ 22.888385] RTAI[math]: loaded.
[ 29.529980] CPU0 attaching NULL sched-domain.
[ 29.560156] CPU0 attaching sched-domain:
[ 29.560166] domain 0: span 0-1 level CPU
[ 29.560173] groups: 0 1
[ 29.560186] CPU1 attaching sched-domain:
[ 29.560191] domain 0: span 0-1 level CPU
[ 29.560197] groups: 1 0
[ 37.885465] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 37.885479] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.089471] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.089484] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.293474] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.293486] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.497471] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.497481] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.701462] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.701473] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.701479] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 38.757468] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.757479] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 38.961467] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 38.961478] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 39.165466] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 39.165476] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 39.369462] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 39.369472] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 39.573486] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 39.573497] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 39.573503] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 39.629463] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 39.629474] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 39.833488] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 39.833499] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.037474] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.037485] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.241469] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.241480] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.445469] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.445479] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.445485] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 40.501472] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.501483] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.705463] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.705473] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 40.909465] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 40.909476] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.113468] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.113479] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.317471] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.317481] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.317487] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 41.317529] usb 1-8: USB disconnect, address 3
[ 41.317687] scsi 4:0:0:0: Device offlined - not ready after error recovery
[ 41.377488] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.377503] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.581466] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.581477] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.785465] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.785476] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 41.989472] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 41.989483] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 42.193468] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 42.193480] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 42.193486] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 42.249472] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 42.249483] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 42.453472] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 42.453482] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 42.657466] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 42.657476] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 42.861477] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 42.861487] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.065464] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.065474] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.065480] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 43.121473] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.121486] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.325464] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.325474] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.529479] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.529489] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.733464] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.733475] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.937484] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.937495] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 43.937501] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 43.993468] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 43.993479] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 44.197471] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 44.197483] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 44.401470] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 44.401481] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 44.605465] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 44.605475] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 44.809462] ehci_hcd 0000:00:1d.7: port 8 reset error -110
[ 44.809473] hub 1-0:1.0: hub_port_status failed (err = -32)
[ 44.809479] hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
[ 44.809498] hub 1-0:1.0: unable to enumerate USB device on port 8
[ 45.120036] usb 5-2: new full speed USB device using uhci_hcd and address 2
[ 45.244049] usb 5-2: device descriptor read/64, error -71
[ 45.472095] usb 5-2: device descriptor read/64, error -71
[ 45.688035] usb 5-2: new full speed USB device using uhci_hcd and address 3
[ 45.808033] usb 5-2: device descriptor read/64, error -71
[ 46.032054] usb 5-2: device descriptor read/64, error -71
[ 46.248037] usb 5-2: new full speed USB device using uhci_hcd and address 4
[ 46.656035] usb 5-2: device not accepting address 4, error -71
[ 46.768036] usb 5-2: new full speed USB device using uhci_hcd and address 5
[ 47.176044] usb 5-2: device not accepting address 5, error -71
[ 47.176080] hub 5-0:1.0: unable to enumerate USB device on port 2
[ 47.819671] ehci_hcd 0000:00:1d.7: force halt; handhake f8020024 0000c000 00000000 -> -110
[ 47.819855] ehci_hcd 0000:00:1d.7: fatal error
[ 47.820008] ehci_hcd 0000:00:1d.7: HC died; cleaning up
[ 569.456046] usb 2-2: new low speed USB device using uhci_hcd and address 2
[ 569.624327] usb 2-2: configuration #1 chosen from 1 choice
[ 569.644729] input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input5
[ 569.645037] generic-usb 0003:15CA:00C3.0003: input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-2/input0
[ 569.784043] usb 5-2: new full speed USB device using uhci_hcd and address 6
[ 569.923109] usb 5-2: not running at top speed; connect to a high speed hub
[ 569.951353] usb 5-2: configuration #1 chosen from 1 choice
[ 569.953655] scsi5 : SCSI emulation for USB Mass Storage devices
[ 569.954029] usb-storage: device found at 6
[ 569.954036] usb-storage: waiting for device to settle before scanning
[ 574.953534] usb-storage: device scan complete
[ 574.956491] scsi 5:0:0:0: Direct-Access Generic- Compact Flash 1.01 PQ: 0 ANSI: 0
[ 574.959464] scsi 5:0:0:1: Direct-Access Multiple Flash Reader 1.05 PQ: 0 ANSI: 0
[ 574.960837] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 574.961226] sd 5:0:0:1: Attached scsi generic sg2 type 0
[ 574.976472] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 574.981454] sd 5:0:0:1: [sdc] Attached SCSI removable disk
[ 1020.186016] RTAI[math]: unloaded.
[ 1020.282985] SCHED releases registered named ALIEN RTGLBH
[ 1020.312526] RTAI[malloc]: unloaded.
[ 1020.412050] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1020.418699] I-pipe: Domain RTAI unregistered.
[ 1020.418822] RTAI[hal]: unmounted.
Dwa dni stracone. Parę frezów połamanych z nerwów, a mięsem tak rzucałem, że do tej pory psy z głodu wyją pod garażem.
Zamówiłem tego Gigabyte razem z SSD Intela oraz 2gb ramu.
Wsio na gwarancji więc może będę trochę spokojniejszy.
Prześledziłem na linuxcnc.org i ponoć lepiej niż na atomie a latency bardzo niskie.
Na spokojnie poinstaluje XP i Linuxa i zrobię wreszcie Camview bo to opcja, która mi się na pewno przyda.
Muszę jeszcze doszkolić się z dodawania przycisków bo chcę dodać często używane:
1. G0 X0 Y0
2. Go Z0
3. G0 X0 Y0 Z0
4. offset (G54) dla osi x i y
5. offset x, y, z
6. pomiar wysokości narzędzia - dla czujnika na kablu
no i oczywiście ustawianie offsetu do kamery, ale to później jak rozgryzę temat.
Właśnie, irytowała mnie prędkość USB na 10,4.
Debian lepiej sobie radzi z tym tematem ?