LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-17-2018, 05:30 PM   #1
sabaton
LQ Newbie
 
Registered: Apr 2018
Location: Belgium
Distribution: openSUSE Leap
Posts: 6

Rep: Reputation: Disabled
Question [SOLVED] Issues with rtl8723be Bluetooth & Philips SHB3060 bluetooth headphones


Hi all.

Switched from Fedora to Sabayon recently. Been having issues setting up my Philips SHB3060 bluetooth headphones under almost every single distro I've tried although it worked relatively well using Fedora.

I'm constantly listening to music while I'm busy so I really need these to work properly. This time though, I'm out of luck. And I've been digging deep.

This is the system I'm running:

Code:
Linux sabayon.local 4.15.0-sabayon #1 SMP Sun Apr 1 16:11:26 UTC 2018 x86_64 Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz GenuineIntel GNU/Linux
Sabayon Linux 17.03 amd64 KDE # Sabayon edition
Sabayon Linux[b] amd64 18.04 # Sabayon release
With KDE 5.12.

I initially got the following dmesg error related to bluetooth:

Code:
$ dmesg | grep -i bluetooth
[   28.228251] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   28.228255] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   28.258846] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   28.258857] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
I managed to downloaded the file thanks to others who reported similar issues elsewhere. I figured out it was missing in the /usr/lib64/rtl_bt/ directory so I placed it there and rebooted which gave me the following:

Code:
$ dmesg | grep -i bluetooth
[    2.998856] usb 1-8: Product: Bluetooth Radio 
[   46.940554] Bluetooth: Core ver 2.22
[   46.940556] Bluetooth: Starting self testing
[   46.940556] Bluetooth: Finished self testing
[   46.940574] Bluetooth: HCI device and connection manager initialized
[   46.940578] Bluetooth: HCI socket layer initialized
[   46.940581] Bluetooth: L2CAP socket layer initialized
[   46.940586] Bluetooth: SCO socket layer initialized
[   47.423094] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   47.423096] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   47.495666] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   47.511074] Bluetooth: hci0: rom_version status=0 version=1
[   47.511086] Bluetooth: hci0: cfg_sz 44, total size 22540
[   50.813578] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   50.813580] Bluetooth: BNEP filters: protocol multicast
[   50.813583] Bluetooth: BNEP socket layer initialized
[   71.284437] Bluetooth: RFCOMM TTY layer initialized
[   71.284445] Bluetooth: RFCOMM socket layer initialized
[   71.284452] Bluetooth: RFCOMM ver 1.11
and

Code:
[  130.407998] ------------[ cut here ]------------
[  130.408031] rtl8723be: error H2C cmd because of Fw download fail!!!
[  130.408081] WARNING: CPU: 1 PID: 33 at drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c:227 rtl8723be_fill_h2c_cmd+0x3da/0x410 [rtl8723be]
[  130.408134] Modules linked in: ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media uas mmc_block iTCO_wdt iTCO_vendor_support joydev rtsx_pci_ms btusb btrtl hid_multitouch btbcm btintel memstick bluetooth rtsx_pci_sdmmc mmc_core ecdh_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi rtl8723be coretemp kvm_intel btcoexist snd_soc_skl rtl8723_common kvm snd_soc_skl_ipc rtl_pci snd_soc_sst_ipc
[  130.408431]  rtlwifi snd_hda_codec_realtek snd_soc_sst_dsp mac80211 irqbypass snd_hda_ext_core snd_hda_codec_generic crct10dif_pclmul efi_pstore cfg80211 snd_soc_acpi crc32_pclmul crc32c_intel ghash_clmulni_intel snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine i2c_i801 idma64 efivars pcbc processor_thermal_device intel_lpss_pci aesni_intel crypto_simd glue_helper int340x_thermal_zone intel_lpss cryptd snd_hda_intel input_leds asus_nb_wmi asus_wmi rtsx_pci pcspkr serio_raw sparse_keymap tpm_crb intel_soc_dts_iosf shpchp intel_pch_thermal i2c_hid tpm_tis tpm_tis_core tpm acpi_pad int3400_thermal asus_wireless acpi_thermal_rel sch_fq_codel efivarfs ipv6 crc_ccitt dm_thin_pool dm_persistent_data dm_bio_prison dm_service_time dm_round_robin dm_queue_length dm_multipath dm_log_userspace dm_flakey
[  130.408725]  dm_delay virtio_pci virtio_scsi virtio_blk virtio_console virtio_balloon xts aes_x86_64 sha512_generic sha256_generic iscsi_tcp libiscsi_tcp ixgb ixgbe samsung_sxgbe tulip cxgb cxgb4 vxge bonding vxlan ip6_udp_tunnel udp_tunnel macvlan vmxnet3 virtio_net virtio_ring virtio tg3 sky2 pcnet32 igb ptp pps_core dca e1000 atl1c fuse overlay xfs nfs lockd grace sunrpc jfs reiserfs ext4 jbd2 fscrypto ext2 mbcache firewire_core sl811_hcd xhci_plat_hcd ohci_pci ohci_hcd uhci_hcd ehci_pci ehci_hcd lpfc nvmet_fc nvmet configfs qla2xxx nvme_fc nvme_fabrics sx8 imm parport pata_pcmcia pcmcia hid_generic snd_hda_codec r8169 snd_hda_core snd_hwdep i915 snd_pcm snd_timer snd mii drm_kms_helper drm intel_gtt agpgart xhci_pci fb_sys_fops syscopyarea sysfillrect xhci_hcd sysimgblt i2c_algo_bit
[  130.409037] CPU: 1 PID: 33 Comm: kworker/1:1 Not tainted 4.15.0-sabayon #1
[  130.409067] Hardware name: ASUSTeK COMPUTER INC. X541UAK/X541UAK, BIOS X541UAK.306 07/05/2017
[  130.409107] Workqueue: rtl8723be_pci rtl_c2hcmd_wq_callback [rtlwifi]
[  130.409138] RIP: 0010:rtl8723be_fill_h2c_cmd+0x3da/0x410 [rtl8723be]
[  130.409166] RSP: 0018:ffffc90001a03d70 EFLAGS: 00010286
[  130.409191] RAX: 0000000000000037 RBX: ffff88034cd51500 RCX: 0000000000000006
[  130.409233] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff88035ec96850
[  130.409263] RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000003e2
[  130.409294] R10: ffffc90001933e98 R11: ffffffff8210c920 R12: 0000000000000000
[  130.409325] R13: 0000000000000000 R14: ffffc90001a03e07 R15: dead000000000100
[  130.409356] FS:  0000000000000000(0000) GS:ffff88035ec80000(0000) knlGS:0000000000000000
[  130.409390] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  130.409416] CR2: 00000000021ba000 CR3: 000000000460a002 CR4: 00000000003606e0
[  130.409447] Call Trace:
[  130.409465]  ? iscsi_session_setup+0x260/0x2c0
[  130.409489]  halbtc_set_bt_reg+0xcc/0x410 [btcoexist]
[  130.409515]  ex_btc8723b1ant_bt_info_notify+0x629/0x690 [btcoexist]
[  130.409545]  rtl_c2hcmd_launcher+0xa7/0x100 [rtlwifi]
[  130.409569]  process_one_work+0x19a/0x340
[  130.409589]  worker_thread+0x42/0x3f0
[  130.409608]  ? __schedule+0x22b/0x590
[  130.409627]  kthread+0xeb/0x120
[  130.409643]  ? process_one_work+0x340/0x340
[  130.409664]  ? kthread_create_on_node+0x40/0x40
[  130.409686]  ret_from_fork+0x35/0x40
[  130.409706] Code: e8 a1 2f 1d e0 31 c9 31 f6 66 89 4c 24 16 66 89 74 24 14 e9 79 fd ff ff 48 c7 c7 80 d6 ee a0 c6 05 db 2f 01 00 01 e8 d6 97 18 e0 <0f> 0b e9 60 fc ff ff 44 89 e6 48 89 df ff 93 50 09 00 00 e9 4d 
[  130.409811] ---[ end trace ed4e270be42285c4 ]---
However, I'm not sure how this impacts my headphones. I've managed to pair them and after I installed the above-mentioned file and installed the bluez-firmware package, I've also managed to connect my headphones. Unfortunately, playback has lots of skipping going on and eventually the headphones just disconnect and I have to reconnect them. Sometimes this works, sometimes it doesn't.

Restarting bluetooth service and Pulseaudio sometimes does the trick but after rebooting you often have to repeat the process with little to no success.

So for the time being, I'm either stuck with this:

Code:
[bluetooth]# connect 00:11:67:2B:8C:5C 
Attempting to connect to 00:11:67:2B:8C:5C
Failed to connect: org.bluez.Error.Failed
or crappy audio playback even with a2dp enabled.

Can you guys help me out, please? I'm really just a Linux desktop user and while I've used Linux for years, I'm clueless as to how to solve this. I've already spent way too much time on this. Setting up bluetooth headphones should really only take a minute.

I've originally posted my query here.

Last edited by sabaton; 04-18-2018 at 02:59 PM.
 
Old 04-18-2018, 02:57 PM   #2
sabaton
LQ Newbie
 
Registered: Apr 2018
Location: Belgium
Distribution: openSUSE Leap
Posts: 6

Original Poster
Rep: Reputation: Disabled
It turns out there's some bug in Pulseaudio. I followed the advice I found here, rebooted the system and now it works for me. Too bad I didn't come across that earlier but at least I've learned a thing or two in the process! :mrgreen:

For reference, here are the steps to take:

Code:
$ sudo nano /etc/pulse/default.pa
Comment out this line:

Code:
#load-module module-bluetooth-discover
Then

Code:
$ sudo nano /usr/bin/start-pulseaudio-x11
and add the following at the end of the file:

Code:
/usr/bin/pactl load-module module-bluetooth-discover
Reboot.

If necessary, run this:

Code:
$ pactl set-card-profile <card> a2dp_sink
Hope this helps anyone having similar issues!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu bluetooth + headphones blastfox Ubuntu 0 11-22-2017 02:44 PM
Bluetooth headphones as an A2DP sink flyinggeorge Linux - Hardware 6 08-21-2014 07:49 PM
Stereo bluetooth headphones vs Wired Headphones WHITE_POWER General 2 06-04-2013 03:35 PM
[SOLVED] Bluetooth (A2DP) headphones in KDE dlachausse Slackware 4 02-06-2013 06:51 AM
2 Bluetooth Headphones on 1 Linux System, How ? skate Linux - Software 0 06-17-2008 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration