longsleep installed headers for dkms usage
I tried to build the realtek bluetooth driver by checking out the github for my version and applying the config.gz before running make modules and it still thinks the version is different.  Can you supply a kernel headers tarball for use with dkms?

I have fixed up the Makefile (I think) and created a dkms.conf file to allow for automatic module compilation but it complains about symbol versions not being identical.

ubuntu@fjords:~$ cat /usr/src/rtk_btusb-v0.8/Makefile
FW_DIR    := /lib/firmware/rtk_bt
MDL_DIR    := /lib/modules/$(shell uname -r)
DRV_DIR    := $(MDL_DIR)/kernel/drivers/bluetooth


    obj-m := rtk_btusb.o
    KDIR := /lib/modules/$(KVER)/build

    PWD := $(shell pwd)
    KVER := $(shell uname -r)
    KDIR := /lib/modules/$(KVER)/build

    $(MAKE) -C $(KDIR) M=$(PWD) modules

    rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a

    mkdir -p $(FW_DIR)
    cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin
    cp -f rtl8723a_config.bin $(FW_DIR)/.
    cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko
    depmod -a $(KVER)
    @echo "install rtk_btusb success!"

    rm -f $(DRV_DIR)/rtk_btusb.ko
    dumped -a $(KVER)
    rm -f $(FW_DIR)/rtk8723a.bin
    echo "uninstall rtk_btusb success!"
ubuntu@fjords:~$ cat /usr/src/rtk_btusb-v0.8/dkms.conf 
MAKE="make all
MAKE_smp="make SMP=1 all
CLEAN="make clean"
Of course I might just be using the wrong driver for the Pine64, I was basing it off the wlan driver.
Kernel headers are there - latest kernel tarbal in /usr/src
Quick question? Is that the right driver Faye is trying to build, it looks like the USB variant of the 8723 to me...
Come have a chat in the Pine IRC channel >>
(06-15-2016, 02:28 PM)xalius Wrote: Quick question? Is that the right driver Faye is trying to build, it looks like the USB variant of the 8723 to me...

I can answer that really quickly, it isn't (or at least doesn't work for me)  I hoped that would be the quick one to test.
I've compiled the other tools now.  It didn't work on ttyS3, haven't had time to try with the other interfaces.

I played with https://github.com/lwfinger/rtl8723bs_bt earlier and got to talk to the BT part of the RTL, the tool seems to handshake and upload a binary to the module but I didnt get it to actually register as a BT adapter with Linux after that:


The correct tty seems to be /dev/ttyS1 which corresponds to the schematic and the device tree definitions...
Come have a chat in the Pine IRC channel >>

Possibly Related Threads…
Thread Author Replies Views Last Post
  DKMS on kernel 3.10.107-pine64 obrienmd 5 4,216 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 2,291 12-09-2017, 08:14 AM
Last Post: incoherent
  [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks moisesmcardona 3 5,178 07-27-2016, 01:16 PM
Last Post: NexusDude
  How to enable XDCMP on longsleep Xubuntu? melao 6 4,087 06-23-2016, 05:58 AM
Last Post: baldrob
Rainbow Longsleep magic ! Lutinmalin 6 4,287 06-08-2016, 05:54 PM
Last Post: texadactyl

Forum Jump:

Users browsing this thread: 1 Guest(s)