Bug 286466 - bluedevil wiimote database pin-key error
Summary: bluedevil wiimote database pin-key error
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Unmaintained
Component: bluetooth (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 05:47 UTC by Dyrver Eriksson
Modified: 2012-04-29 03:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dyrver Eriksson 2011-11-13 05:47:57 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

Pair my Wiimote to my PC since I upgraded to kernel 3.1 which should have Wiimote support built in. But in the file supplied with bluedevil 1.2.2 "/usr/share/apps/bluedevilwizard/pin-code-database.xml" investigating shows me:<!-- Wiimote -->
<device name="Nintendo RVL-CNT-01" pin="WII"/>
Trying to pair the Wiimote atm it will just shut down and the wizard keeps trying to keep on pairing even after the connection sure should be lost. Fixed this by replacing the pin in the database file (Where did this pin come from?) and replacing pin WII with NULL fixes this, now I can pair it no problem at all. Thanks!

Reproducible: Always

Steps to Reproduce:
Get your Wiimote, goto add device, press 1 and 2 on wiimote and try to pair.

Actual Results:  
Wiimote shuts down and bluedevil-wizard keeps on spinning an icon until you abort manually.

Expected Results:  
Wiimote stops blinking, bluedevil tell me "input-device paired"

The wizard should have a true NULL key option, "Try to pair without a Key" or manual type of NULL by typing nothing before a pair for full bluetoothing support. :)
Comment 1 Dyrver Eriksson 2012-02-28 20:48:16 UTC
http://wiibrew.org/wiki/Wiimote#Sync_Button For the correct use of the WII pin, which Bluedevil does not seem to have.
Comment 2 Alex Fiestas 2012-04-29 03:18:26 UTC
Git commit 96ccf519cd6e1e73889822049bcf7e3a48cc4b37 by Alex Fiestas.
Committed on 28/04/2012 at 04:56.
Pushed by afiestas into branch '1.1'.

If the device gets paired and no button has been clicked, page is valid

Wiimote is (I think) the first case where SSP is done without having
to confirm any code, this happens because Bluez is doing everything
internally for us (generating the pin for Wiimote). Actually Wiimote
uses legacyPairing internally though bluez is returning false on
legacypairing.

To make this work BlueZ 4.96 is needed

M  +3    -0    src/wizard/pages/ssppairing.cpp

http://commits.kde.org/bluedevil/96ccf519cd6e1e73889822049bcf7e3a48cc4b37