public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] BlueZ and headset
@ 2004-02-02 19:18 Michal Semler (volny.cz)
  2004-02-02 21:15 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-02-02 19:18 UTC (permalink / raw)
  To: bluez-users

Hi,

there is a some driver for SCO using ALSA. Does anything exists for good old 
OSS too?

Michal



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] BlueZ and headset
  2004-02-02 19:18 [Bluez-users] BlueZ " Michal Semler (volny.cz)
@ 2004-02-02 21:15 ` Marcel Holtmann
  2004-02-02 21:42   ` Michal Semler (volny.cz)
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-02 21:15 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> there is a some driver for SCO using ALSA. Does anything exists for good old 
> OSS too?

the complete SCO/eSCO stuff needs to be reworked, but I don't see any
future for an OSS driver. ALSA is the choosen architecture for 2.6 and
onwords.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] BlueZ and headset
  2004-02-02 21:15 ` Marcel Holtmann
@ 2004-02-02 21:42   ` Michal Semler (volny.cz)
  2004-02-02 22:57     ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-02-02 21:42 UTC (permalink / raw)
  To: bluez-users

Dne po 2. =FAnora 2004 22:15 Marcel Holtmann napsal(a):
> Hi Michal,
>
> > there is a some driver for SCO using ALSA. Does anything exists for good
> > old OSS too?
>
> the complete SCO/eSCO stuff needs to be reworked, but I don't see any
> future for an OSS driver. ALSA is the choosen architecture for 2.6 and
> onwords.

Well, so implementation from:
http://www.dcs.gla.ac.uk/~jp/snd-bluez-sco/

will never be included and you want write your own implementation?

Michal



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] BlueZ and headset
  2004-02-02 21:42   ` Michal Semler (volny.cz)
@ 2004-02-02 22:57     ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-02 22:57 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> > the complete SCO/eSCO stuff needs to be reworked, but I don't see any
> > future for an OSS driver. ALSA is the choosen architecture for 2.6 and
> > onwords.
> 
> Well, so implementation from:
> http://www.dcs.gla.ac.uk/~jp/snd-bluez-sco/
> 
> will never be included and you want write your own implementation?

I don't want to do this, but we have to, because of Bluetooth 1.2 and
eSCO etc. The other point is, that the snd-bluez-sco driver should be
integrated directly into the SCO module and not running as a kernel
thread, because there is no need for it. However I actually don't know
how this all should look like and work together with the Headset and
Cordless Telephony profiles. And what about A2DP which carries audio
streams over an ACL link?

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bluez-users] Bluez and headset
@ 2007-11-15 13:53 Daniele Primon
  0 siblings, 0 replies; 8+ messages in thread
From: Daniele Primon @ 2007-11-15 13:53 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --]

Hello list. I'm moving first steps with bluez to pair a Nokia BH-100 Cell
phone to use it with VoIP application such as Skype. I'm a Debian user but
at the moment I'm configuring it on Ubuntu Gutsy. Kernel version is
2.6.20-16-generic which include standard bluez support and also has
snd-bt-sco module. The distro comes witch bluez-btsco package at version
0.50 and bluez-utils, at version 3.19. Following the wiki instructions  (
http://wiki.bluez.org/wiki/HOWTO/AudioDevices) pertaining to my utils
version lead me to pair the device. I've tested with aplay -dbluetooth
somefile.wav as indicated but heared only noise. Moreover, wengophone nor
alsamixer detects the device leaving my stuck at it.
Do I have miseed something?
So I tried with the 'old' way, by loading snd-bt-sco module and using the
btsco app, i've been able to have aplay and wengophone work as expected  but
yet still missing mixing. That way would be sufficient to me but I realized
that the btsco has to be restarted if the handset device becomes
unavailable. I think that it should be quite easy to have it started
automatically upon need (and maybe the kernel module reloaded too) - i.e.
when the handset becomes available again. Where should I look for this?
Thanks,
 Daniele Primon

[-- Attachment #1.2: Type: text/html, Size: 1386 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bluez-users] BlueZ and Headset
@ 2008-04-04  7:47 Mahtab Hossain
  2008-04-04 12:08 ` Mahtab Hossain
  2008-04-05 13:28 ` Mahtab Hossain
  0 siblings, 2 replies; 8+ messages in thread
From: Mahtab Hossain @ 2008-04-04  7:47 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 2464 bytes --]

Hi,

I have a Nokia HDW-3 which has been used with btsco successfully before in Fedora 4. Now, it seems I can't somehow pair it.

Here is my hcid.conf file look like:
options {
        # Automatically initialize new devices
        autoinit yes;

        security user;

        pairing multi;

        # Default PIN code for incoming connections
        passkey "BlueZ";
}

hcitool scan or inq can find the headset. And I also have successfully paired with my Motorola Mobile Phone (entering PIN at both Phone and Laptop side) - so I think pairing can be done with the current state of my bluez stack.

The hcidump -X -V always gives me the following results whenever I try to connect with my headset or run some command like, hcitool info <bt-addr of headset> or send direct command like CreateBonding through dbus or even when I switch-on my headset (I wonder why my dongle wants to connect with the headset since I have not saved any information of my headset in the Laptop).

HCI sniffer - Bluetooth packet analyzer ver 1.40
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:03:89:B0:58:91 class 0x200404 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 00:03:89:B0:58:91 role 0x01
    Role: Slave
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:03:89:B0:58:91
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr 00:03:89:B0:58:91
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:03:89:B0:58:91
> HCI Event: Connect Complete (0x03) plen 11
    status 0x06 handle 42 bdaddr 00:03:89:B0:58:91 type ACL encrypt 0x00
    Error: PIN or Key Missing

These are my current bluetooth packages:

rpm -qa | grep bluez*

bluez-utils-3.20-6.fc8
gnome-bluetooth-0.10.0-1.fc8
bluez-libs-3.20-1.fc8
bluez-hcidump-1.40-1.fc8
bluez-utils-cups-3.20-6.fc8
bluez-gnome-0.14-8.fc8
bluez-gnome-analyzer-0.14-8.fc8
pybluez-0.9.2-1.fc7
bluez-utils-alsa-3.20-6.fc8
gnome-bluetooth-libs-0.10.0-1.fc8
bluez-libs-devel-3.20-1.fc8

It would be really helpful if somebody can point me somewhere why the pairing isn't happening.

Thanks
Mahtab

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

[-- Attachment #1.2: Type: text/html, Size: 3121 bytes --]

[-- Attachment #2: Type: text/plain, Size: 278 bytes --]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] BlueZ and Headset
  2008-04-04  7:47 [Bluez-users] BlueZ and Headset Mahtab Hossain
@ 2008-04-04 12:08 ` Mahtab Hossain
  2008-04-05 13:28 ` Mahtab Hossain
  1 sibling, 0 replies; 8+ messages in thread
From: Mahtab Hossain @ 2008-04-04 12:08 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 5017 bytes --]

Dear users,

The problem of headset not pairing was there because my Nokia headset had reached its upper limit on the number of pairings. :)
By going through the headset's manual, I could delete all the stored pairings there in the headset and now it can be paired alright with my Laptop.

But still I am not successful in making it work. Whenever I turn-on the headset, it is automatically paired with the Laptop and I see an ACL connection being established like this:
 > ACL 00:03:89:B0:58:91 handle 42 state 1 lm MASTER AUTH ENCRYPT SECURE

When I try to play song using mplayer, it stops right before "playing" for a long time and I see lots of SCO packets flying (saw it through hcidump) like below:

> SCO data: handle 45 flags 0x00 dlen 48
    0000: 6b 00 6e 00 35 01 7e 01  03 01 cc 00 65 00 71 00  k.n.5.~.....e.q.
    0010: f9 00 51 01 6e 01 17 01  48 01 0e 01 37 00 b8 00  ..Q.n...H...7...
    0020: b0 00 63 00 a1 00 55 00  d5 00 aa 00 3e 00 d8 00  ..c...U.....>...

After sometime, mplayer fails to play with this error:
[AO_ALSA] alsa-lib: pcm_bluetooth.c:1179:(bluetooth_cfg) Error 22 while configuring device
[AO_ALSA] Playback open error: Invalid argument
Could not open/initialize audio device -> no sound.

But I see the SCO packets moving still in hcidump window. I see two connections at this time:

< eSCO 00:03:89:B0:58:91 handle 0 state 8 lm SLAVE 
 > ACL 00:03:89:B0:58:91 handle 42 state 1 lm MASTER AUTH ENCRYPT SECURE

The SCO packets goes flying until I turn off my headset or disconnect. Even if I turn off my headset, I still find this connection with "hcitool con" command:

Connections:
< eSCO 00:03:89:B0:58:91 handle 0 state 9 lm SLAVE 

Would really be helpful if someone explains to me about what is actually going on here.

My .asoundrc file looks like this:
pcm.bluetooth {
        type bluetooth
        device 00:03:89:B0:58:91
        profile "auto"
}


Regards
Mahtab

Mahtab Hossain <mahtab_hossain2002@yahoo.com> wrote: Hi,

I have a Nokia HDW-3 which has been used with btsco successfully before in Fedora 4. Now, it seems I can't somehow pair it.

Here is my hcid.conf file look like:
options {
        # Automatically initialize new devices
        autoinit yes;

        security user;

        pairing multi;

        # Default PIN code for incoming connections
        passkey "BlueZ";
}

hcitool scan or inq can find the headset. And I also have successfully paired with my Motorola Mobile Phone (entering PIN at both Phone and Laptop side) - so I think pairing can be done with the current state of my bluez stack.

The hcidump -X -V always gives me the following results whenever I try to connect with my headset or run some command  like, hcitool info <bt-addr of headset> or send direct command like CreateBonding through dbus or even when I switch-on my headset (I wonder why my dongle wants to connect with the headset since I have not saved any information of my headset in the Laptop).

HCI sniffer - Bluetooth packet analyzer ver 1.40
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:03:89:B0:58:91 class 0x200404 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 00:03:89:B0:58:91 role 0x01
    Role: Slave
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:03:89:B0:58:91
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr  00:03:89:B0:58:91
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:03:89:B0:58:91
> HCI Event: Connect Complete (0x03) plen 11
    status 0x06 handle 42 bdaddr 00:03:89:B0:58:91 type ACL encrypt 0x00
    Error: PIN or Key Missing

These are my current bluetooth packages:

rpm -qa | grep bluez*

bluez-utils-3.20-6.fc8
gnome-bluetooth-0.10.0-1.fc8
bluez-libs-3.20-1.fc8
bluez-hcidump-1.40-1.fc8
bluez-utils-cups-3.20-6.fc8
bluez-gnome-0.14-8.fc8
bluez-gnome-analyzer-0.14-8.fc8
pybluez-0.9.2-1.fc7
bluez-utils-alsa-3.20-6.fc8
gnome-bluetooth-libs-0.10.0-1.fc8
bluez-libs-devel-3.20-1.fc8

It would be really helpful if somebody can point me somewhere why the pairing isn't happening.

Thanks
Mahtab
           

---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

[-- Attachment #1.2: Type: text/html, Size: 6276 bytes --]

[-- Attachment #2: Type: text/plain, Size: 278 bytes --]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] BlueZ and Headset
  2008-04-04  7:47 [Bluez-users] BlueZ and Headset Mahtab Hossain
  2008-04-04 12:08 ` Mahtab Hossain
