On 10/05/2011 10:39 PM, Przemek Klosowski wrote:
> On Wed, Oct 5, 2011 at 6:45 PM, Sebastian Kuzminsky wrote:
>
>>> Unexpected event EV_ABS ABS_48
>>> Unexpected event EV_ABS ABS_49
> That's because the EMC HID driver hal_input doesn't handle all data
> from your USB device.
>
> The regular kernel
On Wed, Oct 5, 2011 at 6:45 PM, Sebastian Kuzminsky wrote:
>> Unexpected event EV_ABS ABS_48
>> Unexpected event EV_ABS ABS_49
That's because the EMC HID driver hal_input doesn't handle all data
from your USB device.
The regular kernel HID driver defines the EV_ABS events with codes
(ABS_xxx) u
Hi Sebastian;
Thanks for the reply, and the ideas. I'm new to EMC, so there is a lot
to figure out still.
> What device is this, exactly?
lsinput:
/dev/input/event3
bustype : BUS_USB
vendor : 0x54c
product : 0x268
version : 273
name: "GASIA CORP. PLAYSTATION(R)3 Cont"
On Oct 5, 2011, at 16:18 , John A. Stewart wrote:
> Hi all;
>
> After reading some of the messages on this list, I went out and
> purchased a wired joypad; it is giving me the following messages when
> I run:
>
> halcmd
> loadusr hal_input -KRAL GASIA
>
> Unexpected event EV_ABS ABS_48
> Un
Hi all;
After reading some of the messages on this list, I went out and
purchased a wired joypad; it is giving me the following messages when
I run:
halcmd
loadusr hal_input -KRAL GASIA
Unexpected event EV_ABS ABS_48
Unexpected event EV_ABS ABS_49
Unexpected event EV_ABS ABS_50
Unexpected ev
On Thu, 2011-02-17 at 13:39 -0600, Igor Chudov wrote:
> I would like to use regular joypad buttons
I did that with my Logitech gamepad: the joysticks do gradual motion and
the buttons do on-off motion.
This should get you started:
http://softsolder.com/2010/10/23/logitech-gamepad-as-emc2-pendant
On 17 February 2011 21:39, Igor Chudov wrote:
> In other words: when I press a certain button, I want a given axis to start
> moving in a given direction at a predetermined speed. When I release that
> button, I want movement to stop.
>
> How can I set that up.
Look at the mux4 component. define
I have a Saitek P880 joypad. It works REALLY great to do the following:
1) Control X, Y and Z with joyhandles (little levers sticking out of the
joypad)
2) Make some buttons like input.0.btn-pinkie to control HAL pins to give HAL
pause and resume commands.
The nice thing is that depending on how
Il 16/12/2010 16:21, Alex Joni ha scritto:
> Hi Davide,
>
> that's a question that's a bit hard to answer.
> I remember doing it, but that was around emc2 - 2.1 or even older.
> In the current versions (due to some bugfixes), I think this is prevented.
> Can't remember the reason though.
> I know i
h, but that one is still in
development/testing phase, so use with caution.
Regards,
Alex
- Original Message -
From: "Spiderdab" <77...@tiscali.it>
To: "Enhanced Machine Controller (EMC)"
Sent: Thursday, December 16, 2010 5:04 PM
Subject: Re: [Emc-users] J
Alex, i've a question for you, since, if i'm not wrong, you wrote down
the tripodkins.c .
have you ever tried to jog into world mode the tripod with a joystick?
did it work?
i'm asking about this thing everywhere, but nobody can tell me if it
work or not with a non-trivial kinematics.
thanks d
Il 16/12/2010 14:35, andy pugh ha scritto:
> On 16 December 2010 13:00, Spiderdab<77...@tiscali.it> wrote:
>
>> the on e wich should interest me is _teleop? right?
>> than i'm not sure if the joint mode is _joint or _manual. what's the
>> difference?
> It might be easiest to watch them in Show HAL
On 16 December 2010 13:00, Spiderdab <77...@tiscali.it> wrote:
> the on e wich should interest me is _teleop? right?
> than i'm not sure if the joint mode is _joint or _manual. what's the
> difference?
It might be easiest to watch them in Show HAL Config and see what they do.
--
atp
"Torque wre
Il 16/12/2010 13:07, andy pugh ha scritto:
> On 16 December 2010 11:42, Spiderdab<77...@tiscali.it> wrote:
>
>> something like a logical expression which read if the state of world
>> mode is false or true? is there a pin for that?
> http://www.linuxcnc.org/docs/2.4/html/man/man1/halui.1.html
> (L
On 16 December 2010 11:42, Spiderdab <77...@tiscali.it> wrote:
> something like a logical expression which read if the state of world
> mode is false or true? is there a pin for that?
http://www.linuxcnc.org/docs/2.4/html/man/man1/halui.1.html
(Look at the halui.mode pins)
> what do you mean abo
t;
> Regards,
> Alex
>
> - Original Message -
> From: "Spiderdab"<77...@tiscali.it>
> To:
> Sent: Thursday, December 16, 2010 1:23 AM
> Subject: [Emc-users] Joypad question.
>
>
>> Hallo list.
>> Is there a way to jog the axis in joint mode on
erdab" <77...@tiscali.it>
To:
Sent: Thursday, December 16, 2010 1:23 AM
Subject: [Emc-users] Joypad question.
> Hallo list.
> Is there a way to jog the axis in joint mode only with keyboard, while
> jog i
Hallo list.
Is there a way to jog the axis in joint mode only with keyboard, while
jog in world mode with the joystick?
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your coll
On 05/19/2010 03:52 AM, Mark Wendt wrote:
> Looks like this is your problem:
>
>
>> Debug file information:
>> Can not find -sec EMC -var NML_FILE -num 1
>> Unrecognized line skipped: POC FMS LEN DIAMCOMMENT
>> standard_pinout.hal:22: Warning: linkpp command is deprecated, use '
On 05/19/2010 10:15 AM, Jeff Epler wrote:
> The "hal_joystick" component was deprecated in emc 2.2[1] and was intended
> to be removed in emc 2.4. Instead, use hal_input[2], which will require
> additional modifications to joypad.hal due to different pin names.
>
> hal_input, which has existed sin
The "hal_joystick" component was deprecated in emc 2.2[1] and was intended
to be removed in emc 2.4. Instead, use hal_input[2], which will require
additional modifications to joypad.hal due to different pin names.
hal_input, which has existed since emc2.2, supports more devices than
hal_joystick,
Looks like this is your problem:
> Debug file information:
> Can not find -sec EMC -var NML_FILE -num 1
> Unrecognized line skipped: POC FMS LEN DIAMCOMMENT
> standard_pinout.hal:22: Warning: linkpp command is deprecated, use 'net'
> HAL: ERROR: pin_new called after hal_ready
> joy
I upgraded my system from 2.3 to 2.4. I read on the wiki to take out
the line: NML_FILE = emc.nml. I did this and started emc2.
The errors located in the file emc23_error_nonml were observed.
I then included the line with NML_FILE and the errors in the
emc24_error.txt were obser
Chris,
I followed the wiki at
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2
and I couldn't get the joystick to be found by any name I tried. Then I
found that HALUI = halui must be before the HALFILE directive in the ini
file and everything worked great.
I don't think that luck was involved in getting it to work.
John
On 7 Jul 2009 at 0:58, sani.broy...@free.fr wrote:
> Lucky you :-)
> Regards, Chris.
>
> Le mardi 7 juillet 2009 00:17:16, John Thornton a écrit :
> > Mine works flawlessly...
> >
> > John
> >
> > On 6 Jul 2009 at 18:34, sani.broy
I'm trying hard :-)
Thanks for your advices.
Too late (1.28 AM) to go on tonight, I'll experience debug modes tomorrow.
Regards, Chris
Le mardi 7 juillet 2009 01:12:00, Frank Tkalcevic a écrit :
> > Everything was neat and clear until I tried the proposed .hal
> > file to integrate the Joypad in
> Everything was neat and clear until I tried the proposed .hal
> file to integrate the Joypad in "axis". Nothing appends, or
> tombstone sometimes.
I found that out the hard way too. It only takes a small change in your
.ini file or .hal file and you can no longer use shared hal files. It's a
Lucky you :-)
Regards, Chris.
Le mardi 7 juillet 2009 00:17:16, John Thornton a écrit :
> Mine works flawlessly...
>
> John
>
> On 6 Jul 2009 at 18:34, sani.broy...@free.fr wrote:
> > Hi all.
> > Anybody using a USB joypad that works ?
> > Regards.
> >
> >
> > -
will provide a very verbose output. You may need to use sudo to
> get all the details.
>
> > -Original Message-
> > From: sani.broy...@free.fr [mailto:sani.broy...@free.fr]
> > Sent: Tuesday, 7 July 2009 2:35 AM
> > To: Enhanced Machine Controller (EMC)
> >
From: sani.broy...@free.fr [mailto:sani.broy...@free.fr]
> Sent: Tuesday, 7 July 2009 2:35 AM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] Joypad ?
>
> Hi all.
> Anybo
Mine works flawlessly...
John
On 6 Jul 2009 at 18:34, sani.broy...@free.fr wrote:
> Hi all.
> Anybody using a USB joypad that works ?
> Regards.
>
>
>
> --
> ___
> Emc-user
No, cut and paste does not work
But following the steps works. I did not attempt cut and paste.
Dumbass: Si je suis un menteur, alors vous êtes un con haha 8)
I'll send the files later Have to deal with many 'Con' today on
the phone
On Mon, Jul 6, 2009 at 3:06 PM,
sani.broy...@free.f
I wasn't saying that, sorry Rainer.
I copied/pasted the file, got a ton of errors :-)
So the example given in the wiki was not, for sure, usable "as is" :-)
"Dumbass" is not in my translator. Could you explain ? ;-)
Regards, Chris.
Le lundi 6 juillet 2009 19:19:51, Rainer Schmidt a écrit :
> T
Then I am a happy liar who jogs his machine with his JoyPad
When I get to the shop later I'll post my hal file edits and the
message from Linux when it finds my pad.
I might shoot a quick movie how it jogs so you have to stop calling me
a liar and I can start calling you dumbass!
Why should I
Sani,
I used the instructions below to get both a Logitech and Sony gamepad to
work. The only real trick as far as I remember was making sure to use a
recognizable portion of the name (i.e. replacing "SAITEK" from the
instructions).
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?A_New_Approach_For_U
sani.broy...@free.fr wrote:
>It doesn't work at all, despite I followed the procedure line by line.
>
>
What does not work?
You need to tell us step by step what you are doing, what you expect to
see, and what you actually see.
>Pins are not named the same,
>
Then change the names of the pin
It doesn't work at all, despite I followed the procedure line by line.
Pins are not named the same, hal_joystick or hal input doesn't work despite
this joypad is the same as pictured and is perfectely used by all probe progs
using /dev/input/js0.
I can't believe you when you say It worked "out
I use the one from the picture on the wiki... I followed the
installation procedure and it worked of the bat. I got mine from ebay
for $7...
I edited the wrong hal file and it got overridden again with a
reconfig lol I was to lazy to set it up again...
As I recall it was not a big deal to get
Hi all.
Anybody using a USB joypad that works ?
Regards.
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Hello John,
please look at the time setting of your PC. I received this mail with
sending date 17.04.2004!
Peter Blodow
At 14:25 17.04.2004, you wrote:
>On 17 Apr 2009 at 1:06, Michael Jones wrote:
>
> > Does anyone have a good example of a HAL file for a joypad that I
> > can
> > build on.
On Sat, 2004-04-17 at 06:25 -0600, John Thornton wrote:
>
> On 17 Apr 2009 at 1:06, Michael Jones wrote:
>
> > Does anyone have a good example of a HAL file for a joypad that I
> > can
> > build on.
>
> This should get you going.
>
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_P
Michael Jones wrote:
>On Apr 17, 2009, at 1:11 PM, Lars Andersson wrote:
>
>
>>Probably
>>loadusr -W hal_input -KRAL Action
>>
>>
>
>this doesn't seem to work no matter what text fragment I use..
>Loading by the /dev/input/js0 seems to work though..
>
>
One thing I noticed in your /pro
On Apr 17, 2009, at 1:11 PM, Lars Andersson wrote:
> Probably
> loadusr -W hal_input -KRAL Action
this doesn't seem to work no matter what text fragment I use..
Loading by the /dev/input/js0 seems to work though..
>
> would work also.
>
> Any text fragment from the selected properties seem
gt; Subject: Re: [Emc-users] Joypad as a pendant - help?
>
> When I:
>
> cat /proc/bus/input/devices
>
> it returns:
>
> I: Bus=0003 Vendor=046d Product=c216 Version=0110
> N: Name="Logitech Logitech Dual Action"
> P: Phys=usb-:02:00.0-1/input0
&
Alex Joni wrote:
>> Oops, that makes more sense. So it's more like an ADC interface. I guess
>> I need to actually install one sometime.
>>
>
> Well, there are 2 ways of interfacing the joystick.
>
Well, there are 3 ways... :) Third is with X driver and remapping events
into AXIS.
--
No quotes needed, it does not have to be the whole string either.
>
> Unfortunately the property Uniq= cannot be used
>
> //
> Lars
>
>> -Original Message-
>> From: Michael Jones [mailto:ma...@michaelandholly.com]
>> Sent: den 17 april 2009 20:17
>> T
> Oops, that makes more sense. So it's more like an ADC interface. I guess
> I need to actually install one sometime.
Well, there are 2 ways of interfacing the joystick.
The "older" one, (which I don't think is that good) is taking the output
from the joystick, using a stepgen to generate quadrat
On Fri, 2009-04-17 at 21:17 +0300, Alex Joni wrote:
... snip
> What you are reffering to is valid for MPGs, not for joysticks.
> (there counts are remembered, and if you stop spinning, the machine might
> still move to get to the count you intended).
>
> For joysticks you need to see what each ax
nal Message-
> From: Michael Jones [mailto:ma...@michaelandholly.com]
> Sent: den 17 april 2009 20:17
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Joypad as a pendant - help?
>
> When I use this setup, I get a response to the command:
>
> loadusr -W
Kirk,
Hey! That worked perfectly! Thanks!
I inserted:
setp axis.0.jog-vel-mode TRUE
setp axis.1.jog-vel-mode TRUE
setp axis.2.jog-vel-mode TRUE
into the hal file right after the:
setp axis.0.jog-enable TRUE
setp axis.1.jog-enable TRUE
setp axis.2.jog-enable TRUE
commands and now when I let
When I use:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck
I get the (-value...0...value) sequence when I move the sticks.
On Apr 17, 2009, at 11:17 AM, Alex Joni wrote:
>> On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
>> ... snip
>>> I've used the first script in the
Kirk,
That looks promising.. I'll try inserting that into the Hal.
Thanks,
- Michael
On Apr 17, 2009, at 11:13 AM, Kirk Wallace wrote:
> On Fri, 2009-04-17 at 10:48 -0700, Kirk Wallace wrote:
>> On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
>> ... snip
>>> I've used the first script i
> On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
> ... snip
>> I've used the first script in the knowledgebase as a initial attempt,
>> but am having a slight problem. When I let go of the stick on the pad
>> the axis keeps going.. UHOH! ;-)
>>
>> I've looked at the other scripts in the k
When I use this setup, I get a response to the command:
loadusr -W hal_input -KRAL
I've replaced the with everything I can think of.. including
various permutations of quotes and the like and get this every
time.Somehow the hal stuff isn't recognizing the name of the device
Traceback (
On Fri, 2009-04-17 at 10:48 -0700, Kirk Wallace wrote:
> On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
> ... snip
> > I've used the first script in the knowledgebase as a initial attempt,
> > but am having a slight problem. When I let go of the stick on the pad
> > the axis keeps goi
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
> I've used the first script in the knowledgebase as a initial attempt,
> but am having a slight problem. When I let go of the stick on the pad
> the axis keeps going.. UHOH! ;-)
>
> I've looked at the other scripts in the knowl
On 17 Apr 2009 at 1:06, Michael Jones wrote:
> Does anyone have a good example of a HAL file for a joypad that I
> can
> build on.
This should get you going.
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
John
-
Does anyone have a good example of a HAL file for a joypad that I can
build on.
Here's what I want to do with a basic Logitech usb gamepad..
Use the left stick to control x axis, the right stick to control the y
axis, and the Hat to control the z axis. (I want one stick, one
axis, 'cause
On Sun, Mar 02, 2008 at 10:34:28PM -0500, Stephen Wille Padnos wrote:
> The reason is that there's no way to get a complete list of all joystick
> devices (axes and buttons) before you get the first "event". If you try
> to enumerate all the axes first, and the joystick gets moved while
> you're d
Hmmm - it looks like nobody ever answered your original questions here.
Kirk Wallace wrote:
>I think hal_joystick.c:
>
>http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/user_comps/devices/hal_joystick.c?rev=1.2;content-type=text%2Fplain
>
>
Note that this is superseded by hal_input, whic
> Thanks Ben. The cast makes sense. I think of void as being an invention
> to allow functions that return nothing, so the function return type
> (void *) tells me that a pointer is returned that points to a
> nonexistent variable. Is the (void *) just a reminder to always cast the
> return pointer
On Sat, 2008-02-23 at 07:52 +, ben lipkowitz wrote:
> On Fri, 22 Feb 2008, Kirk Wallace wrote:
> > Another bit I don't understand:
> >
> >/* STEP 3: allocate shared memory for joystick data */
> >js_data = (hal_js_t *) hal_malloc(sizeof(hal_js_t));
> >if (js_data == 0) {
> > pri
On Fri, 22 Feb 2008, Kirk Wallace wrote:
> Another bit I don't understand:
>
>/* STEP 3: allocate shared memory for joystick data */
>js_data = (hal_js_t *) hal_malloc(sizeof(hal_js_t));
>if (js_data == 0) {
> printf( "ERROR: hal_malloc() failed\n");
> hal_exit(comp_id);
>
On Fri, 2008-02-22 at 17:51 -0800, Kirk Wallace wrote:
> I think hal_joystick.c:
>
> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/user_comps/devices/hal_joystick.c?rev=1.2;content-type=text%2Fplain
>
> might be a good model to follow for making my modbus user-land
> component. My guess
I think hal_joystick.c:
http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/user_comps/devices/hal_joystick.c?rev=1.2;content-type=text%2Fplain
might be a good model to follow for making my modbus user-land
component. My guess would be that one would setup HAL and the the HAL
pins and then lo
That was the example that I was looking at. So will the HALUI be out
when 2.2 is released?
Thanks
John
On 22 Oct 2007 at 14:38, [EMAIL PROTECTED] wrote:
> Hello,
>
> here is a slightly out of date example:
>
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Using_A_Joypad_To_Move_You
> r_CNC_Ma
very
easy way.
Regards,
Manfredi
My websites: www.m24-pro.com
www.emc2cnc.altervista.org > From:
[EMAIL PROTECTED]> To: emc-users@lists.sourceforge.net> Date: Sun, 21 Oct 2007
14:08:16 -0500> Subject: [Emc-users] Joypad>> Can you take
Can you take a joypad apart and put into a more solid container and use
industrial
buttons so you can label the functions for input into EMC. The USB input for a
remote would be just too easy...
Thanks
John
-
This SF.net e
Gentlemen,
I have some of the Saitek joypad buttons working as I want. I
would like to share the configuration logic. In my shop the operators
can hardly wait to use the machine with a wireless game joypad. I will
probably dismantle the joypad and use the joystick components in a
more robust co
kirk wrote:
> John,
>
> Thanks for all the help. The scaling factors did the trick. On the
> previous version of EMC 2.1.3 I had to increase the counts per second
> just to get the thing to move.
>
> This new version works considerably better. There is much better
> control over the velocity.
John,
Thanks for all the help. The scaling factors did the trick. On the
previous version of EMC 2.1.3 I had to increase the counts per second
just to get the thing to move.
This new version works considerably better. There is much better
control over the velocity.
Kirk
On Wed, 2007-03-28 at
John Kasunich wrote:
I should proofread before I hit send, not after:
> If countX looks OK, then its time to look at the motion controller.
> "show pin axis.0.jog" will show you the jogging related pins.
> jog-counts should have the same value as countX. jog-enable should
> be TRUE. jog-vel-mod
Kirk wrote:
> I attached the hal file on the last message. I am also attaching it
> again here. The link to the file on the wiki is
> http://wiki.linuxcnc.org/uploads/joypad.hal
Oops... I apologize, I missed the attachment.
The hal file shows that you are NOT using halui for jogging, only
for
I attached the hal file on the last message. I am also attaching it
again here. The link to the file on the wiki is
http://wiki.linuxcnc.org/uploads/joypad.hal
Kirk
On Tue, 2007-03-27 at 19:57 -0400, John Kasunich wrote:
> Kirk wrote:
> > I am using the joypad.hal file located on the wiki. I h
Kirk wrote:
> I am using the joypad.hal file located on the wiki. I have of course
> modified it for my machine. I am loading halui and using it to control
> various functions via buttons on the joypad. The previous version of
> EMC was 2.1.3 which I obtained via Ubuntu Synaptic Package Manager.
I am using the joypad.hal file located on the wiki. I have of course
modified it for my machine. I am loading halui and using it to control
various functions via buttons on the joypad. The previous version of
EMC was 2.1.3 which I obtained via Ubuntu Synaptic Package Manager. I
also updated to
Uhm, mine did not work with 2.1.2 and 2.1.3 but now with the 2.1.4 works
fine.
Please post your hal file.
Manfredi
My website: www.m24-pro.com
>From: Kirk <[EMAIL PROTECTED]>
>Reply-To: "Enhanced Machine Controller (EMC)"
>
>To: "Enhanced Machine Contro
Kirk wrote:
> I just updated my system with the latest EMC 2.1.4. Prior to that I had
> installed a USB joystick controller and it worked fine. After the
> upgrade, the analog axes joysticks no longer work properly. If I jog an
> axis it continues in the same direction as started and does not st
I just updated my system with the latest EMC 2.1.4. Prior to that I had
installed a USB joystick controller and it worked fine. After the
upgrade, the analog axes joysticks no longer work properly. If I jog an
axis it continues in the same direction as started and does not stop
when the control
79 matches
Mail list logo