manuel gysin | 20 Dec 13:19
Picon

BlueZ4.x, headset and oss problem

Hello,

I've manged to get my headset running with BlueZ4. Sound and Voice is 
working very well with Skype.

Now I tried to use my headset with teamspeak. I tried to run it with 
aoss teamspeak, but the problem is now I have no /dev/dspx device for 
the headset.

Is there a way to solve this?

Greets and thanks

Manuel

------------------------------------------------------------------------------
menno | 10 Dec 10:45
Picon

Bluez 4.20/4.21/4.22

Hello,

I use Bluez incombination with asterisk (chan_mobile.c module). The
chan_mobile module accepts calls from bluetooth enabled cell-phones.

When i use bluez < 4.19 this works but there is an audio delay from
asterisk to the connected mobile phone. But the connection is stable and
the cellphone doesn't discconnect from asterisk.

When i use bluez > 4.20 (& 4.21 & 4.22) this works better (with audio) and
there is an short delay when the call is begin. After some seconds (i
think between 5 & 10 seconds) the delay is away. But after 15 seconds the
audio is dropped and asterisk disconnect the bluetooth phone.
Only when i restart the mobile phone he is connected again.

My Question: Is it possible to develop a version that the mobile
connection don't disconnect from the asterisk pabx and also with good (no
delayed) audio capabilties??

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
Dhinakaran K | 4 Dec 14:59
Favicon

Setting up Bluetooth Audio (A2DP)


Hi,
        I intend to use the A2DP profile of BlueZ, by playing some music over my desktop(Having Broadcom USB bluetooth adaptor) and listering it on BT-headset.

System Details:
Linux Flavour:        Fedora Core 4
Linux Kernel:           2.6.26
BlueZ version:        4.18
DBUS version:        1.2.4
GLIB version:        2.14
ALSA version:        1.013

HCID:
        When I start bluetooth service, hcid throws error: Unable to get on DBUS and continues to run. I proceed further to pair with headset, wherein in gives, Can't connect: Input/Output error. But surprisingly it can connect with other bluetooth devices like mobile phones. Behaviour is alike irrespective of pin-helpers,bluepin or bluez-pin.
Bluetoothd:
         Yes, I know that version 4.xx replaces hcid wiht bluetoothd. I edited the /etc/ini.d/bluetooth script to spawn bluetoothd daemon, instead of hcid daemon. Even Bleutoothd daemon throws error:  Unable to get on DBUS and exits.

Im attaching the debug log herewith. Any help in this regard is deeply appreciated.



Warm Regards
- dhinakaran
 
