Project

General

Profile

Swap to ljalves's TBS 6982 driver

Added by Dan Burt over 10 years ago

Can someone please provide instructions for how to remove the current (vendor) drivers for this device, so that i can then install it again with ljavles's version. i have visited his page, but this doesn't seem to provide the instructions to complete to uninstall the existing install.

i am on version 3.4.27 on a hp microserver, but get the repeated continuity counter errors are some period of inactivity.

thanks


Replies (5)

RE: Swap to ljalves's TBS 6982 driver - Added by Mark Clarkstone over 10 years ago

Dan Burt wrote:

Can someone please provide instructions for how to remove the current (vendor) drivers for this device, so that i can then install it again with ljavles's version. i have visited his page, but this doesn't seem to provide the instructions to complete to uninstall the existing install.

i am on version 3.4.27 on a hp microserver, but get the repeated continuity counter errors are some period of inactivity.

thanks

On the Installation page https://github.com/ljalves/linux_media/wiki/Installating it says "If you find module load errors like "module has wrong symbol version" means that there still are old modules from your previous media tree installation (usually duplicated modules in two different places)." - You can use this method to remove the old install.

sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/*

- You also may need to update the kernel..

Hope this helps.

RE: Swap to ljalves's TBS 6982 driver - Added by Dan Burt over 10 years ago

thanks for the confirmation, which is what i was looking for.

will it impact any other part of the system's configuration? as there are many other subfolders at that /lib/mod...../media/ level...

RE: Swap to ljalves's TBS 6982 driver - Added by Dan Burt about 10 years ago

I tried to upgrade from an existing version, as TVHeadend wasn't showing all the adaptors or able to playback. I think there was a minor kernel upgrade at some point too from 3.2.0-67 to 3.2.0-68.

The upgrade using the ljalves drivers failed. So I tried to install from scratch. On both occasions, I get the following errors during the "make" command:

Unapplying patches
patch s -f -R -p1 -i ../backports/api_version.patch
1 out of 1 hunk FAILED -
saving rejects to file drivers/media/usb/pvrusb2/pvrusb2-v4l2.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_driver.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_v4l2.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/v4l2-core/v4l2-ioctl.c.rej
make3: Leaving directory /home/user/downloads/tbs_ljavles2/media_build/linux' Applying patches for kernel 3.2.0-68-generic patch s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch 1 out of 1 hunk FAILED - saving rejects to file drivers/media/usb/au0828/au0828.h.rej make2: * [apply_patches] Error 1 make2: Leaving directory/home/user/downloads/tbs_ljavles2/media_build/linux'
make1:
[default] Error 2
make1: Leaving directory `/home/user/downloads/tbs_ljavles2/media_build/v4l'
make: *
* [all] Error 2

Is there something wrong? Or something I need to do?

RE: Swap to ljalves's TBS 6982 driver - Added by Mark Clarkstone about 10 years ago

Dan Burt wrote:

I tried to upgrade from an existing version, as TVHeadend wasn't showing all the adaptors or able to playback. I think there was a minor kernel upgrade at some point too from 3.2.0-67 to 3.2.0-68.

The upgrade using the ljalves drivers failed. So I tried to install from scratch. On both occasions, I get the following errors during the "make" command:

Unapplying patches
patch s -f -R -p1 -i ../backports/api_version.patch
1 out of 1 hunk FAILED -
saving rejects to file drivers/media/usb/pvrusb2/pvrusb2-v4l2.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_driver.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_v4l2.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/v4l2-core/v4l2-ioctl.c.rej
make3: Leaving directory /home/user/downloads/tbs_ljavles2/media_build/linux' Applying patches for kernel 3.2.0-68-generic patch s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch 1 out of 1 hunk FAILED - saving rejects to file drivers/media/usb/au0828/au0828.h.rej make2: * [apply_patches] Error 1 make2: Leaving directory/home/user/downloads/tbs_ljavles2/media_build/linux'
make1:
[default] Error 2
make1: Leaving directory `/home/user/downloads/tbs_ljavles2/media_build/v4l'
make: *
* [all] Error 2

Is there something wrong? Or something I need to do?

You need a newer kernel, it works on 3.10.38 (what I use), I tried to build for 3.2.* and it failed like yours.

RE: Swap to ljalves's TBS 6982 driver - Added by Dan Burt about 10 years ago

No, I got it compiled in the end. Another thread on the GitHub site was having the same issue and another pointed out to download an earlier version of 1 of the patches during the compile steps.

All sorted. Well for now... And ryder cup is on this week, so I am not changing anything that could interrupt live tv!!! Haha

    (1-5/5)