LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2015, 03:12 PM   #16
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled

Definitely some relief regarding Desura, then. Thanks.

Anyone have any idea why my joystick insists on mouse emulation? This is making many games essentially unplayable. Thanks.
 
Old 06-09-2015, 03:22 PM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I read through this thread again and now a little bit confused to what the actual problem is. Do you want to use a mapper program for games that don't have gamepad/joystick support? Or are you trying to use a mapper for games that have support?
 
Old 06-09-2015, 03:25 PM   #18
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
I read through this thread again and now a little bit confused to what the actual problem is. Do you want to use a mapper program for games that don't have gamepad/joystick support? Or are you trying to use a mapper for games that have support?
I'm trying to find any solution at all for getting games to work. A good mapper for keyboard emulation would be good, but then there are some games that clearly *do* support joysticks that also aren't seeming to recognize them. If possible, I'd strongly prefer a solution that will work across distros and doesn't require a mapper even, but again, a mapper that'd work universally would solve most or perhaps all of my joystick issues.

Let me know if you need more info on my system or anything. Thanks.
 
Old 06-09-2015, 03:28 PM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As long as your joystick/gamepad (brand? model?) is recognized by the kernel (dmesg output when plugging it in will be helpful) it should work out of the box in games that support a gamepad. I never have used a wrapper, so I can't comment on that.
 
Old 06-09-2015, 03:31 PM   #20
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
As long as your joystick/gamepad (brand? model?) is recognized by the kernel (dmesg output when plugging it in will be helpful) it should work out of the box in games that support a gamepad. I never have used a wrapper, so I can't comment on that.
Yeah, and for sure in Ubuntu it DOES seem to work out of the box at least some of the time. Arguably the biggest problem here is that it keeps emulating my mouse and controlling the cursor, and this seems to be independent of whether or not a mapper program is running. If I could get that part fixed I'd probably be more than halfway there.
 
Old 06-09-2015, 03:33 PM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post the messages of the dmesg output related to that device when plugging it in. May it be possible that the controller itself has some kind of emulation mode activated?
 
Old 06-09-2015, 03:52 PM   #22
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Please post the messages of the dmesg output related to that device when plugging it in. May it be possible that the controller itself has some kind of emulation mode activated?
Hi TobiSGD,

Sorry for the delay in recognizing what you said earlier about dmesg. Your mention of it had slipped my mind and I didn't mean to ignore it.

The output of merely typing "dmesg" is HUGE, and I wanted to ask if I should add any parameters that would lessen the output and/or narrow its output down entirely to USB devices or maybe even USB joysticks specifically. I'm not very familiar with the command, but I have my Ubuntu terminal ready now if there's a way to get less output so I can paste it here.

No idea if the controller has any emulation mode activated, but I do know it works fine in Windows upon plugging it in without any further adjustments needed. This is one of few bits of hardware I have that have had fewer problems in Windows than in Linux.
 
Old 06-09-2015, 03:59 PM   #23
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you don't run systemd then:
1. unplug the controller
2. run this command
Code:
tail -f /var/log/messages
(may be necessary to do that as root/using sudo)
3. plug the device in and watch for lines that get added to the output of the command from 2.

If you run systemd:
1. unplug the controller
2. run the command
Code:
journalctl -f
3. plug the device in and watch for lines that get added to the output of the command from 2.

Post what you get from 3. here (please use code-tags)
 
1 members found this post helpful.
Old 06-09-2015, 04:09 PM   #24
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
I assumed I do run systemd, though I didn't know how to check. Upon running the journalctl command, I got this output:

Code:
-- Logs begin at Tue 2015-06-09 16:02:04 CDT. --
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: f.Callbacks/n@http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:2:14779
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: f.Callbacks/o.fireWith@http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:2:15553
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: w@http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:4:11393
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: .send/d@http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js:4:17218
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: pbs<@resource://unity/observer.js:38:71
Jun 09 16:04:32 kaiji-desktop gnome-session[1103]: Observer.prototype.observe@resource://unity/observer.js:77:24
Jun 09 16:05:48 kaiji-desktop kernel: usb 10-3: USB disconnect, device number 3
Jun 09 16:05:48 kaiji-desktop systemd-udevd[302]: error opening USB device 'descriptors' file
Jun 09 16:07:44 kaiji-desktop gnome-session[1103]: WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
Jun 09 16:07:44 kaiji-desktop gnome-session[1103]: pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
Jun 09 16:07:44 kaiji-desktop gnome-session[1103]: pbs<@resource://unity/observer.js:38:71
Jun 09 16:07:44 kaiji-desktop gnome-session[1103]: Observer.prototype.observe@resource://unity/observer.js:77:24
 
Old 06-09-2015, 04:24 PM   #25
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
We can see the disconnect (you unplugged the device), but relevant are the lines that appear when you plug the device in again.
 
Old 06-09-2015, 04:27 PM   #26
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
We can see the disconnect (you unplugged the device), but relevant are the lines that appear when you plug the device in again.
Oh! I missed the re-plugging part. It did detect it, and I think these are the relevant lines:

Code:
Jun 09 16:25:43 kaiji-desktop kernel: usb 10-3: new low-speed USB device number 5 using ohci-pci
Jun 09 16:25:43 kaiji-desktop kernel: usb 10-3: New USB device found, idVendor=0079, idProduct=0006
Jun 09 16:25:43 kaiji-desktop kernel: usb 10-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 09 16:25:43 kaiji-desktop kernel: usb 10-3: Product: Generic   USB  Joystick  
Jun 09 16:25:43 kaiji-desktop kernel: usb 10-3: Manufacturer: DragonRise Inc.  
Jun 09 16:25:43 kaiji-desktop mtp-probe[3593]: checking bus 10, device 5: "/sys/devices/pci0000:00/0000:00:12.0/usb10/10-3"
Jun 09 16:25:43 kaiji-desktop mtp-probe[3593]: bus: 10, device: 5 was not an MTP device
Jun 09 16:25:43 kaiji-desktop kernel: input: DragonRise Inc.   Generic   USB  Joystick   as /devices/pci0000:00/0000:00:12.0/usb10/10-3/10-3:1.0/0003:0079:0006.000B/input/input29
Jun 09 16:25:43 kaiji-desktop kernel: dragonrise 0003:0079:0006.000B: input,hidraw8: USB HID v1.10 Joystick [DragonRise Inc.   Generic   USB  Joystick  ] on usb-0000:00:12.0-3/input0
Jun 09 16:25:43 kaiji-desktop kernel: dragonrise 0003:0079:0006.000B: Force Feedback for DragonRise Inc. game controllers by Richard Walmsley <richwalm@gmail.com>
 
Old 06-09-2015, 04:37 PM   #27
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
So the kernel recognizes the device as a generic joystick device, not as a mouse or similar device.
This all looks OK to me, at this point I am out of clues why this device would act as a mouse (unless your DE has something like that enabled, but I wouldn't know where to search for that in Ubuntu, since I am not a Ubuntu user).
 
Old 06-09-2015, 04:39 PM   #28
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
OK. It looks like you use Arch. Might you know where to look in there? I use Manjaro a lot, especially for work, and it might lead to me figuring out other distros' solutions to this as well. Thanks.
 
Old 06-09-2015, 04:48 PM   #29
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That would depend on which DE you use, for KDE I would look in your System Settings panel under Hardware/Input Devices, though I am not quite sure if KDE offers such an option. I run a strange mix of KDE and LXQt applications/services ontop of the i3 window manager, so my setup is far from default.
 
Old 06-13-2015, 04:18 PM   #30
Kuriibaa
Member
 
Registered: Jul 2014
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
That would depend on which DE you use, for KDE I would look in your System Settings panel under Hardware/Input Devices, though I am not quite sure if KDE offers such an option. I run a strange mix of KDE and LXQt applications/services ontop of the i3 window manager, so my setup is far from default.
Thanks. I'll see what I can do with this with Manjaro in the future.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Flightgear joysticks budkou Linux - Games 2 05-29-2011 06:42 PM
How do I get my joysticks to work in Linux? LAPIII Linux - Games 34 04-25-2011 05:25 PM
How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel Tyco Linux - Hardware 1 06-06-2004 02:59 PM
joysticks acid_kewpie Linux - Hardware 3 05-04-2002 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration