chrippa / ds4drv

A Sony DualShock 4 userspace driver for Linux
MIT License
1.05k stars 213 forks source link

LED color not changing in hidraw mode over Bluetooth #134

Open Scrumplex opened 7 years ago

Scrumplex commented 7 years ago

If using hidraw mode, the led color is not changing. It can be really confusing when changing profiles, without any feedback. ds4drv version 0.5.1 from pip is in use.

fullmetal1 commented 7 years ago

This also happens to me. ds4drv 0.5.1 from the aur

b2ag commented 7 years ago

Same here. Using Arch Linux packge ds4drv-git from AUR. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ds4drv-git

Strange thing: LED change works for me using hidraw when connecting via USB.

Scrumplex commented 7 years ago

I am currently looking through the code for a fix. As far as I can tell the packet structure is correct (Source). I just tried to capture bluetooth0 with Wireshark, when I only saw incoming packets. So ds4drv's outgoing report packets are not being sent. Investigating.

EDIT: Truns out to be false. There are outgoing packets. I tried to replicate the sample packet from http://www.psdevwiki.com/ps4/DS4-BT#0x11_2, but with no success. Still no LED.

indeedwatson commented 6 years ago

Same issue, also in Arch.

Is this project still alive?

PatrickHussey commented 6 years ago

154 has this fixed

taleden commented 5 years ago

169 also fixes this, in (AFAICT) a slightly better way (no added zlib dependency, and works on python3)