xpad icon indicating copy to clipboard operation
xpad copied to clipboard

send Power off to xbox controller

Open martinalberto opened this issue 9 years ago • 4 comments

I want to power off my controller by terminal. There is some command that i can send by terminal to Power off.?

I find this section in you code:

static bool auto_poweroff = true;
module_param(auto_poweroff, bool, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(auto_poweroff, "Power off wireless controllers on suspend");

but i can't suspend my controller. I am use the Retrpo pie, Hardware Raspberry pi 3, SO Raspbian.

martinalberto avatar Nov 20 '16 11:11 martinalberto

poweroff currently only works for x360w controllers. The option you see sends the power off command automatically on suspend. There is no option to trigger this otherwise - you can only disable the LEDs via terminal as described in the readme.

paroj avatar Dec 20 '16 22:12 paroj

Ok. thanks very much. I hope, i could suspend my Xbox 360 controler.

martinalberto avatar Dec 22 '16 07:12 martinalberto

could it be possible to power off Xbox360 controller automatically also on system shutdown/reboot?

sand3ro avatar Apr 09 '22 13:04 sand3ro

Powering off the controllers on shutdown is the most obvious use case for being able send the power off comand on demand. Currently, the controllers stay on after shutdown and the only way to power them off is by pulling the battery pack.

carlosefr avatar Mar 07 '24 19:03 carlosefr