3dxWare on HPUX, error: failed to get user

Questions and answers about 3Dconnexion devices on UNIX and Linux.

Moderator: Moderators

Post Reply
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

3dxWare on HPUX, error: failed to get user

Post by ermy »

When I try to run 3dxsrv on hpux 11.11 (pa-risc)
I get the following error mess:

Error: 3dxsrv.c :: startupCommandLine(), authGetUser(), failed to get user

3DxWareUNIX = V1.2.0, ID 2770

any advice ?

I'm testing with a SpaceMouse Plus XT serial, we will get some
new SpacePilots, hope to use the same driver for both
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hello ermy,

sure you can use both devices with the same driver!

Please send me a private message and provide me with an email adress where I can send you a beta version of our 3DxWareUNIX for HP-UX.

If you're interested in sharing your results with this version it would be
great if you post them here.


Christian Robl
3Dconnexion
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

Hi,
yes I'm willing to try the beta driver,
you've got a PM with my e-mail and some other info

regards

erkki oo
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

Hi,

I got this version of the driver:
3DxWareUNIX = V1.2.6, ID 2937

it now starts, I can run it with -devOnPort
and get confirmation of the existance of the
SpaceMouse XT on the serialport

But when I start it like so:
3dxsrv -d /dev/tty0p0 (not in inittab)

I get the GUI
- there is only 2 choises in the drop down at the top
"Any Application" and "Driver Protocol 1.0"
we need the Catia and Ideas configs, there is *.scg files
how do I get them "activated" ?

- when I click on any of the 1-8 buttons (in General tab)
I get a "Memory fault(coredump)"

running with -debug all seems OK but at the end it looks like this:
(still using a SM XT plus ser.)

3DxWareUNIX = V1.2.6
Device = SpaceMouse PlusXT
Firmware = V6.70
<beep><beep>
... snip ...
[March 15:53:38] Home directory: /vcc/homes/luser
[March 15:53:39] UiSb: Directory "/etc/3DxWare" opened for configs.
[March 15:53:39] UiSb: Directory "/vcc/homes/luser/.3dxcfg" opened for configs.
[March 15:53:40] UdDev: Unknown packet m0
[March 15:53:40] UdDev: Unknown packet pAA
[March 15:53:40] UdDev: Unknown packet q00
[March 15:53:40] UdDev: Unknown packet nM
[March 15:53:40] UdDev: Unknown packet z
[March 15:53:40] UdDev: Unknown packet c33
[March 15:53:40] UdDev: Unknown packet lBM0
[March 15:53:40] UdDev: Unknown packet l300
[March 15:53:40] UdDev: Unknown packet b
[March 15:53:40] UdDev: Unknown packet b
Memory fault(coredump)


the luser/.3dxcfg file was created when I clicked on the save button
no changes done in the GUI
If I remove the luser/.3dxcfg file I still don't see any applications in the drop down menu

any advice ?
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

I did the same test on another WS with more usb ports,
this time with a spanking new SpacePilot,
same results as above, I can control xcube,
the LCD is updated etc. but no application support
and the GUI coredumps when buttons are clicked on.

please advice.
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

I have also tested the SpacePilot with a USB-hub, sharing a vanilla mouse
on the same USB port on the WS (a HP 3600)
seems to work as designed.

Older HP WS only have 2 USB ports, so a hub is the only way to go.

Still waiting for a driver ...
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hello ermy,

so the issue with not finding a user is solved. Thats fine!

Regarding the configurations:
What you can see in the drop down depends on which application is active. "Any Application" (Magellan protocol) and "Driver Protocol" (SpaceWare protocol) are the generic configurations and are always there.
If you open Catia (or any other application which the driver has a config for), the driver selects the last used configuration used with this application. Then you have in the drop down all application specific configurations(defaults and user defined) plus the two generic.

The messages "UdDev: unknown packet .. " can be safely ignored.

You say the file .3dxcfg was created, but you don't see any difference in the dropdown. This is a bit strange.
What does the dialog say for which window name the config is saved for ("Save custom configuration for "...." as:")?
Please try this:
Open the driver, open the demo xcube. Go back to the driver window.The selection in the drop down is set to "Any Application". Now save it a few time as lets say "Cube 1" .. through "Cube 3". The save dialog should tell you "Save custom configuration for "Magellan_CubeDemo" as:".
Tese config files are created in $HOME/.3dxcfg/ and you should see the last configuration(this information is stored in $HOME/.3dxrc), here "Config 3", selected in the dropdown and also all the other "Config <n>".


