You are not logged in.

#1 2015-06-20 10:41:00

red-lichtie
Member
Registered: 2015-03-08
Posts: 46

Dell XPS 13 (9343) - No Bluetooth

I've bought one of these and it came with the broadcom WiFi/Bluetooth card, but I can't get the bluetooth module to work.

I tried to replace it with an after market Intel 7265 but tit wasn't recognized by the hardware, maybe all 7265's aren't the same :-(

So now I'm back to trying to get the BT to work (as per the Arch Linux wiki page here: Dell XPS 13 (1025)).

I've read all the pages I could find, done the cab extract, etc. but all I get is this:

Jun 20 11:02:49 turbine kernel: Bluetooth: hci0: BCM: chip id 63
Jun 20 11:02:49 turbine kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
Jun 20 11:02:49 turbine kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-216f.hcd failed with error -2
Jun 20 11:02:49 turbine kernel: Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-216f.hcd not found

But I have the file:

-rw-r--r-- 1 root root 35080 Jun 18 20:33 /lib/firmware/brcm/BCM20702A0-0a5c-216f.hcd
sha1sum /lib/firmware/brcm/BCM20702A0-0a5c-216f.hcd 
6ab9dde1e010bacfd57d371f832477d819fd671a  /lib/firmware/brcm/BCM20702A0-0a5c-216f.hcd

I'm running the mainline kernel for the power saving that it brings, could that be causing a problem?

Linux turbine 4.1.0-1-mainline #1 SMP PREEMPT Sat Jun 13 15:56:34 CEST 2015 x86_64 GNU/Linux

Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black)
Languages: C, C++, ASM, Pascal & Java

Offline

#2 2015-06-20 10:56:54

red-lichtie
Member
Registered: 2015-03-08
Posts: 46

Re: Dell XPS 13 (9343) - No Bluetooth

Running it with the "normal" kernel:

Linux turbine 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64 GNU/Linux

it loads the firmware:

Jun 20 11:48:37 turbine kernel: Bluetooth: hci0: BCM: firmware hci_ver=06 hci_rev=1624 lmp_ver=06 lmp_subver=220e

.., and works correctly.

Does anyone have an idea what I have to do to get it to work with the mainline kernel?


Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black)
Languages: C, C++, ASM, Pascal & Java

Offline

#3 2015-06-20 14:52:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,684

Re: Dell XPS 13 (9343) - No Bluetooth

No, but....   

Run the -ARCH kernel and capture the output of lsmod and of zcat /proc/config.gz
Do the same for the -mainline kernel.

Compare the modules that are in use by the two kernels by looking at the difference in the loaded modules.
The bigger task will be comparing the differences in configuration between the kernels; I am hoping the difference in the loaded modules will provide a clue as to which kernel configuration parameters matter.

Ever built a kernel before?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2015-06-23 07:04:09

red-lichtie
Member
Registered: 2015-03-08
Posts: 46

Re: Dell XPS 13 (9343) - No Bluetooth

Hi ewaller,

I managed to get it working with the mainline kernel, it was looking for the file "brcm/BCM20702A1-0a5c-216f.hcd" and that I had made the file as per the XPS 13 page on the wiki.

The file that works with the -ARCH kernel is called "brcm/BCM20702A0-0a5c-216f.hcd". I looked at the output so many times and didn't notice the change in the hardware revision number (I'm guessing that the A0 and A1 are hardware revision numbers). So it appears that the latest kernel version is more selective regarding the revision of the hardware and the name of the matching firmware.

Having copied the file over, the kernel module "btbcm" loaded without any more problems:

[    5.762213] Bluetooth: hci0: BCM: chip id 63
[    5.763211] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[    6.380730] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1572

Thanks for the pointers, that is what made me review the information that was being presented to me.


Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black)
Languages: C, C++, ASM, Pascal & Java

Offline

Board footer

Powered by FluxBB