Moderator Control Panel ]

Linux kernel 5.12

It's important to keep your driver and software updated.

Linux kernel 5.12

Postby hasecomp » Sat May 08, 2021 6:43 am

The WiKi https://github.com/tbsdtv/linux_media/wiki works for "ages" already with my TBS6522 card on Archlinux.

As you may know, Archlinux has rolling updates, i.e. we get the latest from upstream. Since a few days Archlinux provides the linux kernel 5.12.1. Now, the "make -j4" command of the WiKi terminates with:

/home/andre/media_build/v4l/cafe-driver.c:47:25: error: expected declaration specifiers or '...' before string constant
47 | MODULE_SUPPORTED_DEVICE("Video");
| ^~~~~~~
make[3]: *** [scripts/Makefile.build:271: /home/andre/media_build/v4l/cafe-driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC [M] /home/andre/media_build/v4l/vpdma.o
make[2]: *** [Makefile:1851: /home/andre/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/lib/modules/5.12.1-arch1-1/build'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/andre/media_build/v4l'
make: *** [Makefile:26: all] Error 2


[andre@M4A78T-E media_build]$ uname -r
5.12.1-arch1-1

For the time being, I downgraded linux and linux-headers to 5.11.16.arch1 and the TBS driver gets generated OK again.

Undoubtedly, there will come a day when other people will start using linux-5.12 and my guess is that they will run into the same problem mentioned above. So, maybe you can have a look at this.

Kind regards,
Andre Hasekamp.
hasecomp
 
Posts: 9
Joined: Mon Nov 27, 2017 8:57 pm

Re: Linux kernel 5.12

Postby zhangchao » Mon May 10, 2021 4:37 pm

hi,
which linux system do you use ? ubuntu or centos or debian ?
how i can update to 5.12.1-arch1-1 ?
please add skype jack_2431.


best regards!
zhangchao
 
Posts: 95
Joined: Thu Jan 17, 2013 4:59 pm

Re: Linux kernel 5.12

Postby hasecomp » Mon May 10, 2021 8:09 pm

Hello Zhangchao,

As mentioned, I use Archlinux. This is a linux distro with so-called "rolling updates". When Archlinux people judge that the "latest" from upstream is workable, they release it.

If you have ubuntu, centos or debian at hand and the termination errors I mentioned do not make sense to you, then it is probably best to wait until one of those linux distros also releases kernel 5.12.

If, in the meantime, if you think you can make something out of the termination errors I got and you have a potential solution, I am quite willing to test it for you.

Kind regards,
Andre Hasekamp.
hasecomp
 
Posts: 9
Joined: Mon Nov 27, 2017 8:57 pm

Re: Linux kernel 5.12

Postby hasecomp » Mon Jun 14, 2021 6:01 am

Thank you for updating the TBS drivers to Linux kernel 5.12

Kind regards,
Andre Hasekamp.
hasecomp
 
Posts: 9
Joined: Mon Nov 27, 2017 8:57 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 12 guests