public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Timothy Murphy <tim@birdsnest.maths.tcd.ie>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] problems with bluetooth and pairing (Samsung E900 and MDA Vario )
Date: Thu, 12 Jul 2007 10:51:47 +0100	[thread overview]
Message-ID: <f74tjk$jve$1@sea.gmane.org> (raw)
In-Reply-To: cfd8c35a0707112246m4dd4cd44ke18b4620a7f92572@mail.gmail.com

Adrian van Dongen wrote:

> I am having some problems with pairing my mobile devices. I saw the
> btproximity monitor on the gentoo wiki and here on the ubuntu forums and i
> thought it would be nice to install it on my machine to but i run into
> some problems.
> 
> URL: http://ubuntuforums.org/showthread.php?t=486735&highlight=proximity
> 
> First of all let me explain what i am using:
> 
> * Ubuntu Fiesty Fawn
> * Samsung SGH-E900
> * T-mobile MDA Vario
> * Bluetooth USB dongle
> 
> The script didn't work so i tried the steps by hand to see where things go
> wrong. Didn't take long to see that there was no connection being made. I
> first tried it on the samsung but didn't work at all. Then i tried it with
> the MDA (which gives some responce) but this would also not work.
> 
> So let me explain what i did:
> 
> First i checked if my bluetooth was up and running:
> 
> 
> avdongen@Masahiro:~$ hciconfig
>   hci0:   Type: USB
>         BD Address: 00:10:60:A9:10:28 ACL MTU: 192:8 SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN
>         RX bytes:2841 acl:34 sco:0 events:105 errors:0
>         TX bytes:1226 acl:33 sco:0 commands:40 errors:0
> 
> When i try to search for my devices via hidd i get nothing..
> 
> avdongen@Masahiro:~$ sudo hidd --search
> Password:
> Searching ...
> 
> but when i search with the hcitool i find both my phones
> 
> avdongen@Masahiro:~$ sudo hcitool scan
> Scanning ...
>         00:12:37:A7:C8:93       Avdongen
>         00:17:D5:59:F0:16       Avdongen2
> 
> So my first guess is, there is something wrong when i use hidd so i
> continue to use hcitool. So next i try to connect to the one of the
> devices:
> 
> avdongen@Masahiro :~$ sudo hcitool cc 00:17:D5:59:F0:16
> avdongen@Masahiro:~$ sudo hcitool cc 00:12:37:A7:C8:93
> 
> nothing.. no error, no warning on the either of the phones... so i try
> hidd to connect:
> 
> avdongen@Masahiro:~$ sudo hidd --connect 00:17:D5:59:F0:16
> avdongen@Masahiro:~$ sudo hidd --connect 00:12:37:A7:C8:93
> Can't connect: Connection reset by peer (104)
> 
> Finally some reaction, the Samsung doesn't do anything but the MDA asks me
> if my machine is allowed to connect and then asks me for a pin. I enter
> 1234 (this also the default in in my bluetooth config) but then i get the
> connection reset by peer error.

I know very little about bluez, but in my experience
after you entered the passkey on the phone,
you should have been asked on the computer to enter the same passkey.

Under Fedora-7 (which I run)
this facility is provided by bluez-gnome,
which creates an applet in the panel.
When you enter the passkey in the phone
the applet comes alive and asks you for the passkey on the computer.


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-07-12  9:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cfd8c35a0707112244j1f2d9f4ex6718237d700ce480@mail.gmail.com>
2007-07-12  5:46 ` [Bluez-users] problems with bluetooth and pairing (Samsung E900 and MDA Vario ) Adrian van Dongen
2007-07-12  9:51   ` Timothy Murphy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f74tjk$jve$1@sea.gmane.org' \
    --to=tim@birdsnest.maths.tcd.ie \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox