USB Bluetooth using BLUEZ and kernel 2.6

From: gonzalo briceno (gonzalobriceno_at_gmail.com)
Date: 08/25/04

  • Next message: RC: "Linux Admin help."
    Date: 25 Aug 2004 08:28:07 -0700
    
    

    I am new to all the bluetooth stuff so I appologize if
    my question is a bit basic; however, I am sure that a
    thorough answer will help lots of people. My question
    regards setting up the bluez package and a
    misconception regarding the bluetooth stack.

    A search on my machine for 'bluez' turns up
    ---------------------begin search
    [root@localhost bluez-firmware-1.0]# find / -name
    bluez*
    /usr/lib/pkgconfig/bluez.pc
    /usr/src/bluez-firmware-1.0.tar.gz
    /usr/src/bluez-hcidump-1.10.tar.gz
    /usr/src/bluez-hciemu-1.0.tar.gz
    /usr/src/bluez-libs-2.9.tar.gz
    /usr/src/bluez-pin-0.23.tar.gz
    /usr/src/bluez-utils-2.9.tar.gz
    /usr/src/bluez-libs-2.9
    /usr/src/bluez-libs-2.9/bluez.pc.in
    /usr/src/bluez-libs-2.9/bluez.pc
    /usr/src/bluez-utils-2.9
    /usr/src/bluez-firmware-1.0
    /usr/src/bluez-pin-0.23
    /usr/src/bluez-pin-0.23/bluez-pin-gpe.glade
    /usr/src/bluez-pin-0.23/bluez-pin.glade
    /usr/src/bluez-pin-0.23/bluez.conf
    /usr/src/bluez-pin-0.23/po/bluez-pin.pot
    /home/dl/bluez-firmware-1.0.tar.gz
    /home/dl/bluez-hcidump-1.10.tar.gz
    /home/dl/bluez-hciemu-1.0.tar.gz
    /home/dl/bluez-libs-2.9.tar.gz
    /home/dl/bluez-pin-0.23.tar.gz
    /home/dl/bluez-utils-2.9.tar.gz
    /lib/modules/2.4.20-8/kernel/net/bluetooth/bluez.o
    ---------------------end search

    You will notice(on the last line) that the bluez
    module is installed only for the 2.4.20-8(redhat 9)
    kernel and not my 2.6.7 kernel.

    So I went ahead and downloaded
    bluez-libs-2.9
    bluez-utils-2.9
    bluez-firmware-1.0
    bluez-pin-0.23

    The bluez site says that the minimum is to install
    bluez-libs and bluez-utils. I installed those and
    recompiled my kernel(2.6.7). From the listing above
    you will see that the new kernel does not have the
    bluez module. The README file in the bluez-firmware
    directory reads,

    In order to install Bluetooth firmware you need
    following software packages:
            - Linux Bluetooth protocol stack (BlueZ)

    So where is this bluetooth protocol stack? I assume
    it is in either bluez-libs or bluez-utils. In my
    kernel configuration options, I do not see a Bluez
    bluetooth module, the closest thing is BlueFritz.
    What option should I use and/or how do I add it to the
    kernel?

    Perhaps a kernel patch will do the trick. I
    downloaded kernel 2.6.8.1 from www.kernel.org and
    applied patch 'patch-2.6.8-mh1.gz' from the
    bluez.sourceforge.net site. Although the patch went
    just fine I can see that there are no BLUEZxyz options
    like there are in the 2.4.20-8 kernel config file.
    How in the world do I add these options to my new
    kernel? I have read a lot about USB and Bluetooth to
    the point that I am getting confused. Anyone with
    clear insight as to how things work or instructions on
    setting up BLUEZ please respond. Thank you in
    advance.


  • Next message: RC: "Linux Admin help."

    Relevant Pages

    • Kernel crash report - maybe triggered by the bluetooth system
      ... of bug in the kernel, in my opinion related to the bluetooth system. ... I use bluetooth VERY rarely, as a matter of fact I used it yesterday for the ... # CPUFreq processor drivers ... # PCI IDE chipsets support ...
      (Linux-Kernel)
    • Regression: Problem in using USB Bluetooth Dongle (Worked fine in 2.6.24.x)
      ... At least until kernel version 2.6.24, I was able to use my USB ... bluetooth dongle to download contacts from my phone. ... # AX.25 network device drivers ...
      (Linux-Kernel)
    • XFS kernel BUG at fs/buffer.c:470! with 2.6.28.4
      ... This time I hit kernel bug without any particular operation, ... machine and after this crash I lose again configuration file of opened ... output container bluetooth cfg80211 wmi battery ac button pcspkr psmouse ... # CPUFreq processor drivers ...
      (Linux-Kernel)
    • [BUG 2.6.16.16] 64bit + Ethernet + Bluetooth = no go
      ... This weekend, I switched over to 64bit distro, recompiled latest kernel and this ... Bluetooth and ethernet no longer work together. ... hci0 is down and uninitialized. ...
      (Linux-Kernel)
    • Re: [Bluez-devel] 2.6.23.8: kernel panic
      ... I have compiled linux kernel 2.6.23.8 for a single board computer based ... on ARM architecture. ... Bluetooth subsystem, creating repeatly a lot of RFCOMM connections to ... This problem is caused by the workqueue in hci_sysfs.c, the del_conn is scheduled after the add_conn with same bluetooth address. ...
      (Linux-Kernel)