Bug 1226652 - spacenavd from Fedora22 repo does not work
Summary: spacenavd from Fedora22 repo does not work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: spacenavd
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-31 12:22 UTC by Stan1
Modified: 2015-07-05 10:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-02 12:37:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
systemd service file (208 bytes, text/plain)
2015-06-12 22:12 UTC, Richard Shaw
no flags Details

Description Stan1 2015-05-31 12:22:53 UTC
Description of problem: Driver does not work in Xfce Fedora 22 x86_64 after installing via Yum extender. It present in Task manager, but spnavcfg says that daemon is not running


Version-Release number of selected component (if applicable):
0.6-1.fc22 x86-64

How reproducible:


Steps to Reproduce:
1. Install spacenavd and spnavcfg
2. Run spnavcfg and ping daemon on Misc tab
3.

Actual results:


Expected results:


Additional info:

Comment 1 Richard Shaw 2015-06-03 02:22:14 UTC
I'm about to go on vacation and won't get to take a look at it for at least a week. Any additional information would be helpful.

Comment 2 Stan1 2015-06-04 13:27:16 UTC
(In reply to Richard Shaw from comment #1)
> I'm about to go on vacation and won't get to take a look at it for at least
> a week. Any additional information would be helpful.

Well, have just tried to boot from liveCD Fedora-Live-Xfce-x86_64-22-3 and installed there spacenavd and spnavcfg. Run spacenavd from console, then spnavcfg. Same result - Ping daemon button says - daemon is not running.
What kind of additional information do you need?

Comment 3 Richard Shaw 2015-06-12 22:12:50 UTC
Created attachment 1038169 [details]
systemd service file

Try copying this attachment into /etc/systemd/system/ and then as root:

# systemctl stop spacenavd.service
# systemctl daemon-reload
# systemctl start spacenavd.service

And see if the problem persists. I changed the daemon from forking to simple but that shouldn't matter, the real change was having the daemon run as root.

If this works I'll update the package, when that occurs you can delete the file in /etc/systemd/system because it will override the packaged service file.

Alternatively you could copy the file and overwrite the packaged file in /usr/systemd/system/ and then it would get updated when the new package gets installed.

Comment 4 Richard Shaw 2015-06-12 22:18:09 UTC
Ok, in addition after re-reading your report... Are you running spacenavd as a normal user? It must run as root and I'm pretty sure it already was. You have to run it as rood manually (which I wouldn't recommend) or start it using systemctl. If you want it to run at startup then you need to enable it:

# systemctl enable spacenavd.service

Comment 5 Stan1 2015-06-15 13:42:11 UTC
(In reply to Richard Shaw from comment #4)
> Ok, in addition after re-reading your report... Are you running spacenavd as
> a normal user? It must run as root and I'm pretty sure it already was. You
> have to run it as rood manually (which I wouldn't recommend) or start it
> using systemctl. If you want it to run at startup then you need to enable it:
> 
> # systemctl enable spacenavd.service

Yeah, thanks, it works after /usr/bin/spacenavd -d -v  in console as root, it wasn't so obvious to run this command after installing it via yum because after installing it works "from box" in some other linux distributives.

Comment 6 Richard Shaw 2015-06-15 20:18:14 UTC
Ok, good to know. That means the current package probably works fine. I have the package setup to be enabled on install but that doesn't appear to be working in F22 so I think that's the real bug.

Comment 7 Stan1 2015-06-16 14:13:41 UTC
one more thing, spnavcfg doesn't invert any axis, it pings daemon well, but axis stay inverted in my case, no matter how many axis checkboxes are selected.

Comment 8 Richard Shaw 2015-06-16 16:29:15 UTC
I would follow up on the spacenav-users mailing list on sourceforge for that. Probably not much I'm going to be able to do there.

Comment 9 Richard Shaw 2015-07-02 02:02:03 UTC
Just wanted to follow up, is it OK to close the bug at this point?

Comment 10 Stan1 2015-07-02 08:13:01 UTC
Yeah. Its's ok.

Comment 11 Richard Shaw 2015-07-02 12:37:39 UTC
Did you ever get the invert axis stuff fixed? That would really be a separate bug from this one if you wanted to put one in but like i mentioned, all I would do is go ask on the developer mailing list so might as well take out the middle man.

Comment 12 Stan1 2015-07-05 10:20:13 UTC
(In reply to Richard Shaw from comment #11)
> Did you ever get the invert axis stuff fixed? That would really be a
> separate bug from this one if you wanted to put one in but like i mentioned,
> all I would do is go ask on the developer mailing list so might as well take
> out the middle man.

nope, I didn't. Had no time to wait so I did switch to PClinuxOS again. It works there.


Note You need to log in before you can comment on or make changes to this bug.