linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: Oscar C <oscar-listas@naiandei.net>
Cc: szymon.janc@gmail.com, linux-bluetooth@vger.kernel.org
Subject: Re: sixaxis: Improved support for DualShock 3 clones not working (undefined symbol)
Date: Sat, 02 Apr 2016 09:40:27 +0200	[thread overview]
Message-ID: <1558539.FTrjhmdCRM@ix> (raw)
In-Reply-To: <c1557d88bcf8b0d4fe64f76569c66396@naiandei.net>

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

  reply	other threads:[~2016-04-02  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-26 19:23 Oscar C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1558539.FTrjhmdCRM@ix \
    --to=szymon.janc@codecoup.pl \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=oscar-listas@naiandei.net \
    --cc=szymon.janc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).