Skip to contentSkip to conversation

rfcomm hell

Bluez-devel Matteo 'Peach' Pescarin 1 participant 2 messages Aug 26, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I've tried everything, I'm going to suspect something in my machine is broken (udev?), but I can go no further and I am here to ask any developer if he can help me.

the hcitool works good as long as the usb BT dongle
I can't rfcomm connect in any way: the error is always reproducible and here's the output:

# hcitool scan
Scanning ...
        00:12:62:A8:12:FE       Miditree
# rfcomm connect 0
Can't create RFCOMM TTY: Address already in use
# rfcomm
rfcomm0: 00:12:62:A8:12:FE channel 1 clean
# rfcomm release 0; rfcomm connect 0
Can't open RFCOMM device: No such file or directory

I can provide any output you need, but pls help me :(

Signature · 7 lines
Matteo 'Peach' Pescarin

ICQ UIN = 71110111
Jabber ID = [email protected]
Web Site = http://www.smartart.it
GPG key = http://www.smartart.it/temp/peach.asc
Key fingerprint = C882 C029 540F 0EA3 5318  D2C3 1E4C 8167 0055 105D

-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw
Quoted 1 line · On Sat, 26 Aug 2006 15:13:06 +0200 Matteo 'Peach' Pescarin <[email protected]>…

something in my machine is broken (udev?)

ok, after this message I tried to search along my udev rules.d files and found this:

# cat /etc/udev/rules.d/10-udev.rules
KERNEL="rfcomm[0-9]*", NAME="bluetooth/%k", GROUP="users", MODE="0660"

after commenting out this line everything worked right: seems like the default rules installed along with bluez conflicts with this. That rule was suggested by an online tutorial found somewhere.

thanks anyway :)

Signature · 7 lines
Matteo 'Peach' Pescarin

ICQ UIN = 71110111
Jabber ID = [email protected]
Web Site = http://www.smartart.it
GPG key = http://www.smartart.it/temp/peach.asc
Key fingerprint = C882 C029 540F 0EA3 5318  D2C3 1E4C 8167 0055 105D

-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel