@triton Sorry, cannot reproduce, builds fine here.
==> Finished making: tbs-linux_media-git r1590.8876436_02ed205_6.6.8_arch1_1-1 (tue 2 jan 2024 12:42:10)
If you are using a derivate and/or aur helper I cannot help you.
Git Clone URL: | https://aur.archlinux.org/tbs-linux_media-git.git (read-only, click to copy) |
---|---|
Package Base: | tbs-linux_media-git |
Description: | TBS linux open source drivers |
Upstream URL: | https://github.com/tbsdtv/linux_media |
Licenses: | GPL2 |
Conflicts: | tbs-dvb-drivers |
Provides: | linux_media |
Submitter: | swearchnick |
Maintainer: | swearchnick |
Last Packager: | swearchnick |
Votes: | 6 |
Popularity: | 0.000483 |
First Submitted: | 2017-06-17 08:49 (UTC) |
Last Updated: | 2023-09-27 15:16 (UTC) |
@triton Sorry, cannot reproduce, builds fine here.
==> Finished making: tbs-linux_media-git r1590.8876436_02ed205_6.6.8_arch1_1-1 (tue 2 jan 2024 12:42:10)
If you are using a derivate and/or aur helper I cannot help you.
It fails to compile with I am runing default kernel and installed headers.
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~
It fails to compile
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~
@swearchnick @lewirih513 The issue has been fixed upstream, however tbs need to apply the changes in this patch (replacing EXPORT_SYMBOL with EXPORT_SYMBOL_GPL) (https://github.com/torvalds/linux/commit/86495af1171e1feec79faa9b64c05c89f46e41d1) to at the very least, the following line (and for completeness - others too): https://github.com/tbsdtv/linux_media/blob/latest/drivers/media/tuners/av201x.c#L298
@swearchnick compilation works and card is recognized (TBS5520SE), but it can't find the frontend1. So it doesn't work.
dvb-usb: found a 'TurboSight TBS 5520SE' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-id5520se.fw'
dvb-usb: found a 'TurboSight TBS 5520SE' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvbdev: DVB: registering new adapter (TurboSight TBS 5520SE)
dvb-usb: MAC address: XX:XX:XX:XX:XX:XX
DVB: Unable to find symbol av201x_attach()
dvb-usb: no frontend was attached by 'TurboSight TBS 5520SE'
dvb-usb: TurboSight TBS 5520SE successfully initialized and connected.
@lewirih513 just edit "compat.h" in your comment and remove ", vmas" argument at the end and it will work. (Use makepkg -o first, then edit file, then make the package with makepkg -e.). Hopefully upstream will update soon, else I will update the PKGBUILD when I have access to my computer.
Can't build on kernel 6.5.2
/home/linux/tbs-linux_media-git/src/media_build/v4l/compat.h: In function 'get_user_pages_longterm': /home/linux/tbs-linux_media-git/src/media_build/v4l/compat.h:673:16: error: too many arguments to function 'get_user_pages' 673 | return get_user_pages(start, nr_pages, gup_flags, pages, vmas);
First of all: please don't bother, I'm just trying to tell what happens to me. Will fall back to linux 6.2.2.
tbs-linux_media-kit. Sorry, typing error.
Tried again today, but AUR only offers tbs-linux_media-git r1547.4fd7679_6.2.7_arch1_1-1. So: same error.
As of now, I have built quite a few different AUR packages, but to be honest, never built in a "clean chroot". As soon as I have the time, I will try to do that.
In the meantime, again, please don't bother.
Pinned Comments