Jeff

Thanks for this suggestion. It shows the power of such a modular system - I 
am conditioned by too many special cases :=)

I was using EMC2 2.0 under Ubuntu so I decided it would be best to compile 
Trunk - just completed OK.

less on /proc/bus/input/devices has the Shuttle as:

I: Bus=0003 Vendor=0b33 Product=0020 Version=0117
N: Name="Contour Design ShuttleXPress"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/class/input/input6
H: Handlers=mouse2 event5
B: EV=7
B: KEY= 1fff 0 0 0 0 0 0 0 0
B: REL=180

I am struggling with the -KRAL switches and the Input Specification syntax.

How does -B for buttons fit in?

Could you give me an example of a suitable Input Spec to map my two HID axes 
and 5 buttons?

Similary I am in trouble with the udev. The udev manual pages are too 
general for me and I cannot see how to relate your SYSFS example in 
hal_input doc. to the data I have.

A bit of hand-holding would be much appreciated.

I will post a wiki page for others who expressed interest when I get it 
going.

Thanks

John Prentice

----- Original Message ----- 
From: "Jeff Epler" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <[email protected]>
Sent: Friday, March 09, 2007 1:56 PM
Subject: Re: [Emc-users] [Fwd: Jog wheel ?]


> John,
> I can't make any promises, but I believe that hal_input, which will be
> a part of emc 2.2, will support most HID devices recognized by Linux.
>
> How's your Linux and emc expertise level?  You should be able to try out
> this driver with emc 2.1 by copying a few files from the development
> version:
>    hal_input.py (copy to /usr/bin/hal_input, and "chmod +x"):
> 
> http://cvs.linuxcnc.org/cvs/emc2/src/hal/user_comps/hal_input.py?rev=1.11;content-type=text%2Fplain
>    linux_input.py (copy to /usr/lib/python2.4/site-packages/):
> 
> http://cvs.linuxcnc.org/cvs/emc2/lib/python/linux_event.py?rev=1.5&content-type=text/plain
>
> There is a manual page here:
>    http://linuxcnc.org/docs/devel/html/man/man1/hal_input.1.html
>
> Once you've installed the driver, the trick is to first find out how to
> give the device proper permissions (section PERMISSIONS AND UDEV in the
> manual page), and second to find out how to tell hal_input to use that
> device (section INPUT SPECIFICATION in the manual page)
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to