Re: [RFC 2/2] profiles/input: Add support for SDP fallback for DualShock 3 clones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2015-03-09 at 14:37 +0100, Szymon Janc wrote:
> Hi Antonio,
> 
> On Monday 09 of March 2015 12:21:08 Antonio Ospite wrote:
> > On Sun,  8 Mar 2015 17:08:30 +0100
> > Szymon Janc <szymon.janc@xxxxxxxxx> wrote:
> > 
> > > Some DualShock 3 clones were reported to not provide any SDP 
> > > record. In such case provide fallback SDP record (based on 
> > > genuine DS3 record) and retry setting input device channels 
> > > before disconnecting.
> > 
> > Hi Szymon,
> > 
> > I guess this can't be done in the sixaxis plugin, right?
> 
> Unfortunately not. There would have to be some sort of callbacks 
> from input
> to handle this from plugin. But if you come up with some nice 
> solution I'd
> review it gladly :)
> 
> Maybe we could modify code to always provide those on USB plug and 
> then never do
> reverse SDP when sixaxis device is detected... I'd have to think 
> about that :)

That's what the original version of the sixaxis patch for BlueZ (the 
one that shipped only in Fedora for a long while) did.

When you create the BlueZ device setup by plugging in the pad, shove 
the SDP record in the local cache as well.

In the worst case, people will need to remove the device from the 
Bluetooth settings, and plug it back in via USB.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux