public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] headset connection problem
@ 2004-02-17 13:56 Guang
  2004-02-17 15:44 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Guang @ 2004-02-17 13:56 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Hi  everybody:
I  find  a small problem which  Bluez communicate to headset.
 I  have a PC(red hat linux8.0), and headset( sony ericsson HBH-65).
And I inital bluez;
[root@Bluez bluetooth}#  hcid
[root@Bluez bluetooth}#  hciconfig
hci0:  Type:USB
          BD Address:  00:AA:.................

[root@Bluez bluetooth}#  hcitool  scan
Scanning ...
               00:0A:0A:AA:AA:AA     HBH-65

[root@Bluez bluetooth}# modprobe  l2cap
[root@Bluez bluetooth}#  modprobe  rfcomm
[root@Bluez bluetooth}#  l2ping 00:0A:0A:AA:AA:AA
Can't connect. : Permission denied
[root@Bluez bluetooth}# sdptool browse 00:0A:0A:AA:AA:AA
Failed to connect to SDP server on 00:0A:0A:AA:AA:AA  : Permission denied

What   is   happen?  Why  does headset deny permission? Should I enter  PIN number to tell headset ,or  others solution?

Please help me , thank you very much.











[-- Attachment #2: Type: text/html, Size: 2722 bytes --]

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

* Re: [Bluez-users] headset connection problem
  2004-02-17 13:56 [Bluez-users] headset connection problem Guang
@ 2004-02-17 15:44 ` Marcel Holtmann
       [not found]   ` <003301c3f5c1$9e11b640$7b6b7b8c@guang>
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-17 15:44 UTC (permalink / raw)
  To: Guang; +Cc: BlueZ Mailing List

Hi Guang,

> I  find  a small problem which  Bluez communicate to headset.
>  I  have a PC(red hat linux8.0), and headset( sony ericsson HBH-65).
> And I inital bluez;
> [root@Bluez bluetooth}#  hcid
> [root@Bluez bluetooth}#  hciconfig
> hci0:  Type:USB
>           BD Address:  00:AA:.................
>  
> [root@Bluez bluetooth}#  hcitool  scan
> Scanning ...
>                00:0A:0A:AA:AA:AA     HBH-65
>  
> [root@Bluez bluetooth}# modprobe  l2cap
> [root@Bluez bluetooth}#  modprobe  rfcomm
> [root@Bluez bluetooth}#  l2ping 00:0A:0A:AA:AA:AA
> Can't connect. : Permission denied
> [root@Bluez bluetooth}# sdptool browse 00:0A:0A:AA:AA:AA
> Failed to connect to SDP server on 00:0A:0A:AA:AA:AA  : Permission
> denied
>  
> What   is   happen?  Why  does headset deny permission? Should I enter
> PIN number to tell headset ,or  others solution?

run "hcidump -w <file>" (as root) and show us the dump.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] headset connection problem
       [not found]   ` <003301c3f5c1$9e11b640$7b6b7b8c@guang>
@ 2004-02-18  6:40     ` Marcel Holtmann
       [not found]       ` <001101c3f630$bd389150$7b6b7b8c@guang>
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-18  6:40 UTC (permalink / raw)
  To: Guang; +Cc: BlueZ Mailing List

Hi Guang,

> > run "hcidump -w <file>" (as root) and show us the dump.
> 
> 
> sorry, how do i use the "hcidump " command?
> For example, "hcidump -w <file> " ,what does the "file" mean?

the run of "hcidump -w dumpfile" produces a file named "dumpfile". If
you think you are finished press CTRL-C and send us the file.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] headset connection problem
       [not found]       ` <001101c3f630$bd389150$7b6b7b8c@guang>
@ 2004-02-18 15:47         ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-18 15:47 UTC (permalink / raw)
  To: Guang; +Cc: BlueZ Mailing List

Hi Guang,

> I already run "hcidump -w dumpfile ",but I don't know whether the file "
> dumpfile " is correct ?
> The dumpfile  as attache file .
> 
> Could you help me to check it ?

you can read it with "hcidump -r dumpfile". Why does nobody read the man
pages :(

However the PIN request fails and I think this because the PIN helper
program can't be executed. And you should count your number of hcid's
running. There should be only one.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-02-18 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 13:56 [Bluez-users] headset connection problem Guang
2004-02-17 15:44 ` Marcel Holtmann
     [not found]   ` <003301c3f5c1$9e11b640$7b6b7b8c@guang>
2004-02-18  6:40     ` Marcel Holtmann
     [not found]       ` <001101c3f630$bd389150$7b6b7b8c@guang>
2004-02-18 15:47         ` Marcel Holtmann

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