Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327705 - >net-wireless/bluez-4.63 unable to connect audio streams
Summary: >net-wireless/bluez-4.63 unable to connect audio streams
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 18:12 UTC by Michal 'vorner' Vaner
Modified: 2010-11-25 23:31 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The hcidump (hcidump.log,6.64 KB, text/plain)
2010-10-02 13:36 UTC, Michal 'vorner' Vaner
Details
Bluetoothd output (bluetoothd.log,16.07 KB, text/plain)
2010-10-02 13:36 UTC, Michal 'vorner' Vaner
Details
1.patch (1.patch,1.73 KB, patch)
2010-10-05 06:55 UTC, Pacho Ramos
Details | Diff
The hcidump (hcidump.log,5.36 KB, text/plain)
2010-10-18 15:21 UTC, Michal 'vorner' Vaner
Details
Bluetoothd output (bluetoothd.log,16.01 KB, text/plain)
2010-10-18 15:21 UTC, Michal 'vorner' Vaner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal 'vorner' Vaner 2010-07-10 18:12:13 UTC
If I try to use my bluetooth headphones with net-wireless/bluez-4.63, it connects and appears in pulseaudio as a sink (no matter if I use A2DP profile or HSP frofile or connect them both at once). This is the output from bluetoothd -nd:

bluetoothd[19610]: State changed /org/bluez/19610/hci0/dev_00_19_7F_1B_E8_BE: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECTING
bluetoothd[19610]: link_key_request (sba=00:19:86:00:10:FE, dba=00:19:7F:1B:E8:BE)
bluetoothd[19610]: kernel auth requirements = 0x00
bluetoothd[19610]: stored link key type = 0x00
bluetoothd[19610]: adapter_get_device(00:19:7F:1B:E8:BE)
bluetoothd[19610]: Discovered Handsfree service on channel 1
bluetoothd[19610]: /org/bluez/19610/hci0/dev_00_19_7F_1B_E8_BE: Connecting to 00:19:7F:1B:E8:BE channel 1
bluetoothd[19610]: /org/bluez/19610/hci0/dev_00_19_7F_1B_E8_BE: Connected to 00:19:7F:1B:E8:BE
bluetoothd[19610]: Received AT+BRSF=24
bluetoothd[19610]: HFP HF features: "Voice recognition activation" "Remote volume control"

However, if I try it with never version (.64 and .67), I get this:

bluetoothd[23165]: State changed /org/bluez/23165/hci0/dev_00_19_7F_1B_E8_BE: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECTING
bluetoothd[23165]: link_key_request (sba=00:19:86:00:10:FE, dba=00:19:7F:1B:E8:BE)
bluetoothd[23165]: kernel auth requirements = 0x00
bluetoothd[23165]: stored link key type = 0x00
bluetoothd[23165]: adapter_get_device(00:19:7F:1B:E8:BE)
bluetoothd[23165]: Discovered Handsfree service on channel 1
bluetoothd[23165]: /org/bluez/23165/hci0/dev_00_19_7F_1B_E8_BE: Connecting to 00:19:7F:1B:E8:BE channel 1
bluetoothd[23165]: hcid_dbus_bonding_process_complete: status=00
bluetoothd[23165]: adapter_get_device(00:19:7F:1B:E8:BE)
bluetoothd[23165]: hcid_dbus_bonding_process_complete: no pending auth request
# Here is really long pause, 1-2 seconds
bluetoothd[23165]: Function not implemented (38)
bluetoothd[23165]: State changed /org/bluez/23165/hci0/dev_00_19_7F_1B_E8_BE: HEADSET_STATE_CONNECTING -> HEADSET_STATE_DISCONNECTED

And nothing appears in pulseaudio, no sound plays. I tried pairing few times, clearing data in /var/lib/bluetooth, with and without hal, all with the same results.

Greping the sources for 'Function not implemented' gives no results, so the message must come from something else, but I have no idea what.

The strange thing is, it works on my other computer (that one is 32bit singlecore intel, this is 64bit quadcore AMD, but I copyed the configuration, so it should be the same).

The adaptor is USB one (OMEGA MICRO BT140).

Is there any other info I can provide? Or, Should I post it upstream?

Thanks

Reproducible: Always

Steps to Reproduce:




emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-hydra x86_64)
=================================================================
System uname: Linux-2.6.34-hydra-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 10 Jul 2010 16:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions autoindex cache cgi cgid dbd deflate disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation status unique_id userdir usertrack vhost_alias perl access auth_basic authz_host dir dav"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BROWSER="uzbl-nobar"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=amdfam10 -pipe -ggdb2 -feliminate-unused-debug-symbols -feliminate-unused-debug-types"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="0;7"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /lib/dhcpcd/dhcpcd-hooks /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=amdfam10 -pipe -ggdb2 -feliminate-unused-debug-symbols -feliminate-unused-debug-types"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-vokGv3CRWj,guid=590120f623f414a26ce9b0da0000009f"
DEFAULT_ABI="amd64"
DISPLAY=":1.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --tree --keep-going --binpkg-respect-use=y --jobs=4"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages installsources metadata-transfer news noinfo parallel-fetch prelink preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.prz.rzeszow.pl ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
GPG_AGENT_INFO="/tmp/gpg-B3ebqj/S.gpg-agent:1903:1"
GTK_IM_MODULE="xim"
HG="/usr/bin/hg"
HOME="/home/vorner"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/info"
INPUT_DEVICES="keyboard evdev mouse"
JAVAC="/home/vorner/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/home/vorner/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/vorner/.gentoo/java-config-2/current-user-vm"
KDEDIR=""
KDEDIRS="/usr/kde/3.5"
KERNEL="linux"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LDFLAGS="-Wl,-O1"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en"
LOGNAME="vorner"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/vorner"
MAKEOPTS="-j4"
MANPATH="/home/vorner/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/man:/etc/java-config/system-vm/man/:/usr/lib64/erlang/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OOO_FORCE_DESKTOP="kde"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/home/vorner/bin:/home/vorner/bin/:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4:/usr/lib64/subversion/bin:/usr/games/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="15"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/jokey /var/lib/layman/kde /var/lib/layman/perl-experimental /var/lib/layman/qting-edge /var/lib/layman/haskell /var/lib/layman/vorner"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/vorner"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4:/usr/lib64/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
RXVT_SOCKET="/home/vorner/.urxvt-socket-:1"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="3"
SSH_AGENT_PID="1903"
SSH_ASKPASS="pinentry-qt"
SSH_AUTH_SOCK="/tmp/gpg-v8KFty/S.gpg-agent.ssh"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow 3dnowext X a52 accessibility acl acpi alsa amd64 apache2 asf async avi bash-completion bluetooth bzip2 cairo canon caps chm cjk cli cracklib crypt cscope cups curl custom-cflags custom-optimization cxx dbus dhcp divx divx4linux djvu dmx dri dv dvd dvdread dvi ebook encode exceptions exif extensions extras fame ffmpeg firefox foomaticdb fping fuse gcj gdbm gif git glade glitz gmedia gmp gpm gps graphite gstreamer gtk haskell hscolour iconv imagemagick imap ipv6 irc jabber java java6 jingle jpeg jpeg2k kpathsea latex libffi mad mdnsresponder-compat mikmod mmap mmx mmxext mng modules mono moonlight mp3 mpeg mplayer mudflap multilib mysql ncurses nfs nls nptl nptlonly nsplugin ntpl-only nxclient objc objc++ objc-gc ogg openal opengl openmp ortp pam pango pcre perl png portage ppds pppd pthreads pulseaudio python qt3support quicktime rdesktop readline realmedia reflection samba scanner session speex spell spl sql sqlite sse sse2 ssl stable-branch subtitles subversion svg sysfs tcl tcpd tetex threads tiff truetype unicode usb vim vim-syntax vim-with-x vnc vorbis webkit wifi wmp x264 xcb xcomposite xinerama xmpp xorg xrender xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions autoindex cache cgi cgid dbd deflate disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation status unique_id userdir usertrack vhost_alias perl access auth_basic authz_host dir dav" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="vorner"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox-ose"
VIDEO_CARDS="ati radeon"
WINDOWID="2097179"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"
http_proxy="http://127.0.0.1:8080"
Comment 1 Pacho Ramos gentoo-dev 2010-07-10 22:59:10 UTC
Please try with bluez-4.67
Comment 2 Michal 'vorner' Vaner 2010-07-11 08:37:54 UTC
As I already wrote, I did: „However, if I try it with never version (.64 and .67), I get this:“. Maybe I should have written full versions, but writing >= to the summary seemed wrong, because I hope there will be version that works.
Comment 3 Pacho Ramos gentoo-dev 2010-07-11 09:47:37 UTC
Sorry, I missed it (yesterday was so late... :-( )

I would suggest you to report directly to upstream:
http://www.bluez.org/development/lists/

The changes introduced in 4.64 were the following, but I don't know which one could cause this problem:
ver 4.64:
	Fix invalid memory access in headset_get_nrec function.
	Fix issue with disconnect event on higher protocol layers.
	Fix issue with list parsing in sdp_set_supp_features function.
	Fix device object reference counting for SDP browse requests.
	Add missing memory checks whenever memory is allocated for SDP.
	Add support for exporting local services via D-Bus.
	Add more L2CAP Enhanced Retransmission test options.
Comment 4 Michal 'vorner' Vaner 2010-07-22 18:06:28 UTC
It seems to be related to the device (I got a different one and it works fine), it probably does not support some kind of binding feature (guessed from the commit that causes my problem ‒ aee26b30bbc24cde464ba1a557c2b258ddec6432).

However, it seems to be completely ignored on the mailing list, they seem not to be interested.

Does it still count as a bug if the device is to blame? Missing workaround?

Thanks
Comment 5 Pacho Ramos gentoo-dev 2010-07-23 16:38:25 UTC
(In reply to comment #4)
> However, it seems to be completely ignored on the mailing list, they seem not
> to be interested.

Sometimes there are mails that are missed, but maybe you can send another mail to insist a bit (for example, I had to post a mail simply quoting my original one and adding "Any news on this?, thanks a lot :-)" to get upstreamed one of the patches we are applying)
Comment 6 Pacho Ramos gentoo-dev 2010-09-07 10:59:52 UTC
How did this ended? How does this work with 4.70?
Comment 7 Michal 'vorner' Vaner 2010-09-09 11:25:42 UTC
It connects the H2DP protocol, but the HSP does not. And it has other problems, like when there is no sound for a while and then it starts again, it gets stuck after about one second (like, no sound, unresponsive application). I already decided to consider the dongle buggy, as it works without problems with a different one.

And my mails were completely ignored on the list, even when I tried to remind.

So, what is the correct thing with this bug? Invalid, as it is probably caused by bad HW?
Comment 8 Pacho Ramos gentoo-dev 2010-09-09 13:21:57 UTC
(In reply to comment #7)
> So, what is the correct thing with this bug? Invalid, as it is probably caused
> by bad HW?
> 

But, does that "bad" hardware work *now* with bluez-4.63? Please retest with 4.63

You can download old ebuilds here to test:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-wireless/bluez/?hideattic=0
Comment 9 Michal 'vorner' Vaner 2010-09-20 10:48:56 UTC
Sorry, I didn't notice I still had a mask for new bluez, so the last time I tested, I was actually testing 4.63 without knowing it. So, the status is:

• Does work (with minor glitches) with 4.63
• Does not work with 4.71 (no connect)
• Does not work with 4.70 (no connect)

All three mentioned versions work with a different dongle (and without the glitches).

Once again, sorry for the wrong info in #7.
Comment 10 Pacho Ramos gentoo-dev 2010-09-20 10:56:10 UTC
Have you tried to manually revert commit that cause this breakage with bluez-4.71? Maybe it would "work" :-/
Comment 11 Michal 'vorner' Vaner 2010-09-20 11:04:32 UTC
I did that revert with some 4.65 when I was testing it is the commit and it did work. Is it enough or is there any gain in trying again with .71?

Thanks
Comment 12 Pacho Ramos gentoo-dev 2010-09-20 18:11:07 UTC
Will try to ask again in upstream mailing list, maybe I am lucky and get more information :-)

Thanks
Comment 13 Pacho Ramos gentoo-dev 2010-09-20 19:04:19 UTC
Please provide hcidump output while it's failing with latest bluez, thanks
Comment 14 Michal 'vorner' Vaner 2010-10-02 13:36:25 UTC
Created attachment 249316 [details]
The hcidump
Comment 15 Michal 'vorner' Vaner 2010-10-02 13:36:56 UTC
Created attachment 249317 [details]
Bluetoothd output
Comment 16 Michal 'vorner' Vaner 2010-10-02 13:38:06 UTC
Sorry for taking so long, I didn't get to it sooner. I added both the hcidump and the bluetoothd output of the same session, if it is of any use to compare them.

Thanks
Comment 17 Pacho Ramos gentoo-dev 2010-10-02 13:59:01 UTC
OK, mailed to upstream mailing list, I hope this try ends better :-)
Comment 18 Pacho Ramos gentoo-dev 2010-10-05 06:55:04 UTC
Created attachment 249606 [details, diff]
1.patch

Please try to apply this patch to your kernel sources and, then, recompile your kernel
Comment 19 Michal 'vorner' Vaner 2010-10-18 15:19:47 UTC
Applied to today Linus' tree. Didn't connect, and it took longer (or at last it seems). Going to provide new versions of the dump.
Comment 20 Michal 'vorner' Vaner 2010-10-18 15:21:15 UTC
Created attachment 251133 [details]
The hcidump
Comment 21 Michal 'vorner' Vaner 2010-10-18 15:21:36 UTC
Created attachment 251135 [details]
Bluetoothd output
Comment 22 Pacho Ramos gentoo-dev 2010-11-03 08:39:46 UTC
Could you please provide 'hcidump -tVx' when it's failing? Thanks