Lenovo Ideacentre B300 - bluetooth adapter not detected

Bug #997718 reported by Mujahid Jafri on 2012-05-10
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
03:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
03:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 30)

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 0ac8:c412 Z-Star Microelectronics Corp.
Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 005: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 001 Device 006: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)

lsmod
Module Size Used by
pci_stub 12622 1
vboxpci 23200 0
vboxnetadp 13382 0
vboxnetflt 23441 0
vboxdrv 287082 3 vboxpci,vboxnetadp,vboxnetflt
bnep 18139 2
rfcomm 46621 4
bluetooth 209092 10 bnep,rfcomm
compat 13447 3 bnep,rfcomm,bluetooth
parport_pc 32866 0
ppdev 17113 0
binfmt_misc 17540 1
dm_crypt 23125 0
arc4 12529 2
ath9k 132390 0
mac80211 506816 1 ath9k
ath9k_common 14053 1 ath9k
ath9k_hw 411112 2 ath9k,ath9k_common
ath 24067 3 ath9k,ath9k_common,ath9k_hw
snd_hda_codec_realtek 223867 1
joydev 17693 0
usbhid 47199 0
hid 99559 1 usbhid
snd_hda_intel 33773 3
snd_hda_codec 127706 2 snd_hda_codec_realtek,snd_hda_intel
snd_usb_audio 122982 1
uvcvideo 72627 0
videodev 98259 1 uvcvideo
snd_hwdep 13668 2 snd_hda_codec,snd_usb_audio
snd_usbmidi_lib 25395 1 snd_usb_audio
snd_pcm 97188 3 snd_hda_intel,snd_hda_codec,snd_usb_audio
v4l2_compat_ioctl32 17128 1 videodev
psmouse 87692 0
cfg80211 205544 3 ath9k,mac80211,ath
snd_seq_midi 13324 0
snd_rawmidi 30748 2 snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
serio_raw 13211 0
snd_timer 29990 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
mac_hid 13253 0
jmb38x_ms 17646 0
memstick 16569 1 jmb38x_ms
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
snd 78855 19 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hwdep,snd_usbmidi_lib,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15091 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
firewire_ohci 41000 0
firewire_core 63558 1 firewire_ohci
crc_itu_t 12707 1 firewire_core
i915 468651 2
sdhci_pci 18826 0
sdhci 33205 1 sdhci_pci
drm_kms_helper 46978 1 i915
drm 242038 3 i915,drm_kms_helper
r8169 62099 0
i2c_algo_bit 13423 1 i915
video 19596 1 i915

sudo lshw
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/997718/+attachment/3683386/+files/sudo%20lshw

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/997718/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → bluez (Ubuntu)
description: updated
Mujahid Jafri (jafri-mujahid) wrote :

I have tried running Fedora and OpenSuse Live on my computer. None of the distros could detect my bluetooth adapter. So this bug is not about Ubuntu after all, it is about Linux kernel. Still I am hopeful of this bug being removed by the engineers of Ubuntu alone, because no other distro is as sophisticated as Ubuntu. Keep it up.

Reassigning to the linux package to be investigated further; we can reassign to 'bluez' later if it turns out bluez is doing something wrong on its end of the initialization.

affects: bluez (Ubuntu) → linux (Ubuntu)
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-rc4-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
tags: added: kernel-da-key needs-upstream-testing
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Jochen Fahrner (jofa) wrote :

The same problem exists on my new Lenovo Ideacentre B320.

Jochen Fahrner (jofa) wrote :

I have tested it with the newest mainstream kernel. Problem still exists. The dmesg output is attached.

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Expired → Confirmed

Cut from Bug Description.

tags: added: needs-kernel-logs needs-upstream-testing
description: updated

Jochen Fahrner, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

fabriciorsf, please do not spam this report with some search results. Those reports have nothing to do with this one.

tags: removed: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Jochen Fahrner (jofa) wrote :

I found a workaround to get it working in Linuxmint forum:
http://forums.linuxmint.com/viewtopic.php?f=141&p=324733
You have to put the mouse device of Broadcom chip into hic mode. First you hve to find the sys device name for that device, as described here: http://ubuntuforums.org/showthread.php?t=1641538
Then run for example:

sudo /lib/udev/hid2hci --method dell --devpath /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0

and the bluetooth is instantly recognized.

My problem now is, how to automate that at boot time???

Jochen Fahrner (jofa) wrote :

I found a way to write an udev rule to make the hid2hci switch. I took /lib/udev/rules.d/97-bluetooth-hid2hci.rules as a template and copied it to /etc/udev/rules.d/97-lenovo-hid2hci.rules. Now I had to find the right attributes for my Broadcom mouse device.

udevadm info -a --path /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0

lists all attributes for that device.

With this info I could rewrite the rule for Dell devices, so my rule is now:

#udev rules für Lenovo Ideacentre Bluetooth

ACTION=="remove", GOTO="idea_end"
SUBSYSTEM!="usb", GOTO="idea_end"

# Variety of Broadcom Bluetooth devices - match on a mouse device that is
# self powered and where a HID report needs to be sent to switch modes
# Known supported devices: 0a5c:4503

ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", \
  ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="0a5c", ATTRS{bmAttributes}=="c0", \
  RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"

LABEL="idea_end"

Changed in linux (Ubuntu):
status: Expired → Confirmed

Jochen Fahrner, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Jochen Fahrner (jofa) wrote :

Ok, filed the new bug https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1315290 to the bluez package.

Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments