public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] rfcomm hell
@ 2006-08-22 16:15 The Peach
  2006-08-22 16:25 ` The Peach
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: The Peach @ 2006-08-22 16:15 UTC (permalink / raw)
  To: bluez-users

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-08-29 20:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 16:15 [Bluez-users] rfcomm hell The Peach
2006-08-22 16:25 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox