User Tools

Site Tools


linux64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux64 [2026/05/30 16:42] – [TBS 6280 PCIe DVB-T2] bengtlinux64 [2026/06/01 09:43] (current) – [Moving boot disk from sata to m.2] bengt
Line 78: Line 78:
  
 Removed a kernel and tried this instead: Removed a kernel and tried this instead:
-echo -e 'add_drivers+=" nvme ahci libata sd_mod "'sudo tee /etc/dracut.conf.d/generic.conf +  # echo -e 'add_drivers+=" nvme ahci libata sd_mod "' | tee /etc/dracut.conf.d/generic.conf 
-dracut --force+  # dracut --force 
 +Then clone again. Remove sata and boot from nvme to check that it works. This time it did. Then boot livecd again, install gparted and use this to expand /boot and move and expand / putting the swap at the end as well. Reboot
  
-Then clone again. Remove sata and boot from nvme to check that it worksThis time it did. +Also took the time to get new rescue images as my old ones were from 2016, remove old vmlinuz/initramfs for rescue first: 
- +  # /usr/lib/kernel/install.d/51-dracut-rescue.install add "$(uname -r)" /boot "/boot/vmlinuz-$(uname -r)"
-Then boot livecd again, install gparted and use this to expand /boot and move and expand putting the swap at the end as well.+
  
  
Line 166: Line 166:
 More info on rpmfusion drivers: More info on rpmfusion drivers:
 https://rpmfusion.org/Howto/NVIDIA https://rpmfusion.org/Howto/NVIDIA
 +
 +==== TBS 6280 PCIe DVB-T2 [old] ====
 +
 +A PCIe card for recording DVB-T2 TV. Linux driver support from the manufacturer, which means that you have to recompile it on kernel update. Official linux drivers can be downloaded at http://www.tbsdtv.com/download/ and open source at https://github.com/ljalves/linux_media/wiki/Installating. Visit https://www.tbsdtv.com/forum/viewtopic.php?f=87&t=25422 and http://www.tbsdtv.com/forum/viewforum.php?f=49 for a forum.
 +
 +You will need to disable secure boot in bios for uefi boot to load 3rd party drivers. Maybe solved by selecting "Other OS" instead of "Windows" in the boot options.
 +
 +Roughly following https://www.linuxtv.org/wiki/index.php/TBS_driver_installation#Installing_drivers I did like this as root top build and install official drivers (old):
 +  dnf install kernel-headers kernel-devel
 +  mkdir tbs
 +  cd tbs
 +  wget http://www.tbsiptv.com/download/common/tbs-linux-drivers_v170330.zip
 +  unzip tbs-linux-drivers_v170330.zip
 +  tar xvjf linux-tbs-drivers.tar.bz2
 +  cd linux-tbs-drivers/
 +  ./v4l/tbs-x86_64.sh # For 64bit and ./v4l/tbs-x86_r3.sh for 32bit, see docs for other kernels.
 +  make -j6
 +  mv /lib/modules/$(uname -r)/kernel/drivers/media/ ~/media_$(uname -r) # Will fix some issues like symbol mismatches and in my case a driver crash in dmesg registering SAA716x dvb adapter.
 +  make install
 +  reboot
 +  dmesg | grep DVB
 +The cards should be possible to configure in mythtvsetup now. After kernel upgrades you will need to remove the "linux-tbs-drivers" folder and unpack again, make clean does not seem to work.
 +
 +Nowadays it seems like like using the open source drivers at https://github.com/tbsdtv/linux_media/wiki is the model to keep up with kernel changes:
 +  dnf install perl-Proc-ProcessTable patchutils
 +  mkdir tbs && cd tbs
 +  git clone https://github.com/tbsdtv/media_build.git
 +  git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
 +  cd media_build
 +  make dir DIR=../media
 +  make distclean
 +  make -j6
 +  mv /lib/modules/$(uname -r)/kernel/drivers/media/ ~/media_$(uname -r) # Maybe still needed to fix install mismatch issues?
 +  make install
 +  reboot
 +
 +Install firmware:
 +  wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
 +  tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
 +
 +Update using: (Does not work anymore since kernel 5.7.15)
 +  cd tbs/media
 +  git remote update && git pull
 +  git clean -ffdx
 +  cd ../media_build
 +  git remote update && git pull
 +  git clean -ffdx
 +  make dir DIR=../media
 +  make distclean
 +  echo -e "#define NEED_FWNODE_GETNAME 1" > ./v4l/config-mycompat.h # Fix undefined fwnode_get_name on kernel 5.6 fedora 30
 +  sed -i '/VIDEO_OV9650/d' ./v4l/versions.txt && sed -i '/9.255.255/a VIDEO_OV9650' ./v4l/versions.txt # Fix undefined __devm_regmap_init_sccb on kernel 5.6/5.7 fedora 30/31 by skipping OV9650 build
 +  make -j6 # I actually tried compiling without disabling OV9650, then I had to run "make distclean" and "make -j6" again to make it work. Needed?
 +  sudo mv /lib/modules/$(uname -r)/kernel/drivers/media/ ~/media_$(uname -r) # Still needed to fix install mismatch issues!?
 +  sudo make install
 +  sudo reboot
 +
 +I've really had issues with kernel 5.7, in the forum they suggest to download precompiled files instead which does not work either. Failed the same way as the compilation for 5.7.15 did. Therefor I eventually decided to try usb instead. See above.
 +
 ===== Services ===== ===== Services =====
  
linux64.1780159371.txt.gz · Last modified: by bengt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki