After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583651 - Pin code for Sony CMT-DH5BT too long
Pin code for Sony CMT-DH5BT too long
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-05-23 15:25 UTC by Ruben Vermeersch
Modified: 2009-05-23 16:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ruben Vermeersch 2009-05-23 15:25:10 UTC
When connecting to a Sony CMT-DH5BT, a 6 digit pincode is proposed, whereas it only accepts 4 digits.

hcitool info:

	BD Address:  00:1A:80:3A:93:46
	OUI Company: Sony Corporation (00-1A-80)
	Device Name: CMT-DH5BT
	LMP Version: 2.0 (0x3) LMP Subversion: 0xbf1
	Manufacturer: Cambridge Silicon Radio (10)
	Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
		<3-slot packets> <5-slot packets> <encryption> <slot offset> 
		<timing accuracy> <role switch> <hold mode> <sniff mode> 
		<park state> <RSSI> <channel quality> <SCO link> <HV2 packets> 
		<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme> 
		<power control> <transparent SCO> <broadcast encrypt> 
		<enhanced iscan> <interlaced iscan> <interlaced pscan> 
		<inquiry with RSSI> <AFH cap. slave> <AFH class. slave> 
		<AFH cap. master> <AFH class. master> <extended features> 

$ rpm -q gnome-bluetooth
gnome-bluetooth-2.27.5-1.fc11.i586
Comment 1 Ruben Vermeersch 2009-05-23 15:30:44 UTC
$ hcitool inq 00:1A:80:3A:93:46
Inquiring ...
	00:1A:80:3A:93:46	clock offset: 0x4190	class: 0x240428
Comment 2 Bastien Nocera 2009-05-23 16:17:50 UTC
Let me know (and reopen the bug) if you don't get a 4 digit, random pin code when pairing with your sony speakers.

commit bd08d3a4dd12da21343fad83785606975a14e598
Author: Bastien Nocera <hadess@hadess.net>
Date:   Sat May 23 17:09:49 2009 +0100

    Bug 583651 – Pin code for Sony CMT-DH5BT too long
    
    Add a way to force the number of digits in the PIN code for a
    particular device.
    
    The Sony CMT-DH5BT can enter random pincodes, but with a maximum of
    4 digits. Add a quirk for that, and remove the hardcoding of 6 pin
    digits (replacing it with a #define in pin.h)