Return-Path: Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: DS4 issues From: Frank Praznik In-Reply-To: <20151228101822.03253569407ac9dfe4ea15be@ao2.it> Date: Mon, 28 Dec 2015 10:48:21 -0500 Cc: =?utf-8?Q?Martin_Kj=C3=A6r_J=C3=B8rgensen?= , linux-bluetooth@vger.kernel.org Message-Id: <0F6173F5-CF72-47E8-BB6B-44200F75EB6E@gmail.com> References: <20151221144607.GA18773@mkjlap.gotu.dk> <20151228101822.03253569407ac9dfe4ea15be@ao2.it> To: Antonio Ospite Sender: linux-bluetooth-owner@vger.kernel.org List-ID: > On Dec 28, 2015, at 04:18, Antonio Ospite wrote: > > On Mon, 21 Dec 2015 15:46:07 +0100 > Martin Kjær Jørgensen wrote: > >> Is there any "full" support for a Sony DualShock 4 in the bluez/kernel >> stack? >> > > CC-ing Frank as he is the author of the DS4 hid kernel driver. > >> The one I own works perfectly when using USB cable. >> >> When using bluetooth it gets recognized as a somewhat generic >> Bluetooth Wireless Controller. Pairing it up with my system seems to >> work as it creates a joystick device (/dev/input/js0) but when testing >> it with jstest, only the touchpad on the DS4 triggers two of the >> axis. None of the buttons or sticks reacts in jstest. >> Pairing it with the usual bluetoothctl makes the DS4 LED dimmed blue >> light. >> >> I know of the ds4drv project and have used it to connect my DS4, but >> it seems a big buggy and I was hoping it was or will be merged into >> bluez/kernel, making it superfluous. >> >> Using the DS4 makes the LED brighter than using ordinary bluetoothctl, >> perhaps because ds4drv knows how to intruct the LED. >> Even if my DS4 is almost next to my bluetooth radio device, the ds4drv >> reports "Signal strength low (29/40/38) reports" >> Testing with jstest seems to trigger all buttons and axises. The >> touchpad itself as a button triggers, but touching the pad doesnt trigger >> anything. >> In some games the digital keys on the left doesnt get recognized, even >> if they get triggered by jstest and other programs like Steam >> recognizes them. >> >> >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- > Antonio Ospite > http://ao2.it > > A: Because it messes up the order in which people normally read text. > See http://en.wikipedia.org/wiki/Posting_style > Q: Why is top-posting such a bad thing? What kernel version are you using and how new the controller? This sounds like a bug others were having due to Sony making a change to the HID descriptor in the controller firmware. It’s been fixed in newer kernels, but it will take time for the fix to make it’s way to most distros. The patch is here if you are interested: http://thread.gmane.org/gmane.linux.kernel.input/46634/focus=46902 Regards, Frank