Can't get it to remap anything...

Asked by Lighttitan

Ok, I couldn't get it to remap anything. It's like it doesn't even realize the Nostromo is there or something.

I have followed the instructions in the readme. Even got the new 0.6.0 version.

I have put it all in the folder /home/.pystromo

Since adding the 0.6.0 version when I am running pystromo-mon.py, it won't start up pystromo-remap.py.

I have added every process that starts up when I start up my game, but still it won't start it.

When I try to run ./pystromo-mon.py I get this

WARNING: Unable to load "/home/titan/.config/pystromo/monitor.conf"

So I think maybe I need to create the .config folder in titan and use that instead of the .pystromo in the home folder.

When I did make the .config folder and ran ./pystromo-mon.py it gave me the following error.

_____________________________________________________

titan@titan-desktop:~/.config/pystromo$ ./pystromo-mon.py
Traceback (most recent call last):
  File "/home/titan/.config/pystromo/pystromo-remap.py", line 170, in <module>
    inputs = getInputs(keymap, output)
  File "/home/titan/.config/pystromo/pystromo-remap.py", line 98, in getInputs
    dev = devices.InputDevice(id=device, keymap=keymap, output=output, **params)
  File "/home/titan/.config/pystromo/lib/devices.py", line 99, in __init__
    node.grab()
  File "/home/titan/.config/pystromo/lib/ioctl.py", line 211, in grab
    fcntl.ioctl(self.fd, const.EVIOCGRAB, grab)
IOError: [Errno 16] Device or resource busy

______________________________________________________

What now? lol.

Question information

Language:
English Edit question
Status:
Solved
For:
Pystromo Edit question
Assignee:
No assignee Edit question
Solved by:
Lighttitan
Solved:
Last query:
Last reply:
Revision history for this message
Lighttitan (dadicus) said :
#1

That, being said... I did press the nostomo keys really quick as a test and low and behold! It works?!?!?

4321
8765
=-0

All that typed from my nostromo, working like a charm!

Not sure if that error will become a problem, but I hope not.

Revision history for this message
Raumkraut (raumkraut) said :
#2

That "Device or resource busy" is a good indication that there's already an instance of the Pystromo remapper running. This would certainly explain why your n52 is responding correctly!
Perhaps you set up the monitor (or remapper) to start automatically when you log on, and then forgot that you had, what with all the digging around we've been doing? :)

Also, the change of default config directory is noted in the 0.6.0 release notes ( https://launchpad.net/pystromo/trunk/0.6.0/ ). Although if you go directly to the "downloads" section of the project overview, launchpad doesn't show you the notes. Hmm... :/

Revision history for this message
Lighttitan (dadicus) said :
#3

Thanks SOOO much for your help with this Raumkraut and even your making this program in the first place! This program is excellent and works like a charm!

I have a best friend who is waiting for me to work the kinks out of my wow installation before he switches to linux also and the Nostromo was my biggest hurdle!

I can't thank you enough for your help and fast responses. Now I only wish I knew how to put a GUI to it so I could return your help with a favor of mine, but alas I have no clue about that stuff :(

Once again thank you! I will direct EVERYONE having problems in Linux with their Nostromo to your Pystromo!