Tobie się nie da pomóc...
MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
-
- Lider FORUM (min. 2000)
- Posty w temacie: 17
- Posty: 2329
- Rejestracja: 25 kwie 2016, 11:58
- Lokalizacja: Jodlowa
- Kontakt:
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
sudo adduser $(whoami) dialout
-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 21
- Posty: 235
- Rejestracja: 23 lut 2011, 15:12
- Lokalizacja: PL
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Czy to temat o modbus? Wiem ze to nie działa(jeszcze), przyjdzie pora będę męczył.

Specjalnie dla Ciebie :
Kod: Zaznacz cały
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.9.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
INIFILE=/home/cnc/linuxcnc/configs/test/test.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
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): ./test.hal
Found file(REL): ./custom.hal
Found file(REL): ./xhc-whb04b-6.hal
Shutting down and cleaning up LinuxCNC...
config string '0 out'
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
rtapi_shmem_new failed due to shmget(key=0x48414c32): Invalid argument
HAL: ERROR: could not open shared memory
failed to initialize HAL component xhc-whb04b-6
./xhc-whb04b-6.hal:29: waitpid failed xhc-whb04b-6 xhc-whb04b-6
./xhc-whb04b-6.hal:29: xhc-whb04b-6 exited without becoming ready
30953
Stopping realtime threads
Unloading hal components
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: czw, 3 cze 2021, 20:54:21 CEST
UTC Date: czw, 3 cze 2021, 18:54:21 UTC
this program: /usr/bin/linuxcnc_info
uptime: 20:54:21 up 4:55, 1 user, load average: 2,50, 2,40, 2,21
lsb_release -sa: Ubuntu Ubuntu 18.04.5 LTS 18.04 bionic
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/cnc/linuxcnc/configs/test
USER: cnc
LOGNAME: cnc
HOME: /home/cnc
EDITOR:
VISUAL:
LANGUAGE: pl
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: xubuntu
display size: 1680x1050 pixels (444x277 millimeters)
PATH: /usr/bin:/home/cnc/linuxcnc/configs/test/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
uname items:
nodename -n: cnc-desktop
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT_RT Fri Aug 28 21:11:39 CEST 2020
machine -m: x86_64
processor -p: x86_64
platform -i: x86_64
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-5.6.19-rt12 root=UUID=f7bedd41-5bf7-4cdf-9273-5f3e4f820e7a ro quiet splash vt.handoff=1
model name: AMD Athlon(tm) 64 Processor 3200+
cores: 1
cpu MHz: 2000.000
parport: 0000-0000 : parport0 0000-0000 : parport1 0000-0000 : parport1 0000-0000 : parport1
serial: 0000-0000 : serial
Versions:
gcc: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
python: Python 2.7.17
git: git version 2.17.1
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH
glade-gtk2: not_in_PATH
linuxcnc_var all:
LINUXCNCVERSION: 2.9.0~pre0
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
PYTHON: /usr/bin/python2.7
dpkg -l '*linuxcnc*':
Wybór:U=nieznany/I=instalacja/R=usunięcie/P=wyczyszczenie/H=zatrzymanie
| Stan:N=brak/I=zainstalowany/C=skonfigurowany/U=rozpakowany/
|/ F=częśc. skonfigurowany/H=częśc. zainstalowany/W=wyzw. czek./T=wyzw. zapl.
|| Błędy?=(brak)/R-do pon. inst. (duże litery w "Stan" i "Błędy"=problemy)
||/ Nazwa Wersja Architektura Opis
+++-=======================-============-============-=====================================================================
un linuxcnc <brak> <brak> (brak dostępnego opisu)
un linuxcnc-dev <brak> <brak> (brak dostępnego opisu)
un linuxcnc-doc <brak> <brak> (brak dostępnego opisu)
ii linuxcnc-doc-cn 1:2.9.0~pre0 all motion controller for CNC machines and robots (Chinese
ii linuxcnc-doc-en 1:2.9.0~pre0 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.9.0~pre0 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.9.0~pre0 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <brak> <brak> (brak dostępnego opisu)
un linuxcnc-sim-dev <brak> <brak> (brak dostępnego opisu)
ii linuxcnc-uspace 1:2.9.0~pre0 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.9.0~pre0 amd64 PC based motion controller for real-time Linux
ii linuxcnc-uspace-xenomai 1:2.9.0~pre0 amd64 PC based motion controller for real-time Linux
Kod: Zaznacz cały
cnc@cnc-desktop:~$ sudo adduser $(whoami) dialout
[sudo] hasło użytkownika cnc:
Dodawanie użytkownika "cnc" do grupy "dialout"...
Dodaję nowego użytkownika cnc do grupy dialout
Gotowe.

-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 21
- Posty: 235
- Rejestracja: 23 lut 2011, 15:12
- Lokalizacja: PL
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
Ze tak zapytam, udało sie komuś zainstalować zintegrować z linuxcnc2.8 (lub2.9) ta wędke w tym debian7 whrezzy? Bo moze to daremne i i "walka z wiatrakami"
-
- Stały bywalec (min. 70)
- Posty w temacie: 7
- Posty: 74
- Rejestracja: 31 paź 2020, 10:59
- Lokalizacja: Polska
- Kontakt:
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
może coś wyjaśnię, bo też próbowałem zrozumieć o co biega. 
problem w tym, że gdy nie ma dostępu do repozytoriów, Debian wheezy to nie to samo u każdego. Wheezy 7.0 został wydany w 2013 roku, uaktualniany był do 2018 (7.11). Jeśli masz wersję z samego początku bez uaktualnień ( a na to wskazują:
— twoja wersja pakietu lib-gtk3-dev - 3.4.2 — ta wersja pojawiła się w Debianie ok 2013
— pakiet apt bez polecenia apt, tylko apt-get — też bardzo wczesna wersja)
to jest to problem.
Ktoś inny z wheezy uaktualnianym na bieżąco do 2018 roku (lub dalej do kiedy repozytoria pakietów dla wheezy były na serwerach) będzie miał być może lib-gtk3-dev w wersji ~3.24 i zainstaluje tę wędkę.
Dodane 44 minuty 8 sekundy:
jest jeszcze jedna szansa - jesteś pewien, że w pliku /etc/apt/sources.list masz to co zaleca poradnik? Powinieneś mieć te wpisy do działającego archiwum debiana wheezy:
Mogę się mylić, ale twój screenshot, albo jest ucięty, albo nie masz wpisu pierwszego i drugiego


problem w tym, że gdy nie ma dostępu do repozytoriów, Debian wheezy to nie to samo u każdego. Wheezy 7.0 został wydany w 2013 roku, uaktualniany był do 2018 (7.11). Jeśli masz wersję z samego początku bez uaktualnień ( a na to wskazują:
— twoja wersja pakietu lib-gtk3-dev - 3.4.2 — ta wersja pojawiła się w Debianie ok 2013
— pakiet apt bez polecenia apt, tylko apt-get — też bardzo wczesna wersja)
to jest to problem.
Ktoś inny z wheezy uaktualnianym na bieżąco do 2018 roku (lub dalej do kiedy repozytoria pakietów dla wheezy były na serwerach) będzie miał być może lib-gtk3-dev w wersji ~3.24 i zainstaluje tę wędkę.
Dodane 44 minuty 8 sekundy:
jest jeszcze jedna szansa - jesteś pewien, że w pliku /etc/apt/sources.list masz to co zaleca poradnik? Powinieneś mieć te wpisy do działającego archiwum debiana wheezy:
Kod: Zaznacz cały
deb http://archive.debian.org/debian wheezy main contrib non-free
deb-src http://archive.debian.org/debian wheezy main contrib non-free
deb http://archive.debian.org/debian-security wheezy/updates main contrib non-free
deb-src http://archive.debian.org/debian-security/ wheezy/updates main contrib non-free

-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 21
- Posty: 235
- Rejestracja: 23 lut 2011, 15:12
- Lokalizacja: PL
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
# deb http://http.debian.net/debian wheezy main contrib non-freegluk pisze:Powinieneś mieć te wpisy do działającego archiwum debiana wheezy:
# deb-src http://http.debian.net/debian wheezy main contrib non-free
# deb http://http.debian.net/debian wheezy-updates main contrib non-free
# deb-src http://http.debian.net/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://http.us.debian.org/debian/ wheezy non-free contrib main
deb http://archive.debian.org/debian wheezy main contrib non-free
deb-src http://archive.debian.org/debian wheezy main contrib non-free
deb http://archive.debian.org/debian-security wheezy/updates main contrib non-free
deb-src http://archive.debian.org/debian-security wheezy/updates main contrib non-free
deb http://ftp.pl.debian.org/debian/ oldstable main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ oldstable main contrib non-free
deb http://security.debian.org/ oldstable/updates main contrib non-free
deb-src http://security.debian.org/ oldstable/updates main contrib non-free
deb http://ftp.pl.debian.org/debian oldstable-updates main contrib non-free
deb-src http://ftp.pl.debian.org/debian oldstable-updates main contrib non-free
Kod: Zaznacz cały
cnc@debian:~$ sudo apt-get update
[sudo] password for cnc:
Stary http://ftp.pl.debian.org oldstable Release.gpg
Ign. http://security.debian.org wheezy/updates Release.gpg
Stary http://archive.debian.org wheezy Release.gpg
Pobieranie:1 http://ftp.pl.debian.org oldstable-updates Release.gpg [1601 B]
Pobieranie:2 http://security.debian.org oldstable/updates Release.gpg [1601 B]
Stary http://ftp.pl.debian.org oldstable Release
Stary http://archive.debian.org wheezy/updates Release.gpg
Ign. http://security.debian.org wheezy/updates Release
Stary http://ftp.pl.debian.org oldstable-updates Release
Ign. http://ftp.pl.debian.org oldstable-updates Release
Stary http://archive.debian.org wheezy Release
Pobieranie:3 http://security.debian.org oldstable/updates Release [51,4 kB]
Stary http://ftp.pl.debian.org oldstable/main Sources
Ign. http://http.us.debian.org wheezy Release.gpg
Stary http://archive.debian.org wheezy/updates Release
Stary http://ftp.pl.debian.org oldstable/contrib Sources
W: Dla następujących identyfikatorów kluczy brakuje klucza publicznego:
04EE7237B7D453EC
NO_PUBKEY EF0F382A1A7B6500
W: Błąd GPG: http://ftp.pl.debian.org oldstable-updates Release: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: Plik Release dla http://archive.debian.org/debian-security/dists/wheezy/updates/Release wygasnął (nieprawidłowy od 788dni 23g 46min 11s). Aktualizacje z tego repozytorium nie będą wykonywane.
mpg-linuxcnc-2-9-usb-cnc-whb04b-4-whb04 ... ml#p712922
to sie pokazały nowsze wersje pakietów w synaptic (nawet tego nieszczesnego libgtk-3-dev)
Odpaliłem konsole, i je mielił(znaczy sciagał całą noc)
po ich aktualizacji bład tego libgtk-3-dev jak był tak jest, na dodatek synaptic złapał błeda.

i nie wiem wkoncu jaka jest wersja
obraz iso sciagany z:
http://www.linuxcnc.org/iso/linuxcnc-2.7.14-wheezy.iso
-
- Stały bywalec (min. 70)
- Posty w temacie: 7
- Posty: 74
- Rejestracja: 31 paź 2020, 10:59
- Lokalizacja: Polska
- Kontakt:
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
masz błąd :
E: Plik Release dla http://archive.debian.org/debian-securi ... es/Release wygasnął (nieprawidłowy od 788dni 23g 46min 11s). Aktualizacje z tego repozytorium nie będą wykonywane
Na twoim miejscu zrobiłbym konsekwentnie wg tego poradnika machmaker.pl
czyli tak jak radzą :
- usuń wszystkie wpisy w pliku /etc/apt/sources.list i wklej te z poradnika (teraz masz 3 repozytoria: archive, pl.debian, us.debian)
- wykonaj sudo apt-get clean
- wykonaj sudo apt-get install debian-archive-keyring !!!!
...itd.
i czytaj komunikaty !
E: Plik Release dla http://archive.debian.org/debian-securi ... es/Release wygasnął (nieprawidłowy od 788dni 23g 46min 11s). Aktualizacje z tego repozytorium nie będą wykonywane
Na twoim miejscu zrobiłbym konsekwentnie wg tego poradnika machmaker.pl
czyli tak jak radzą :
- usuń wszystkie wpisy w pliku /etc/apt/sources.list i wklej te z poradnika (teraz masz 3 repozytoria: archive, pl.debian, us.debian)
- wykonaj sudo apt-get clean
- wykonaj sudo apt-get install debian-archive-keyring !!!!
...itd.
i czytaj komunikaty !
-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 21
- Posty: 235
- Rejestracja: 23 lut 2011, 15:12
- Lokalizacja: PL
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
gluk pisze:wg tego poradnika machmaker.pl
sorki ale cos chyba link sie nie ten wkleił.
czy to miałes na mysli ten:
http://www.machmaker.pl/1_10_5_instrukc ... ian-7.html
Dodane 9 minuty 11 sekundy:
gluk pisze:wklej te z poradnika
wkleiłem, zapisałem.
Kod: Zaznacz cały
cnc@debian:~$ sudo nano /etc/apt/sources.list
cnc@debian:~$ sudo apt-get update
Stary http://archive.debian.org wheezy Release.gpg
Pobieranie:1 http://archive.debian.org wheezy/updates Release.gpg [1601 B]
Stary http://archive.debian.org wheezy Release
Stary http://archive.debian.org wheezy/updates Release
E: Plik Release dla http://archive.debian.org/debian-security/dists/wheezy/updates/Release wygasnął (nieprawidłowy od 789dni 2g 48min 18s). Aktualizacje z tego repozytorium nie będą wykonywane.
-
- Stały bywalec (min. 70)
- Posty w temacie: 7
- Posty: 74
- Rejestracja: 31 paź 2020, 10:59
- Lokalizacja: Polska
- Kontakt:
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
napisałem ci: zrób to KONSEKWENTNIE
w poradniku masz krok po kroku, ja też ci to napisałem:
- usuń wszystkie wpisy w pliku /etc/apt/sources.list i wklej te z poradnika (teraz masz 3 repozytoria: archive, pl.debian, us.debian)
wg poradnik masz teraz
- wykonaj sudo apt-get clean a nie sudo apt-get update
- wykonaj sudo apt-get install debian-archive-keyring !!!!
...itd.
w poradniku masz krok po kroku, ja też ci to napisałem:
- usuń wszystkie wpisy w pliku /etc/apt/sources.list i wklej te z poradnika (teraz masz 3 repozytoria: archive, pl.debian, us.debian)
wg poradnik masz teraz
- wykonaj sudo apt-get clean a nie sudo apt-get update
- wykonaj sudo apt-get install debian-archive-keyring !!!!
...itd.
-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 21
- Posty: 235
- Rejestracja: 23 lut 2011, 15:12
- Lokalizacja: PL
Re: MPG LinuxCNC 2.9 USB CNC WHB04B-4 WHB04B-6 Debian9 Wędka , Kółko ręczne, Wireless Pendant
gluk pisze:zrób to KONSEKWENTNIE
Teraz tak to zrobiłem,(może tego nie widać w poprzednim poście ale użyłem tego clean) i efekt bez zmian, ale wrócę z roboty to Ci to udowodnię.
Dodane 11 minuty 15 sekundy:
A tak zapytam czym się różnie Debian 7 z strony linuxacnc.org (1.2Gb) a Debian7 z oficjalnej dystrybucji (10Gb)
https://cdimage.debian.org/cdimage/arch ... 4/iso-dvd/
Pomijając fakt istnienia lcnc.
Czy instalacja oficjalnego deb7 i kompilacji lcnc w nim pomoże na problemy z pakietami?