Bug 472686 - Random pin pairing problem
Summary: Random pin pairing problem
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bluez-gnome
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-23 13:19 UTC by Jóhann B. Guðmundsson
Modified: 2009-03-04 16:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-04 16:11:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jóhann B. Guðmundsson 2008-11-23 13:19:42 UTC
Description of problem:

Have been trying to connect a RIKALINE GPS Bluetooth dongle
and to do so I need to be able to enter the devices pin code
but when using the Bluetooth device wizard it detects the device 
fine then it tries to pair with the devices with some random pin number it ask me to enter a pin on the device ( for a split second ) the fails to connect 

Now the problem here is on this particular device I cannot enter
a pin code I need to set the pin code manually on the client that is trying to connect to the device to be able to pair with it.

I believe this causing a trouble for a lot of people since theres a lot of
devices out there that have a default pin of 1234 or 0000 etc...

[root@localhost bluetooth]# hcitool scan && hcitool inq 
Scanning ...
	00:00:00:00:54:4D	Rikaline
Inquiring ...
	00:00:00:00:54:4D	clock offset: 0x75a1	class: 0x000000


The default pin is 0000

Version-Release number of selected component (if applicable):

gnome-bluetooth-0.11.0-5.fc10.x86_64
gnome-bluetooth-libs-0.11.0-5.fc10.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Click the bluetooth icon 
2. Setup new device 
3. 
  
Actual results:

The wizard fails to pair with device.

Expected results:

The wizard to be able to pair with the device 
if it fails with a random pin then try common ones ( 1234 or 0000 etc ) if that fails prompt the user to enter the pin then try to pair with it again.

Additional info:

Comment 1 Bug Zapper 2008-11-26 05:49:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Andrey 2009-02-23 23:23:47 UTC
This seems to be upstream issue. Ubuntu 8.10 has the same issue:

https://bugs.launchpad.net/fedora/+source/bluez-gnome/+bug/284994

Upstream Gnome bug (with a bit hot discussion) posted here:

http://bugzilla.gnome.org/show_bug.cgi?id=560316

Follow-up in Gnome mailing list here:

http://thread.gmane.org/gmane.linux.bluez.kernel/717/focus=721

Does anybody (from Fedora developers) know if there are any [positive] change ?

Comment 3 Andrey 2009-02-25 09:06:43 UTC
Some updates:

1. Upstream bugzilla has more than 20 bugs opened with requests to support specific devices (including one from me personally):

http://bugzilla.gnome.org/buglist.cgi?product=bluez-gnome&bug_status=NEW&bug_status=REOPENED&bug_status=ASSIGNED&bug_status=UNCONFIRMED&component=wizard

2. Vincent Untz has proposed a patch to solve the issue here:

http://bugzilla.gnome.org/show_bug.cgi?id=570457

He also posted this patch in the mailing list:

http://article.gmane.org/gmane.linux.bluez.kernel/1399

I have not found any feedback so far (2 weeks away now) neither in Bugzilla, nor in mailing list, nor in the code tree.

Jiri, can you please be so kind to discuss the issue with responsible Gnome developer (Bastien Nocera) ? He seems to be a bit hard talking to regular users, may be developer-to-developer discussion will be more efficient ? Of course, if this is acceptable for you.

Comment 4 Jiri Moskovcak 2009-02-25 11:38:04 UTC
Hi, I take a look at this asap (tommorow probably) and try to come up with some solution.

Jirka

Comment 5 Andrey 2009-02-28 12:21:59 UTC
Jiri, it seems that Bastien has made pretty substantial changes in the upstream. I wonder what should be further steps with this bug - should we wait until the next release of gnome-bluetooth ?

Comment 6 Bastien Nocera 2009-03-04 16:11:56 UTC
gnome-bluetooth != bluez-gnome.

I never saw this bug because you posted it against a package which contains a bunch of outdated libs only used by gnome-phone-manager.

FWIW, fixed in bluez-gnome in a nasty way, a proper fix will be in the gnome-bluetooth fork of bluez-gnome when it lands in rawhide.

"yum --enablerepo=rawhide update bluez-gnome" should do the trick for you. I also added your device to the PIN database in gnome-bluetooth SVN trunk.


Note You need to log in before you can comment on or make changes to this bug.