Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

bluetooth, kde and sdp

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
vishnja
n00b
n00b
Posts: 30
Joined: Tue Sep 23, 2003 12:08 pm

bluetooth, kde and sdp

  • Quote

Post by vishnja » Tue Mar 28, 2006 10:11 am

Hi,

I'm not sure, whether I'm right to post in "kernel & hardware", please move if it belongs somewhere else!

I'm using gentoo-kernel 2.6.14-r7 on a T40p and kde 3.4.
Bluetooth is mostly working fine: I can hotsync with my Treo 650, have obex push and serial chat.
BUT: I cant browse my Laptop from another device!
So browsing other devices, like the S55 phone and the Treo is fine, but for my Linux box I get the error message: "Other end terminated (user) (0x313B) in BLUETOOTH_CONNECTION,BT_CONNECT."

Related to that is that the obex file transfer has to be added manualy with "sdptool add ftp". This is strange, because the obex push, serial chat and LAN are recognized automatically.
But even with the added FTP, the service shows up only in konqueror and " sdptool browse ff:ff:ff:00:00:00", but NOT in the kbluetooth service configuration. Even if I restart the kbluetoothd.


These are my config files:

Code: Select all

vishnja@peach ~ $ cat /etc/bluetooth/hcid.conf 
#
# HCI daemon configuration file.
#

# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        security auto;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        # PIN helper
        #pin_helper /usr/bin/bluepin;
        #pin_helper /usr/lib/kdebluetooth/kbluepin
        #/usr/local/bin/bluepin
         pin_helper /etc/bluetooth/pin-helper
        
        # D-Bus PIN helper
        #dbus_pin_helper;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "Peach";

        # Local device class
        # class 0x3e0100;
        # class 0x100000
        #class 0x000100
        class 0x100100; 
        #class 0xff010c
        #class 0xff0100
        # Default packet type
        #pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy 
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        lm accept;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        lp rswitch,hold,sniff,park;

        # Authentication and Encryption (Security Mode 3)
        #auth enable;
        #encrypt enable;
}
vishnja@peach ~ $ 

Code: Select all

vishnja@peach ~ $ sdptool browse ff:ff:ff:00:00:00
Browsing FF:FF:FF:00:00:00 ...
Service Name: LAN Access Point
Service RecHandle: 0x10000
Service Class ID List:
  "LAN Access Using PPP" (0x1102)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "LAN Access Using PPP" (0x1102)
    Version: 0x0100

Service Name: Network Access Point
Service RecHandle: 0x10001
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ16: 800 806
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: Obex Push Server
Service Description: KDE OBEX Object Push Service
Service RecHandle: 0x10002
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: KBtSerialChat
Service Description: KDE Bluetooth Serial Chat Service
Service RecHandle: 0x10003
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5

Service Name: OBEX File Transfer
Service RecHandle: 0x10004
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

vishnja@peach ~ $ 


So via obex push I can receive and send files, I can browse my phone and Treo, but I can't browse my Gentoo box from another device...
Can anyone help?

Cheers,
Kathrin

btw.: hciconfig and khciconfig don't seem to work that nicely. hciconfig -a shows for example the class entered in khciconfig and not the one given in /etc/bluetooth/hcid.conf

Also no Services at all listed in hciconfig -a.
So all that is very confusing. I get the impression, that the servises added with "sdptool add" are just listed, but not very usable. So I tried to experiment with different classes in hcid.conf and khciconfig, but the max services I get are the ones with the "traditional classes". Is this a bug? I thought, the more abilities I select, the more services should be activated?
Top
Post Reply
1 post • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic