Results 1 to 5 of 5

Thread: Bluetooth problems

  1. #1

    Bluetooth problems

    Hi there...
    I what to thank in advancefor any help that you can give me.

    I have a Asus WL-500gP v1 (I think antenna on the left (from the front view)).
    I installed the brcm47xx backfire 10.03 http://downloads.openwrt.org/backfir...x-squashfs.trx
    uname -a gives me:
    Code:
    root@OpenWrt:~# uname -a
    Linux OpenWrt 2.6.32.10 #20 Tue Apr 6 15:53:48 CEST 2010 mips GNU/Linux
    I am trying to use a bluetooth dongle (Trust BT-2400P) but I am having some troubles

    I have installed the following packages using opkg:

    kmod-usb-uhci
    kmod-usb-ohci
    kmod-usb2
    kmod-usb-core
    usbutils
    kmod-bluetooth
    bluez-libs
    bluez-utils
    kmod-usb-uhci-iv
    libusb
    dbus-utils

    and when i run hciconfig i get:
    Can't open HCI socket.: Address family not supported by protocol

    What am I doing wrong?
    Here are some stuff that you might need to help me

  2. #2
    Here are some stuff that might help you helping me:

    If I do a lsusb I find the device:
    Code:
    root@OpenWrt:~# lsusb
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    If I do a hcitool dev
    Code:
    root@OpenWrt:~# hcitool dev
    Devices:
    if I do a hciconfig -a I get:
    Code:
    root@OpenWrt:~#  hciconfig -a
    Can't open HCI socket.: Address family not supported by protocol
    And finaly if i do a hciconfig hci0 up I get:
    Code:
    root@OpenWrt:~# hciconfig hci0 up
    Can't open HCI socket.: Address family not supported by protocol

  3. #3
    the dmesg command gives me something like this:
    Code:
    ...
    ...
    uhci_hcd 0000:00:03.0: UHCI Host Controller
    uhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:03.0: irq 6, io base 0x00000400
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    PCI: Enabling device 0000:00:03.1 (0000 -> 0001)
    PCI: Fixing up device 0000:00:03.1
    uhci_hcd 0000:00:03.1: UHCI Host Controller
    uhci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:03.1: irq 6, io base 0x00000420
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    usb 3-2: new full speed USB device using uhci_hcd and address 2
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usb 3-2: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver ums-alauda
    usbcore: registered new interface driver ums-cypress
    usbcore: registered new interface driver ums-datafab
    usbcore: registered new interface driver ums-freecom
    usbcore: registered new interface driver ums-isd200
    usbcore: registered new interface driver ums-jumpshot
    usbcore: registered new interface driver ums-karma
    usbcore: registered new interface driver ums-sddr09
    usbcore: registered new interface driver ums-sddr55
    usbcore: registered new interface driver ums-usbat
    USB Serial support registered for cp210x
    usbcore: registered new interface driver cp210x
    cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
    USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
    fuse init (API version 7.13)
    fuse init: DCACHE_BUG enabled
    bluetooth: Unknown symbol rfkill_unregister
    bluetooth: Unknown symbol rfkill_blocked
    bluetooth: Unknown symbol rfkill_destroy
    bluetooth: Unknown symbol rfkill_alloc
    bluetooth: Unknown symbol rfkill_register
    l2cap: Unknown symbol hci_conn_check_link_mode
    l2cap: Unknown symbol batostr
    l2cap: Unknown symbol bt_sock_link
    l2cap: Unknown symbol bt_sock_unregister
    l2cap: Unknown symbol hci_conn_security
    l2cap: Unknown symbol bt_accept_dequeue
    l2cap: Unknown symbol hci_get_route
    l2cap: Unknown symbol bt_accept_unlink
    l2cap: Unknown symbol bt_sock_unlink
    l2cap: Unknown symbol bt_accept_enqueue
    l2cap: Unknown symbol hci_connect
    l2cap: Unknown symbol bt_err
    l2cap: Unknown symbol bt_sock_wait_state
    l2cap: Unknown symbol bt_class
    l2cap: Unknown symbol bt_sock_register
    l2cap: Unknown symbol bt_sock_ioctl
    l2cap: Unknown symbol hci_unregister_proto
    l2cap: Unknown symbol bt_sock_poll
    l2cap: Unknown symbol bt_sock_recvmsg
    l2cap: Unknown symbol hci_register_proto
    l2cap: Unknown symbol hci_send_acl
    sco: Unknown symbol hci_send_sco
    sco: Unknown symbol batostr
    sco: Unknown symbol bt_sock_link
    sco: Unknown symbol bt_sock_unregister
    sco: Unknown symbol bt_accept_dequeue
    sco: Unknown symbol hci_get_route
    sco: Unknown symbol bt_sock_unlink
    sco: Unknown symbol bt_accept_enqueue
    sco: Unknown symbol hci_connect
    sco: Unknown symbol bt_err
    sco: Unknown symbol bt_sock_wait_state
    sco: Unknown symbol bt_class
    sco: Unknown symbol bt_sock_register
    sco: Unknown symbol bt_sock_ioctl
    sco: Unknown symbol hci_unregister_proto
    sco: Unknown symbol bt_sock_poll
    sco: Unknown symbol bt_sock_recvmsg
    sco: Unknown symbol hci_register_proto
    rfcomm: Unknown symbol hci_conn_switch_role
    rfcomm: Unknown symbol l2cap_load
    rfcomm: Unknown symbol hci_unregister_cb
    rfcomm: Unknown symbol batostr
    rfcomm: Unknown symbol bt_sock_link
    rfcomm: Unknown symbol bt_sock_unregister
    rfcomm: Unknown symbol hci_conn_security
    rfcomm: Unknown symbol baswap
    rfcomm: Unknown symbol bt_accept_dequeue
    rfcomm: Unknown symbol hci_get_route
    rfcomm: Unknown symbol bt_accept_unlink
    rfcomm: Unknown symbol bt_sock_unlink
    rfcomm: Unknown symbol bt_accept_enqueue
    rfcomm: Unknown symbol bt_sock_wait_state
    rfcomm: Unknown symbol bt_class
    rfcomm: Unknown symbol bt_sock_register
    rfcomm: Unknown symbol bt_sock_ioctl
    rfcomm: Unknown symbol hci_register_cb
    rfcomm: Unknown symbol bt_sock_poll
    bnep: Unknown symbol l2cap_load
    bnep: Unknown symbol bt_sock_unregister
    bnep: Unknown symbol baswap
    bnep: Unknown symbol hci_get_route
    bnep: Unknown symbol bt_sock_register
    hidp: Unknown symbol l2cap_load
    hidp: Unknown symbol batostr
    hidp: Unknown symbol bt_sock_unregister
    hidp: Unknown symbol baswap
    hidp: Unknown symbol hci_get_route
    hidp: Unknown symbol bt_sock_register
    hidp: Unknown symbol hci_conn_hold_device
    hidp: Unknown symbol hci_conn_put_device
    hci_uart: Unknown symbol hci_free_dev
    hci_uart: Unknown symbol hci_alloc_dev
    hci_uart: Unknown symbol hci_unregister_dev
    hci_uart: Unknown symbol hci_register_dev
    btusb: Unknown symbol hci_free_dev
    btusb: Unknown symbol hci_alloc_dev
    btusb: Unknown symbol hci_unregister_dev
    btusb: Unknown symbol hci_recv_fragment
    btusb: Unknown symbol hci_register_dev

  4. #4
    If i do a lsmod i get:
    Code:
    root@OpenWrt:~# lsmod
    Module                  Size  Used by    Not tainted
    fuse                   50656  0 
    ftdi_sio               29376  0 
    cp210x                 10128  0 
    sg                     21344  0 
    hid                    77488  0 
    ums_usbat               8816  0 
    ums_sddr55              5920  0 
    ums_sddr09              9312  0 
    ums_karma               1504  0 
    ums_jumpshot            4000  0 
    ums_isd200              5168  0 
    ums_freecom             2016  0 
    ums_datafab             5008  0 
    ums_cypress             1968  0 
    ums_alauda              8848  0 
    usb_storage            35584 10 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
    usbserial              26128  2 ftdi_sio,cp210x
    evdev                   6752  0 
    uhci_hcd               19088  0 
    ohci_hcd               17952  0 
    nf_nat_tftp              432  0 
    nf_conntrack_tftp       2400  1 nf_nat_tftp
    nf_nat_irc               864  0 
    nf_conntrack_irc        2592  1 nf_nat_irc
    nf_nat_ftp              1360  0 
    nf_conntrack_ftp        4896  1 nf_nat_ftp
    ipt_MASQUERADE           992  1 
    iptable_nat             2880  1 
    nf_nat                 12544  5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
    xt_NOTRACK               672  0 
    iptable_raw              656  1 
    xt_state                 800  3 
    nf_conntrack_ipv4       8352  6 iptable_nat,nf_nat
    nf_defrag_ipv4           608  1 nf_conntrack_ipv4
    nf_conntrack           44000 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
    ehci_hcd               34080  1 ohci_hcd
    sd_mod                 22992  0 
    pppoe                  10208  0 
    pppox                   1312  1 pppoe
    ipt_REJECT              1984  2 
    xt_TCPMSS               2720  1 
    ipt_LOG                 4640  0 
    xt_comment               464  0 
    xt_multiport            1904  0 
    xt_mac                   576  0 
    xt_limit                1152  1 
    iptable_mangle           992  0 
    iptable_filter           768  1 
    ip_tables               8800  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
    xt_tcpudp               1856  4 
    x_tables                9824 13 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
    ppp_async               9040  0 
    ppp_generic            21200  3 pppoe,pppox,ppp_async
    slhc                    5360  1 ppp_generic
    vfat                    8016  0 
    fat                    45456  1 vfat
    ext4                  228944  0 
    jbd2                   49552  1 ext4
    b43legacy              98784  0 
    b43                   154752  0 
    nls_iso8859_1           2848  0 
    root@OpenWrt:~# lsmod
    Module                  Size  Used by    Not tainted
    fuse                   50656  0 
    ftdi_sio               29376  0 
    cp210x                 10128  0 
    sg                     21344  0 
    hid                    77488  0 
    ums_usbat               8816  0 
    ums_sddr55              5920  0 
    ums_sddr09              9312  0 
    ums_karma               1504  0 
    ums_jumpshot            4000  0 
    ums_isd200              5168  0 
    ums_freecom             2016  0 
    ums_datafab             5008  0 
    ums_cypress             1968  0 
    ums_alauda              8848  0 
    usb_storage            35584 10 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
    usbserial              26128  2 ftdi_sio,cp210x
    evdev                   6752  0 
    uhci_hcd               19088  0 
    ohci_hcd               17952  0 
    nf_nat_tftp              432  0 
    nf_conntrack_tftp       2400  1 nf_nat_tftp
    nf_nat_irc               864  0 
    nf_conntrack_irc        2592  1 nf_nat_irc
    nf_nat_ftp              1360  0 
    nf_conntrack_ftp        4896  1 nf_nat_ftp
    ipt_MASQUERADE           992  1 
    iptable_nat             2880  1 
    nf_nat                 12544  5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
    xt_NOTRACK               672  0 
    iptable_raw              656  1 
    xt_state                 800  3 
    nf_conntrack_ipv4       8352  6 iptable_nat,nf_nat
    nf_defrag_ipv4           608  1 nf_conntrack_ipv4
    nf_conntrack           44000 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
    ehci_hcd               34080  1 ohci_hcd
    sd_mod                 22992  0 
    pppoe                  10208  0 
    pppox                   1312  1 pppoe
    ipt_REJECT              1984  2 
    xt_TCPMSS               2720  1 
    ipt_LOG                 4640  0 
    xt_comment               464  0 
    xt_multiport            1904  0 
    xt_mac                   576  0 
    xt_limit                1152  1 
    iptable_mangle           992  0 
    iptable_filter           768  1 
    ip_tables               8800  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
    xt_tcpudp               1856  4 
    x_tables                9824 13 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
    ppp_async               9040  0 
    ppp_generic            21200  3 pppoe,pppox,ppp_async
    slhc                    5360  1 ppp_generic
    vfat                    8016  0 
    fat                    45456  1 vfat
    ext4                  228944  0 
    jbd2                   49552  1 ext4
    b43legacy              98784  0 
    b43                   154752  0 
    nls_iso8859_1           2848  0 
    nls_cp437               4384  0 
    mac80211              212576  2 b43legacy,b43
    usbcore               107120 18 ftdi_sio,cp210x,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,usb_storage,usbserial,uhci_hcd,ohci_hcd,ehci_hcd
    scsi_mod               72896  4 sg,ums_cypress,usb_storage,sd_mod
    nls_base                4960  5 vfat,fat,nls_iso8859_1,nls_cp437,usbcore
    mbcache                 4160  1 ext4
    crc16                    976  1 ext4
    crc_ccitt                976  1 ppp_async
    cfg80211              129216  3 b43legacy,b43,mac80211
    compat_firmware_class     5936  2 b43legacy,b43
    compat                   432  0 
    input_core             18384  2 hid,evdev
    arc4                     816  2 
    aes_generic            31056  0 
    deflate                 1328  0 
    ecb                     1328  2 
    cbc                     2016  0 
    switch_robo             4048  0 
    switch_core             5216  1 switch_robo
    diag                    7504  0

  5. #5
    Join Date
    Oct 2009
    Posts
    529
    Blog Entries
    1
    Quote Originally Posted by edsousa84 View Post
    when i run hciconfig i get:
    Can't open HCI socket.: Address family not supported by protocol
    Hi, i've noname dongle ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) too.
    Probably, you need to load appropriate kernel modules.
    You need at least
    Code:
    insmod bluetooth.ko
    insmod btusb.ko
    not sure about second module name in Openwrt (usb device driver), i'm using different firmware and "btusb" module name taken from openwrt makefile (mine is hci_usb)

Similar Threads

  1. Bluetooth в Asus WL-500gP и RT-N16/N66U
    By haccker in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 52
    Last Post: 20-03-2015, 15:45
  2. Why there is no Bluetooth modules in firmwares with 2.6 kernel?
    By pleha in forum WL-500gP Firmware Discussion
    Replies: 11
    Last Post: 02-04-2012, 07:21
  3. Bluetooth в wl500gP
    By TIk in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 410
    Last Post: 22-02-2011, 23:14
  4. wl500gP + BlueTooth
    By avniv in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 18
    Last Post: 17-04-2008, 01:43

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
  •