Skip to contentSkip to conversation

headset connection problem

Bluez-users Guang 2 participants 4 messages Feb 17, 2004 – Feb 18, 2004 2 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

Guang

author
#0 lore raw

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.

maintainer
#1 lore raw

Hi Guang,

Quoted 20 lines

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

Quoted 2 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): 003301c3f5c1$9e11b640$7b6b7b8c@guang

maintainer
#3 lore raw

Hi Guang,

Quoted 5 lines
Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): 001101c3f630$bd389150$7b6b7b8c@guang

maintainer
#5 lore raw

Hi Guang,

Quoted 5 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users