lwfinger / rtl8723bs_bt

Bluetooth Code for RTL8723bs
71 stars 35 forks source link

Manjaro-Arch Linux Kernel 4.17 #28

Closed sheldonmaschmeyer closed 5 years ago

sheldonmaschmeyer commented 6 years ago

Hi, I am trying to get bluetooth to work on Manjaro-Arch Linux Kernel 4.17. Have a CHUWI Hi10 Pro (CWI529, HQ64G4216xxxx). I followed the instructions with no errors. Start_bt.sh when run prints "Using device /dev/ttyS1 for Bluetooth" But when I try to start Bluetooth Manager, states "no Bluetooth Adapters Detected" and "sudo hwdetect --show-bluetooth" shows nothing. Any advise appreciated.

lwfinger commented 6 years ago

That script can not always find the correct serial device. In addition, it has to guess at the starting rate.

Have you looked at file hciattach.txt?

I thought that kernels as new as 4.17 had code built in for serial BT devices.

sheldonmaschmeyer commented 6 years ago

No bluetooth adapters are being detected by default. 4.17 might have code for serial BT but, not the driver for my tablet. $ dmesg -t | grep tty | grep MMIO | cut -b 14-18 ttyS1 ttyS2

For ttyS1 - hciattach.txt: "Can't open serial port: No such file or directory Can't initialize device: Invalid argument"

For ttyS2 - hciattach.txt: Realtek Bluetooth init uart with init speed:115200, final_speed:115200, type:HCI UART H5 Realtek Bluetooth :Realtek hciattach version 2.5

Realtek Bluetooth :3-wire sync pattern resend : 1, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 2, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 3, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 4, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 5, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 6, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 7, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 8, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 9, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 10, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 11, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 12, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 13, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 14, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 15, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 16, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 17, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 18, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 19, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 20, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 21, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 22, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 23, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 24, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 25, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 26, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 27, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 28, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 29, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 30, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 31, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 32, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 33, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 34, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 35, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 36, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 37, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 38, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 39, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 40, len: 8

Realtek Bluetooth ERROR: H5 sync timed out

For ttyS2 I simplified your script: "

!/bin/bash

#

Shell script to install Bluetooth firmware and attach BT part of

RTL8723BS

#

TTY="/dev/ttyS2" echo "Using device $TTY for Bluetooth"

if [ ! -f /lib/firmware/rtl_bt/rtlbt_config ]; then mkdir -p /lib/firmware/rtlbt/ cp rtlbt* /lib/firmware/rtl_bt/. fi ./rtk_hciattach -n -s 115200 $TTY rtk_h5 > hciattach.txt 2>&1 & "

I also tried: sudo cp rtlbt_fw_new /lib/firmware/rtl_bt/rtlbt_fw

$ sudo hwdetect --show-bluetooth --> displays nothing $ sudo systemctl stop bluetooth $ sudo systemctl enable bluetooth $ sudo systemctl start bluetooth

Thank you for helping :-)

lwfinger commented 6 years ago

Please run the following to determine what ttyS devices are on your system: ls /dev/ttyS*

In addition, please copy the output of the dmesg command to some pastebin location and post the link here.

sheldonmaschmeyer commented 6 years ago

$ /dev/ttyS* /dev/ttyS0 /dev/ttyS2 /dev/ttyS3 $ dmesg [ 0.000000] Linux version 4.17.4-1-MANJARO (builduser@development) (gcc version 8.1.1 20180531 (GCC)) #1 SMP PREEMPT Tue Jul 3 18:11:09 UTC 2018 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.17-x86_64 root=UUID=eb1627ff-dc80-4044-bf9b-6e7b5f34c1cf rw quiet resume=UUID=7b02da92-ae35-4ed8-8aad-f070fdd20161 fbcon=rotate:1 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] x86/fpu: x87 FPU will use FXSAVE [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable [ 0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009dfff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001effffff] usable [ 0.000000] BIOS-e820: [mem 0x000000001f000000-0x00000000201fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000007ad01fff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ad02000-0x000000007ad31fff] reserved [ 0.000000] BIOS-e820: [mem 0x000000007ad32000-0x000000007ad5ffff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000007ad60000-0x000000007b5b2fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000007b5b3000-0x000000007b870fff] reserved [ 0.000000] BIOS-e820: [mem 0x000000007b871000-0x000000007b8f9fff] type 20 [ 0.000000] BIOS-e820: [mem 0x000000007b8fa000-0x000000007bffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e3ffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fea00000-0x00000000feafffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed03000-0x00000000fed03fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed06000-0x00000000fed06fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed09fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1cfff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fedbffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000ffa00000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] efi: EFI v2.40 by American Megatrends [ 0.000000] efi: ESRT=0x7ad30000 ACPI=0x7ad3c000 ACPI 2.0=0x7ad3c000 SMBIOS=0x7b770000 SMBIOS 3.0=0x7b76f000 [ 0.000000] SMBIOS 3.0.0 present. [ 0.000000] DMI: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD Hi10 pro tablet/Cherry Trail CR, BIOS 5.11 11/10/2016 [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x180000 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 000000000 mask F80000000 write-back [ 0.000000] 1 base 07E000000 mask FFE000000 uncachable [ 0.000000] 2 base 07D000000 mask FFF000000 uncachable [ 0.000000] 3 base 07C800000 mask FFF800000 uncachable [ 0.000000] 4 base 100000000 mask F80000000 write-back [ 0.000000] 5 base 07C400000 mask FFFC00000 uncachable [ 0.000000] 6 disabled [ 0.000000] 7 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] total RAM covered: 4036M [ 0.000000] Found optimal setting for mtrr clean up [ 0.000000] gran_size: 64K chunk_size: 64M num_reg: 6 lose cover RAM: 0G [ 0.000000] e820: update [mem 0x7c400000-0xffffffff] usable ==> reserved [ 0.000000] e820: last_pfn = 0x7c000 max_archpfn = 0x400000000 [ 0.000000] esrt: ESRT header is not in the memory map. [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Base memory trampoline at [ (ptrval)] 98000 size 24576 [ 0.000000] BRK [0x11366d000, 0x11366dfff] PGTABLE [ 0.000000] BRK [0x11366e000, 0x11366efff] PGTABLE [ 0.000000] BRK [0x11366f000, 0x11366ffff] PGTABLE [ 0.000000] BRK [0x113670000, 0x113670fff] PGTABLE [ 0.000000] BRK [0x113671000, 0x113671fff] PGTABLE [ 0.000000] BRK [0x113672000, 0x113672fff] PGTABLE [ 0.000000] BRK [0x113673000, 0x113673fff] PGTABLE [ 0.000000] BRK [0x113674000, 0x113674fff] PGTABLE [ 0.000000] Secure boot could not be determined [ 0.000000] RAMDISK: [mem 0x36e67000-0x3772afff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x000000007AD3C000 000024 (v02 ALASKA) [ 0.000000] ACPI: XSDT 0x000000007AD3C0C0 000104 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FACP 0x000000007AD590A0 00010C (v05 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: DSDT 0x000000007AD3C258 01CE47 (v02 ALASKA A M I 01072009 INTL 20120913) [ 0.000000] ACPI: FACS 0x000000007B5B2F80 000040 [ 0.000000] ACPI: APIC 0x000000007AD591B0 000084 (v03 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FPDT 0x000000007AD59238 000044 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FIDT 0x000000007AD59280 00009C (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: MSDM 0x000000007AD59320 000055 (v03 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: MCFG 0x000000007AD59378 00003C (v01 ALASKA A M I 01072009 MSFT 00000097) [ 0.000000] ACPI: SSDT 0x000000007AD593B8 0041C7 (v01 DptfTb DptfTab 00001000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007AD5D580 000645 (v01 CpuDpf CpuDptf 00001000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007AD5DBC8 000058 (v01 LowPM LowPwrM 00001000 INTL 20120913) [ 0.000000] ACPI: UEFI 0x000000007AD5DC20 000042 (v01 ALASKA A M I 00000000 00000000) [ 0.000000] ACPI: SSDT 0x000000007AD5DC68 000269 (v01 UsbCTb UsbCTab 00001000 INTL 20120913) [ 0.000000] ACPI: HPET 0x000000007AD5DED8 000038 (v01 ALASKA A M I 01072009 AMI. 00000005) [ 0.000000] ACPI: SSDT 0x000000007AD5DF10 000763 (v01 PmRef CpuPm 00003000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007AD5E678 000290 (v01 PmRef Cpu0Tst 00003000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007AD5E908 00017A (v01 PmRef ApTst 00003000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007AD5EA88 00043A (v01 Intel Tpm2Tabl 00001000 INTL 20120913) [ 0.000000] ACPI: TPM2 0x000000007AD5EEC8 000034 (v03 00000000 00000000) [ 0.000000] ACPI: LPIT 0x000000007AD5EF00 000104 (v01 ALASKA A M I 00000005 MSFT 0100000D) [ 0.000000] ACPI: BCFG 0x000000007AD5F008 000139 (v01 INTEL BATTCONF 00000001 ACPI 00000000) [ 0.000000] ACPI: PRAM 0x000000007AD5F148 000030 (v01 00000001 00000000) [ 0.000000] ACPI: BGRT 0x000000007AD5F178 000038 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: CSRT 0x000000007AD5F1B0 00014C (v00 INTEL LANFORDC 00000005 MSFT 0100000D) [ 0.000000] ACPI: BCFG 0x000000007AD5F300 000139 (v01 INTEL BATTCONF 00000001 ACPI 00000000) [ 0.000000] ACPI: OEM0 0x000000007AD5F440 000084 (v05 INTEL BATTERY 00000005 ACPI 00000000) [ 0.000000] ACPI: OEM1 0x000000007AD5F4C8 000040 (v01 INTEL ENRGYMGT 00000005 ACPI 0100000D) [ 0.000000] ACPI: PIDV 0x000000007AD5F508 0000DC (v02 00000002 00000000) [ 0.000000] ACPI: RSCI 0x000000007AD5F5E8 00002C (v01 INTEL BOOTSRC 00000000 00000000) [ 0.000000] ACPI: WDAT 0x000000007AD5F618 000104 (v01 00000000 00000000) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000017fffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x17fffb000-0x17fffefff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000017fffffff] [ 0.000000] Device empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000008efff] [ 0.000000] node 0: [mem 0x0000000000090000-0x000000000009dfff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000001effffff] [ 0.000000] node 0: [mem 0x0000000020200000-0x000000007ad01fff] [ 0.000000] node 0: [mem 0x000000007b8fa000-0x000000007bffffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000017fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000017fffffff] [ 0.000000] On node 0 totalpages: 1024420 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 22 pages reserved [ 0.000000] DMA zone: 3996 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 7753 pages used for memmap [ 0.000000] DMA32 zone: 496136 pages, LIFO batch:31 [ 0.000000] Normal zone: 8192 pages used for memmap [ 0.000000] Normal zone: 524288 pages, LIFO batch:31 [ 0.000000] Reserved but unavailable: 24156 pages [ 0.000000] Reserving Intel graphics memory at [mem 0x7ce00000-0x7edfffff] [ 0.000000] ACPI: PM-Timer IO Port: 0x408 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-114 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x1f000000-0x201fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ad02000-0x7ad31fff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ad32000-0x7ad5ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ad60000-0x7b5b2fff] [ 0.000000] PM: Registered nosave memory: [mem 0x7b5b3000-0x7b870fff] [ 0.000000] PM: Registered nosave memory: [mem 0x7b871000-0x7b8f9fff] [ 0.000000] PM: Registered nosave memory: [mem 0x7c000000-0x7cdfffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ce00000-0x7edfffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ee00000-0xdfffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xe4000000-0xfe9fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfea00000-0xfeafffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfeb00000-0xfebfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed01fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed02000-0xfed02fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed03000-0xfed03fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed04000-0xfed05fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed06000-0xfed06fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed07000-0xfed07fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed09fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed0a000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1cfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1d000-0xfed7ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfedbffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfedc0000-0xfedfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xff9fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xffa00000-0xffffffff] [ 0.000000] e820: [mem 0x7ee00000-0xdfffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns [ 0.000000] random: get_random_bytes called from start_kernel+0x95/0x535 with crng_init=0 [ 0.000000] setup_percpu: NR_CPUS:320 nr_cpumask_bits:320 nr_cpu_ids:4 nr_node_ids:1 [ 0.000000] percpu: Embedded 46 pages/cpu @ (ptrval) s151552 r8192 d28672 u524288 [ 0.000000] pcpu-alloc: s151552 r8192 d28672 u524288 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1008389 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.17-x86_64 root=UUID=eb1627ff-dc80-4044-bf9b-6e7b5f34c1cf rw quiet resume=UUID=7b02da92-ae35-4ed8-8aad-f070fdd20161 fbcon=rotate:1 [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 3880236K/4097680K available (10252K kernel code, 1296K rwdata, 3516K rodata, 1480K init, 608K bss, 217444K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Kernel/User page tables isolation: enabled [ 0.000000] ftrace: allocating 32971 entries in 129 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] CONFIG_RCU_FANOUT set to non-default value of 32 [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=4. [ 0.000000] RCU priority boosting: priority 1 delay 500 ms. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 20736, nr_irqs: 1024, preallocated irqs: 16 [ 0.000000] Offload RCU callbacks from CPUs: (none). [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] ACPI: Core revision 20180313 [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns [ 0.000000] hpet clockevent registered [ 0.000000] APIC: Switch to symmetric I/O mode setup [ 0.000000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 [ 0.016666] tsc: Detected 1440.000 MHz processor [ 0.016666] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x14c1baf3789, max_idle_ns: 440795266465 ns [ 0.016666] Calibrating delay loop (skipped), value calculated using timer frequency.. 2881.00 BogoMIPS (lpj=4800000) [ 0.016666] pid_max: default: 32768 minimum: 301 [ 0.016666] Security Framework initialized [ 0.016666] Yama: becoming mindful. [ 0.016666] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.021273] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.021381] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.021425] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.022038] CPU: Physical Processor ID: 0 [ 0.022041] CPU: Processor Core ID: 0 [ 0.022053] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.022055] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 0.022072] mce: CPU supports 6 MCE banks [ 0.022086] CPU0: Thermal monitoring enabled (TM1) [ 0.022091] process: using mwait in idle threads [ 0.022099] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0 [ 0.022102] Last level dTLB entries: 4KB 256, 2MB 16, 4MB 16, 1GB 0 [ 0.022107] Spectre V2 : Mitigation: Full generic retpoline [ 0.022414] Freeing SMP alternatives memory: 28K [ 0.030026] TSC deadline timer enabled [ 0.030036] smpboot: CPU0: Intel(R) Atom(TM) x5-Z8350 CPU @ 1.44GHz (family: 0x6, model: 0x4c, stepping: 0x4) [ 0.046695] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver. [ 0.046727] ... version: 3 [ 0.046730] ... bit width: 40 [ 0.046731] ... generic registers: 2 [ 0.046734] ... value mask: 000000ffffffffff [ 0.046736] ... max period: 0000007fffffffff [ 0.046737] ... fixed-purpose events: 3 [ 0.046739] ... event mask: 0000000700000003 [ 0.050022] Hierarchical SRCU implementation. [ 0.060400] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter. [ 0.063380] smp: Bringing up secondary CPUs ... [ 0.086723] x86: Booting SMP configuration: [ 0.086727] .... node #0, CPUs: #1 #2 #3 [ 0.134625] smp: Brought up 1 node, 4 CPUs [ 0.134625] smpboot: Max logical packages: 1 [ 0.134625] smpboot: Total of 4 processors activated (11524.00 BogoMIPS) [ 0.136886] devtmpfs: initialized [ 0.136886] x86/mm: Memory block size: 128MB [ 0.138139] PM: Registering ACPI NVS region [mem 0x0008f000-0x0008ffff] (4096 bytes) [ 0.138139] PM: Registering ACPI NVS region [mem 0x7ad60000-0x7b5b2fff] (8728576 bytes) [ 0.138139] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.138139] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.138139] pinctrl core: initialized pinctrl subsystem [ 0.138139] RTC time: 1:40:15, date: 07/09/18 [ 0.138139] NET: Registered protocol family 16 [ 0.140556] cpuidle: using governor ladder [ 0.140556] cpuidle: using governor menu [ 0.140556] ACPI: bus type PCI registered [ 0.140556] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.140556] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000) [ 0.140556] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820 [ 0.140556] PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) (size reduced!) [ 0.140556] PCI: Using configuration type 1 for base access [ 0.144141] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.144141] ACPI: Added _OSI(Module Device) [ 0.144141] ACPI: Added _OSI(Processor Device) [ 0.144141] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.144141] ACPI: Added _OSI(Processor Aggregator Device) [ 0.144141] ACPI: Added _OSI(Linux-Dell-Video) [ 0.218241] ACPI: 9 ACPI AML tables successfully acquired and loaded [ 0.245416] ACPI: Dynamic OEM Table Load: [ 0.245439] ACPI: SSDT 0xFFFF99CD3A4CE000 00059C (v01 PmRef Cpu0Ist 00003000 INTL 20120913) [ 0.247324] ACPI: Dynamic OEM Table Load: [ 0.247340] ACPI: SSDT 0xFFFF99CD3A6CBC00 0003A5 (v01 PmRef Cpu0Cst 00003001 INTL 20120913) [ 0.249570] ACPI: Dynamic OEM Table Load: [ 0.249586] ACPI: SSDT 0xFFFF99CD3A6BE600 00015F (v01 PmRef ApIst 00003000 INTL 20120913) [ 0.250713] ACPI: Dynamic OEM Table Load: [ 0.250727] ACPI: SSDT 0xFFFF99CD3A4F6000 00008D (v01 PmRef ApCst 00003000 INTL 20120913) [ 0.258131] ACPI: Interpreter enabled [ 0.258195] ACPI: (supports S0 S4 S5) [ 0.258199] ACPI: Using IOAPIC for interrupt routing [ 0.258319] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.260675] ACPI: Enabled 1 GPEs in block 00 to 3F [ 0.262997] ACPI: Power Resource [P06X] (off) [ 0.265980] ACPI: Power Resource [ID3C] (on) [ 0.270019] ACPI: Power Resource [USBC] (on) [ 0.271548] ACPI: Power Resource [WWPR] (off) [ 0.272537] ACPI: Power Resource [WWPR] (off) [ 0.274112] ACPI: Power Resource [WWPR] (off) [ 0.275058] ACPI: Power Resource [WWPR] (off) [ 0.276054] ACPI: Power Resource [WWPR] (off) [ 0.277173] ACPI: Power Resource [WWPR] (off) [ 0.288285] (null): Device [PWM1] is in always present list [ 0.294305] ACPI: Power Resource [CLK2] (on) [ 0.295002] ACPI: Power Resource [P28P] (off) [ 0.295154] ACPI: Power Resource [P18P] (off) [ 0.295309] sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:00/OVTI2680:00/power_resources_D0/LNXPOWER:0b' [ 0.295318] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.17.4-1-MANJARO #1 [ 0.295323] Hardware name: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD Hi10 pro tablet/Cherry Trail CR, BIOS 5.11 11/10/2016 [ 0.295325] Call Trace: [ 0.295346] dump_stack+0x5c/0x80 [ 0.295359] sysfs_warn_dup.cold.0+0x17/0x2a [ 0.295368] sysfs_do_create_link_sd.isra.0+0xb3/0xc0 [ 0.295375] sysfs_add_link_to_group+0x30/0x50 [ 0.295382] acpi_power_expose_list+0x74/0xa0 [ 0.295389] acpi_power_add_remove_device+0x50/0xa0 [ 0.295400] acpi_add_single_object+0x26b/0x6b0 [ 0.295408] acpi_bus_check_add+0xc6/0x240 [ 0.295414] ? _raw_spin_lock_irqsave+0x25/0x50 [ 0.295422] ? up+0x12/0x50 [ 0.295429] ? _raw_spin_unlock_irqrestore+0x20/0x40 [ 0.295437] ? acpi_os_signal_semaphore+0x70/0x80 [ 0.295444] acpi_ns_walk_namespace+0x133/0x281 [ 0.295449] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.295454] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.295457] acpi_walk_namespace+0xf3/0x13b [ 0.295468] ? acpi_sleep_proc_init+0x24/0x24 [ 0.295474] ? do_early_param+0x8e/0x8e [ 0.295477] acpi_bus_scan+0x78/0x90 [ 0.295483] acpi_scan_init+0x10a/0x250 [ 0.295490] ? acpi_sleep_proc_init+0x24/0x24 [ 0.295493] acpi_init+0x2d8/0x338 [ 0.295505] do_one_initcall+0x46/0x1f5 [ 0.295514] kernel_init_freeable+0x21c/0x2ae [ 0.295522] ? rest_init+0xc5/0xc5 [ 0.295526] kernel_init+0xa/0xfd [ 0.295533] ret_from_fork+0x35/0x40 [ 0.295992] sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:00/OVTI2680:01/power_resources_D0/LNXPOWER:0b' [ 0.295997] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.17.4-1-MANJARO #1 [ 0.296000] Hardware name: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD Hi10 pro tablet/Cherry Trail CR, BIOS 5.11 11/10/2016 [ 0.296001] Call Trace: [ 0.296009] dump_stack+0x5c/0x80 [ 0.296014] sysfs_warn_dup.cold.0+0x17/0x2a [ 0.296019] sysfs_do_create_link_sd.isra.0+0xb3/0xc0 [ 0.296024] sysfs_add_link_to_group+0x30/0x50 [ 0.296028] acpi_power_expose_list+0x74/0xa0 [ 0.296033] acpi_power_add_remove_device+0x50/0xa0 [ 0.296038] acpi_add_single_object+0x26b/0x6b0 [ 0.296044] acpi_bus_check_add+0xc6/0x240 [ 0.296049] ? _raw_spin_lock_irqsave+0x25/0x50 [ 0.296053] ? up+0x12/0x50 [ 0.296057] ? _raw_spin_unlock_irqrestore+0x20/0x40 [ 0.296061] ? acpi_os_signal_semaphore+0x70/0x80 [ 0.296066] acpi_ns_walk_namespace+0x133/0x281 [ 0.296070] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.296074] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.296078] acpi_walk_namespace+0xf3/0x13b [ 0.296083] ? acpi_sleep_proc_init+0x24/0x24 [ 0.296088] ? do_early_param+0x8e/0x8e [ 0.296091] acpi_bus_scan+0x78/0x90 [ 0.296096] acpi_scan_init+0x10a/0x250 [ 0.296101] ? acpi_sleep_proc_init+0x24/0x24 [ 0.296104] acpi_init+0x2d8/0x338 [ 0.296110] do_one_initcall+0x46/0x1f5 [ 0.296117] kernel_init_freeable+0x21c/0x2ae [ 0.296121] ? rest_init+0xc5/0xc5 [ 0.296125] kernel_init+0xa/0xfd [ 0.296129] ret_from_fork+0x35/0x40 [ 0.296275] ACPI: Power Resource [CLK4] (on) [ 0.296661] sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:00/OVB2680:00/power_resources_D0/LNXPOWER:0b' [ 0.296666] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.17.4-1-MANJARO #1 [ 0.296666] Hardware name: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD Hi10 pro tablet/Cherry Trail CR, BIOS 5.11 11/10/2016 [ 0.296666] Call Trace: [ 0.296666] dump_stack+0x5c/0x80 [ 0.296666] sysfs_warn_dup.cold.0+0x17/0x2a [ 0.296666] sysfs_do_create_link_sd.isra.0+0xb3/0xc0 [ 0.296666] sysfs_add_link_to_group+0x30/0x50 [ 0.296666] acpi_power_expose_list+0x74/0xa0 [ 0.296666] acpi_power_add_remove_device+0x50/0xa0 [ 0.296666] acpi_add_single_object+0x26b/0x6b0 [ 0.296666] acpi_bus_check_add+0xc6/0x240 [ 0.296666] ? _raw_spin_lock_irqsave+0x25/0x50 [ 0.296666] ? up+0x12/0x50 [ 0.296666] ? _raw_spin_unlock_irqrestore+0x20/0x40 [ 0.296666] ? acpi_os_signal_semaphore+0x70/0x80 [ 0.296666] acpi_ns_walk_namespace+0x133/0x281 [ 0.296666] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.296666] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.296666] acpi_walk_namespace+0xf3/0x13b [ 0.296666] ? acpi_sleep_proc_init+0x24/0x24 [ 0.296666] ? do_early_param+0x8e/0x8e [ 0.296666] acpi_bus_scan+0x78/0x90 [ 0.296666] acpi_scan_init+0x10a/0x250 [ 0.296666] ? acpi_sleep_proc_init+0x24/0x24 [ 0.296666] acpi_init+0x2d8/0x338 [ 0.296666] do_one_initcall+0x46/0x1f5 [ 0.296666] kernel_init_freeable+0x21c/0x2ae [ 0.296666] ? rest_init+0xc5/0xc5 [ 0.296666] kernel_init+0xa/0xfd [ 0.296666] ret_from_fork+0x35/0x40 [ 0.297101] sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:00/OVTI2680:02/power_resources_D0/LNXPOWER:0b' [ 0.297107] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.17.4-1-MANJARO #1 [ 0.297109] Hardware name: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD Hi10 pro tablet/Cherry Trail CR, BIOS 5.11 11/10/2016 [ 0.297110] Call Trace: [ 0.297119] dump_stack+0x5c/0x80 [ 0.297124] sysfs_warn_dup.cold.0+0x17/0x2a [ 0.297128] sysfs_do_create_link_sd.isra.0+0xb3/0xc0 [ 0.297133] sysfs_add_link_to_group+0x30/0x50 [ 0.297137] acpi_power_expose_list+0x74/0xa0 [ 0.297142] acpi_power_add_remove_device+0x50/0xa0 [ 0.297147] acpi_add_single_object+0x26b/0x6b0 [ 0.297153] acpi_bus_check_add+0xc6/0x240 [ 0.297158] ? _raw_spin_lock_irqsave+0x25/0x50 [ 0.297162] ? up+0x12/0x50 [ 0.297166] ? _raw_spin_unlock_irqrestore+0x20/0x40 [ 0.297170] ? acpi_os_signal_semaphore+0x70/0x80 [ 0.297175] acpi_ns_walk_namespace+0x133/0x281 [ 0.297179] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.297183] ? acpi_add_single_object+0x6b0/0x6b0 [ 0.297187] acpi_walk_namespace+0xf3/0x13b [ 0.297192] ? acpi_sleep_proc_init+0x24/0x24 [ 0.297197] ? do_early_param+0x8e/0x8e [ 0.297200] acpi_bus_scan+0x78/0x90 [ 0.297205] acpi_scan_init+0x10a/0x250 [ 0.297209] ? acpi_sleep_proc_init+0x24/0x24 [ 0.297213] acpi_init+0x2d8/0x338 [ 0.297219] do_one_initcall+0x46/0x1f5 [ 0.297226] kernel_init_freeable+0x21c/0x2ae [ 0.297230] ? rest_init+0xc5/0xc5 [ 0.297234] kernel_init+0xa/0xfd [ 0.297238] ret_from_fork+0x35/0x40 [ 0.300525] ACPI: Power Resource [CLK3] (on) [ 0.300672] ACPI: Power Resource [CLK4] (on) [ 0.314884] ACPI: Power Resource [CLK2] (on) [ 0.315029] ACPI: Power Resource [CLK1] (on) [ 0.317611] ACPI: Power Resource [CLK0] (on) [ 0.317763] ACPI: Power Resource [CLK1] (on) [ 0.320099] ACPI: Power Resource [CLK5] (off) [ 0.337854] (null): Device [GPED] is in always present list [ 0.341072] ACPI: Power Resource [P28X] (off) [ 0.341224] ACPI: Power Resource [P18X] (off) [ 0.341379] ACPI: Power Resource [P12X] (off) [ 0.341550] ACPI: Power Resource [P12P] (off) [ 0.341697] ACPI: Power Resource [P19X] (off) [ 0.341908] ACPI: Power Resource [P12A] (off) [ 0.342056] ACPI: Power Resource [P28T] (off) [ 0.342209] ACPI: Power Resource [P18D] (off) [ 0.342361] ACPI: Power Resource [P18T] (off) [ 0.342509] ACPI: Power Resource [P3P3] (off) [ 0.342661] ACPI: Power Resource [P12T] (off) [ 0.342822] ACPI: Power Resource [P28W] (off) [ 0.342973] ACPI: Power Resource [P18W] (off) [ 0.343127] ACPI: Power Resource [P12W] (off) [ 0.343274] ACPI: Power Resource [P33W] (off) [ 0.343435] ACPI: Power Resource [P33X] (off) [ 0.343595] ACPI: Power Resource [P4BW] (off) [ 0.354921] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.354939] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.356039] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability] [ 0.356085] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.358424] PCI host bridge to bus 0000:00 [ 0.358431] pci_bus 0000:00: root bus resource [io 0x0070-0x0077] [ 0.358435] pci_bus 0000:00: root bus resource [io 0x0000-0x006f window] [ 0.358439] pci_bus 0000:00: root bus resource [io 0x0078-0x0cf7 window] [ 0.358443] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.358447] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.358451] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window] [ 0.358455] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000fffff window] [ 0.358459] pci_bus 0000:00: root bus resource [mem 0x20000000-0x201fffff window] [ 0.358462] pci_bus 0000:00: root bus resource [mem 0x7ce00001-0x7ee00000 window] [ 0.358466] pci_bus 0000:00: root bus resource [mem 0x80000000-0xdfffffff window] [ 0.358471] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.358489] pci 0000:00:00.0: [8086:2280] type 00 class 0x060000 [ 0.359289] pci 0000:00:02.0: [8086:22b0] type 00 class 0x030000 [ 0.359324] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x90ffffff 64bit] [ 0.359339] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref] [ 0.359351] pci 0000:00:02.0: reg 0x20: [io 0xf000-0xf03f] [ 0.359389] pci 0000:00:02.0: BAR 2: assigned to efifb [ 0.359897] pci 0000:00:03.0: [8086:22b8] type 00 class 0x048000 [ 0.359920] pci 0000:00:03.0: reg 0x10: [mem 0x91000000-0x913fffff] [ 0.360463] pci 0000:00:0b.0: [8086:22dc] type 00 class 0x118000 [ 0.360496] pci 0000:00:0b.0: reg 0x10: [mem 0x91a3d000-0x91a3dfff 64bit] [ 0.361116] pci 0000:00:14.0: [8086:22b5] type 00 class 0x0c0330 [ 0.361158] pci 0000:00:14.0: reg 0x10: [mem 0x91a00000-0x91a0ffff 64bit] [ 0.361270] pci 0000:00:14.0: PME# supported from D3hot D3cold [ 0.361807] pci 0000:00:16.0: [8086:22b7] type 00 class 0x0c03fe [ 0.361838] pci 0000:00:16.0: reg 0x10: [mem 0x91400000-0x915fffff] [ 0.361950] pci 0000:00:16.0: PME# supported from D0 D3hot [ 0.362495] pci 0000:00:1a.0: [8086:2298] type 00 class 0x108000 [ 0.362526] pci 0000:00:1a.0: reg 0x10: [mem 0x91900000-0x919fffff] [ 0.362541] pci 0000:00:1a.0: reg 0x14: [mem 0x91800000-0x918fffff] [ 0.362647] pci 0000:00:1a.0: PME# supported from D0 D3hot [ 0.363157] pci 0000:00:1f.0: [8086:229c] type 00 class 0x060100 [ 0.366313] ACPI: \: failed to evaluate _DSM (0x1001) [ 0.383481] platform 80860F14:01: Linked as a consumer to 808622C1:06 [ 0.387058] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.387373] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.387683] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.387994] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.388305] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.388615] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.388925] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.389241] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 11 12 14 15) 0, disabled. [ 0.400511] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.400511] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.400511] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.400511] vgaarb: loaded [ 0.619305] pps_core: LinuxPPS API ver. 1 registered [ 0.619310] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.619319] PTP clock support registered [ 0.619339] EDAC MC: Ver: 3.0.0 [ 0.620070] Registered efivars operations [ 0.624103] PCI: Using ACPI for IRQ routing [ 0.626951] PCI: pci_cache_line_size set to 64 bytes [ 0.627004] Expanded resource Reserved due to conflict with PCI Bus 0000:00 [ 0.627011] e820: reserve RAM buffer [mem 0x0008f000-0x0008ffff] [ 0.627015] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff] [ 0.627018] e820: reserve RAM buffer [mem 0x1f000000-0x1fffffff] [ 0.627021] e820: reserve RAM buffer [mem 0x7ad02000-0x7bffffff] [ 0.627300] NetLabel: Initializing [ 0.627303] NetLabel: domain hash size = 128 [ 0.627305] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.627349] NetLabel: unlabeled traffic allowed by default [ 0.627881] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.627896] hpet0: 3 comparators, 64-bit 14.318180 MHz counter [ 0.630076] clocksource: Switched to clocksource tsc-early [ 0.666403] VFS: Disk quotas dquot_6.6.0 [ 0.666451] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.666744] pnp: PnP ACPI init [ 0.667241] system 00:00: [io 0x0680-0x069f] has been reserved [ 0.667248] system 00:00: [io 0x0400-0x047f] could not be reserved [ 0.667252] system 00:00: [io 0x0500-0x05fe] has been reserved [ 0.667268] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.667525] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.678813] system 00:02: [mem 0x91a3b000-0x91a3bfff] has been reserved [ 0.678820] system 00:02: [mem 0x91a39000-0x91a39fff] has been reserved [ 0.678825] system 00:02: [mem 0x91a37000-0x91a37fff] has been reserved [ 0.678829] system 00:02: [mem 0x91a26000-0x91a26fff] has been reserved [ 0.678834] system 00:02: [mem 0x91a24000-0x91a24fff] has been reserved [ 0.678839] system 00:02: [mem 0x91a22000-0x91a22fff] has been reserved [ 0.678843] system 00:02: [mem 0x91a20000-0x91a20fff] has been reserved [ 0.678848] system 00:02: [mem 0x91a1e000-0x91a1efff] has been reserved [ 0.678852] system 00:02: [mem 0x91a1c000-0x91a1cfff] has been reserved [ 0.678857] system 00:02: [mem 0x91a1a000-0x91a1afff] has been reserved [ 0.678861] system 00:02: [mem 0x91a18000-0x91a18fff] has been reserved [ 0.678866] system 00:02: [mem 0x91a35000-0x91a35fff] has been reserved [ 0.678871] system 00:02: [mem 0x91a33000-0x91a33fff] has been reserved [ 0.678875] system 00:02: [mem 0x91a31000-0x91a31fff] has been reserved [ 0.678880] system 00:02: [mem 0x91a2f000-0x91a2ffff] has been reserved [ 0.678885] system 00:02: [mem 0x91a2d000-0x91a2dfff] has been reserved [ 0.678889] system 00:02: [mem 0x91a2b000-0x91a2bfff] has been reserved [ 0.678894] system 00:02: [mem 0x91a29000-0x91a29fff] has been reserved [ 0.678899] system 00:02: [mem 0x91a27000-0x91a27fff] has been reserved [ 0.678914] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.679259] system 00:03: [mem 0xe0000000-0xefffffff] could not be reserved [ 0.679265] system 00:03: [mem 0xfea00000-0xfeafffff] has been reserved [ 0.679270] system 00:03: [mem 0xfed01000-0xfed01fff] has been reserved [ 0.679275] system 00:03: [mem 0xfed03000-0xfed03fff] has been reserved [ 0.679279] system 00:03: [mem 0xfed06000-0xfed06fff] has been reserved [ 0.679283] system 00:03: [mem 0xfed08000-0xfed09fff] has been reserved [ 0.679290] system 00:03: [mem 0xfed80000-0xfedbffff] could not be reserved [ 0.679295] system 00:03: [mem 0xfed1c000-0xfed1cfff] has been reserved [ 0.679299] system 00:03: [mem 0xfee00000-0xfeefffff] could not be reserved [ 0.679313] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.680023] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.682937] pnp: PnP ACPI: found 5 devices [ 0.692723] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.692748] pci_bus 0000:00: resource 4 [io 0x0070-0x0077] [ 0.692754] pci_bus 0000:00: resource 5 [io 0x0000-0x006f window] [ 0.692758] pci_bus 0000:00: resource 6 [io 0x0078-0x0cf7 window] [ 0.692762] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff window] [ 0.692766] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window] [ 0.692770] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window] [ 0.692774] pci_bus 0000:00: resource 10 [mem 0x000e0000-0x000fffff window] [ 0.692778] pci_bus 0000:00: resource 11 [mem 0x20000000-0x201fffff window] [ 0.692782] pci_bus 0000:00: resource 12 [mem 0x7ce00001-0x7ee00000 window] [ 0.692786] pci_bus 0000:00: resource 13 [mem 0x80000000-0xdfffffff window] [ 0.693397] NET: Registered protocol family 2 [ 0.693806] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes) [ 0.693873] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 0.694066] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 0.694280] TCP: Hash tables configured (established 32768 bind 32768) [ 0.694422] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 0.694482] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 0.694651] NET: Registered protocol family 1 [ 0.694705] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.695372] PCI: CLS 64 bytes, default 64 [ 0.695513] Unpacking initramfs... [ 0.966550] Freeing initrd memory: 8976K [ 0.966578] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.966586] software IO TLB [mem 0x73d24000-0x77d24000] (64MB) mapped at [ (ptrval)- (ptrval)] [ 0.966788] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x14c1baf3789, max_idle_ns: 440795266465 ns [ 0.966831] clocksource: Switched to clocksource tsc [ 0.967101] Scanning for low memory corruption every 60 seconds [ 0.968634] Initialise system trusted keyrings [ 0.968666] Key type blacklist registered [ 0.968829] workingset: timestamp_bits=41 max_order=20 bucket_order=0 [ 0.972586] zbud: loaded [ 0.973245] pstore: using lz4hc compression [ 0.978102] Key type asymmetric registered [ 0.978107] Asymmetric key parser 'x509' registered [ 0.978276] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.978402] io scheduler noop registered [ 0.978405] io scheduler deadline registered [ 0.978538] io scheduler cfq registered [ 0.978542] io scheduler mq-deadline registered [ 0.978544] io scheduler kyber registered [ 0.978564] io scheduler bfq registered [ 0.978636] io scheduler bfq-sq registered (default) [ 0.978640] BFQ I/O-scheduler: v8r12 (with cgroups support) [ 0.978713] io scheduler bfq-mq registered [ 0.978716] BFQ I/O-scheduler: v8r12 (with cgroups support) [ 0.979593] efifb: probing for efifb [ 0.979639] efifb: framebuffer at 0x80000000, using 9024k, total 9024k [ 0.979643] efifb: mode is 1200x1920x32, linelength=4800, pages=1 [ 0.979644] efifb: scrolling: redraw [ 0.979648] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 1.004697] Console: switching to colour frame buffer device 240x75 [ 1.028940] fb0: EFI VGA frame buffer device [ 1.028970] intel_idle: MWAIT substates: 0x33000020 [ 1.028973] intel_idle: v0.4.1 model 0x4C [ 1.029470] intel_idle: lapic_timer_reliable_states 0xffffffff [ 1.029718] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 [ 1.029742] ACPI: Power Button [PWRB] [ 1.029881] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1 [ 1.029903] ACPI: Lid Switch [LID0] [ 1.030034] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 1.030076] ACPI: Power Button [PWRF] [ 1.040943] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.040948] ACPI: Thermal Zone [TZ00] (0 C) [ 1.041870] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.062559] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.070421] intel_pstate: Intel P-state driver initializing [ 1.073035] ledtrig-cpu: registered to indicate activity on CPUs [ 1.075599] NET: Registered protocol family 10 [ 1.110284] Segment Routing with IPv6 [ 1.110392] NET: Registered protocol family 17 [ 1.113739] RAS: Correctable Errors collector initialized. [ 1.114256] microcode: sig=0x406c4, pf=0x1, revision=0x40a [ 1.114805] microcode: Microcode Update Driver: v2.2. [ 1.114848] sched_clock: Marking stable (1114781628, 0)->(1102049375, 12732253) [ 1.117218] registered taskstats version 1 [ 1.117245] Loading compiled-in X.509 certificates [ 1.117325] zswap: loaded using pool lzo/zbud [ 1.147298] Key type big_key registered [ 1.172812] i2c_designware 808622C1:06: I2C bus managed by PUNIT [ 1.187709] Magic number: 10:915:659 [ 1.188026] hctosys: unable to open rtc device (rtc0) [ 1.216661] Freeing unused kernel memory: 1480K [ 1.216715] Write protecting the kernel read-only data: 16384k [ 1.219372] Freeing unused kernel memory: 2016K [ 1.223241] Freeing unused kernel memory: 580K [ 1.545658] sdhci: Secure Digital Host Controller Interface driver [ 1.545662] sdhci: Copyright(c) Pierre Ossman [ 1.564109] mmc0: SDHCI controller on ACPI [80860F14:00] using ADMA [ 1.565026] mmc1: SDHCI controller on ACPI [INT33BB:00] using ADMA [ 1.575696] ACPI: bus type USB registered [ 1.575749] usbcore: registered new interface driver usbfs [ 1.575775] usbcore: registered new interface driver hub [ 1.575850] usbcore: registered new device driver usb [ 1.584481] mmc2: SDHCI controller on ACPI [80860F14:01] using ADMA [ 1.585387] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 1.585408] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 1.586603] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x81509810 [ 1.586619] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 1.587048] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.17 [ 1.587053] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.587056] usb usb1: Product: xHCI Host Controller [ 1.587059] usb usb1: Manufacturer: Linux 4.17.4-1-MANJARO xhci-hcd [ 1.587061] usb usb1: SerialNumber: 0000:00:14.0 [ 1.587462] hub 1-0:1.0: USB hub found [ 1.587495] hub 1-0:1.0: 7 ports detected [ 1.589626] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 1.589639] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 1.589652] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 1.589799] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.17 [ 1.589803] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.589806] usb usb2: Product: xHCI Host Controller [ 1.589809] usb usb2: Manufacturer: Linux 4.17.4-1-MANJARO xhci-hcd [ 1.589812] usb usb2: SerialNumber: 0000:00:14.0 [ 1.590306] hub 2-0:1.0: USB hub found [ 1.590337] hub 2-0:1.0: 6 ports detected [ 1.611313] mmc1: new high speed SDIO card at address 0001 [ 1.643006] mmc0: new HS200 MMC card at address 0001 [ 1.644055] mmcblk0: mmc0:0001 DF4064 58.2 GiB [ 1.645057] mmcblk0boot0: mmc0:0001 DF4064 partition 1 4.00 MiB [ 1.645798] mmcblk0boot1: mmc0:0001 DF4064 partition 2 4.00 MiB [ 1.646062] mmcblk0rpmb: mmc0:0001 DF4064 partition 3 4.00 MiB, chardev (243:0) [ 1.654087] mmcblk0: p1 p2 p3 [ 1.701504] random: fast init done [ 1.900893] PM: Image not found (code -22) [ 1.923543] usb 1-3: new high-speed USB device number 2 using xhci_hcd [ 2.066700] usb 1-3: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36 [ 2.066707] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.066711] usb 1-3: Product: USB2.0 Hub [ 2.068822] hub 1-3:1.0: USB hub found [ 2.069103] hub 1-3:1.0: 4 ports detected [ 2.070105] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.357171] usb 1-3.1: new low-speed USB device number 3 using xhci_hcd [ 2.454127] usb 1-3.1: New USB device found, idVendor=1c4f, idProduct=0063, bcdDevice= 1.10 [ 2.454145] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.454155] usb 1-3.1: Product: USB Keyboard [ 2.454165] usb 1-3.1: Manufacturer: LIZHICHIP [ 2.536940] usb 1-3.2: new full-speed USB device number 4 using xhci_hcd [ 2.608351] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN +PCRE2 default-hierarchy=hybrid) [ 2.625368] systemd[1]: Detected architecture x86-64. [ 2.630294] usb 1-3.2: New USB device found, idVendor=3938, idProduct=1047, bcdDevice= 1.18 [ 2.630311] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.630322] usb 1-3.2: Product: 2.4G Wireless Mouse [ 2.630331] usb 1-3.2: Manufacturer: MOSART Semi. [ 2.639740] systemd[1]: Set hostname to . [ 3.125528] random: systemd: uninitialized urandom read (16 bytes read) [ 3.125772] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 3.125989] random: systemd: uninitialized urandom read (16 bytes read) [ 3.138650] systemd[1]: Listening on Process Core Dump Socket. [ 3.138723] random: systemd: uninitialized urandom read (16 bytes read) [ 3.139010] systemd[1]: Listening on Journal Socket. [ 3.139250] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.140987] systemd[1]: Listening on LVM2 metadata daemon socket. [ 3.148274] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 3.148999] systemd[1]: Created slice system-getty.slice. [ 3.191308] ashmem_linux: loading out-of-tree module taints kernel. [ 3.233673] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 3.376078] systemd-journald[231]: Received request to flush runtime journal from PID 1 [ 3.880581] 8086228A:00: ttyS1 at MMIO 0x91a21000 (irq = 39, base_baud = 2764800) is a 16550A [ 3.881099] serial serial0: tty port ttyS1 registered [ 3.887365] 8086228A:01: ttyS2 at MMIO 0x91a1f000 (irq = 40, base_baud = 2764800) is a 16550A [ 3.915700] gslx680 i2c-MSSL1680:00: gsl_ts_probe: got a device named MSSL1680:00 at address 0x40, IRQ 119, flags 0x0 [ 3.927702] input: Silead GSLx680 Touchscreen as /devices/pci0000:00/808622C1:05/i2c-5/i2c-MSSL1680:00/input/input3 [ 3.930046] acpi INT3496:00: [Firmware Bug]: GPIO not in correct mode, fixing [ 3.930366] intel-int3496 INT3496:00: can't request USB MUX GPIO [ 3.946536] axp20x-i2c i2c-INT33F4:00: AXP20x variant AXP288 found [ 3.998280] axp20x-i2c i2c-INT33F4:00: AXP20X driver loaded [ 4.046810] rtc_cmos 00:04: registered as rtc0 [ 4.046885] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs [ 4.070683] proc_thermal 0000:00:0b.0: enabling device (0000 -> 0002) [ 4.135384] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 4.161277] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 4.166309] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 4.166319] cfg80211: failed to load regulatory.db [ 4.201561] Linux agpgart interface v0.103 [ 4.207621] input: PC Speaker as /devices/platform/pcspkr/input/input4 [ 4.221478] intel_sst_acpi 808622A8:00: LPE base: 0x91600000 size:0x200000 [ 4.221485] intel_sst_acpi 808622A8:00: IRAM base: 0x916c0000 [ 4.221558] intel_sst_acpi 808622A8:00: DRAM base: 0x91700000 [ 4.221570] intel_sst_acpi 808622A8:00: SHIM base: 0x91740000 [ 4.221582] intel_sst_acpi 808622A8:00: Mailbox base: 0x91744000 [ 4.221591] intel_sst_acpi 808622A8:00: DDR base: 0x20000000 [ 4.221844] intel_sst_acpi 808622A8:00: Got drv data max stream 25 [ 4.338896] r8723bs: module is from the staging directory, the quality is unknown, you have been warned. [ 4.349077] cryptd: max_cpu_qlen set to 1000 [ 4.365822] r8723bs: module is from the staging directory, the quality is unknown, you have been warned. [ 4.376828] RTL8723BS: module init start [ 4.376833] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40 [ 4.376835] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40 [ 4.425602] SSE version of gcm_enc/dec engaged. [ 4.429894] pnetdev = (ptrval) [ 4.449470] Adding 8682196k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:8682196k SSFS [ 4.518341] hidraw: raw HID events driver (C) Jiri Kosina [ 4.589649] usbcore: registered new interface driver usbhid [ 4.589728] usbhid: USB HID core driver [ 4.639022] RTL8723BS: rtw_ndev_init(wlan0) [ 4.640240] RTL8723BS: module init ret =0 [ 4.736663] input: gpio-keys as /devices/platform/gpio-keys.0.auto/input/input5 [ 4.738296] input: gpio-keys as /devices/platform/gpio-keys.1.auto/input/input6 [ 4.890916] checking generic (80000000 8d0000) vs hw (80000000 10000000) [ 4.890922] fb: switching to inteldrmfb from EFI VGA [ 4.890983] Console: switching to colour dummy device 80x25 [ 4.894144] [drm] Replacing VGA console driver [ 4.894563] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.894565] [drm] Driver supports precise vblank timestamp query. [ 4.900210] axp288_extcon axp288_extcon: controlling USB role [ 4.902307] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 4.923507] [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0 [ 4.926899] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 4.930598] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7 [ 4.930946] axp288_charger axp288_charger: Using INT3496 extcon for usb-id [ 4.931110] [drm] HDaudio controller not detected, using LPE audio instead [ 4.948575] intel-spi intel-spi: w25q64dw (8192 Kbytes) [ 4.977761] Creating 1 MTD partitions on "intel-spi": [ 4.977774] 0x000000000000-0x000000800000 : "BIOS" [ 5.033602] bytcr_rt5651 bytcr_rt5651: quirk IN2_HS_IN3_MAP enabled [ 5.033609] bytcr_rt5651 bytcr_rt5651: quirk realtek,jack-detect-source 1 [ 5.033613] bytcr_rt5651 bytcr_rt5651: quirk realtek,over-current-threshold-microamp 2000 [ 5.033616] bytcr_rt5651 bytcr_rt5651: quirk realtek,over-current-scale-factor 1 [ 5.033619] bytcr_rt5651 bytcr_rt5651: quirk MCLK_EN enabled [ 5.040905] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok [ 5.040996] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok [ 5.046846] intel_rapl: Found RAPL domain package [ 5.046852] intel_rapl: Found RAPL domain core [ 5.053683] bytcr_rt5651 bytcr_rt5651: rt5651-aif1 <-> ssp2-port mapping ok [ 5.062535] input: LIZHICHIP USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.0/0003:1C4F:0063.0001/input/input9 [ 5.074194] input: bytcr-rt5651 Headset as /devices/pci0000:00/808622A8:00/bytcr_rt5651/sound/card0/input8 [ 5.121741] hid-generic 0003:1C4F:0063.0001: input,hidraw0: USB HID v1.10 Keyboard [LIZHICHIP USB Keyboard] on usb-0000:00:14.0-3.1/input0 [ 5.121851] fbcon: inteldrmfb (fb0) is primary device [ 5.122521] input: LIZHICHIP USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.1/0003:1C4F:0063.0002/input/input10 [ 5.179056] hid-generic 0003:1C4F:0063.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [LIZHICHIP USB Keyboard] on usb-0000:00:14.0-3.1/input1 [ 5.179568] input: MOSART Semi. 2.4G Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:3938:1047.0003/input/input11 [ 5.233994] hid-generic 0003:3938:1047.0003: input,hidraw2: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Wireless Mouse] on usb-0000:00:14.0-3.2/input0 [ 5.234468] mousedev: PS/2 mouse device common for all mice [ 5.234936] input: MOSART Semi. 2.4G Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.1/0003:3938:1047.0004/input/input12 [ 5.290561] hid-generic 0003:3938:1047.0004: input,hiddev1,hidraw3: USB HID v1.10 Mouse [MOSART Semi. 2.4G Wireless Mouse] on usb-0000:00:14.0-3.2/input1 [ 5.380098] random: crng init done [ 5.380102] random: 7 urandom warning(s) missed due to ratelimiting [ 5.518927] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 16 -> VIRQ 138 [ 5.543552] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 17 -> VIRQ 139 [ 5.569030] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 18 -> VIRQ 140 [ 5.592395] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 19 -> VIRQ 141 [ 5.615701] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 24 -> VIRQ 146 [ 5.639030] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 25 -> VIRQ 147 [ 5.717765] Console: switching to colour frame buffer device 240x75 [ 5.773156] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device [ 5.838442] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1/input13 [ 5.839390] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1/input14 [ 5.839783] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1/input15 [ 6.724861] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 6.729514] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin [ 8.363693] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 8.475952] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 8.756615] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 10.306599] fuse init (API version 7.26) [ 11.186453] RTL8723BS: rtw_set_802_11_connect(wlan0) fw_state = 0x00000008 [ 11.409206] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02 [ 11.586181] RTL8723BS: start auth [ 11.597318] RTL8723BS: auth success, start assoc [ 11.606776] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !! [ 11.606786] RTL8723BS: assoc success [ 11.609953] RTL8723BS: send eapol packet [ 11.618950] RTL8723BS: send eapol packet [ 11.619134] RTL8723BS: set pairwise key camid:4, addr:90:50:ca:17:5d:58, kid:0, type:AES [ 11.619348] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 11.620086] RTL8723BS: set group key camid:5, addr:90:50:ca:17:5d:58, kid:2, type:AES [ 35.051801] usb 1-3: USB disconnect, device number 2 [ 35.051821] usb 1-3.1: USB disconnect, device number 3 [ 35.260670] usb 1-3.2: USB disconnect, device number 4 [ 35.687424] usb 1-3: new high-speed USB device number 5 using xhci_hcd [ 35.830362] usb 1-3: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36 [ 35.830383] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 35.830395] usb 1-3: Product: USB2.0 Hub [ 35.832950] hub 1-3:1.0: USB hub found [ 35.833277] hub 1-3:1.0: 4 ports detected [ 36.120399] usb 1-3.1: new low-speed USB device number 6 using xhci_hcd [ 36.218684] usb 1-3.1: New USB device found, idVendor=1c4f, idProduct=0063, bcdDevice= 1.10 [ 36.218705] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 36.218716] usb 1-3.1: Product: USB Keyboard [ 36.218726] usb 1-3.1: Manufacturer: LIZHICHIP [ 36.231798] input: LIZHICHIP USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.0/0003:1C4F:0063.0005/input/input16 [ 36.288958] hid-generic 0003:1C4F:0063.0005: input,hidraw0: USB HID v1.10 Keyboard [LIZHICHIP USB Keyboard] on usb-0000:00:14.0-3.1/input0 [ 36.296454] input: LIZHICHIP USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.1/0003:1C4F:0063.0006/input/input17 [ 36.350934] hid-generic 0003:1C4F:0063.0006: input,hiddev0,hidraw1: USB HID v1.10 Mouse [LIZHICHIP USB Keyboard] on usb-0000:00:14.0-3.1/input1 [ 36.433971] usb 1-3.2: new full-speed USB device number 7 using xhci_hcd [ 36.530365] usb 1-3.2: New USB device found, idVendor=3938, idProduct=1047, bcdDevice= 1.18 [ 36.530386] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 36.530399] usb 1-3.2: Product: 2.4G Wireless Mouse [ 36.530409] usb 1-3.2: Manufacturer: MOSART Semi. [ 36.540374] input: MOSART Semi. 2.4G Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:3938:1047.0007/input/input18 [ 36.598998] hid-generic 0003:3938:1047.0007: input,hidraw2: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Wireless Mouse] on usb-0000:00:14.0-3.2/input0 [ 36.604560] input: MOSART Semi. 2.4G Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.1/0003:3938:1047.0008/input/input19 [ 36.661938] hid-generic 0003:3938:1047.0008: input,hiddev1,hidraw3: USB HID v1.10 Mouse [MOSART Semi. 2.4G Wireless Mouse] on usb-0000:00:14.0-3.2/input1 [ 508.482503] RTL8723BS: send eapol packet [ 508.488120] RTL8723BS: set group key camid:6, addr:90:50:ca:17:5d:58, kid:1, type:AES

sheldonmaschmeyer commented 6 years ago

Hi, since hciattach is depreciated, I tried to use btattach (the replacement): " $ sudo btattach -N -S 115200 --bredr /dev/ttyS2 -P 3wire Attaching Primary controller to /dev/ttyS2 Switched line discipline from 0 to 15 Failed to get device id: Protocol driver not attached No controller attached " When changing protocol to h4 or bcm: " Attaching Primary controller to /dev/ttyS2 Switched line discipline from 0 to 15 Device index 0 attached $ sudo rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no " However, still cannot get blueman-adapters to show adapters or blueman-manager to work.

$ sudo btmgmt power on Set Powered for hci0 failed with status 0x11 (Invalid Index) $ bluetoothctl Agent registered [bluetooth]# show No default controller available

$ dmesg | grep Bluetooth [ 133.470492] Bluetooth: Core ver 2.22 [ 133.470589] Bluetooth: HCI device and connection manager initialized [ 133.470600] Bluetooth: HCI socket layer initialized [ 133.470605] Bluetooth: L2CAP socket layer initialized [ 133.470627] Bluetooth: SCO socket layer initialized [ 133.518108] Bluetooth: HCI UART driver ver 2.3 [ 133.518115] Bluetooth: HCI UART protocol H4 registered [ 133.518117] Bluetooth: HCI UART protocol BCSP registered [ 133.518162] Bluetooth: HCI UART protocol LL registered [ 133.518164] Bluetooth: HCI UART protocol ATH3K registered [ 133.518166] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 133.518354] Bluetooth: HCI UART protocol Intel registered [ 133.518563] Bluetooth: HCI UART protocol Broadcom registered [ 133.518566] Bluetooth: HCI UART protocol QCA registered [ 133.518568] Bluetooth: HCI UART protocol AG6XX registered [ 133.518570] Bluetooth: HCI UART protocol Marvell registered [ 133.691792] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 133.691797] Bluetooth: BNEP filters: protocol multicast [ 133.691808] Bluetooth: BNEP socket layer initialized [ 135.733360] Bluetooth: hci0: command 0x0c03 tx timeout [ 143.627112] Bluetooth: hci0: BCM: Reset failed (-110)

Enginecrafter77 commented 6 years ago

Confirmed this issue still persist in Arch Linux on 1.8.2018, and appears to not being fixed in the upstream kernel 4.18 (by browsing kernel tree). This issue really needs to be adressed, as many devices run this chip, and many users want their BT devices to work, and many times patching kernel is not an option (because lack of computing power and time).

svenha commented 6 years ago

Does a kernel bug report exist for this issue?

Enginecrafter77 commented 6 years ago

I doubt so. I analyzed the commits on the r8723bs driver in staging tree, and it seems there is little to no work being done on it, sooo... So you are probably not going to see it anytime soon, unless you are C guru and willing to move throught the commit submitting hassle.

lwfinger commented 6 years ago

Did you also look at the commits for drivers/bluetooth/btrtl.c? That is where any BT changes would be made. I know there are significant additions of code for serial devices in kernel 4.19-rc1, thus you probably should get the source for the mainline kernel and test with it. If your device does not work with that kernel (no external drivers needed), then that should be reported to the mailing list linux-bluetooth@vger.kernel.org.

FYI, my only part of this activity is to take drivers sent to me by Realtek and verify that they build. I do no testing of such drivers, thus I have no means of fixing them, other than build errors. Others are involved in the current work to ensure that the devices work with btrtl.ko in conjunction with btusb.ko.

