Joystick
02 Mar 2013 02:19 #30732
by andypugh
www.linuxcnc.org/docs/html/config/ini_co...id_sub_hal_section_a
The PostGui HAL file can actually be called anything, as long as it matches the POSTGUI_HALFILE entry in the [HAL] section of the INI file:the tutorial say "postgui.hal" but I only find a "custom_postgui.hal" in the directory.
www.linuxcnc.org/docs/html/config/ini_co...id_sub_hal_section_a
Please Log in or Create an account to join the conversation.
29 Mar 2013 13:39 #32022
by no-bug
Hi
After my computer crashes, I make a clean newer installation of Hardy Heron and upgrate from EMC 2.3 to 2.5.2. Before crash, my joystick worked fine and I do files backup (hal, ini, etc.). Since reinstall, it does'nt work .
It seems that joystick is recognized by linux, but not by EMC who crashes.
Could someone help me?
Halcmd: show pin
===============
nothing....
EMC error message:
============
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
ma-machine.hal:6: hal_input exited without becoming ready
6139
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
less /proc/bus/input/devices
======================
I: Bus=0003 Vendor=046d Product=c216 Version=0110
N: Name="Logitech Logitech Dual Action"
P: Phys=usb-0000:00:1f.2-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/input/input2
U: Uniq=
H: Handlers=event2 js0
B: EV=1b
B: KEY=fff 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10
sudo cat /dev/input/js0
==================
����������������������������� ���
The joy seems to respond.
Notice : I do the configuration described in tutorial (my earlier posts)
After my computer crashes, I make a clean newer installation of Hardy Heron and upgrate from EMC 2.3 to 2.5.2. Before crash, my joystick worked fine and I do files backup (hal, ini, etc.). Since reinstall, it does'nt work .
It seems that joystick is recognized by linux, but not by EMC who crashes.
Could someone help me?
Halcmd: show pin
===============
nothing....
EMC error message:
============
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
ma-machine.hal:6: hal_input exited without becoming ready
6139
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
less /proc/bus/input/devices
======================
I: Bus=0003 Vendor=046d Product=c216 Version=0110
N: Name="Logitech Logitech Dual Action"
P: Phys=usb-0000:00:1f.2-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/input/input2
U: Uniq=
H: Handlers=event2 js0
B: EV=1b
B: KEY=fff 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10
sudo cat /dev/input/js0
==================
����������������������������� ���
The joy seems to respond.
Notice : I do the configuration described in tutorial (my earlier posts)
Please Log in or Create an account to join the conversation.
29 Mar 2013 16:45 #32028
by Rick G
You might want to look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?UPDATING
Did you ...
and look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?action...f=1&id=UpdatingTo2.5
Rick G
wiki.linuxcnc.org/cgi-bin/wiki.pl?UPDATING
Did you ...
remove the inifile line NML_FILE = emc.nml
and look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?action...f=1&id=UpdatingTo2.5
Rick G
Please Log in or Create an account to join the conversation.
29 Mar 2013 17:17 - 29 Mar 2013 17:19 #32031
by no-bug
Hi Rick G
The EMC config. files (ini, hal, etc in the config. dir) were backed up from EMC 2.5.2 with jostick operative before crash and I use them after reinstall ubuntu and update from EMC2.3 to 2.4 and 2.5.
There is no emc.nml in the config dir.
I do not use stepconf to initialise EMC but use the backuped above files.
The EMC config. files (ini, hal, etc in the config. dir) were backed up from EMC 2.5.2 with jostick operative before crash and I use them after reinstall ubuntu and update from EMC2.3 to 2.4 and 2.5.
There is no emc.nml in the config dir.
I do not use stepconf to initialise EMC but use the backuped above files.
Last edit: 29 Mar 2013 17:19 by no-bug.
Please Log in or Create an account to join the conversation.
29 Mar 2013 19:24 #32038
by andypugh
Your clean install has overwritten the udev rules you put in for hal_input.
Don't folk ever read the error messages?
Please read the section "PERMISSIONS AND UDEV" in the hal_input manpage.
Here it is:
www.linuxcnc.org/docs/html/man/man1/hal_input.1.html
I make a clean newer installation
...
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
Your clean install has overwritten the udev rules you put in for hal_input.
Don't folk ever read the error messages?
Please read the section "PERMISSIONS AND UDEV" in the hal_input manpage.
Here it is:
www.linuxcnc.org/docs/html/man/man1/hal_input.1.html
The following user(s) said Thank You: BigJohnT
Please Log in or Create an account to join the conversation.
30 Mar 2013 01:29 #32055
by no-bug
Hi Andy
www.linuxcnc.org/docs/html/man/man1/hal_input.1.html says
"For more information on writing udev rules, see udev(8)"
Where is udev(8)?
Below the content of the dir. What must I do ? (I am lost...)
There is a file 95-hal.rules whitch is empy...
root@jp-cnc:/etc/udev/rules.d# ls
05-options.rules 70-persistent-net.rules
05-udev-early.rules 75-cd-aliases-generator.rules
20-names.rules 75-persistent-net-generator.rules
30-cdrom_id.rules 80-programs.rules
40-basic-permissions.rules 85-alsa.rules
40-permissions.rules 85-brltty.rules
45-fuse.rules 85-hdparm.rules
45-libmtp7.rules 85-hplj10xx.rules
50-libpisock9.rules 85-hwclock.rules
50-xserver-xorg-input-wacom.rules 85-ifupdown.rules
55-hpmud.rules 85-pcmcia.rules
60-persistent-input.rules 90-modprobe.rules
60-persistent-storage.rules 95-hal.rules
60-persistent-storage-tape.rules 95-udev-late.rules
60-symlinks.rules 99-rtai.rules
61-persistent-storage-edd.rules README
70-persistent-cd.rules
www.linuxcnc.org/docs/html/man/man1/hal_input.1.html says
"For more information on writing udev rules, see udev(8)"
Where is udev(8)?
Below the content of the dir. What must I do ? (I am lost...)
There is a file 95-hal.rules whitch is empy...
root@jp-cnc:/etc/udev/rules.d# ls
05-options.rules 70-persistent-net.rules
05-udev-early.rules 75-cd-aliases-generator.rules
20-names.rules 75-persistent-net-generator.rules
30-cdrom_id.rules 80-programs.rules
40-basic-permissions.rules 85-alsa.rules
40-permissions.rules 85-brltty.rules
45-fuse.rules 85-hdparm.rules
45-libmtp7.rules 85-hplj10xx.rules
50-libpisock9.rules 85-hwclock.rules
50-xserver-xorg-input-wacom.rules 85-ifupdown.rules
55-hpmud.rules 85-pcmcia.rules
60-persistent-input.rules 90-modprobe.rules
60-persistent-storage.rules 95-hal.rules
60-persistent-storage-tape.rules 95-udev-late.rules
60-symlinks.rules 99-rtai.rules
61-persistent-storage-edd.rules README
70-persistent-cd.rules
Please Log in or Create an account to join the conversation.
Time to create page: 0.204 seconds