Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Bluetooth serial port openSUSE 13.1

  1. #11
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,318
    Blog Entries
    1

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by luisdigital View Post
    The device is already paired, so do not have to enter any PIN.

    What I try to do is something simple, I have years doing it, but now does not work in openSUSE 13.1
    Well, every site I've visited seems to vary in the method used to establish a connection. I can do so (with my iPhone) using the KDE Bluetooth widget, or by 'bluetoothctl'
    Code:
    bluetoothctl
    [NEW] Controller 00:1E:37:B5:D4:B7 linux-bbgi.site [default]
    [NEW] Device 50:EA:D6:67:38:93 Dean’s iPhone
    # connect 50:EA:D6:67:38:93 
    Attempting to connect to 50:EA:D6:67:38:93
    Connection successful
    # info 50:EA:D6:67:38:93
    Device 50:EA:D6:67:38:93
            Name: Dean’s iPhone
            Alias: Dean’s iPhone
            Class: 0x7a020c
            Icon: phone
            Paired: yes
            Trusted: yes
            Blocked: no
            Connected: yes
            LegacyPairing: yes
            UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacafe)
            UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
            UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
            UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
            UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
            UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
            UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
            UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
            UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
            UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
            Modalias: usb:v05ACp1297d0710
    Unfortunately, DUN is not one of the services offered, so obviously I can not test this aspect.

    I recall that you mentioned the DUN service is not reported via 'sdptool' so that is the essence of the problem. I have no idea what might have changed. Do you use it to gain dialup networking via your mobile? Or some other reason that I'm not aware of? (Many only ever tether for mobile broadband connectivity these days.)

  2. #12

    Default Re: Bluetooth serial port openSUSE 13.1

    The problem was identified in a previous post: Now is need to have root privileges to run the commands in this version of BlueZ

    The serial port service appears after running: "sudo sdptool add SP"

    I have not used iPhone for a long time and I do not know if it is true that only serve to connect audio devices.

    I use these connections to communicate wirelessly with microcontrollers.

    Thank you for your help.

  3. #13
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,318
    Blog Entries
    1

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by luisdigital View Post
    The problem was identified in a previous post: Now is need to have root privileges to run the commands in this version of BlueZ
    Hmmm....given that /dev/rfcomm* is assigned to the 'dialout' group, have you made sure that your user account is a member of that group?

  4. #14

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by deano_ferrari View Post
    Hmmm....given that /dev/rfcomm* is assigned to the 'dialout' group, have you made sure that your user account is a member of that group?
    Yes, it is necessary to use the device.
    Now it is also necessary to have root privileges to execute commands and functioning correctly.

  5. #15
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,318
    Blog Entries
    1

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by luisdigital View Post
    Yes, it is necessary to use the device.
    Now it is also necessary to have root privileges to execute commands and functioning correctly.
    I can't test that, but maybe you should submit a bug report. Anyway, thanks to your opening this thread, I did test PAN connectivity with my iPhone (via bluetooth), and that works flawlessly (user controlled), so that's a bonus. (I think I did read somewhere that NM will gain support for DUN with the bluez5 stack.)

  6. #16

    Default Re: Bluetooth serial port openSUSE 13.1

    Bug 306632 - kde bluetooth wizard should bind rfcomm serial devices

    That's a long-awaited solution. In Windows users simply have COMx port available and should not configure anything.

  7. #17
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,318
    Blog Entries
    1

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by luisdigital View Post
    Bug 306632 - kde bluetooth wizard should bind rfcomm serial devices

    That's a long-awaited solution. In Windows users simply have COMx port available and should not configure anything.
    I agree, but I suspect the demand for it is low. (I'm not aware of any recent posts on the subject.) Most use wifi or usb tethering when needed I guess.

  8. #18
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,318
    Blog Entries
    1

    Default Re: Bluetooth serial port openSUSE 13.1

    Quote Originally Posted by luisdigital View Post
    Now it is also necessary to have root privileges to execute commands and functioning correctly.
    Well, one possible workaround is to modify rfcomm to become 'suid root' like this
    Code:
    sudo chmod u+s /usr/bin/rfcomm
    Now when it is executed by a regular user, it will run with root privileges (since it is root owned to begin with), but it has security implications. (The same trick is done with 'wvdial' by some people.)
    Last edited by deano_ferrari; 21-Apr-2014 at 03:10.

  9. #19

    Default Re: Bluetooth serial port openSUSE 13.1

    Yes. Thank you.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •