All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Bluez-devel] btsco doesn't start
  2005-02-01 13:28 ` Lars Grunewaldt
@ 2005-02-01  9:05   ` Nathanael Morrison
  2005-02-02 15:05     ` Nicolas Montavont
  0 siblings, 1 reply; 4+ messages in thread
From: Nathanael Morrison @ 2005-02-01  9:05 UTC (permalink / raw)
  To: bluez-devel

Hi Nicolas,

I had similar problems getting the M2500 headset, it's not getting the 
Pin # when first connecting.  I created a simple file pin_helper_simple:

#----------------------
#!/bin/sh
echo "PIN:0000"
#----------------------

Then I modified the hcid.conf under options{} and pointed to the new pin 
helper:

pin_helper /etc/bluetooth/pin_help_simple;

After that running btsco <address> worked. Also note, for the first 
connection you might have to put the headset into pairing mode.

Cheers,

Nathanael


Lars Grunewaldt wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nicolas Montavont wrote:
> | Dear Developers,
> |
> | I just bought an Plantronics M2500 headset and I have problems to make
> | it work in my linux box. I hope you can help me.
> |
> | The problem is I can not start btsco. Here is the output when I try to
> | start btsco :
> |
> | Device is 2:0
> | Error: btsco open (2-0): No such device or address
> |
>
> looks like an alsa problem, because this device means the alsa device.
> It detects that your snd-bt-sco is device 2 (third sound card) but it
> seems to have a problem to connect. Maybe a problem with alsa-lib? Can
> you connect to the snd-bt-sco by other programs, like alsamixer? In your
> case it should be alsamixer -c2
>
> I'm no expert for this part though... (if I'm for any part at all, 
> anyway).
>
> best regards,
> ~  Lars
>
>
> - --
> Lars Grunewaldt
> * software development
> * multimedia design
> skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
> web: http://www.dark-reality.de
> mail: lgw@dark-reality.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFB/4QRQWC6DTWkDAoRAnpdAKClq19p+Wyc1rU/JomO/HzxhbRUJACbBHWF
> MY2O6Xn/5fJl3TuSr8r2lms=
> =Jkho
> -----END PGP SIGNATURE-----
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* [Bluez-devel] btsco doesn't start
@ 2005-02-01 13:04 Nicolas Montavont
  2005-02-01 13:28 ` Lars Grunewaldt
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Montavont @ 2005-02-01 13:04 UTC (permalink / raw)
  To: bluez-devel

Dear Developers,

I just bought an Plantronics M2500 headset and I have problems to make 
it work in my linux box. I hope you can help me.

The problem is I can not start btsco. Here is the output when I try to 
start btsco :

Device is 2:0
Error: btsco open (2-0): No such device or address

Here are the details of my settings:

I have a bluetooth PCMCIA 3com card, version 3 (driver serial_cs and 
hci_uart), and a linux-2.6.9 kernel (with bluetooth support from this 
kernel), btsco from CVS (revision 1.4 when I load the module). Alsa 
driver (1.0.8) were compiled outised the kernel.

I also try with the linux-2.6.10 kernel with patch-2.6.10-mh3.gz from 
bluez, and I get the same.

Once I did hciconfig hci0 up and hciattach ttySx 3com, I can see my 
headseat :
hcitool scan gives me :

00:03:89:79:84:48       M2500 by Plantronics
(to have this result, I have to put the headset in connection mode.)

but hcitool info 00:03:89:79:84:48 gives me :

Requesting information ...
Can't create connection: Connection timed out

I have same outputs if I try sdptool (sdptool browse or cc...)

In the Readme file it is written
3. run the daemon (enter the passkey if it's the first time 'round)
         btsco bdaddress

How can I set the passkey ? I know I have a code (0000), when do I have 
to set up this code ?

Here are other details, as you suggest in readme file :

hciconfig -a :

hci0:   Type: UART
         BD Address: 00:0A:5E:00:E1:12 ACL MTU: 192:8 SCO MTU: 64:8
         UP RUNNING PSCAN ISCAN
         RX bytes:1605 acl:0 sco:0 events:63 errors:0
         TX bytes:296 acl:0 sco:0 commands:29 errors:0
         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
         Link policy:
         Link mode: SLAVE ACCEPT
         Name: 'NICONET'
         Class: 0x000000
         Service Classes: Unspecified
         Device Class: Miscellaneous,
         HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP 
Subver: 0x1bb
         Manufacturer: Cambridge Silicon Radio (10)

hciconfig hci0 revision

hci0:   Type: UART
         BD Address: 00:0A:5E:00:E1:12 ACL MTU: 192:8 SCO MTU: 64:8
         HCI 15.3
         Chip version: BlueCore02-External
         Max key size: 56 bit
         SCO mapping:  HCI

Any help would be really appreciated. Thanks a lot...

Nicolas



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] btsco doesn't start
  2005-02-01 13:04 [Bluez-devel] btsco doesn't start Nicolas Montavont
@ 2005-02-01 13:28 ` Lars Grunewaldt
  2005-02-01  9:05   ` Nathanael Morrison
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Grunewaldt @ 2005-02-01 13:28 UTC (permalink / raw)
  To: bluez-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicolas Montavont wrote:
| Dear Developers,
|
| I just bought an Plantronics M2500 headset and I have problems to make
| it work in my linux box. I hope you can help me.
|
| The problem is I can not start btsco. Here is the output when I try to
| start btsco :
|
| Device is 2:0
| Error: btsco open (2-0): No such device or address
|

looks like an alsa problem, because this device means the alsa device.
It detects that your snd-bt-sco is device 2 (third sound card) but it
seems to have a problem to connect. Maybe a problem with alsa-lib? Can
you connect to the snd-bt-sco by other programs, like alsamixer? In your
case it should be alsamixer -c2

I'm no expert for this part though... (if I'm for any part at all, anyway).

best regards,
~  Lars


- --
Lars Grunewaldt
* software development
* multimedia design
skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
web: http://www.dark-reality.de
mail: lgw@dark-reality.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/4QRQWC6DTWkDAoRAnpdAKClq19p+Wyc1rU/JomO/HzxhbRUJACbBHWF
MY2O6Xn/5fJl3TuSr8r2lms=
=Jkho
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] btsco doesn't start
  2005-02-01  9:05   ` Nathanael Morrison
@ 2005-02-02 15:05     ` Nicolas Montavont
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Montavont @ 2005-02-02 15:05 UTC (permalink / raw)
  To: bluez-devel; +Cc: nathanael

Hi Nathanael and Lars,

Thanks a lot for these clarifications... I succeed to establish the 
connection through btsco.
I finaly use the alsa modules in the kernel and make the  modification 
to hcid.conf.

While it worked with aplay, it didn't work with gnomemeeting and then I 
tried to disconnect and reconnect. Now, I always get the following 
message, even after rebooting :

Can't connect RFCOMM channel: Permission denied

If I try sdptool --search ... it gives me the same output (Permission 
denied).

I get this either if I put the headset in pairing mode or not.

I am sorry to ask these questions, I am not really familiar with this 
equipment...

Thanks again !

Nicolas

Nathanael Morrison wrote:

> Hi Nicolas,
>
> I had similar problems getting the M2500 headset, it's not getting the 
> Pin # when first connecting.  I created a simple file pin_helper_simple:
>
> #----------------------
> #!/bin/sh
> echo "PIN:0000"
> #----------------------
>
> Then I modified the hcid.conf under options{} and pointed to the new 
> pin helper:
>
> pin_helper /etc/bluetooth/pin_help_simple;
>
> After that running btsco <address> worked. Also note, for the first 
> connection you might have to put the headset into pairing mode.
>
> Cheers,
>
> Nathanael
>
>
> Lars Grunewaldt wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Nicolas Montavont wrote:
>> | Dear Developers,
>> |
>> | I just bought an Plantronics M2500 headset and I have problems to make
>> | it work in my linux box. I hope you can help me.
>> |
>> | The problem is I can not start btsco. Here is the output when I try to
>> | start btsco :
>> |
>> | Device is 2:0
>> | Error: btsco open (2-0): No such device or address
>> |
>>
>> looks like an alsa problem, because this device means the alsa device.
>> It detects that your snd-bt-sco is device 2 (third sound card) but it
>> seems to have a problem to connect. Maybe a problem with alsa-lib? Can
>> you connect to the snd-bt-sco by other programs, like alsamixer? In your
>> case it should be alsamixer -c2
>>
>> I'm no expert for this part though... (if I'm for any part at all, 
>> anyway).
>>
>> best regards,
>> ~  Lars
>>
>>
>> - --
>> Lars Grunewaldt
>> * software development
>> * multimedia design
>> skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
>> web: http://www.dark-reality.de
>> mail: lgw@dark-reality.de
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.3 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>> iD8DBQFB/4QRQWC6DTWkDAoRAnpdAKClq19p+Wyc1rU/JomO/HzxhbRUJACbBHWF
>> MY2O6Xn/5fJl3TuSr8r2lms=
>> =Jkho
>> -----END PGP SIGNATURE-----
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>> Tool for open source databases. Create drag-&-drop reports. Save time
>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>> _______________________________________________
>> Bluez-devel mailing list
>> Bluez-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-02-02 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 13:04 [Bluez-devel] btsco doesn't start Nicolas Montavont
2005-02-01 13:28 ` Lars Grunewaldt
2005-02-01  9:05   ` Nathanael Morrison
2005-02-02 15:05     ` Nicolas Montavont

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.