From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Oct 20 2005 - 14:25:17 CDT

Try "localhost" rather than "local", unless your machine is coincidentally
named "local". You could also use the fully qualified machine name.
The .vmdsensors lines should read more like this:

device vrpntracker vrpntracker://your.machine.name/Joylin0

  John

On Wed, Oct 19, 2005 at 08:50:46PM -0500, Luis Rosales wrote:
>
> Hi all!!
>
> I am trying to make a joystick work with VMD on Linux...
> So far I am sure that the joystick is working and made a test with "jstest",
> the device is recognized:
>
> jstest /dev/input/js0
> Joystick (Saitek ST200 Stick) has 3 axes and 4 buttons. Driver version is 2.1.0.
> Testing ... (interrupt to exit)
> Axes: 0:-32767 1:-32767 2: -7770 Buttons: 0:off 1:off 2:off 3:off
>
> I understand that I nned to use VRPN, so after a loooong struggle with vrpn I
> was able to compile it. So I have the vrpn_server running:
>
> vrpn_server -millisleep 1 -f vrpn.cfg
>
> the vrpn.cfg was configured so that:
>
> vrpn_Joylin Joylin0 /dev/input/js0
>
> and the .vmdsensors:
>
> device vrpntracker vrpntracker://local//dev/input/js0
>
> So, I run vmd and try to enable the tool, but I got the following message:
>
> vmd > vrpn_connect_udp_port: error finding host by name (local).
> vrpn_udp_request_lob_packet: send() failed: Bad file descriptor
> vrpn_Connection: Can't lob UDP request
> Warning) Tool: lost connection to tracker vrpntracker
>
> Any ideas on what I am missing/doing wrong here???
> I revised the vmd-l and found a couple of similar questions in the past,
> sadly, none of them had a reply. :(
>
> As usual, tahnks for your support,
>
> Ludwig
>
> ---------------------------------------------------
> Biol. Luis Rosales León
> Departamento de Biología Molecular y Biotecnología
> Instituto de Investigaciones Biomedicas.
> Universidad Nacional Autonoma de México
> AP 70228, Cd. Universitaria
> México, D.F. 04510
> Tel: 56223873
> Fax: 56223855
> ---------------------------------------------------

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078