Coder Social home page Coder Social logo

tplink-ub500-linux-patch-guide's People

Contributors

tedboudros-design avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tplink-ub500-linux-patch-guide's Issues

Adapter not found even after patching.

Hello there!

I recently purchased the tplink ub500 after I checked that it is supported for my kernel (6.4.0). However, whenever I try to use it using bluetoothctl of blueman-manager, the result is the same: "No controller available" and "No adapter(s) found"

I downloaded the firmware as specified but that did not help. I then went through the entire patch, step-by-step and did not encounter any errors. But the end result was the same. The adapter is not detected for use by Bluetooth but is detected when I run lsusb.

Any idea what I can do or what might be happening?

could not insert 'btusb': Invalid argument

Hello,

Thanks a lot for the guide. It's very helpful !

I met an issue with the sudo modprobe -v btusb command, though.

insmod /lib/modules/5.15.0-52-generic/kernel/drivers/bluetooth/btusb.ko 
modprobe: ERROR: could not insert 'btusb': Invalid argument

Any idea ? Thanks

Question : How to Sign the compiled patched file btusb.ko: linux-5.11/drivers/bluetooth and run

Hi, There Thanks for sharing this guided readme file really helpful,
I've to admit i am newbie to linux and this could me my mis understanding,

I've been able to follow the guides till mid step 3
i'm having issues at : Sign the compiled patched file btusb.ko: linux-5.11/drivers/bluetooth and run

i am running this comand : kmodsign sha512 MOK.priv MOK.der btusb.ko
at diretory : /home/noob/Desktop/linux-5.14

**I'am Getting This Error : **

MOK.der btusb.ko
At main.c:281:

  • SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
  • SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
    kmodsign: btusb.ko: No such file or directory

Shuld i change the current dir?
I wish to know a bit about this section, any help is really appricated :)

Thanks Again for making this guide 👍🏻

Error while compiling the kernel module

Need your help...
I am trying to compile this patch for the kernel version 5.4-132 in Ubuntu.... and after making all proposed changes I got the following erro.

Could you please help me what is wrong and how to fix it.

Thanks in advance.

`Step 4: Compile modules.

make: entering directory «/usr/src/linux-headers-5.4.0-132-generic»
make: entering directory «/usr/src/linux-headers-5.4.0-132-generic»
Make 1 done.

make: entering directory «/usr/src/linux-headers-5.4.0-132-generic»
CC [M] /home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth/hci_vhci.o
CC [M] /home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth/hci_ldisc.o
/home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth/hci_ldisc.c: In function ‘hci_uart_init’:
/home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth/hci_ldisc.c:836:23: error: assignment to ‘ssize_t (*)(struct tty_struct *, struct file *, unsigned char , size_t)’ {aka ‘long int ()(struct tty_struct *, struct file *, unsigned char , long unsigned int)’} from incompatible pointer type ‘ssize_t ()(struct tty_struct *, struct file *, unsigned char , size_t, void **, long unsigned int)’ {aka ‘long int ()(struct tty_struct *, struct file *, unsigned char *, long unsigned int, void **, long unsigned int)’} [-Werror=incompatible-pointer-types]
836 | hci_uart_ldisc.read = hci_uart_tty_read;
| ^
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:270: /home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth/hci_ldisc.o]
Error 1
make: *** [Makefile:1765: /home/yuri/Downloads/FIX_UB_500_BT_Stick/linux-5.4.132/drivers/bluetooth] Ошибка 2
make: leaving directory «/usr/src/linux-headers-5.4.0-132-generic»
Make 2 done.`

Question: Would this apply to UB5A?

There seems to be another version for both this and the 4.0 dongle. Only found one mention of them where it was said that they're the same but was never sure.

Have you been able to tell if there was a change in chipset or firmware or whatever?

error: ‘HCI_ISODATA_PKT’ undeclared (first use in this function); did you mean ‘HCI_SCODATA_PKT’?

Hi there,
I got an error when I build ko file.
Ubuntu 20.04
error: ‘HCI_ISODATA_PKT’ undeclared (first use in this function); did you mean ‘HCI_SCODATA_PKT’?
181 | case HCI_ISODATA_PKT:
| ^~~~~~~~~~~~~~~
| HCI_SCODATA_PKT
/home/jchou20/Downloads/linux-5.11/drivers/bluetooth/hci_vhci.c:181:7: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [scripts/Makefile.build:270: /home/jchou/Downloads/linux-5.11/drivers/bluetooth/hci_vhci.o] Error 1
make: *** [Makefile:1778: /home/jchou/Downloads/linux-5.11/drivers/bluetooth] Error 2
make: Leaving directory '/usr/src/linux-headers-5.4.0-174-generic'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.