2004-02-16 20:55:47

by Radoslav Reznicek

[permalink] [raw]
Subject: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want
connect to phone, phone ask me for PIN. After enter PIN phone says "bad
PIN". PC do not ask me for PIN. When I try run bluepin script from shell,
it return error. What do I bad?
OS Mandrake9.2 kernel 2.4.22
When I using Windows, i-Tech BT USB dongle and phone work correctly.

[root@localhost bluetooth]# hcitool scan
Scanning ...
00:60:57:10:CE:17 Nokia 6310i
[root@localhost bluetooth]# rfcomm connect rfcomm0 00:60:57:10:CE:17
Can't connect RFCOMM socket: Connection refused
[root@localhost bluetooth]# bluepin
Traceback (most recent call last):
File "/bin/bluepin", line 39, in ?
class Dialog(GtkDialog):
NameError: name 'GtkDialog' is not defined
[root@localhost bluetooth]#


[root@localhost bluetooth]#cat /var/log/syslog
Feb 15 18:26:10 localhost kernel: BlueZ RFCOMM ver 1.0
Feb 15 18:26:10 localhost kernel: Copyright (C) 2002 Maxim Krasnyansky
<[email protected]>
Feb 15 18:26:10 localhost kernel: Copyright (C) 2002 Marcel
Holtmann<[email protected]>
Feb 15 18:26:35 localhost hcid[1587]: link_key_request
(sba=C3:D1:00:1B:08:00, dba=17:CE:10:57:60:00)
Feb 15 18:26:37 localhost hcid[1587]: pin_code_request
(sba=C3:D1:00:1B:08:00, dba=17:CE:10:57:60:00)
Feb 15 18:28:06 localhost hcid[1587]: pin_code_request
(sba=C3:D1:00:1B:08:00, dba=17:CE:10:57:60:00)
Feb 15 18:29:51 localhost hcid[1587]: pin_code_request
(sba=C3:D1:00:1B:08:00, dba=17:CE:10:57:60:00)



-------------------------------------------------------
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


2004-02-19 16:32:13

by Radoslav Reznicek

[permalink] [raw]
Subject: RE: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

SOLVED

(see HOWTO http://www.holtmann.org/linux/bluetooth/)

File
/etc/bluetooth/hcid.conf
contains bad pin_helper (/bin/bluepin)

To make this work with the hcid.conf file above you need the
/etc/bluetooth/givepin script. Here is mine:

##############givepin##########
#!/bin/sh
echo "PIN:123456"
################

Just open an editor and copy this into a file and save it as
/etc/bluetooth/givepin Then do

chmod 710 /etc/bluetooth/givepin

Thank to Pavel Ruzicka


Radoslav Reznicek



-------------------------------------------------------
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

2004-02-17 19:47:46

by Radoslav Reznicek

[permalink] [raw]
Subject: RE: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

> I was similar problem with Mandrake. You can try edit file
> /etc/bluetooth/pin
> and change "BlueZ" to some numbers "1234". But I don't know,
> if I make some

File /etc/bluetooth/pin contains only digits (my PIN).

Radoslav Reznicek


-------------------------------------------------------
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

2004-02-17 19:21:30

by Pavel Ruzicka

[permalink] [raw]
Subject: Re: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

Hello,

> what vendor ID and product ID have your i-Tech (i-Tec?) dongle?

it's mistake, but I don't have i-Tec dongle, but your problem is probably
general for Mandrake. I use Mandrake 9.2. And if your dongle communicate to
phone, and fail for PIN, there will be probably problem with PIN file.

Today I buy MSI USB dongle. I will try connection to phone and Zaurus later.
Maybe I can write some details after testing.

Best regards,

Pavel Ruzicka



-------------------------------------------------------
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

2004-02-17 09:48:04

by Rudolf Matousek

[permalink] [raw]
Subject: Re: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

Dear Pavel,

what vendor ID and product ID have your i-Tech (i-Tec?) dongle?

Regards,


Ruda Matousek

--

Pavel Ruzicka wrote:
> Hello,
>=20
>=20
>>I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want
>>connect to phone, phone ask me for PIN. After enter PIN phone says "ba=
d
>>PIN". PC do not ask me for PIN. When I try run bluepin script from she=
ll,
>>it return error. What do I bad?
>>OS Mandrake9.2 kernel 2.4.22
>>When I using Windows, i-Tech BT USB dongle and phone work correctly.
>=20
>=20
> I was similar problem with Mandrake. You can try edit file /etc/bluetoo=
th/pin
> and change "BlueZ" to some numbers "1234". But I don't know, if I make =
some
> other actions. Maybe restart of init script...
>=20
> Best regards,
>=20
> Pavel R=F9=BEi=E8ka
>=20
>=20
>=20
> -------------------------------------------------------
> 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_id438&op=CCk
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users



-------------------------------------------------------
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

2004-02-16 21:47:13

by Pavel Ruzicka

[permalink] [raw]
Subject: Re: [Bluez-users] pairing i-Tech BT USB dongle and Nokia 6310i

Hello,

> I can't paired i-Tech BT USB dongle and phone Nokia 6310i. When I want
> connect to phone, phone ask me for PIN. After enter PIN phone says "bad
> PIN". PC do not ask me for PIN. When I try run bluepin script from shell,
> it return error. What do I bad?
> OS Mandrake9.2 kernel 2.4.22
> When I using Windows, i-Tech BT USB dongle and phone work correctly.

I was similar problem with Mandrake. You can try edit file /etc/bluetooth/p=
in
and change "BlueZ" to some numbers "1234". But I don't know, if I make some
other actions. Maybe restart of init script...

Best regards,

Pavel R=F9=BEi=E8ka



-------------------------------------------------------
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