From: The Peach <smartart@tiscali.it>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] rfcomm hell
Date: Tue, 22 Aug 2006 18:15:32 +0200 [thread overview]
Message-ID: <20060822181532.6fea4851@localhost> (raw)
Hi all, this is my first time posting to this ml.
Since yesterday I've got a problem with bluetooth and in particular with rfcomm connection to a bluetooth interface: I hope this mailing list is ok for this to be posted.
Objective: connect to the mobile (a nokia 6680) and to the GPS reciver
The system runs a gentoo patched kernel version 2.6.17-r4 with bluez-libs 2.25 and bluez-utils 2.25-r1
The bluetooth dongle works well (in my opinion):
# hcitool scan
Scanning ...
00:12:62:A8:12:FE Miditree
# l2ping 00:12:62:A8:12:FE
Ping: 00:12:62:A8:12:FE from 00:0A:3A:63:21:B7 (data size 44) ...
0 bytes from 00:12:62:A8:12:FE id 0 time 121.81ms
0 bytes from 00:12:62:A8:12:FE id 1 time 12.15ms
0 bytes from 00:12:62:A8:12:FE id 2 time 13.08ms
3 sent, 3 received, 0% loss
but:
# rfcomm bind 0 00:12:62:A8:12:FE
# rfcomm show all
rfcomm0: 00:12:62:A8:12:FE channel 1 clean
# rfcomm connect 0 00:12:62:A8:12:FE
Can't create RFCOMM TTY: Address already in use
# rfcomm release all
# rfcomm connect 1 00:12:62:A8:12:FE
Can't open RFCOMM device: No such file or directory
some configuration files:
/etc/conf.d/bluetooth
[code]
HCID_ENABLE=true
HCID_CONFIG="/etc/bluetooth/hcid.conf"
SDPD_ENABLE=true
HIDD_ENABLE=false
HIDD_OPTIONS=""
HID2HCI_ENABLE=false
RFCOMM_ENABLE=true
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
DUND_ENABLE=false
DUND_OPTIONS="--listen --persist"
PAND_ENABLE=false
PAND_OPTIONS="--listen --role NAP"
[/code]
/etc/bluetooth/hcid.conf
[code]
options {
autoinit yes;
security auto;
pairing multi;
pin_helper /usr/bin/bluepin;
}
device {
name "%h (%d)";
class 0x3e0100;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
#auth enable;
#encrypt enable;
}
[/code]
I've tried also to mknod the device but there's nothing to do. when I launch rfcomm it will be deleted and it ends with a "No such file or directory".
Any hint??? This thing is driving me mad!!!
--
Matteo 'Peach' Pescarin
ICQ UIN = 71110111
Jabber ID = smartart@unstable.nl
Web Site = http://www.smartart.it
GeCHI = http://www.gechi.it
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2006-08-22 16:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 16:15 The Peach [this message]
2006-08-22 16:25 ` [Bluez-users] rfcomm hell The Peach
2006-08-22 16:27 ` Andrew Kohlsmith
2006-08-22 17:52 ` The Peach
2006-08-22 17:57 ` Andrew Kohlsmith
2006-08-22 23:22 ` The Peach
2006-08-29 9:06 ` The Peach
2006-08-29 18:01 ` Stefan Seyfried
2006-08-29 20:49 ` Marcel Holtmann
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=20060822181532.6fea4851@localhost \
--to=smartart@tiscali.it \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.