Package Details: rtbth-dkms-git 3.9.6.r7.gce4e65d-1

Git Clone URL: https://aur.archlinux.org/rtbth-dkms-git.git (read-only, click to copy)
Package Base: rtbth-dkms-git
Description: rtbth Kernel module sources for Ralink RT3290 bluetooth, lomiu's solution.
Upstream URL: http://www.mediatek.com/
Licenses: Mixed
Conflicts: rtbth-dkms
Provides: rtbth
Submitter: 9mmtylenol
Maintainer: None
Last Packager: TheGoliath
Votes: 5
Popularity: 0.000800
First Submitted: 2016-11-12 04:10
Last Updated: 2020-06-29 13:15

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

uselessfire commented on 2021-05-10 16:53

The same for me. lunux 5.12.1.arch1-1. gcc 10.2.0-6 ==> dkms install --no-depmod -m rtbth -v 3.9.6.r8.g989b89b -k 5.12.1-arch1-1 Error! Bad return status for module build on kernel: 5.12.1-arch1-1 (x86_64) Consult /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/make.log for more information.

Here is the file: https://pastebin.com/QsREsWrB

linoshkm commented on 2021-05-10 10:56

Doesn't compile on Kernel 5.12.2, have tried reinstalling linux-headers and dkms

This is the /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/make.log output

DKMS make.log for rtbth-3.9.6.r8.g989b89b for kernel 5.12.2-arch1-1 (x86_64) Mon May 10 04:10:54 PM IST 2021 make: Entering directory '/usr/lib/modules/5.12.2-arch1-1/build' CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_main.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_init.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_pci.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_bluez.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_hlpr_hw.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_hlpr_dbg.o CC [M] /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_hlpr_linux.o /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_main.c:38:25: error: expected declaration specifiers or ‘...’ before string constant 38 | MODULE_SUPPORTED_DEVICE("Ralink Bluetooth RT3290 cards"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: [scripts/Makefile.build:271: /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_main.o] Error 1 make[1]: Waiting for unfinished jobs.... In file included from /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/include/rt_linux.h:49, from /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:27: /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c: In function ‘rtbth_us_read’: ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:768:17: note: in expansion of macro ‘kfifo_out’ 768 | kfifo_out(gpAd->evt_fifo, &evt, sizeof(RTBTH_EVENT_T)); | ^~~~~~~~~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c: In function ‘rtbth_us_unlocked_ioctl’: ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1568:21: note: in expansion of macro ‘kfifo_out’ 1568 | kfifo_out(fifo, &chk[0] , sizeof(chk)); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1575:21: note: in expansion of macro ‘kfifo_out’ 1575 | kfifo_out(fifo, &len, sizeof(unsigned long)); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1582:21: note: in expansion of macro ‘kfifo_out’ 1582 | kfifo_out(fifo, buf, len); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1725:21: note: in expansion of macro ‘kfifo_out’ 1725 | kfifo_out(fifo, &chk[0] , sizeof(chk)); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1732:21: note: in expansion of macro ‘kfifo_out’ 1732 | kfifo_out(fifo, &rxbi, sizeof(rxbi)); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1733:21: note: in expansion of macro ‘kfifo_out’ 1733 | kfifo_out(fifo, &pkt_len, sizeof(pkt_len)); | ^~~~~~~~~ ./include/linux/kfifo.h:588:1: warning: ignoring return value of ‘__kfifo_uint_must_check_helper’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 588 | __kfifo_uint_must_check_helper( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | ({ \ | ~~~~ 590 | typeof((fifo) + 1) __tmp = (fifo); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | typeof(__tmp->ptr) __buf = (buf); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 592 | unsigned long __n = (n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | const size_t __recsize = sizeof(__tmp->rectype); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | struct __kfifo __kfifo = &__tmp->kfifo; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | (__recsize) ?\ | ~~~~~~~~~~~~~~ 596 | __kfifo_out_r(__kfifo, __buf, __n, __recsize) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | __kfifo_out(__kfifo, __buf, __n); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | }) \ | ~~~~ 599 | ) | ~ /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build/rtbth_core_us.c:1741:21: note: in expansion of macro ‘kfifo_out’ 1741 | kfifo_out(fifo, buf, pkt_len); | ^~~~~~~~~ make: *** [Makefile:1851: /var/lib/dkms/rtbth/3.9.6.r8.g989b89b/build] Error 2 make: Leaving directory '/usr/lib/modules/5.12.2-arch1-1/build

9mmtylenol commented on 2020-03-06 17:54

I'm disowning this package since I do not have the hardware anymore that utilizes it.

invik commented on 2018-04-27 08:48

Broken with kernel 4.16 (also, having this installed breaks wireless network).

josemtzsanchez commented on 2017-06-19 18:31

its /etc/modules-load.d/rtbth.conf
and add rtbth

invik commented on 2017-06-17 18:41

@agm28011997

Try to add a /etc/module-load.d/rtbth.conf file, containing a single line with the name of the module (rtbth).

usuariopolivalen commented on 2017-03-06 14:02

hello, the package give me the possibly to use the bluetooth, but.. the only manner to use is :
rmmod rtbth
modprobe rtbth
because with the automatic module load the bluetooth is not detected

step commented on 2016-11-14 12:07

I install your package cause rtbth-dkms don't work for now, i try to configure bluetooth, upon initial it's "connect" but at a later time it give me some error, such us:

nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: Bluetooth management interface 1.12 initialized
nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: Failed to obtain handles for "Service Changed" characteristic
nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: Sap driver initialization failed.
nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: sap-server: Operation not permitted (1)
nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: Endpoint registered: sender=:1.24 path=/MediaEndpoint/A2DPSource
nov 14 13:02:37 HP-ProBook-4540s bluetoothd[28525]: Endpoint registered: sender=:1.24 path=/MediaEndpoint/A2DPSink
nov 14 13:02:40 HP-ProBook-4540s bluetoothd[28525]: Failed to set mode: Failed (0x03)
nov 14 13:04:19 HP-ProBook-4540s bluetoothd[28525]: Failed to set mode: Failed (0x03)
nov 14 13:04:21 HP-ProBook-4540s bluetoothd[28525]: Failed to set mode: Failed (0x03)
nov 14 13:04:24 HP-ProBook-4540s bluetoothd[28525]: Failed to set mode: Faile[/code]d (0x03)

In my headphones I do not hear any sound, if not the beep when I get to 100% of the volume.
How i can resolve it?!