Jeff

Thanks - it's tough becoming a newbie again :=)

I noticed that with a standard system plugging in the shuttle wheel gives a 
new input device "mouse2" and the jog ring works like the scroll wheel.

I set up the rule  (including == in the pattern!) and get no error message. 
However I get no new device other than mouse2

So I set up a shuttle.hal file with:    loadusr hal_input mouse2  (it is in 
group plugdev)

and put HALFILE = shuttle.hal in my EMC2 .ini file

No errors starting EMC-AXIS (from Trunk) (although there are if one 
misspells as laodusr  - so I must be executing it :=)

The odd thing is I see no new Signals nor indeed any input component in 
Machine>Show Hal Configuration

Can you suggest: (a) how to stop the device being automatically seen as a 
mouse and (b) what tests I can do to see what I might be doing wrong with my 
hal_input

Thanks

John Prentice


----- Original Message ----- 
From: "Jeff Epler" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Friday, March 09, 2007 9:57 PM
Subject: Re: [Emc-users] [Fwd: Jog wheel ?]


> Based on the vendor and product you showed me, I would try creating
> /etc/udev/rules.d/shuttle.rules with the line
>    SYSFS{idProduct}=="0020", SYSFS{idVendor}=="0b33", MODE="660", 
> GROUP="plugdev"
> then unplug and re-plug the device, and list the directory /dev/input to
> see if there is a device with group 'plugdev', which should be readable
> by your user.
>
> Then try
>    loadusr hal_input ShuttleXPress
> and try 'show pin' to see what hal_input found
>
> You shouln't need a -ANYTHING flag.  The only real use for that is if
> you want to control keyboard LEDs but not use keyboard keys:
>    loadusr hal_input -L keyboard
> (it looks like the documentation for -KRAL isn't quite right, aside from
> being confusing -- -K covers keys and buttons, contrary to what I wrote
> in the manpage)
>
> Jeff




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to