Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rumble not working on aarch64 #16

Open
draftpunk opened this issue Aug 19, 2020 · 4 comments
Open

Rumble not working on aarch64 #16

draftpunk opened this issue Aug 19, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@draftpunk
Copy link

Using an Xbox 360 controller, this library rumbles the controller without issue from my desktop Ubuntu 20.04 x86_64 system. But on another platform, Ubuntu 16.04 aarch64, the library claims the controller isn't supported.

File \"/usr/local/lib/python3.6/dist-packages/xbox360controller/controller.py\", line 406, in set_rumble\n raise RuntimeError('this device doesn\\'t support rumbling')\nRuntimeError: this device doesn't support rumbling\n

@linusg
Copy link
Owner

linusg commented Aug 20, 2020

That's simply what the driver tells us. What's the output of info() on both machines?

@draftpunk
Copy link
Author

They look the same aside from the rumble parameter.

x86_64 info():

Xbox 360 Wireless Receiver at index 0
Axes: 5
	axis_l
	axis_r
	hat
	trigger_l
	trigger_r
Buttons: 11
	button_a
	button_b
	button_x
	button_y
	button_trigger_l
	button_trigger_r
	button_select
	button_start
	button_mode
	button_thumb_l
	button_thumb_r
Rumble: yes
Driver version: 2.1.0 1.0.1

aarch64 info():

Xbox 360 Wireless Receiver at index 0
Axes: 5
	axis_l
	axis_r
	hat
	trigger_l
	trigger_r
Buttons: 11
	button_a
	button_b
	button_x
	button_y
	button_trigger_l
	button_trigger_r
	button_select
	button_start
	button_mode
	button_thumb_l
	button_thumb_r
Rumble: no
Driver version: 2.1.0 1.0.1

@linusg
Copy link
Owner

linusg commented Aug 20, 2020

Weird. Not really sure what's going on, gonna mark this as a bug for now. It'll be a while until I can try to reproduce (Raspberry Pi with 64bit OS is probably the closest I have), if you find any workaround please let me know.

@linusg linusg added the bug Something isn't working label Aug 20, 2020
@AdrienGuimbal
Copy link

AdrienGuimbal commented Jan 7, 2021

Hi, if it can help, I have the same issue on a Raspberry pi, the info are the followings:

  • OS: Raspbian GNU/Linux 10 (buster) armv7l
  • Host: Raspberry Pi 3 Model B Rev 1.2
  • Kernel: 5.4.79-v7+
  • I added th following udev rule to be able to use it : SUBSYSTEM=="leds", RUN+="/bin/chmod 666 /sys/class/leds/%k/brightness"
  • the version of the package is 1.1.2
  • ant he info() command spits out :
Microsoft X-Box 360 pad����������������������������������������� at index 0
Axes: 5
	axis_l
	axis_r
	hat
	trigger_l
	trigger_r
Buttons: 11
	button_a
	button_b
	button_x
	button_y
	button_trigger_l
	button_trigger_r
	button_select
	button_start
	button_mode
	button_thumb_l
	button_thumb_r
Rumble: no
Driver version: 2.1.0 1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants