Return-Path: Date: Fri, 11 Feb 2005 10:42:53 -0500 (EST) From: "Jay W. Summet" To: bluez-users@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Bluez-users] Re: Trouble pairing with new phone... Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: >you set yourself into security mode 3 by using auth and encrypt. Are you >sure that you know what you are doing? I'm not sure of anything, but it has worked for me in the past, and I get the exact same results if I comment out the auth and encrypt commands in the hcid.conf file. I've left them commented out for the rest of my debugging. >The PIN helper can't provide a PIN as it seems. Fix this. > I don't think the answer is quite this simple for the following reasons: 1) my hcid.conf file has security auto; which if I understand it correctly is supposed to use the /etc/bluetooth/pin file as opposed to the pin_helper application. 1a) If I change this to "security user" the bluez-pin helper launches (but my Palm T times out before I can enter the PIN on the laptop!) If I try to pair the T610 phone with the laptop when "security user" is set, the bluez-pin helper program DOES NOT LAUNCH, and hcidump -X says the following: HCIDump - HCI packet analyzer ver 1.12 device: hci0 snap_len: 1028 filter: 0xffffffff > HCI Event: Connect Request (0x04) plen 10 B2 E6 1D D9 0A 00 04 02 52 01 < HCI Command: Accept Connection Request (0x01|0x0009) plen 7 B2 E6 1D D9 0A 00 00 > HCI Event: Command Status (0x0f) plen 4 00 01 09 04 > HCI Event: Connect Complete (0x03) plen 11 1A 29 00 B2 E6 1D D9 0A 00 01 00 2) My Palm T pairs correctly with the Pin in the /etc/bluetooth/pin file when I use "security auto" (but the T610 phone does not). 3) I have pin_helper set to /usr/bin/bluez-pin (which when I run it manually appears to work just fine...) and when I (successfully) pair my Palm T, it does not ask me for a pin, but uses the one in the pin file (if "security auto" is set). I find it interesting to note that when "security user" is set, although the bluez-pin program runs, my Palm T fails in the pairing attempt before I have time to enter a Pin. BUT, under the same conditions, the bluez-pin tool never launches when my T610 attempts to pair. {This seems to be a problem with the hcid <-->bluez-pin tool connection?} When I'm using "security auto" the PalmT pairs just fine with the pin in the /etc/bluetooth/pin, but the T610 does not. All of the above tests were done with auth and encrypt turned off. >Even an application with L2CAP_LM_MASTER set can force the role switch >at connection creation. The only applications I'm running are hcid, sdpd and rfcomm which are started in my bluetooth services (rc.d) file. I even commented out the "rfcomm bind all" command from my /etc/rc.d/init.d/bluetooth file, but it didn't change anything. Jay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users