Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Bluetooth not working in 13.10 64-bit

  1. #1
    Join Date
    Aug 2013
    Beans
    22

    Bluetooth not working in 13.10 64-bit

    I have installed Ubuntu 13.10 64-bit on Acer E1-530 laptop.
    After ethernet not working, this is second things i have discovered.
    Bluetooth does neither detect or gets discovered from any hardware

    -Aspire-E1-530:~$ dmesg | grep Bluetooth
    [ 10.754836] Bluetooth: Core ver 2.16
    [ 10.754862] Bluetooth: HCI device and connection manager initialized
    [ 10.754870] Bluetooth: HCI socket layer initialized
    [ 10.754872] Bluetooth: L2CAP socket layer initialized
    [ 10.754877] Bluetooth: SCO socket layer initialized
    [ 15.693465] Bluetooth: RFCOMM TTY layer initialized
    [ 15.693478] Bluetooth: RFCOMM socket layer initialized
    [ 15.693480] Bluetooth: RFCOMM ver 1.11
    [ 15.924230] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 15.924234] Bluetooth: BNEP filters: protocol multicast
    [ 15.924280] Bluetooth: BNEP socket layer initialized

    None of my 3 phones are detecting it.

    -Aspire-E1-530:~$ hciconfig --all
    hci0: Type: BR/EDR Bus: USB
    BD Address: A4B:30:7D:3E:F7 ACL MTU: 1022:8 SCO MTU: 183:5
    UP RUNNING PSCAN ISCAN
    RX bytes:1781 acl:0 sco:0 events:179 errors:0
    TX bytes:2907 acl:0 sco:0 commands:158 errors:0
    Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x8f
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH HOLD SNIFF
    Link mode: SLAVE ACCEPT
    Name: 'ubuntu-0'
    Class: 0x6e0100
    Service Classes: Networking, Rendering, Capturing, Audio, Telephony
    Device Class: Computer, Uncategorized
    HCI Version: (0x7) Revision: 0x3101
    LMP Version: (0x7) Subversion: 0x1
    Manufacturer: Atheros Communications, Inc. (69)

    Applet shows Bluetooth "on" and visibility set to "on" but neither finding or pairing

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bluetooth not working in 13.10 64-bit

    Try installing "blueman" package which is a relatively more capable GUI bluetooth manager than the default one. The default one sometimes shows up as "On" even though it is physically not.

    If blueman doesn't help, please post the outputs of -
    Code:
    lsusb
    usb-devices
    While posting the outputs, please use 'Code' tags. It preserves the formatting of the outputs and makes them more readable. Please follow the "Using Code Tags" link in my signature to see how.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  3. #3
    Join Date
    Aug 2013
    Beans
    22

    Re: Bluetooth not working in 13.10 64-bit

    Code:
    -Aspire-E1-530:~$ lsusb
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 04f2:b3f6 Chicony Electronics Co., Ltd 
    Bus 001 Device 003: ID 04ca:300b Lite-On Technology Corp. 
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Last edited by gore-amit; January 8th, 2014 at 02:55 PM.

  4. #4
    Join Date
    Aug 2013
    Beans
    22

    Re: Bluetooth not working in 13.10 64-bit

    attaching output of command.
    Attached Files Attached Files

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bluetooth not working in 13.10 64-bit

    Okay, the device is recognized and the driver is loaded.

    Now as a guess shot, please try -
    Code:
    echo -n "0000:00:1a.0" | sudo tee /sys/bus/pci/drivers/ehci_hcd/unbind
    echo -n "0000:00:1a.0" | sudo tee /sys/bus/pci/drivers/ehci_hcd/bind
    Keep a gap of about 4-6 seconds between the above two commands. If you get an error, like "No such file or directory", or if the trick doesn't work, post back the outputs of -
    Code:
    lspci | grep -i usb
    ls -l /sys/bus/pci/drivers/e*/
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  6. #6
    Join Date
    Aug 2013
    Beans
    22

    Re: Bluetooth not working in 13.10 64-bit

    I got "tee: /sys/bus/pci/drivers/ehci_hcd/unbind: No such file or directory" error message

    Code:
    -Aspire-E1-530:~$ lspci | grep -i usb
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    -Aspire-E1-530:~$ ls -l /sys/bus/pci/drivers/e*/
    total 0
    lrwxrwxrwx 1 root root    0 Jan 10 05:17 0000:00:1a.0 -> ../../../../devices/pci0000:00/0000:00:1a.0
    lrwxrwxrwx 1 root root    0 Jan 10 05:17 0000:00:1d.0 -> ../../../../devices/pci0000:00/0000:00:1d.0
    --w------- 1 root root 4096 Jan 10 05:17 bind
    --w------- 1 root root 4096 Jan 10 05:17 new_id
    --w------- 1 root root 4096 Jan 10 05:17 remove_id
    --w------- 1 root root 4096 Jan 10 05:17 uevent
    --w------- 1 root root 4096 Jan 10 05:17 unbind

  7. #7
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bluetooth not working in 13.10 64-bit

    Quote Originally Posted by gore-amit View Post
    Code:
    -Aspire-E1-530:~$ ls -l /sys/bus/pci/drivers/e*/
    total 0
    lrwxrwxrwx 1 root root    0 Jan 10 05:17 0000:00:1a.0 -> ../../../../devices/pci0000:00/0000:00:1a.0
    lrwxrwxrwx 1 root root    0 Jan 10 05:17 0000:00:1d.0 -> ../../../../devices/pci0000:00/0000:00:1d.0
    --w------- 1 root root 4096 Jan 10 05:17 bind
    --w------- 1 root root 4096 Jan 10 05:17 new_id
    --w------- 1 root root 4096 Jan 10 05:17 remove_id
    --w------- 1 root root 4096 Jan 10 05:17 uevent
    --w------- 1 root root 4096 Jan 10 05:17 unbind
    So the highlighted parts tell us that the path is there, just the last folder name is not ehci_hcd, but something similar (since e* covers it). Maybe just ehci? Check with -
    Code:
    ls /sys/bus/pci/drivers
    ..and replace "ehci_hcd" in the unbind command with whatever name comes up starting with 'e'.

    Please try the change and post back the result.

    PS:
    Just for your understanding of what we are trying here, we are detaching the particular bus (which I believe the bluetooth adapter is on) from the "ehci_hcd" driver which is a USB2 controller driver. The second (...bind) command reattaches the driver with the bus, thus simulating a 'USB reset' (or logical unplug - replug of the bluetooth device).
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  8. #8
    Join Date
    Aug 2013
    Beans
    22

    Re: Bluetooth not working in 13.10 64-bit

    Code:
    -Aspire-E1-530:~$ ls -lrt /sys/bus/pci/drivers
    total 0
    drwxr-xr-x 2 root root 0 Jan  8 09:58 sdhci-pci
    drwxr-xr-x 2 root root 0 Jan  8 09:58 ahci
    drwxr-xr-x 2 root root 0 Jan  8 09:58 tg3
    drwxr-xr-x 2 root root 0 Jan  8 09:58 mei_me
    drwxr-xr-x 2 root root 0 Jan  8 09:58 lpc_ich
    drwxr-xr-x 2 root root 0 Jan  8 09:58 ath9k
    drwxr-xr-x 2 root root 0 Jan  8 09:58 i915
    drwxr-xr-x 2 root root 0 Jan  8 09:58 snd_hda_intel
    drwxr-xr-x 2 root root 0 Jan  8 09:58 parport_pc
    drwxr-xr-x 2 root root 0 Jan 10 05:17 ehci-pci
    drwxr-xr-x 2 root root 0 Jan 10 14:55 xhci_hcd
    drwxr-xr-x 2 root root 0 Jan 10 14:55 xen-platform-pci
    drwxr-xr-x 2 root root 0 Jan 10 14:55 virtio-pci
    drwxr-xr-x 2 root root 0 Jan 10 14:55 uhci_hcd
    drwxr-xr-x 2 root root 0 Jan 10 14:55 tsi721
    drwxr-xr-x 2 root root 0 Jan 10 14:55 serial
    drwxr-xr-x 2 root root 0 Jan 10 14:55 pcieport
    drwxr-xr-x 2 root root 0 Jan 10 14:55 pata_sis
    drwxr-xr-x 2 root root 0 Jan 10 14:55 ohci-pci
    drwxr-xr-x 2 root root 0 Jan 10 14:55 langwell_gpio
    drwxr-xr-x 2 root root 0 Jan 10 14:55 ioapic
    drwxr-xr-x 2 root root 0 Jan 10 14:55 imsttfb
    drwxr-xr-x 2 root root 0 Jan 10 14:55 ata_piix
    drwxr-xr-x 2 root root 0 Jan 10 14:55 ata_generic
    drwxr-xr-x 2 root root 0 Jan 10 14:55 asiliantfb
    drwxr-xr-x 2 root root 0 Jan 10 14:55 agpgart-via
    drwxr-xr-x 2 root root 0 Jan 10 14:55 agpgart-intel
    I replaced ehci_hcd with ehci-pci and got this:

    Code:
    -Aspire-E1-530:~$ echo -n "0000:00:1a.0" | sudo tee /sys/bus/pci/drivers/ehci-pci/unbind
    0000:00:1a.0tee: /sys/bus/pci/drivers/ehci-pci/unbind: No such device

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bluetooth not working in 13.10 64-bit

    Quote Originally Posted by gore-amit View Post
    Code:
    -Aspire-E1-530:~$ echo -n "0000:00:1a.0" | sudo tee /sys/bus/pci/drivers/ehci-pci/unbind
    0000:00:1a.0
    tee: /sys/bus/pci/drivers/ehci-pci/unbind: No such device
    Interesting. Could you please browse to that directory (/sys/bus/pci/drivers/ehci-pci/) and see if both the items - the unbind/bind files and "0000:00:1a.0" link are there? If they are, I'm not sure why unbind says there is no such device (the message is from the unbind file, and what it says "not found" is the "0000:00:1a.0" shortcut which represents a device).

    We can try a slightly different approach, but this one doesn't make sense to me.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  10. #10
    Join Date
    Aug 2013
    Beans
    22

    Re: Bluetooth not working in 13.10 64-bit

    Thanks Varun for all the help.
    Just to make it clear, this laptop by default came with a linux flavor. I formatted and installed Ubuntu 13.10 on it.
    Out of box neither bluetooth or ethernet is working. Isit to do with the kernel ? Currently it is 3.11.0-15-generic.

    Now to answer your question.
    Yes there are all two files and a link are available under the /sys/bus/pci/drivers/ehci-pci/ directory

    Code:
    -Aspire-E1-530:~$ ls -lrt /sys/bus/pci/drivers/ehci-pci/
    total 0
    --w------- 1 root root 4096 Jan 10 05:17 uevent
    --w------- 1 root root 4096 Jan 10 05:17 remove_id
    --w------- 1 root root 4096 Jan 10 05:17 new_id
    --w------- 1 root root 4096 Jan 10 05:17 bind
    lrwxrwxrwx 1 root root    0 Jan 10 05:17 0000:00:1d.0 -> ../../../../devices/pci0000:00/0000:00:1d.0
    --w------- 1 root root 4096 Jan 10 15:00 unbind

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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