https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Jacek changed:
What|Removed |Added
CC||jac...@bsdmail.com
--- Comment #56 from Ja
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
x...@mailbox.org changed:
What|Removed |Added
CC||x...@mailbox.org
--- Comment #54
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
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
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
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
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
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-
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Joshua Rogers changed:
What|Removed |Added
CC||ho...@internot.info
--- Comment #4
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
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
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
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
>
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Jakob Alvermark changed:
What|Removed |Added
CC||ja...@alvermark.net
--- Comment
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.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
verma...@interia.pl changed:
What|Removed |Added
CC||verma...@interia.pl
--- Comme
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.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Henry Hu changed:
What|Removed |Added
CC||henry.hu...@gmail.com
--- Comment #35 f
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Alexey Dokuchaev changed:
What|Removed |Added
CC||da...@freebsd.org
--- Comment #
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
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Adrian Chadd changed:
What|Removed |Added
Status|In Progress |Open
CC|
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
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.
__
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
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
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
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
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
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
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
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
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
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.
_
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
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.
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.
___
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:
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
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.
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
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
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Lars Engels changed:
What|Removed |Added
CC||l...@freebsd.org
--- Comment #5 from
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Hans Petter Selasky changed:
What|Removed |Added
Status|New |In Progress
--- Comment #3 f
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745
Hans Petter Selasky changed:
What|Removed |Added
CC||hsela...@freebsd.org
--- Com
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
57 matches
Mail list logo