@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
Search Criteria
Package Details: tbs-linux_media-git r1580.420e143_bfcdb6f_6.5.5_arch1_1-1
Package Actions
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.037044 |
First Submitted: | 2017-06-17 08:49 (UTC) |
Last Updated: | 2023-09-27 15:16 (UTC) |
Dependencies (5)
- tbs-firmwareAUR
- git (git-gitAUR, git-glAUR) (make)
- linux-headers (make)
- patchutils (make)
- perl-proc-processtable (make)
Required by (0)
Sources (0)
JohnLBergqvist commented on 2023-09-19 16:40 (UTC) (edited on 2023-09-19 16:41 (UTC) by JohnLBergqvist)
lewirih513 commented on 2023-09-10 12:19 (UTC) (edited on 2023-09-10 12:27 (UTC) by lewirih513)
@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.
swearchnick commented on 2023-09-10 09:25 (UTC)
@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.
lewirih513 commented on 2023-09-10 06:11 (UTC)
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);
archcomp commented on 2023-04-17 22:38 (UTC)
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.
swearchnick commented on 2023-04-17 15:11 (UTC)
@archcomp I cannot reproduce this, just built it with 6.2.11: ==> Finished making: tbs-linux_media-git r1547.4fd7679_6.2.11_arch1_1-1 (mon 17 apr 2023 17:09:29). It is also working for my TBS card. What looks suspicious in your error message is the "tbs-linux-media-kit", what is that coming from? Have you tried to build it in an clean "chroot"?
archcomp commented on 2023-04-16 21:02 (UTC)
When I try to generate tbs-linux_media-git for linux 6.2.11-arch1-1 I get the following error:
LD [M] /home/pub/Downloads/tbs-linux-media-kit-6.2.11-arch1-1/tbs-linux_media-git/src/media_build/v4l/snd-bt87x.o make[3]: /bin/sh: Argument list too long make[3]: [scripts/Makefile.build:442: /home/pub/Downloads/tbs-linux-media-kit-6.2.11-arch1-1/tbs-linux_media-git/src/media_build/v4l/modules.order] Error 127 make[2]: [Makefile:2021: /home/pub/Downloads/tbs-linux-media-kit-6.2.11-arch1-1/tbs-linux_media-git/src/media_build/v4l] Error 2 make[1]: [Makefile:53: default] Error 2 make[1]: Leaving directory '/home/pub/Downloads/tbs-linux-media-kit-6.2.11-arch1-1/tbs-linux_media-git/src/media_build/v4l' make: [Makefile:26: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... [andre@X570 tbs-linux_media-git]$
Don't bother if you consider it a lot of work to update tbs-linux_media-git for linux 6.2.11-arch1-1. If so, I will fall back to tbs-linux_media-git for linux 6.2.2-arch1-1, which still works.
archcomp commented on 2023-03-04 23:59 (UTC)
A while ago I thanked you.
Again, I'm very happy my TBS card (TBS6281SE) now runs under linux 6.2, thanks to the fine work you do in this context.
Pinned Comments