Comment 23 for bug 1462614

Revision history for this message
arty (me-arty) wrote :

I tried to install both debs today on my Acer Switch 11 (SW5-171) which also reports "Bus 001 Device 006: ID 0489:e076 Foxconn / Hon Hai". Firmware installed normally, but the btusb didn't compile with following log:

DKMS make.log for btusb-lp1462614-0.1 for kernel 3.19.0-21-generic (x86_64)
Mo 29. Jun 21:45:30 CEST 2015
make: Entering directory '/usr/src/linux-headers-3.19.0-21-generic'
  LD /var/lib/dkms/btusb-lp1462614/0.1/build/built-in.o
  CC [M] /var/lib/dkms/btusb-lp1462614/0.1/build/btusb.o
/var/lib/dkms/btusb-lp1462614/0.1/build/btusb.c: In function ‘btusb_intr_complete’:
/var/lib/dkms/btusb-lp1462614/0.1/build/btusb.c:341:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
   if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:263: recipe for target '/var/lib/dkms/btusb-lp1462614/0.1/build/btusb.o' failed
make[1]: *** [/var/lib/dkms/btusb-lp1462614/0.1/build/btusb.o] Error 1
Makefile:1394: recipe for target '_module_/var/lib/dkms/btusb-lp1462614/0.1/build' failed
make: *** [_module_/var/lib/dkms/btusb-lp1462614/0.1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-3.19.0-21-generic'

I tried the same on the 4.1 kernel and got the same error.

I tried fetching the btusb.c and ath3k.c corresponding to my kernel and applied the patch to them. I was able to compile and install the modules, however during the boot I got an error that I can't find in the logs now, but it was about a packet size being 19 and not 18 (or vice versa)