Gentlemen,
I have tried to move an USB jog pendant that worked on a Ubuntu 10.04
installation onto my new system.
hal_input did not find the USB device so I did some tinkering. My finds
below, if any more input is needed, I will be happy to try.
A hacked device permission made the USB device visible to HAL, but how
do I solve this more permanently? The USB device is not alvays showing
up with "event7".
System is Debian Wheezy LinuxCNC Axis 2.7.4 Fresh install.
Some system strings and the udev rule
=====================================
la@LCNC27:~$uname -a
Linux LCNC27 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc
i686 GNU/Linux
la@LCNC27:~$cat /etc/issue.net
Debian GNU/Linux 7
la@LCNC27:~$cat /etc/udev/rules.d/80-pendant.rules
#SUBSYSTEM="input", mode="0666", group="plugdev"
SYSFS{idProduct}=="05ba", SYSFS{idVendor}=="16c0", MODE="0666",
GROUP="plugdev"
Failed load
===========
la@LCNC27:~$halrun
halcmd: loadusr -W hal_input -KRA Bodnar
No input device matching 'Bodnar' was found (1 devices checked)
<stdin>:1: waitpid failed hal_input hal_input
<stdin>:1: hal_input exited without becoming ready
halcmd: exit
Change Permission
=================
la@LCNC27:~$sudo chmod 0666 /dev/input/event7
Better load
===========
la@LCNC27:~$halrun
halcmd: loadusr -W hal_input -KRA Bodnar
halcmd: show comp
Loaded HAL Components:
ID Type Name PID State
5 User hal_input 4366 ready
3 User halcmd4365 4365 ready
halcmd: exit
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users