1 Jun 03:34 2008

### Re: New phone needs new settings

>>>>> "Daniele" == Daniele Forsi <dforsi <at> gmail.com> writes:

Daniele> replace aa:bb:cc:dd:ee:ff with Bluetooth address of phone (use the
Daniele> sdptool command)

Daniele> you may also need to add a line with the correct channel number
Daniele> in my case it is rfcomm_channel = 3 instead of the default "1"

Thanks, that works.  Now I have to remember my passcode to do anything
with it, but clearly the computer can talk to the phone if the phone
decides it wants to talk.

--

--
Laura   (mailto:lconrad <at> laymusic.org http://www.laymusic.org/ )
(617) 661-8097	233 Broadway, Cambridge, MA 02139

I have only one superstition. I touch all the bases when I hit a home
run.

Babe Ruth

1 Jun 17:27 2008

### Re: New phone needs new settings

>>>>> "Laura" == Laura Conrad <lconrad <at> laymusic.org> writes:

Laura> Thanks, that works.  Now I have to remember my passcode to do anything
Laura> with it, but clearly the computer can talk to the phone if the phone
Laura> decides it wants to talk.

I'm still having trouble.

I type:

/usr/local/bin/gnokii --identify

on my computer, and it says:

Serial device: opening device 00:1C:D4:5E:CF:7A

connect with?
cornet-0

and I hit OK, and then it says:

Enter passcode:

and whatever I type it says "pairing with cornet-0" very briefly and
then says "pairing failed" and then the computer says:

Can't connect: Connection refused
Couldn't open PHONET device: Connection refused


1 Jun 17:34 2008

### config problem (low priority bug)


When I first build gnokii 0.6.26 via ./configure;make;make install, on
my ubuntu 7.10 system, it didn't have any obvious errors, but it
didn't build xgnokii.

After I looked at the INSTALL directions and checked the libraries, it
turned out that I didn't have libgtk2.0-dev installed, and after
installing that, xgnokii built fine.

I don't remember what was on the screen yesterday after I ran ./configure, but when I found
this morning that xgnokii wasn't there, I looked at config.log, and
the end was similar to the current config.log:

#define HAVE_VSNPRINTF 1
#define HAVE_GETLINE 1
#define HAVE_C99_SNPRINTF 1
#define HAVE_C99_VSNPRINTF 1
#define XVERSION "1.0"
#define SVERSION "1.4.2"
#define SBINDIR "/usr/local/sbin"
#define PREFIX "/usr/local"

configure: exit 0

On the screen this morning, there was a nice summary of what config
had found.  You might want to fix things so that that summary comes at
the end of the log, or to check whether config could report the
problem with the missing libgtk2.0-dev more prominently or helpfully.

--

--


1 Jun 23:05 2008

### Re: New phone needs new settings

Hi,

On Sun, Jun 1, 2008 at 5:27 PM, Laura Conrad <lconrad <at> laymusic.org> wrote:
[...]
> and whatever I type it says "pairing with cornet-0" very briefly and
> then says "pairing failed" and then the computer says:

You probably don't have pass agent running on your PC. Refer to
bluez/your distro help on how to run it.

> I don't actually know of a number that's called "passcode".  I know a
> security code and a pin, and there's also something called a PIN2 that
> apparently goes with the SIM card and I don't know it.

This is a PIN code that you need to enter on PC and phone side. This
is nothing predefined -- they just need to match on both ends to
authenticate the connection.

You may also to search your phone to disable PIN authentication for
the paired device.

pkot
--

--
Pawel Kot

1 Jun 23:10 2008

### Re: config problem (low priority bug)

Hi,

On Sun, Jun 1, 2008 at 5:34 PM, Laura Conrad <lconrad <at> laymusic.org> wrote:
> On the screen this morning, there was a nice summary of what config
> had found.  You might want to fix things so that that summary comes at
> the end of the log, or to check whether config could report the
> problem with the missing libgtk2.0-dev more prominently or helpfully.

I'm not sure which bug are you referring to. configure script shows a
summary at the end on the screen. What's missing in detail is printed
earlier during autodetection phase.

G N O K I I

A toolset and driver for the mobile phones.

Copyright (C) 1999-2008  The Gnokii Development Team.

This program is free software; you can redistribute it and/or modify
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

See file COPYING for more details.

Host system:        linux-gnu
Gnokii version:     0.6.27cvs
Xgnokii version:    1.0
SMSD version:       1.4.2
X (GTK+) support:   yes


2 Jun 19:29 2008

### Re: New phone needs new settings

>>>>> "Pawel" == Pawel Kot <gnokii <at> gmail.com> writes:

Pawel> Hi,
Pawel> On Sun, Jun 1, 2008 at 5:27 PM, Laura Conrad <lconrad <at> laymusic.org> wrote:
Pawel> [...]
>> and whatever I type it says "pairing with cornet-0" very briefly and
>> then says "pairing failed" and then the computer says:

Pawel> You probably don't have pass agent running on your PC. Refer to
Pawel> bluez/your distro help on how to run it.

Thanks.  It turned out that what I needed to know was at
<http://ubuntuliving.blogspot.com/2007/02/pairing-cellphone-with-ubuntu-via.html>,
which I found with a google search of "ubuntu bluetooth passcode".

Unfortunately, I don't seem to be able to do any more with a bluetooth
connection than I could with the USB.  I can still back up the phone
numbers, which is good, but I can't yet access the calendar.

--

--
Laura   (mailto:lconrad <at> laymusic.org http://www.laymusic.org/ )
(617) 661-8097	233 Broadway, Cambridge, MA 02139

It can't be any new note. When you look at the keyboard, all the notes
are there already. But if you mean a note enough, it will sound
different. You got to pick the notes you really mean!

Thelonius Monk, on being asked how he got a special sound out of the piano

2 Jun 20:00 2008

### Re: New phone needs new settings

Hi,

On Mon, Jun 2, 2008 at 7:29 PM, Laura Conrad <lconrad <at> laymusic.org> wrote:
> Unfortunately, I don't seem to be able to do any more with a bluetooth
> connection than I could with the USB.  I can still back up the phone
> numbers, which is good, but I can't yet access the calendar.

take care,
--

--
Pawel Kot

3 Jun 19:13 2008

### Get complete, recursive file list?

Hi,

Is it possible to get the full, complete list of files of the memory
card and/or external memory of the phone?

Something along the lines of:
A:\foo
A:\foo\bar1
A:\foo\bar2
A:\xxx\yyy\a1
A:\xxx\yyy\a2
A:\xxx\yyy\a2\nnn
...
etc.

gnokii --listallfiles 'A:\*'
but it seems that command no longer exist, and I'm not sure if it did
wat I suppose it did.

I trying to use gnokii from a Python script to build a visual
representation of the filesystem in a tree. I can, of course, use the
--getfilelist switch, but that's not recursive, and apart from that,
there's no easy/obvious way to distinguish a directory from a regular
file.

So far, my idea is to use --getfielist at the root level, and for
every entry listed, say, "foo" try to --getfilelist for "foo/*". If I
get an invalid path error then it's not a directory, and so on. But it
sounds WAY too complicated / expensive / error-prone.


3 Jun 20:36 2008

### Re: Get complete, recursive file list?

Hi,

On Tue, Jun 3, 2008 at 7:13 PM, Mariano Draghi <mdraghi <at> gmail.com> wrote:
> Is it possible to get the full, complete list of files of the memory
> card and/or external memory of the phone?

No, gnokii doesn't allow this at the moment.

> Can someone give me a better idea? Is there any undocumented flag /
> swtich to get what I whant?

What is your phone? Perhaps it supports Obex protocol?

take care,
pkot
--

--
Pawel Kot

3 Jun 20:58 2008

### Re: Get complete, recursive file list?

Hi Powel,

On Tue, Jun 3, 2008 at 3:36 PM, Pawel Kot <gnokii <at> gmail.com> wrote:
>
> Hi,
>
> On Tue, Jun 3, 2008 at 7:13 PM, Mariano Draghi <mdraghi <at> gmail.com> wrote:
> > Is it possible to get the full, complete list of files of the memory
> > card and/or external memory of the phone?
>
> No, gnokii doesn't allow this at the moment.
>
> > Can someone give me a better idea? Is there any undocumented flag /
> > swtich to get what I whant?
>
> What is your phone? Perhaps it supports Obex protocol?

It's a Nokia 6131, and yes, I suppose it supports Obex protocol.
But I thought that Obex protocol was something related (exclusively)
with Bluetooth filetransfers...

Anyway, ¿would it be possible to read the filesystem using Obex, while
the phone is connected with the USB cable in "standard" (*no*
data-transfer) mode?

I'll try to explain in more detail what I am trying to do: I want to
create playlists on the phone. Unfortunately, you can't create
playlists directly with the phone, and Nokia doesn't provide software
to do that under Linux. You need the Nokia Audio Manager component of
Nokia PC Suite.