Dhinakarank  K
Software Engineer,  EmSyS                                ( :  +91 821 240 5638
Larsen and Toubro Limited, Mysore Campus           ( :  +91 821 240 5489
KIADB Industrial Area, Hebbal - Hootagalli           Ê    :  +91 821 2403752    
Mysore - 570 018                                    š   :  Dhinakaran.K <at> Lntemsys.com
India                                                                 ý   :  http://www.Lntemsys.com
 
This mail is classified as
L&T EmSyS Proprietary                 L&T EmSyS Internal Use
L&T EmSyS Confidential                 L&T EmSyS General Business
 
 
 
lsusb:
	Bus 004 Device 005: ID 0a5c:2039 Broadcom Corp.

/etc/ini.d/bluetooth start 
	Starting Bluetooth services:                               [  OK  ]
tail -f /var/log/messages
	Dec  4 10:09:07 localhost hcid[5179]: Bluetooth HCI daemon
	Dec  4 10:09:07 localhost hcid[5179]: Unable to get on D-BUS
	Dec  4 10:09:07 localhost sdpd[5182]: Bluetooth SDP daemon
	Dec  4 10:09:07 localhost hcid[5179]: HCI dev 0 up
	Dec  4 10:09:07 localhost hcid[5179]: Starting security manager 0

hciconfig -a
hci0:   Type: USB
        BD Address: 00:06:C9:90:02:1D ACL MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:384 acl:0 sco:0 events:17 errors:0
        TX bytes:311 acl:0 sco:0 commands:17 errors:0
        Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'EMMYS0420 at localhost.localdomain (0)'
        Class: 0x120104
        Service Classes: Networking, Object Transfer
        Device Class: Computer, Desktop workstation
        HCI Ver: 2.0 (0x3) HCI Rev: 0x2000 LMP Ver: 2.0 (0x3) LMP Subver: 0x410d
        Manufacturer: Broadcom Corporation (15)
hcitool scan
Scanning ...
        00:0D:FD:20:28:2F       Motorola S9
hcitool cc 00:0D:FD:20:28:2F
	Can't create connection: Input/output error
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
menno van der klein | 30 Nov 16:38
Picon

Bluez delayed audio with asterisk pbx chan_mobile

I use chan_mobile for incomming and outbound calls. This works well but i
think there is a problem with the audio buffer. Some examples:

Inbound call (from cellphone):
Audio from cellphone to asterisk is delayed (with 1 second and after a
while this will be bigger and bigger)
Audio from asterisk to the cellphone is NOT delayed

Outbound call (to the cellphone) with nocallsetup=no
Audio from cellphone to asterisk is delayed (with 1 second and after a
while this will be bigger and bigger)
Audio from asterisk to the cellphone is NOT delayed

Outbound call (to the cellphone) with nocallsetup=yes
Audio from cellphone to asterisk is NOT delayed
Audio from asterisk to the cellphone is NOT delayed
But after a while (2 minutes) the audio delayed too. And the delay is
bigger and bigger if you make a long call.

I use:
- Asterisk SVN-trunk-r159475
- CSR BC4
- 2.6.27-7 ubuntu kernel
- bluez 4.19 (tar.gz version)
- L6 motorola phones

I think there is a problem with the buffer. I make the Frame size smaller
but this doesn't work. I think he can't loose the buffer and the frame
size is bigger and bigger or something.

More info:
http://bugs.digium.com/view.php?id=13995

I use this chan_mobile.c file:
http://svn.digium.com/view/asterisk-addons/trunk/channels/chan_mobile.c

Is there a solution to resolve this?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Gunnar Thielebein | 21 Nov 11:01
Picon

audio / mpd issue

I can successfully play sound from bt when using mplayer to my stereo 
using a bluetooth audio sink (mbr-100).
But theres an issue when using mpd (musicplayer daemon).
First it is not possible to use alsa directly in mpd.conf but only 
driver type ao in conf. It crashes when using "alsa" (see link below)
Mpd wiki did not suggest to use this as type "alsa" is more maintened.
Second when using ao the playback has extreme jitters. This is not the 
case with mplayer.

I tried setting buffer_time / period_time in mpd.conf / asound.conf but 
this seems to be not configurable options for alsa type bluetooth.
Has somebody an idea what occurs this issue? I mean apart of some smooth 
yowl from time to time with mplayer sound quality is really acceptable.
Someone an idea about the crash with "alsa".

works with jitters:
> audio_output {
>         type                    "ao"
>         name                    "Bluetooth Device"
>         options                 "dev=bluetooth"
>         device                  "plug:bluetooth"
> }
>
>
makes mpd crash:
> audio_output {
>         type                    "alsa"
>         name                    "Bluetooth Device"
>         options                 "dev=bluetooth"
>         device                  "plug:bluetooth"
> }
>
>

For avoiding double post current thread with further config and log 
files attached in mpd forum:

http://www.musicpd.org/forum/index.php?topic=1764.0

Bluetooth versions in use: 3.26 and 3.36-2.
Packages for 4.18 seems to be broken (connection timeout)

Best,
Gunnar

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
salyer | 18 Nov 09:50
Picon

How to make bluetoothd-service-audio don't record the last headset information

Dear sir,
    After i used aplay -D bluetooth /***.wav to play music , i changed the headset device address in the /etc/asound.conf and run aplay again, but bluez also to  
connected  the old device address , so i can't use the new headset. Is there some method to fix this issue, thanks ?

--
Best Regards!
Paul

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
Robert Moskowitz | 12 Nov 23:10

Tutorial on pans

I am running Centos 5.2 on a number of test systems and want to setup a 
bluetooth pan for managing these systems (the ethernet and wifi LANs are 
needed for the testing).  So this is a 'close' pan.  There will be 5 
systems in the pan; 4 test systems and one monitoring system.

Centos has bluez-libs 3.7-1.1 and bluez-utils 3.7-2.2

I don't need NAT or anything else.  I will be putting bluetooth 
headphones on some of these test systems for SIP testing.

Where can I find a tutorial on how to configure pand so as these systems 
come up the pan starts up, and it is 'secure' (as secure as anything 
with bluetooth is).

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Li, Zhigang | 30 Oct 03:07
Picon
Favicon

bluetooth audio problem

Hi all,
I have one problem with mplayer:   mplayer -ao alsa:device=Bluetooth file.mp3
There always display the errors:
[AO_ALSA] alsa-lib: pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM bluetooth
[AO_ALSA] Playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


But the mplayer work fine 

Also I can use aplay:  aplay works fine with Bluetooth headset.

Perhaps I didn't set right configuration anybody have the same problem or idea?

Thanks

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann | 23 Oct 06:57

Re: problems with kernel 2.6.23 + bluez 3.36 + SCO

Hi Pierre,

> We develop an application for our board based on SCO. We use the kernel
> version 2.6.23 and the bluez-lib 3.36. However we have a lot of problems and
> some "kernel panic". Below this message you will find some of these kernel
> messages.
> How can we stop it? Have you ever saw that?

switch to a 2.6.27 kernel.

Regards

Marcel

Patryk Zawadzki | 18 Oct 21:48
Favicon
Gravatar

Motorola S9 and BlueZ 4.14

Starting the bluetoothd daemon and pressing the headset power button I
get the following (the headset is paired but it does not make a
difference):

bluetoothd[21459]: link_key_request (sba=00:1D:60:69:91:18,
dba=00:0D:FD:15:F0:3E)
bluetoothd[21459]: kernel auth requirements = 0x00
bluetoothd[21459]: stored link key type = 0x00
bluetoothd[21459]: adapter_get_device(00:0D:FD:15:F0:3E)
bluetoothd[21459]: hcid_dbus_bonding_process_complete: status=00
bluetoothd[21459]: adapter_get_device(00:0D:FD:15:F0:3E)
bluetoothd[21459]: hcid_dbus_bonding_process_complete: no pending auth request
bluetoothd[21459]: AVDTP: incoming connect from 00:0D:FD:15:F0:3E
bluetoothd[21459]: session_cb
bluetoothd[21459]: Received DISCOVER_CMD
bluetoothd[21459]: session_cb
bluetoothd[21459]: Received  GET_CAPABILITIES_CMD
bluetoothd[21459]: Source 0xb8ecb960: Get_Capability_Ind
bluetoothd[21459]: session_cb
bluetoothd[21459]: Received SET_CONFIGURATION_CMD
bluetoothd[21459]: Source 0xb8ecb960: Set_Configuration_Ind
bluetoothd[21459]: avdtp_ref(0xb8ec83f0): ref=2
bluetoothd[21459]: stream state changed: IDLE -> CONFIGURED
bluetoothd[21459]: session_cb
bluetoothd[21459]: Received OPEN_CMD
bluetoothd[21459]: Source 0xb8ecb960: Open_Ind
bluetoothd[21459]: stream state changed: CONFIGURED -> OPEN
bluetoothd[21459]: AVCTP: connected to 00:0D:FD:15:F0:3E
bluetoothd[21459]: AVRCP: uinput initialized for 00:0D:FD:15:F0:3E
bluetoothd[21459]: AVDTP: incoming connect from 00:0D:FD:15:F0:3E
bluetoothd[21459]: stream state change failed: Input/output error
bluetoothd[21459]: session_cb
bluetoothd[21459]: Received START_CMD
bluetoothd[21459]: Source 0xb8ecb960: Start_Ind
bluetoothd[21459]: avdtp_ref(0xb8ec83f0): ref=3
bluetoothd[21459]: stream state changed: OPEN -> STREAMING
bluetoothd[21459]: avdtp_unref(0xb8ec83f0): ref=2
bluetoothd[21459]: session_cb
bluetoothd[21459]: SUSPEND request succeeded
bluetoothd[21459]: stream state changed: STREAMING -> OPEN
bluetoothd[21459]: Source 0xb8ecb960: Suspend_Cfm
bluetoothd[21459]: session_cb
bluetoothd[21459]: CLOSE request succeeded
bluetoothd[21459]: stream state changed: OPEN -> CLOSING
bluetoothd[21459]: Source 0xb8ecb960: Close_Cfm
bluetoothd[21459]: stream state changed: CLOSING -> IDLE
bluetoothd[21459]: avdtp_unref(0xb8ec83f0): ref=1
bluetoothd[21459]: Disconnected from 00:0D:FD:15:F0:3E
bluetoothd[21459]: avdtp_unref(0xb8ec83f0): ref=0
bluetoothd[21459]: avdtp_unref(0xb8ec83f0): freeing session and
removing from list

Any ideas of possible causes of the "stream state change failed:
Input/output error"?

--

-- 
Patryk Zawadzki

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
menno van der klein | 17 Oct 22:06
Picon

Re: Bluez 4.XX pincode authorisation HOW can i use it??

Great it works well!! Thank you very much for your help!

> Johan Hedberg wrote:
>> Hi,
>>
>> If you want to pair devices from the command line you can e.g. use the
>> simple-agent python script (in the test subdirectory of bluez):
>> ./simple-agent hci0 <remote address>
>> It will ask you for the pin on stdin.
>>
>> Johan
>
> Thank you Johan that helped a lot with one of my devices,
>
> python .simple-agent.py hci0 00:1A:80:AB:0A:B1
>
> the simple-agent script can be found at the bluez git in its testing
> directory: git://git.kernel.org/pub/scm/bluetooth/bluez.git
>
> Best regards,
>
> Jelle
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

Met vriendelijke groet,
Menno van der Klein
CreditFUN Media
T: 020-8005157
M: 06-28927919
E: Menno <at> creditfun.nl

Disclaimer
De informatie verzonden in dit e-mail bericht is uitsluitend bestemd voor
de geadresseerde. Gebruik van deze informatie door anderen dan de
geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding
en/of verstrekking van deze informatie aan derden is niet toegestaan.
Hoewel bij de verzending van dit e-mail bericht de nodige zorgvuldigheid
wordt betracht, is een juiste en volledige overdracht van dit e-mail
bericht niet te garanderen. Aan dit e-mail bericht en/of meegezonden
bestanden kunnen geen rechten worden ontleend. Daarnaast kan CreditFUN
Media,of aan haar gelieerde ondernemingen, niet aansprakelijk gehouden
worden voor de gevolgen van eventuele fouten en/of onvolledigheid van de
in het e-mail bericht opgenomen gegevens.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane