Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xboxdrv segfaulting [WORKAROUND FOUND]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 252

PostPosted: Mon Oct 26, 2015 11:44 am    Post subject: xboxdrv segfaulting [WORKAROUND FOUND] Reply with quote

I'm trying to get xboxdrv working, so I can use my USB xbox360 controller for stuff, but when I try to start it up, this is what happens:

Code:
$ xboxdrv --dpad-as-button --verbose
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain
conditions; see the file COPYING for details.

Controller:        Microsoft Xbox 360 Controller
Vendor/Product:    045e:028e
USB Path:          004:002
Controller Type:   Xbox360
Segmentation fault


No helpful error messages, no "you've done this thing wrong", just segfault.

What should I be doing to figure out what's going wrong here?

edit: Gone looking around for how to get some more meaningful data and found this: https://wiki.gentoo.org/wiki/Bugzilla/Guide#Debugging_using_GDB Now to mess around with debug options. Is there a way to enable debugging symbols on a per-package basis, or do you have to edit make.conf, build what you want with debugging symbols, then edit make.conf again?

edit2: https://github.com/xboxdrv/xboxdrv/issues/32 same issue, need to run with --no-uinput flag to avoid segfault.
Back to top
View user's profile Send private message
KLarsen
n00b
n00b


Joined: 30 Dec 2005
Posts: 61
Location: Spain

PostPosted: Sun Nov 22, 2015 6:59 pm    Post subject: Reply with quote

I had the some problem some time ago, when I ran xboxdrv as regular user, it segfaulted. I solved it by running xboxdrv as sudo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum