Linux bluetooth development
 help / color / mirror / Atom feed
* sixaxis: Improved support for DualShock 3 clones not working (undefined symbol)
@ 2016-02-26 19:23 Oscar C
  0 siblings, 0 replies; 3+ messages in thread
From: Oscar C @ 2016-02-26 19:23 UTC (permalink / raw)
  To: szymon.janc, linux-bluetooth; +Cc: oscar

Hi,

I tried the patches sent to the list on June 2015 regarding the DS 
clones made by ShanWan. That patches are necessary because the DualSock 
clones do not work with the current sixaxis plugin.

It compiles ok, but when I try to run the daemon it fails because a 
symbol can not be found. Of course, the same code but without the 
patches applied works fine (but the gamepad does not work).

Any idea on how to solve this? Thanks!


gardenia:/root # /usr/lib/bluetooth/bluetoothd -n -d 9
bluetoothd[5943]: Bluetooth daemon 5.37
bluetoothd[5943]: Starting SDP server
bluetoothd[5943]: Can't load plugin 
/usr/lib/bluetooth/plugins/sixaxis.so: 
/usr/lib/bluetooth/plugins/sixaxis.so: undefined symbol: sdp_data_alloc
bluetoothd[5943]: Bluetooth management interface 1.6 initialized

--
Cheers,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* sixaxis: Improved support for DualShock 3 clones not working (undefined symbol)
@ 2016-03-22 16:58 Oscar C
  2016-04-02  7:40 ` Szymon Janc
  0 siblings, 1 reply; 3+ messages in thread
From: Oscar C @ 2016-03-22 16:58 UTC (permalink / raw)
  To: szymon.janc, linux-bluetooth

Szymon,

I tried the patches sent to the list on June 2015 regarding the DS 
clones made by ShanWan. That patches are necessary because the DualSock 
clones do not work with the current sixaxis plugin.

They compiles ok, but when I try to run the daemon it fails because a 
symbol can not be found. Of course, the same code but without the 
patches applied works fine (but the gamepad does not work).

Any idea on how to solve this? Thanks!


gardenia:/root # /usr/lib/bluetooth/bluetoothd -n -d 9
bluetoothd[5943]: Bluetooth daemon 5.37
bluetoothd[5943]: Starting SDP server
bluetoothd[5943]: Can't load plugin 
/usr/lib/bluetooth/plugins/sixaxis.so: 
/usr/lib/bluetooth/plugins/sixaxis.so: undefined symbol: sdp_data_alloc
bluetoothd[5943]: Bluetooth management interface 1.6 initialized

--
Cheers,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sixaxis: Improved support for DualShock 3 clones not working (undefined symbol)
  2016-03-22 16:58 sixaxis: Improved support for DualShock 3 clones not working (undefined symbol) Oscar C
@ 2016-04-02  7:40 ` Szymon Janc
  0 siblings, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2016-04-02  7:40 UTC (permalink / raw)
  To: Oscar C; +Cc: szymon.janc, linux-bluetooth

Hi Oscar,

On Tuesday 22 March 2016 17:58:35 Oscar C wrote:
> Szymon,
> 
> I tried the patches sent to the list on June 2015 regarding the DS
> clones made by ShanWan. That patches are necessary because the DualSock
> clones do not work with the current sixaxis plugin.
> 
> They compiles ok, but when I try to run the daemon it fails because a
> symbol can not be found. Of course, the same code but without the
> patches applied works fine (but the gamepad does not work).
> 
> Any idea on how to solve this? Thanks!

Sorry for late reply.

Yeah.. the problem is that only certain types of symbols are exported to 
external plugins by bluetoothd (check src/bluetooth.ver). And sdp_* are
not among them. (TBH I'm not sure why I didn't noticed this when running 
bluetoothd from source tree).

I think we would have to provide SDP record as xml and then only generate 
sdp_data in Bluetooth input code. Other solution would be to export sdp_* 
symbols (if those are the only ones that are missing).

Unfortunately I'm quite busy recently and cannot provide any ETA for those 
changes. But if you want to pick this up, I'll be able to review patches (you 
are not the first person asking for this).

> 
> gardenia:/root # /usr/lib/bluetooth/bluetoothd -n -d 9
> bluetoothd[5943]: Bluetooth daemon 5.37
> bluetoothd[5943]: Starting SDP server
> bluetoothd[5943]: Can't load plugin
> /usr/lib/bluetooth/plugins/sixaxis.so:
> /usr/lib/bluetooth/plugins/sixaxis.so: undefined symbol: sdp_data_alloc
> bluetoothd[5943]: Bluetooth management interface 1.6 initialized
> 


-- 
pozdrawiam
Szymon Janc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-02  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22 16:58 sixaxis: Improved support for DualShock 3 clones not working (undefined symbol) Oscar C
2016-04-02  7:40 ` Szymon Janc
  -- strict thread matches above, loose matches on Subject: below --
2016-02-26 19:23 Oscar C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox