<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>181176</bug_id>
          
          <creation_ts>2007-06-07 08:36 0000</creation_ts>
          <short_desc>bluez-utils-3.11-r1 init script does not run rfcomm</short_desc>
          <delta_ts>2007-06-09 11:32:32 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sascha.lucas@rus.uni-stuttgart.de</reporter>
          <assigned_to>betelgeuse@gentoo.org</assigned_to>
          <cc>dick@mrns.nl</cc>
    
    <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-06-07 08:36:41 0000</bug_when>
            <thetext>all previous versions of bluez-utils run: &quot;rfcomm -f /etc/bluetooth/rfcomm.conf bind all&quot; on startup. Now I must run it by hand, otherwise I can&apos;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]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-06-07 08:55:54 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; Do I miss something?

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

http://wiki.bluez.org/wiki/Serial
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-06-07 10:40:22 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Kinda; this is supposed to be handled by dbus now... 
&gt; 
&gt; http://wiki.bluez.org/wiki/Serial

I&apos;ve set Autostart=true in /etc/bluetooth/serial.service. But &quot;rfcomm&quot; 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?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dick@mrns.nl</who>
            <bug_when>2007-06-07 11:19:48 0000</bug_when>
            <thetext>Created an attachment (id=121392)
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&apos;t really finished yet, as you can read here:
http://thread.gmane.org/gmane.linux.bluez.user/12239/focus=12241

&quot;simply call &quot;rfcomm bind all&quot;.&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-06-07 11:21:39 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; 
&gt; the serial service isn&apos;t really finished yet, as you can read here:
&gt; http://thread.gmane.org/gmane.linux.bluez.user/12239/focus=12241
&gt; 
&gt; &quot;simply call &quot;rfcomm bind all&quot;.&quot;
&gt; 

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

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dick@mrns.nl</who>
            <bug_when>2007-06-07 11:31:08 0000</bug_when>
            <thetext>I also think that would be a wise idea :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-06-09 11:32:32 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; I also think that would be a wise idea :-)
&gt; 

Added back in 3.11-r2. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>121392</attachid>
            <date>2007-06-07 11:19 0000</date>
            <desc>rfcomm.py</desc>
            <filename>rfcomm.py</filename>
            <type>text/plain</type>
            <data encoding="base64">IyEvdXNyL2Jpbi9weXRob24KaW1wb3J0IGRidXMKaW1wb3J0IHRpbWUKaW1wb3J0IHN5cwoKYnVz
ID0gZGJ1cy5TeXN0ZW1CdXMoKQpibWdyID0gZGJ1cy5JbnRlcmZhY2UoYnVzLmdldF9vYmplY3Qo
J29yZy5ibHVleicsICcvb3JnL2JsdWV6JyksICdvcmcuYmx1ZXouTWFuYWdlcicpCmJ1c19pZCA9
IGJtZ3IuQWN0aXZhdGVTZXJ2aWNlKCdzZXJpYWwnKQpzZXJpYWwgPSBkYnVzLkludGVyZmFjZShi
dXMuZ2V0X29iamVjdChidXNfaWQsICcvb3JnL2JsdWV6L3NlcmlhbCcpLCAnb3JnLmJsdWV6LnNl
cmlhbC5NYW5hZ2VyJykKIyBTZXJ2aWNlIGNvbm5lY3Rpb24sIHJlYWQgdGhlIHNlcmlhbCBBUEkg
dG8gY2hlY2sgdGhlIGF2YWlsYWJsZSBwYXR0ZXJucwppZiAobGVuKHN5cy5hcmd2KSA8IDIpOgoJ
cHJpbnQgIlVzYWdlOiAlcyA8YWRkcmVzcz4gW3NlcnZpY2VdIiAlIChzeXMuYXJndlswXSkKCXN5
cy5leGl0KDEpCmFkZHJlc3MgPSBzeXMuYXJndlsxXQppZiAobGVuKHN5cy5hcmd2KSA8IDMpOgoJ
c2VydmljZSA9ICJzcHAiCmVsc2U6CglzZXJ2aWNlID0gc3lzLmFyZ3ZbMl0KZGV2aWNlID0gc2Vy
aWFsLkNvbm5lY3RTZXJ2aWNlKGFkZHJlc3MsIHNlcnZpY2UpCnByaW50ICJDb25uZWN0ZWQgJXMg
dG8gJXMiICUgKGRldmljZSwgYWRkcmVzcykKcHJpbnQgIlByZXNzIENUUkwtQyB0byBkaXNjb25u
ZWN0Igp0cnk6Cgl0aW1lLnNsZWVwKDEwMDApCglwcmludCAiVGVybWluYXRpbmcgY29ubmVjdGlv
biIKZXhjZXB0OgoJcGFzcwoKc2VyaWFsLkRpc2Nvbm5lY3RTZXJ2aWNlKGRldmljZSkK
</data>        

          </attachment>
    </bug>

</bugzilla>