@ 2008-04-05 13:28 ` Mahtab Hossain
  1 sibling, 0 replies; 8+ messages in thread
From: Mahtab Hossain @ 2008-04-05 13:28 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 3433 bytes --]

I finally could make Nokia HDW-3 work with Fedora 8 by applying the patch listed in this mailing list.

At least everything is fine at the moment though I get the following error while playing (it still plays fine) -

[AO_ALSA] alsa-lib: pcm_bluetooth.c:417:(bluetooth_hsp_hw_params) Protocol not available (92)


Thanks
Mahtab

Mahtab Hossain <mahtab_hossain2002@yahoo.com> wrote: Hi,

I have a Nokia HDW-3 which has been used with btsco successfully before in Fedora 4. Now, it seems I can't somehow pair it.

Here is my hcid.conf file look like:
options {
        # Automatically initialize new devices
        autoinit yes;

        security user;

        pairing multi;

        # Default PIN code for incoming connections
        passkey "BlueZ";
}

hcitool scan or inq can find the headset. And I also have successfully paired with my Motorola Mobile Phone (entering PIN at both Phone and Laptop side) - so I think pairing can be done with the current state of my bluez stack.

The hcidump -X -V always gives me the following results whenever I try to connect with my headset or run some command  like, hcitool info <bt-addr of headset> or send direct command like CreateBonding through dbus or even when I switch-on my headset (I wonder why my dongle wants to connect with the headset since I have not saved any information of my headset in the Laptop).

HCI sniffer - Bluetooth packet analyzer ver 1.40
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:03:89:B0:58:91 class 0x200404 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 00:03:89:B0:58:91 role 0x01
    Role: Slave
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:03:89:B0:58:91
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr  00:03:89:B0:58:91
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:03:89:B0:58:91
> HCI Event: Connect Complete (0x03) plen 11
    status 0x06 handle 42 bdaddr 00:03:89:B0:58:91 type ACL encrypt 0x00
    Error: PIN or Key Missing

These are my current bluetooth packages:

rpm -qa | grep bluez*

bluez-utils-3.20-6.fc8
gnome-bluetooth-0.10.0-1.fc8
bluez-libs-3.20-1.fc8
bluez-hcidump-1.40-1.fc8
bluez-utils-cups-3.20-6.fc8
bluez-gnome-0.14-8.fc8
bluez-gnome-analyzer-0.14-8.fc8
pybluez-0.9.2-1.fc7
bluez-utils-alsa-3.20-6.fc8
gnome-bluetooth-libs-0.10.0-1.fc8
bluez-libs-devel-3.20-1.fc8

It would be really helpful if somebody can point me somewhere why the pairing isn't happening.

Thanks
Mahtab
           

---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

[-- Attachment #1.2: Type: text/html, Size: 4382 bytes --]

[-- Attachment #2: Type: text/plain, Size: 325 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-05 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04  7:47 [Bluez-users] BlueZ and Headset Mahtab Hossain
2008-04-04 12:08 ` Mahtab Hossain
2008-04-05 13:28 ` Mahtab Hossain
  -- strict thread matches above, loose matches on Subject: below --
2007-11-15 13:53 [Bluez-users] Bluez and headset Daniele Primon
2004-02-02 19:18 [Bluez-users] BlueZ " Michal Semler (volny.cz)
2004-02-02 21:15 ` Marcel Holtmann
2004-02-02 21:42   ` Michal Semler (volny.cz)
2004-02-02 22:57     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox