Comment 5 for bug 1054307

Revision history for this message
Giorgio Cardarelli (giorgio-cardarelli) wrote :

Briefly:

1- you need kernel sources: apt-get source linux -image-$(uname -r)
2- you need your VID:PID pair. You can find them looking for idVendor (VID) and idProduct (PID) of your bt chip via lsusb -v
3- you have to check if your VID:PID are already mentioned in btusb.c and/or ath3k.c (kernel sources/drivers/bluetooth): if so, I don't know what to suggest... maybe you can try removing them and patch the sources anyway, but it's at your own risk
4- patch applies with patch -p0 < ATH3012.patch (please note that if you have different VID:PID the patch won't work and you have to modify kernel sources manually/modify the patch accordingly)
5- compile the modules
TIP1: cp /boot/config-$(uname -r) .config
TIP2: make -C /lib/modules/`uname -r`/build M=`pwd`/drivers/bluetooth/ modules
6- backup your original btusb.ko and ath3k.ko modules and copy the new ones in /lib/...
7- reboot

These are only brief instructions, you can Google for detailed help if needed

HTH
G.