Enginecrafter77 commented 6 years ago

I looked it up today in the kernel tree, and in 4.18 appears to be nothing related to the rtl8723BS in the drivers/bluetooth/btrtl.c, but in the upcoming release, 4.19 (rc3 currently), the btrtl.c appars to be supplied with some rtl8723BS-relevant code, so we could see some improvements soon I think. I currently don't have enought machines to test it on, so I can't test it anytime soon.

svenha commented 6 years ago

I switched to kernel 4.19.0-1-MANJARO #1 SMP PREEMPT Thu Sep 6 18:10:15 UTC 2018 x86_64 GNU/Linux without any improvement. i.e. the ttyS1 which is selected by the script start_bt.sh is not existing before I call it.

Some dumb questions:

Should I recreate this ttyS1 or will it be deleted by the (incorrect) boot process? It the former, how?

Do I have to uninstall some files from this repo?

All firmware files in /lib/firmware/rtl_bt have a .bin suffix except for the ones from this repo. Should they be renamed? I tried and followed the scheme in the Orochimarufan repo - no change.

Any findings whether rtlbt_fw or rtlbt_fw_new should be preferred?

Enginecrafter77 commented 6 years ago

No, manually creating the device file probably won't help you. At least it didn't for me. And... Let the files be as they are. Renaming them only confuses the software, so don't do it.

