Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 11:40:02 -0700
From:      "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com>
To:        "Gergely CZUCZY" <phoemix@harmless.hu>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Nokia 6310i and gammu
Message-ID:  <bb4a86c70708161140v652ceddfk698ed714e70923a2@mail.gmail.com>
In-Reply-To: <20070816105005.GA24403@harmless.hu>
References:  <20070816105005.GA24403@harmless.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70708161140v652ceddfk698ed714e70923a2>