From owner-freebsd-bluetooth@FreeBSD.ORG Thu Aug 16 18:40:04 2007 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE9D716A4AC for ; Thu, 16 Aug 2007 18:40:04 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 6127713C428 for ; Thu, 16 Aug 2007 18:40:03 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so199533nfb for ; Thu, 16 Aug 2007 11:40:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ENHnWnfppMri/jYaaIB5gxVB+mRz74OSSoMPeH7tDkEKMvgrKI+Wo8OFR8RBESPqCcZTm0RHPh7ctiIDnsXiqLS75/OOtM7gj9jyL8TlO9YLKqgfUPe2zlhU31NEl0FaLxIfqqeNZ/ElJEjn7jZ4XRhlWWcO4tu0EIVHIph/D6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=udpJhdWzh8l/68zO3b5VJ938q/WY1WWuS2SK72MJS126vJUt0pyIXvNyNlfPZsYEDoAt81k7w6TwPl98YhPSIySaydJkftMlxmX7wrVVkUdeTwU5OSWbMPkh1OaKMfy+PgHM0Gbvn78Z6UutGNVyS+4E8QJLPSa2KEiZOTukQ5g= Received: by 10.86.71.1 with SMTP id t1mr1438698fga.1187289602535; Thu, 16 Aug 2007 11:40:02 -0700 (PDT) Received: by 10.86.25.9 with HTTP; Thu, 16 Aug 2007 11:40:02 -0700 (PDT) Message-ID: Date: Thu, 16 Aug 2007 11:40:02 -0700 From: "Maksim Yevmenkin" To: "Gergely CZUCZY" In-Reply-To: <20070816105005.GA24403@harmless.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070816105005.GA24403@harmless.hu> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Nokia 6310i and gammu X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 18:40:05 -0000 hello, > I'm trying to back up my phone address book on my nokia 6310i > (yeah, i know it's old, bit it still works), and I've got > some questions on this. > > I'm on a few months old 6-STABLE. > > 1) i'd like to achive this with gammu, and currently it doesn't work, > --identify shows nothing but exists. ok > 2) do i need bthidd? how should i write its configuration file, since > there are no manuals or anything on google for it? no you do not need it, and bthidd(8) comes with manual page in base system > 3) many references mention /etc/rc.bluetooth, but i have no such file. > what should i do with this? how can i initalize my ubt0 device? the references are not correct (or you made a typo). there is a /etc/rc.d/bluetooth script that would initialize your device as soon as you plugged it in. all you need to do is to - load ng_ubt(4) module - make sure devd(8) is running - attach your device for more details look at /etc/devd.conf and related manual pages > 4) I don't know if it's gammu's or freebsd's fault, but when > i do "gammu --identify" it does simply nothing. > I'm unable to persuade it for some kind of verbose output, and > I'm still looking for some way to contact with the gammu devs. > i've tried all the related gammu connection methods, but nothing > works. gammu will use serial port profile to talk to bluetooth enabled phone. before trying gammu you can try rfcomm_sppd(1) to see if your phone allows you to use serial port profile. you will probably need to pair your phone and pc. once you get rfcomm_sppd(1) working then you can move to gammu. > ``hccontrol inquiry'' shows my phone, i've got that. then it means your bluetooth device was initialized and appear to be working > I don't really know what is this "key" thingie in the config, > wasn't able to find such a thing in my phone. And i've got > the PIN code turned off in the phone. key is the link key. pin is a pin code that you need for paring. since most (all?) phones only allow to enter pin you need to configure pin code for your phone in /etc/bluetooth/hcsecd.conf and then pair your phone and pc. hint: enter the same pin code on your phone when prompted > Where could I find some resources on how to get this thing > work? freebsd handbook is a good start http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html > Anybody had any successes with gammu and freebsd? yes, last time i tried it worked for me. > Are there other tools with which I can back up my > phone book on this nokia using bluetooth? nokia's are notoriously bad (imo) in this regard. the only way, i know of, is to use serial port profile and issue a bunch of at commands to get entries in phone book and that is what gammu/gnoki does. other (than nokia) phones will allow you to push all phone book and/or individual entries using obex and there is comms/opexapp application in freebsd port collections for that. thanks, max