Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181176 - bluez-utils-3.11-r1 init script does not run rfcomm
Summary: bluez-utils-3.11-r1 init script does not run rfcomm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 08:36 UTC by Sascha Lucas
Modified: 2007-06-09 11:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rfcomm.py (rfcomm.py,792 bytes, text/plain)
2007-06-07 11:19 UTC, Dick Marinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Lucas 2007-06-07 08:36:41 UTC
all previous versions of bluez-utils run: "rfcomm -f /etc/bluetooth/rfcomm.conf bind all" on startup. Now I must run it by hand, otherwise I can't use my cellphone as modem. Do I miss something?


Reproducible: Always

Steps to Reproduce:
1. blug in usb-bluetooth dongle

Actual Results:  
rfcomm bindings are not set

Expected Results:  
rfcomm bindings should be set:
# rfcomm
rfcomm0: 00:15:D3:0D:B0:43 channel 8 connected [tty-attached]
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 08:55:54 UTC
(In reply to comment #0)
> Do I miss something?

Kinda; this is supposed to be handled by dbus now... 

http://wiki.bluez.org/wiki/Serial
Comment 2 Sascha Lucas 2007-06-07 10:40:22 UTC
(In reply to comment #1)
> Kinda; this is supposed to be handled by dbus now... 
> 
> http://wiki.bluez.org/wiki/Serial

I've set Autostart=true in /etc/bluetooth/serial.service. But "rfcomm" shows nothing and /dev/rfcomm0 does not exist.

log:
serial[4754]: Bluetooth Serial Port daemon
serial[4754]: Registered manager path:/org/bluez/serial
sina hcid[4751]: HCI dev 0 up

any hints?
Comment 3 Dick Marinus 2007-06-07 11:19:48 UTC
Created attachment 121392 [details]
rfcomm.py

Try this little python script from the wiki:
$ rfcomm.py 00:0B:0D:00:1B:XX 1
Connected /dev/rfcomm0 to 00:0B:0D:00:1B:XX
Press CTRL-C to disconnect

the serial service isn't really finished yet, as you can read here:
http://thread.gmane.org/gmane.linux.bluez.user/12239/focus=12241

"simply call "rfcomm bind all"."
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-06-07 11:21:39 UTC
(In reply to comment #3)
> 
> the serial service isn't really finished yet, as you can read here:
> http://thread.gmane.org/gmane.linux.bluez.user/12239/focus=12241
> 
> "simply call "rfcomm bind all"."
> 

So I guess we should add that rfcomm bind all part back to the init script for now.

Comment 5 Dick Marinus 2007-06-07 11:31:08 UTC
I also think that would be a wise idea :-)
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-06-09 11:32:32 UTC
(In reply to comment #5)
> I also think that would be a wise idea :-)
> 

Added back in 3.11-r2.