Re: Xbox 360 controller on Fedora 32
Sorry for CC-ing you, Greg Woods, but I must have been missing this thread nearly a year ago. On Sat, Jul 25, 2020 at 12:19:15PM -0600, Greg Woods wrote: It has been a couple of years (which means 4 or 5 Fedora releases ago) since I did this, but I used to be able to play Xonotic using my Xbox 360 Wireless controller. Now I cannot get the controller to work properly in F32 (it works in Windows 10 so I know the hardware is OK). This most likely has something to do with the move from xboxdrv (which is no longer available in Fedora) to xpad kernel driver, and/or the move from the old js driver to evdev. [ . ] Still there, tho' not in the standard Fedora archives, it seems: https://copr.fedorainfracloud.org/coprs/petrb/xboxdrv/ According to my "dnf history list" I used this repo at least from last November, then on F32, if I see this correctly. And right now also on F33 it seems to work without any issues that I'd knew of. See right-hand sidebar on that copr page for a quick install. Hoping it helps! Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Xbox 360 controller on Fedora 32
On Sun, 2020-07-26 at 15:11 +0930, Tim via users wrote: > On Sat, 2020-07-25 at 12:19 -0600, Greg Woods wrote: > > does not work due to Python 2 vs. 3 incompatibilities > > I'm completely unfamiliar with Python. But, has anyone made a 2 to 3 > scripting converter? > > I would have thought there'd be a need for that. And *it's* the > computer, *it* should do the hard work. https://docs.python.org/3/library/2to3.html?highlight=append It's not exactly "fire and forget". You still have to do some work. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Xbox 360 controller on Fedora 32
Sat, 25 Jul 2020 12:19:15 -0600 Greg Woods : > I attempted to download and compile xboxdrv, but it does not work due > to Python 2 vs. 3 incompatibilities, and it doesn't look like any > work has been done on xboxdrv in quite some time. If I try to make > it, I get this: > > > root@snowcrash xboxdrv-linux-0.8.8]# make > scons > scons: Reading SConscript files ... > File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34 > > print target > > ^ > > SyntaxError: Missing parentheses in call to 'print'. Did you mean > print(target)? > > make: *** [Makefile:24: xboxdrv] Error 2 > > Certainly looks like Python version incompatibility. Print is super easy to fix: - print target + print(target) I bet there is about 100 other thing to fix. As Ed suggested, 2to3 shoud handle prints and other obvious problems, but it do not handle missing dependencies, which are a problem with migrating to Python 3. -- Łukasz Posadowski ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Xbox 360 controller on Fedora 32
On 2020-07-26 13:41, Tim via users wrote: > On Sat, 2020-07-25 at 12:19 -0600, Greg Woods wrote: >> does not work due to Python 2 vs. 3 incompatibilities > I'm completely unfamiliar with Python. But, has anyone made a 2 to 3 > scripting converter? > > I would have thought there'd be a need for that. And *it's* the > computer, *it* should do the hard work. > Too know nothing about python. But I can use google. :-) I don't know if this would satisfy the needs of everyone. But, it could be enough for general use. https://www.pythonconverter.com/ and even https://docs.python.org/3.0/library/2to3.html egreshko@meimei ~]$ dnf whatprovides 2to3 python3-devel-3.8.3-2.fc32.x86_64 : Libraries and header files needed for Python : development Repo : updates Matched from: Provide : 2to3 = 3.8.3-2.fc32 -- The key to getting good answers is to ask good questions. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Xbox 360 controller on Fedora 32
On Sat, 2020-07-25 at 12:19 -0600, Greg Woods wrote: > does not work due to Python 2 vs. 3 incompatibilities I'm completely unfamiliar with Python. But, has anyone made a 2 to 3 scripting converter? I would have thought there'd be a need for that. And *it's* the computer, *it* should do the hard work. -- uname -rsvp Linux 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Xbox 360 controller on Fedora 32
It has been a couple of years (which means 4 or 5 Fedora releases ago) since I did this, but I used to be able to play Xonotic using my Xbox 360 Wireless controller. Now I cannot get the controller to work properly in F32 (it works in Windows 10 so I know the hardware is OK). This most likely has something to do with the move from xboxdrv (which is no longer available in Fedora) to xpad kernel driver, and/or the move from the old js driver to evdev. The xpad driver comes with the current kernel, but what I cannot figure out is how to calibrate the controller. If I run Xontic with the controller connected, the game world just spins counterclockwise. This is a symptom of the controller needing to be calibrated, but I don't know how to do it. I tried using "jscal", but if I run "jscal -c" to calibrate it, it appears to work but doesn't. I can immediately run "jscal -t" and it will say it is not calibrated, and running "jstest" also shows it is not calibrated (several of the axes are not centered, i.e. show nonzero values in jstest). I attempted to download and compile xboxdrv, but it does not work due to Python 2 vs. 3 incompatibilities, and it doesn't look like any work has been done on xboxdrv in quite some time. If I try to make it, I get this: root@snowcrash xboxdrv-linux-0.8.8]# make scons scons: Reading SConscript files ... File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34 print target ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(target)? make: *** [Makefile:24: xboxdrv] Error 2 Certainly looks like Python version incompatibility. Can anybody point me to information on how to use an Xbox 360 controller on F32, or how to calibrate it when using the xpad driver? I have done a lot of Googling, but most of the articles I found mention things like "apt-get install xboxdrv", showing they were written for Ubuntu rather than Fedora and are wanting to use the xboxdrv driver. Thank you, --Greg ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org