[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2020-01-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Jacek changed: What|Removed |Added CC||jac...@bsdmail.com --- Comment #56 from Ja

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-09-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #55 from x...@mailbox.org --- (In reply to xbs from comment #54) Sorry, type mismatch: I CAN connect hccontrol-wise but also get the PSM errors mentioned above when trying virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -f /dev/b

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-09-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 x...@mailbox.org changed: What|Removed |Added CC||x...@mailbox.org --- Comment #54

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #53 from Joshua Rogers --- >From wireshark: It seems that it's an issue with PSM ( https://i.imgur.com/5uL2eq7.png ): 42 0.870566localhost ()GnNetcom_96:9d:39 ()L2CAP 21 Sent Connection Response - R

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #52 from Hans Petter Selasky --- HI, You might want to single step and backtrace from GDB the following line of code: backend_bt/avdtp.c: alarm(8); /* set timeout */ To figure out which command fails

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #51 from Joshua Rogers --- Minor success: my speaker works completely! However, my headphones are the issue at the moment. Using /usr/ports/audio/virtual_oss, compiling in debug mode gives no different result. Using virtual_os

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #50 from Hans Petter Selasky --- Can you compile virtual_oss with debug support and try again? My guess is the device doesn't respond to one of the A2DP commands. --HPS -- You are receiving this mail because: You are the ass

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #49 from Joshua Rogers --- Getting a bit further now. $ sudo ./virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/bluetooth/50:1a:xx:xx:xx:xx -R /dev/null -d dsp hw.snd.basename_clone: 0 -> 0 backend_bt: PSM=0x19 Alarm clock

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #48 from Hans Petter Selasky --- What pin-code did you set? Try 1234 or explicitly. --HPS -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #47 from Joshua Rogers --- (In reply to Hans Petter Selasky from comment #46) >hccontrol -n ubt0hci write_authentication_enable 1 Trying that and then trying to connect, I get the error message: $ sudo hccontrol -n ubt0hci cr

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #46 from Hans Petter Selasky --- Hi, Did you try: hccontrol -n ubt0hci write_authentication_enable 1 Before connecting? BTW: Virtual OSS in ports now has all the latest BT support. If you want BT server you need to build fro

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-04-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Joshua Rogers changed: What|Removed |Added CC||ho...@internot.info --- Comment #4

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #44 from Hans Petter Selasky --- Before trying the latest virtual_oss you need to rebuild: 1) libsdp 2) sdpd Does not work with iOS yet. If someone wants to work on that you can send me patches. -- You are receiving this mai

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #43 from Hans Petter Selasky --- Hi, There has been some updates to sdpd in -current and virtual_oss has a new utility called virtual_bt_speaker, which can sink sound. https://github.com/hselasky/virtual_oss --HPS -- You ar

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-01-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #42 from Hans Petter Selasky --- Yes, I might want to add an atexit() rule for that. Feel free to make a patch and submit it at github.com/hselasky . Some headsets use Bluetooth SCO for transport and need a bunch of AT commands

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-01-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #41 from Jakob Alvermark --- (In reply to Hans Petter Selasky from comment #40) > Try: > > virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -P > /dev/bluetooth/78:44:05:9b:51:aa -R /dev/null -d dsp -T /dev/sndstat -t > vdsp.ctl >

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-01-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #40 from Hans Petter Selasky --- Try: virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/bluetooth/78:44:05:9b:51:aa -R /dev/null -d dsp -T /dev/sndstat -t vdsp.ctl If your device doesn't support SBC recording it won't work

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-01-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Jakob Alvermark changed: What|Removed |Added CC||ja...@alvermark.net --- Comment

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2019-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #38 from Lars Engels --- FYI: The bluetooth-config script from https://reviews.freebsd.org/D3778 was now committed to HEAD and should land in 12.1. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2018-03-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 verma...@interia.pl changed: What|Removed |Added CC||verma...@interia.pl --- Comme

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2017-01-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #36 from j...@jschneider.com --- This is great! With 11.0, A2DP is working perfectly with iwn wireless device and OontZ XL speaker. Thank you! -- You are receiving this mail because: You are the assignee for the bug.

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-12-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Henry Hu changed: What|Removed |Added CC||henry.hu...@gmail.com --- Comment #35 f

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-11-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #34 from Hans Petter Selasky --- Hi, virtual_oss is now in ports, see audio/virtual_oss . --HPS -- You are receiving this mail because: You are the assignee for the bug. ___ freebs

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-09-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #33 from Hans Petter Selasky --- Hi, I've just updated virtual OSS and figured out why SBC was not selected for my MP4 headset. Patches are in my I4B SVN. Can you refresh the sources and try again. Also the volume control has n

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-07-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Alexey Dokuchaev changed: What|Removed |Added CC||da...@freebsd.org --- Comment #

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #31 from Hans Petter Selasky --- Some headsets use mpeg4. I need some help to support that. --HPS -- You are receiving this mail because: You are the assignee for the bug. ___ freeb

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #30 from Adrian Chadd --- I hacked on the negotiation bits after reading the spec. The spec mandates SBC, but the initial config fetch doesn't return SBC. It's returning some non-mandatory codec. I'm not sure if we have to ask

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #29 from Adrian Chadd --- It's odd; it's decoding it as "codecType 0xff" and then "contentprotection", with no SBC codec. What's the story? I thought SBC was mandated. -- You are receiving this mail because: You are the assign

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Adrian Chadd changed: What|Removed |Added Status|In Progress |Open CC|

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-12-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #27 from Hans Petter Selasky --- A closer look reveals that the codec is called aac_latm and is supported by ffmpeg. Looks like lib faac won't produce the correct data. Will look more at this after x-mas. Feel free to send me pa

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-12-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #26 from Hans Petter Selasky --- Forgot to say: You'll need to install libsamplerate and libfaac . --HPS -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-12-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #25 from Hans Petter Selasky --- Hi Tone, Can you SVN up and try the latest version of virtual_oss? I've tried to add support for MPEG-2 AAC-LC which some audio headsets use. Some RTP framing bits are missing, so at least mine

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-11-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #24 from Tony Narlock --- (In reply to Hans Petter Selasky from comment #23) Sorry for the late response. I tried 40, 160, 253 and 500. Unfortunately, same results. -- You are receiving this mail because: You are the assig

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-11-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #23 from Hans Petter Selasky --- Forwarding message from Nathanial Sloss: > AFAICT the only reason as to why auto config would fail would be if the max > bitpool value that is calculated is smaller than the minimum bit pool val

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-11-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #22 from Hans Petter Selasky --- Everything Bluetooth related is in backend_bt/*.[ch] -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@f

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-11-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #21 from Tony Narlock --- (In reply to Hans Petter Selasky from comment #20) I tried again on revision 3644. Continue to get the AUTOCONFIG FAILED. I'm still pretty interested in getting this working. I'm going to dig a bit m

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #20 from Hans Petter Selasky --- (In reply to Tony Narlock from comment #19) Hi, Ensure "sysctl hw.snd.basename_clone=0", or use another device name -d dsp.bt Also check that other instances of virtual_oss are killed. --HPS

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #19 from Tony Narlock --- (In reply to Hans Petter Selasky from comment #18) Interesting, with the new revision: I got the same results as before for a few attempts. I forgot to do the 'sysctl hw.snd.basename_clone=1' Then af

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #18 from Hans Petter Selasky --- (In reply to Tony Narlock from comment #15) Could you SVN up and recompile and try again? I've received a small patch from Nathanial Sloss. -- You are receiving this mail because: You are the

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #17 from Lars Engels --- (In reply to Tony Narlock from comment #16) Yes, no news unfortunately. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #16 from Tony Narlock --- Are either of you two on IRC? Lars to confirm, you're getting the same issue still? AUTOCONFIG FAILED: No error: 0 -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #15 from Tony Narlock --- (In reply to Hans Petter Selasky from comment #14) Like this? (lldb) frame v buffer -f hex (uint8_t [64]) buffer = { [0] = 0x40 [1] = 0x02 [2] = 0x14 [3] = 0x08 [4] = 0x04 [5] = 0x08 [6

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #14 from Hans Petter Selasky --- (In reply to Lars Engels from comment #13) Right. I'm not an SDP expert. What you could do is to dump that buffer in GDB like this: print /x buffer So that it shows in HEX instead of a string.

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #13 from Lars Engels --- (In reply to Hans Petter Selasky from comment #12) At least for me s/EINVAL/0/ doesn't change anything. -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #12 from Hans Petter Selasky --- (In reply to Tony Narlock from comment #11) Could you try to just fake a "return (0);" instead of "return (EINVAL);" for now and see if you get further? -- You are receiving this mail because:

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #11 from Tony Narlock --- (In reply to Hans Petter Selasky from comment #7) Thank you. I'm getting the "AUTOCONFIG FAILED" error now. Trying with 44100 doesn't help. I am new to gdb, but tried giving that a go too. It seems t

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #10 from Tony Narlock --- (In reply to Lars Engels from comment #9) Lars, that script was excellent. Is there a bugzilla tracker ticket for that? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #9 from Lars Engels --- BTW I used erdgeist's bluetooth-config script from https://reviews.freebsd.org/D3778 to pair with the speaker. Works pretty well! -- You are receiving this mail because: You are the assignee for the bug

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #8 from Hans Petter Selasky --- (In reply to Tony Narlock from comment #6) Hi, This error code, simply means the speaker and BT dongle are not properly paired. Try experimenting with /etc/bluetooth/hcsecd.conf and ensure the

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #7 from Hans Petter Selasky --- (In reply to Lars Engels from comment #5) Hi, Possibly 48000 is not supported. Try 44100. Or add debug prints in the "avdtpAutoConfig" function. --HPS -- You are receiving this mail because: Y

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #6 from Tony Narlock --- Fantastic news to brighten a tough day. Thank you Hans. Here is what I get. Is there anything I can do to give you better information? Same sennheiser Urbanite bluetooth headset. # freebsd-version; u

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Lars Engels changed: What|Removed |Added CC||l...@freebsd.org --- Comment #5 from

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #4 from Hans Petter Selasky --- What's missing from recording support is simply the SBC audio decoder. -- You are receiving this mail because: You are the assignee for the bug. ___ f

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Hans Petter Selasky changed: What|Removed |Added Status|New |In Progress --- Comment #3 f

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 --- Comment #2 from Maxim Filimonov --- Shouldn't this issue be assigned to freebsd-bluetooth@? -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@fre

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Hans Petter Selasky changed: What|Removed |Added CC||hsela...@freebsd.org --- Com

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2015-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745 Bug ID: 203745 Summary: A2DP Support for Bluetooth Headphone Audio Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Seve