No Driver is Running

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

Moderator: Moderators

teryret
Posts: 8
Joined: Sat Dec 10, 2011 2:57 pm

Re: No Driver is Running

Post by teryret »

Progress! I was curious what the -E flag did so I ran the file with the -h flag. The resulting help text told me about -userName, which I suspected was related, so I tried the following:

Code: Select all

1 matt@mattWorkstation 3dconnexion$ /etc/3DxWare/daemon/3dxsrv -d usb -debug -userName matt
[2012-07-27 22:19:05] uddev.c, 783: UdDevInit() 0xe1f010
[2012-07-27 22:19:05] 3dxsrv.c,806: displayname = :0
[2012-07-27 22:19:05] auth.c :: authGetUser(), FOUND: user home = "/home/matt"
[2012-07-27 22:19:05] 3dxsrv.c :: startupCommandLine(), authGetUser(), user=matt
Error: Access Error! To get access to /dev/bus/usb/008/005 you have to be user: root!
Error: Access Error! To get access to /dev/bus/usb/008/005 you have to be member of group: root!
[2012-07-27 22:19:05] Error: Could not open USB port or no supported device found! Exiting!
1 matt@mattWorkstation 3dconnexion$ sudo /etc/3DxWare/daemon/3dxsrv -d usb -debug -userName matt
[2012-07-27 22:19:20] uddev.c, 783: UdDevInit() 0xcc5010
[2012-07-27 22:19:20] 3dxsrv.c,806: displayname = :0
[2012-07-27 22:19:20] auth.c :: authGetUser(), FOUND: user home = "/home/matt"
[2012-07-27 22:19:20] 3dxsrv.c :: startupCommandLine(), authGetUser(), user=matt
[2012-07-27 22:19:20] UdDev: Opening USB device on USB port /dev/bus/usb/008/005
[2012-07-27 22:19:20] UdDev: Opening SpacePilot PRO on USB port /dev/bus/usb/008/005
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
[2012-07-27 22:19:20] spilotpro_usb.c :: UdDevRezero(): Rezeroing the device
[2012-07-27 22:19:20] spilotpro_usb.c :: UdDevSetDeadband(): Setting deadband to 26
[2012-07-27 22:19:20] 3dxsrv.c,831: UdDevOpen() was successful [SpacePilot PRO]
[2012-07-27 22:19:20] 3dxsrv.c,842: authorizeWithX11() was successful
[2012-07-27 22:19:20] 3dxsrv.c :: startupCommandLine(), XOpenDisplay called with display name=:0, display = cc8510
[2012-07-27 22:19:20] 3dxsrv.c :: startupCommandLine(), SUCCESS!

3DxWareUNIX = V1.6.0
Device      = SpacePilot PRO
Firmware    = V4.11
[2012-07-27 22:19:20] Home directory: /home/matt
[2012-07-27 22:19:20] UiSb: Directory "/etc/3DxWare" opened for configs.
[2012-07-27 22:19:20] UiSb: Directory "/home/matt/.3dxcfg" not found
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
Error: Failed to submit URB! (No such process)
udusb_linux.c :: UdUSBStartRead(), Error submitting URB: No such process 3 -1
^C	 udusb_linux.c :: UdUSBStopRead(2), ret = -1, Interrupted system call == 4, i=0, j=0
^Z
Does that give you any sort of clue as to what might be wrong?
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: No Driver is Running

Post by UtaSH »

Hi teryet,

to start the driver you have to be root . I am pretty sure that you need the "-" after the command su.
  • su -
The log from your last post was made from the user matt, not root. Please try again.
teryret
Posts: 8
Joined: Sat Dec 10, 2011 2:57 pm

Re: No Driver is Running

Post by teryret »

There were two attempts in the last post. One as root, the other at matt.
Barbara
Posts: 534
Joined: Fri May 14, 2010 11:11 am

Re: No Driver is Running

Post by Barbara »

Hello teryret -

I apologize for the delay in answering. Uta replied earlier and she is on vacation.

The 'failed to get user' error happens when the driver is not finding expected permissions. The 'Error!'To get access to /dev/bus/usb/008/005 you have to be member of group: root!' is a permissions error also.

Rather than using su or sudo, can you log in as root and run the installation ?

After the install completes, open a terminal and use /etc/3DxWare/daemon/3dxsrv -d usb to verify the driver starts as root. Once you have it starting as expected logged in as root, it has the correct permissions and you can then start from your user account with su.

Close the terminal window where 3dxsrv is running to stop the driver and switch to your user login. Use su or sudo then /etc/3DxWare/daemon/3dxsrv -d usb to start the driver.

-------
Barbara
Post Reply