Coming to the "Memory fault(core dumped)" this must not happen - of course! I tried this here with several SpaceMouse Plus/XT (serial and USB) as well as SpacePilot and other devices. It simply doesn't crash.
We have a HP C8000 and HP-UX11.11

Can you please give me more information on your HP system (software,
patches, memory/swap kernel setting(?)).
Please also send me the core file which was generated!

Christian Robl
3Dconnexion
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

OK, now I begin to understand, not so obvious compared with
the very old xdriver version (4.56)

If I start Catia (V4 and V5) I do indeed get the Catia configuration,
and I can move around with the SpacePilot,
but still if I click on one of the blue buttons in the GUI General tab
it core dumps.

Sometimes the GUI pops up asking to be saved, why ?
if I at that time try to iconify the GUI window it
core dumps
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

Now I have installed the patch PHKL_35011
only diffrence is that LCD update is faster
on the SpacePilot

I now also have a SpaceExplorer in my rats nests of mouses
and 3D gadgets.

the GUI (v 1.2.6) behaves the same with that,
basic Catia V4 & V5 works, but as soon as
buttons or other stuff is pooked at it coredumps
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hello ermy,

thank you for your private message. I received your core file and we're working on a solution to your problem!

The Patch PHKL_35011 does indeed improve the overall performance of the HP-UX USB subsystem and offeres us an improved interface.
It has a big impact on the LCD writing speed of the SpacePilot and should also improve the other USB stuff.


Christian Robl
3Dconnexion
ermy
Posts: 9
Joined: Mon Mar 26, 2007 6:14 am

Post by ermy »

I have now tested (in HP-UX 11.11):
3DxWareUNIX = V1.2.7, ID 2994

It seems much more stable, no core dumps so far,
Catia V4+V5 seems to work ok.

But the driver don't recognice ICEM Surf or Vis mockup
so no 3d navigation there.

Any advice on how to get the driver to work with ICEM and Viz-mup ?

(testing with ICEM Surf 4.5.1 and Vis mup 5.1.0.4)
crobl
Moderator
Moderator
Posts: 138
Joined: Mon Feb 26, 2007 8:34 am
Location: Freiham, Germany

Post by crobl »

Hello ermy,

good to hear that we could help you with V1.2.7! :)

For ICEM and Vis mockup we currently do not provide a configuration, so the driver yet doesn't recognise them.

To create a configuration please close all applications (this makes your life easier) and start for example ICEM and open the driver GUI.

1. in the driver GUI "Any Application" should be selected.
2. go to the ICEM window and move the device cap.
3a. if nothing happens, then go back to the driver GUI, switch to "Driver Protocol V1.0" and try again in the ICEM window
3b. if you have response in ICEM, just click the "Save" button in the driver GUI(watch out that no other window gets activated when you move from ICEM to the driver)
4. give a name for that configuration to be saved. Done.

If you want to provide this configuration for all users and make it a default, copy it from $HOME/.3dxcfg/<ICEMCONFIGNAME>.scg to /etc/3DxWare/ (or the directory where you keep the defaults; option "-altConfigDir")

For Vis mockup also follow the above described steps.

Note: The driver stores and recognises the applications via its window name(class name, resource name; or if both fails its title)

Christian
3Dconnexion
couillar
Posts: 3
Joined: Thu May 03, 2007 8:51 am
Location: Minneapolis
Contact:

Post by couillar »

I am also seeing the message "Error: 3dxsrv.c :: startupCommandLine(), authGetUser(), failed to get user" when I attempt to start the V1.2.0 driver manually on HP-UX 11.11. I saw the reference to the Beta version V1.2.6.0 and am interested in trying it. How can I find this?

We are using serial Spaceball 5000's with our HP Workstations

Will
Will Couillard
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Post by UtaSH »

Hi couillar,

please send me the operating system details and your email address in a private message and I will then send the latest beta driver.


Uta Ludwig
3Dconnexion
Post Reply