SDIO bluetooth on sid

Getting your soundcard to work, using Debian on non-i386 hardware, etc

SDIO bluetooth on sid

Postby dpeterson3 » 2017-04-14 17:14

I'm trying to get the internal bluetooth adapter working on my atom tablet. Its built into the wireless. The card is a Broadcom 43341. I have copied the hcd file from windows into /lib/firmware/brcm/. With or without the hcd file, I have device hci0 which shows up in /sys/devices/bluetooth, and it shows up in rfkill list, but it does not show up with
bluetoothctl. Hciconfig gives the following result
Code: Select all
root@wt10pe:/var/log# hciconfig -a
hci0:   Type: Primary  Bus: SDIO
        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
        DOWN
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:0 acl:0 sco:0 commands:0 errors:0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DH1 HV1
        Link policy:
        Link mode: SLAVE ACCEPT

which seems to say the device is down, but when I try to bring it up I get
Code: Select all
root@wt10pe:/var/log# hciconfig hci0 up
Can't init device hci0: Input/output error (5)


dmesg doesn't mention anything about hci0 or bluetooth. Syslog has a couple of entries, but they are all just systemd trying to attach to hci0. I've tried the solution here
https://bugzilla.kernel.org/show_bug.cgi?id=98021
but with /dev/ttyS1 instead, and I get a new device hci1. The new device gives a couple of tx errors and doesn't work. If the device is on a UART, it would have to be ttyS1 in my case. ttyS0 is the ISA bridge, ttyS2 is the GPS, and ttyS3 throws an error when you try to open it. Again, nothing in dmesg and nothing new in syslog. I think I should see the system try to load the firmware, but I don't see that anywhere, and I'm not sure how to convince it to load the firmware. For a while, I had the btsdio module blacklisted because it conflicted with the wireless, but I have removed the black list and the module loads, but I still do not get any messages in dmesg or syslog. I think this should be the only module I need to load. Does anyone have any idea why I might have hci0 show up but can't seem to use it?

lsmod just for good measure
Code: Select all
hci_uart               98304  0
btbcm                  16384  1 hci_uart
btqca                  16384  1 hci_uart
btintel                16384  1 hci_uart
bnep                   20480  2
fuse                   98304  7
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
gpio_keys              20480  0
snd_soc_sst_bytcr_rt5640    20480  1
binfmt_misc            20480  1
intel_rapl             20480  0
intel_soc_dts_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             196608  0
kvm                   585728  1 kvm_intel
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
nls_ascii              16384  1
ghash_clmulni_intel    16384  0
nls_cp437              20480  1
pcbc                   16384  0
vfat                   20480  1
fat                    65536  1 vfat
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
efi_pstore             16384  0
btsdio                 16384  0
intel_cstate           16384  0
bluetooth             548864  13 btsdio,hci_uart,btintel,btqca,bnep,btbcm
efivars                20480  1 efi_pstore
pcspkr                 16384  0
brcmfmac              249856  0
brcmutil               16384  1 brcmfmac
cfg80211              589824  1 brcmfmac
evdev                  24576  6
joydev                 20480  0
i915                 1220608  21
lpc_ich                24576  0
mfd_core               16384  1 lpc_ich
button                 16384  1 i915
drm_kms_helper        147456  1 i915
drm                   348160  7 i915,drm_kms_helper
i2c_algo_bit           16384  1 i915
toshiba_acpi           45056  0
sparse_keymap          16384  1 toshiba_acpi
rfkill                 24576  7 bluetooth,toshiba_acpi,cfg80211
wmi                    16384  1 toshiba_acpi
video                  40960  2 toshiba_acpi,i915
tpm_crb                16384  0
dw_dmac                16384  0
dw_dmac_core           24576  1 dw_dmac
soc_button_array       16384  0
dptf_power             16384  0
int3403_thermal        16384  0
int3402_thermal        16384  0
processor_thermal_device    16384  0
int340x_thermal_zone    16384  3 int3402_thermal,int3403_thermal,processor_thermal_device
intel_soc_dts_iosf     16384  2 intel_soc_dts_thermal,processor_thermal_device
int3400_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
ak8975                 20480  0
acpi_pad               24576  0
ac                     16384  0
inv_mpu6050_i2c        16384  0
inv_mpu6050            20480  2 inv_mpu6050_i2c
i2c_mux                16384  1 inv_mpu6050_i2c
bmc150_accel_spi       16384  0
bmc150_accel_i2c       16384  0
bmc150_accel_core      24576  2 bmc150_accel_spi,bmc150_accel_i2c
industrialio_triggered_buffer    16384  3 bmc150_accel_core,ak8975,inv_mpu6050
kfifo_buf              16384  1 industrialio_triggered_buffer
industrialio           69632  6 bmc150_accel_core,ak8975,inv_mpu6050,toshiba_acpi,industrialio_triggered_buffer,kfifo_buf
snd_soc_rt5645        147456  0
snd_soc_rt5640        118784  2 snd_soc_sst_bytcr_rt5640
snd_soc_rl6231         16384  2 snd_soc_rt5640,snd_soc_rt5645
snd_intel_sst_acpi     16384  1
battery                16384  0
snd_intel_sst_core     77824  1 snd_intel_sst_acpi
snd_soc_sst_mfld_platform   102400  3 snd_intel_sst_core
snd_soc_sst_match      16384  2 snd_soc_sst_bytcr_rt5640,snd_intel_sst_acpi
snd_soc_core          212992  4 snd_soc_sst_bytcr_rt5640,snd_soc_rt5640,snd_soc_rt5645,snd_soc_sst_mfld_platform
snd_compress           20480  1 snd_soc_core
snd_pcm               102400  5 snd_soc_sst_bytcr_rt5640,snd_soc_rt5640,snd_soc_rt5645,snd_soc_sst_mfld_platform,snd_soc_core
snd_timer              32768  1 snd_pcm
snd                    77824  7 snd_compress,snd_timer,snd_soc_sst_mfld_platform,snd_soc_core,snd_pcm
soundcore              16384  1 snd
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
tpm                    40960  3 tpm_tis,tpm_crb,tpm_tis_core
sch_fq_codel           20480  2
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
efivarfs               16384  1
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  589824  2
crc16                  16384  2 bluetooth,ext4
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
mbcache                16384  1 ext4
wacom                 102400  0
mmc_block              36864  7
crc32c_intel           24576  4
xhci_pci               16384  0
xhci_hcd              184320  1 xhci_pci
usbcore               241664  3 xhci_pci,brcmfmac,xhci_hcd
thermal                20480  0
fjes                   73728  0
i2c_hid                20480  0
hid                   118784  2 i2c_hid,wacom
i2c_designware_platform    16384  0
i2c_designware_core    20480  1 i2c_designware_platform
sdhci_acpi             16384  0
sdhci                  45056  1 sdhci_acpi
mmc_core              139264  5 sdhci,btsdio,mmc_block,sdhci_acpi,brcmfmac
dpeterson3
 
Posts: 52
Joined: 2008-06-25 14:58

Return to Hardware

Who is online

Users browsing this forum: deborah-and-ian and 3 guests

fashionable