svenha commented 6 years ago

I can confirm that a missing device file (ttyS1 in my case) is a fatal symptom after booting. It is explained in issue #26.

emelcher commented 6 years ago

In kernel 4.19, no patch is needed. Neither start_bt.sh nor rtk_hciattach are needed. Kernel .config: CONFIG_SERIAL_8250_DW=m CONFIG_RFKILL_GPIO=m CONFIG_SERIAL_DEV_BUS=y CONFIG_BT_HCIUART_RTL=y Firmware: copy rtlbt_fw to /usr/lib/firmware/rtl_bt/rtl8723bs_fw.bin copy rtlbt_config to /usr/lib/firmware/rtl_bt/rtl8723bs_config.bin cd /usr/lib/firmware/rtl_bt; ln -s rtl8723bs_config.bin rtl8723bs_config-OBDA8723.bin Test (as root): hciconfig -a hciconfig hci0 up hciconfig hci0 piscan (as user): hcitool scan

svenha commented 6 years ago

The kernel .config for manjaro seems to be ok (checked for kernel 4.19), except that CONFIG_BT_HCIUART_RTL is not set. Is this a problem? Furthermore, the binaries hciconfig / hcitool are deprecated and not contained in newer distros like Manjaro.

emelcher commented 6 years ago

Yes, it is a problem. Even CONFIG_BT_HCIUART_RTL=m does not work, CONFIG_BT_HCIUART_RTL=y is needed. In my distribution (CentOS7) the commands hciconfig and hcitool are in a package named bluez.

lwfinger commented 6 years ago

If your kernel has CONFIG_BT_HCIUART_RTL=m, you might have to manually load module hci_uart. The serial BT device would not be able to be found by a bus scan. I cannot think of any other reason for the "m" option to fail.

svenha commented 5 years ago

Manjaro kernel 4.19.1 contains all required modules. Instead of hciconfig, one can use bluetoothctl, see https://wiki.archlinux.org/index.php/Bluetooth_keyboard .

sheldonmaschmeyer commented 5 years ago

I upgraded Ubuntu 18.10 Kernel to 4.20.3 using the Ukuu Kernel Update Utility I then followed the instructions below with some added steps: git https://github.com/lwfinger/rtl8723bs_bt.git cd rtl8723bs_bt cp rtlbt_fw /usr/lib/firmware/rtl_bt/rtl8723bs_fw.bin cp rtlbt_config /usr/lib/firmware/rtl_bt/rtl8723bs_config.bin cd /usr/lib/firmware/rtl_bt ln -s rtl8723bs_config.bin rtl8723bs_config-OBDA8723.bin

Reboot.

As a normal user configure bluetooth (only needed once) by starting bluetoothctl and then entering the following command at its prompt: list power on agent KeyboardOnly (sometimes already done) default-agent pairable on (turn your bluetooth device on and put into pairing mode) scan on pair 01:02:03:04:05:06 (use the id of your device here and below) paired-devices (just for information) trust 01:02:03:04:05:06 connect 01:02:03:04:05:06

Your bluetooth device should work now.

If you need to reconnect (after a reboot etc.), you only need power on and connect. You can put this in a shell script like this: echo "power on" | bluetoothctl echo "connect 01:02:03:04:05:06" | bluetoothctl --timeout 10

The issue is at the connect stage, it successfully pairs however, devices (laptop and android phone) don't connect to the tablet. To workaround this issue: sudo apt-get install blueman blueman-services Transfer -> Advanced: nautilus --browser obex://[%d] Then use the Bluetooth Manager from blueman

Unified Remotes using SDP bluetooth protocol below instructions: In /etc/systemd/system/dbus-org.bluez.service: ExecStart=/usr/lib/bluetooth/bluetoothd --compat ExecStartPost=/bin/chmod 777 /var/run/sdp So, progress has been made however, it is hacky

svenha commented 5 years ago

If you want to pair non-keyboard devices, the command agent KeyboardOnly does not look right.