[Desktop-packages] [Bug 1492443] Re: bluetooth-wizard cannot pair with a 1byone bluetooth keyboard (or possibly, any keyboard that requires a PIN code?)

2016-04-07 Thread Maurizio Gobbo
I can confirm, the bug is still present on unity-control-center (15.04.0+16.04.20160315-0ubuntu1). Tested with 1byone keyboard (both bluetooth 2.1 and 4.0 adapters) and also with a Microsoft Wedge Keyboard (just when using a bluetooth 2.1 adapter) If I put the PIN Code show in the btmon output t

[Desktop-packages] [Bug 1492443] Re: bluetooth-wizard cannot pair with a 1byone bluetooth keyboard (or possibly, any keyboard that requires a PIN code?)

2016-04-07 Thread Maurizio Gobbo
I've found the problem. The function display_pincode_callback in panels/bluetooth/gnome-bluetooth/wizard/main.c is empty so the gtk ui wont show the pincode (like for the passkey auth). Quick solution is to change the function to: static void display_pincode_callback (GDBusMethodInvocation *invoc

[Desktop-packages] [Bug 1492443] Re: bluetooth-wizard cannot pair with a 1byone bluetooth keyboard (or possibly, any keyboard that requires a PIN code?)

2016-04-07 Thread Maurizio Gobbo
@Sebastien, I've just edited the display_pincode_callback function like in my last post and now the bluetooth-wizard show me the label_ssp_pin widget page with the correct pin code to insert. I've seen that the display_pincode_callback function is used just when i try to pair an old device and/o