bas-t / ffdecsawrapper

FFdecsa empowered softcam for MythTV
GNU General Public License v3.0
17 stars 9 forks source link

Typo in tbsinstall script #30

Closed fe31nz closed 9 years ago

fe31nz commented 9 years ago

I have just finished upgrading my MythTV box from Mythbuntu 12.04 to 14.04. As part of that, I moved from using the legacy version of ffdecsawrapper to the current version, so I installed it from scratch using the tbsinstall script as I am using a TBS 5922 tuner. But I ran across a problem in tbsinstall. When it tried to install the TBS driver modules, it reported an error that it could not load the saa716x_tbs_dvb driver. On checking the TBS drivers, I found that this driver is actually named saa716x_tbs-dvb. So I did a global replace of all saa716x_tbs_dvb strings in tbsinstall with saa716x_tbs-dvb and ran it again and the install worked.

I am using tbs-linux-drivers_v140819.zip.

bas-t commented 9 years ago

It'not a typo. While the module is called saa716x_tbs-dvb.ko, lsmod | grep saa716x shows:

root@master:~# lsmod | grep saa716x saa716x_tbs_dvb 22322 0 saa716x_core 43823 1 saa716x_tbs_dvb

and so on.

So I don't know why the module faild to load the first time, but it has to be something other then the script. Like the adapter was not in your machine, or something else...

Thank you for sharing though, I could have made a typo easily.

fe31nz commented 9 years ago

The adapter was defintitely present - running tbsinstall again worked, so it must have been. The TBS 5922 does not use the saa716x driver - it is running at present and lsmod does not show any references to saa716x.

I will have to try to work out what the problem really is. But that will need to wait for the next kernel update, as it only happens on installing the TBS drivers on a new kernel.

bas-t commented 9 years ago

You don't have to wait. Just delete the /lib/modules/uname -r/updates/media dir, do depmod -a and reboot. Your kernel will be brandnew. But I guess I know what the problem is: I thought that each and every TBS adapter is using the saa716x driver. Since yours does not, loading it will obviously fail. I'll adapt the script for your situation.

Thanks again for your feedback.

bas-t commented 9 years ago

I changed the script. I trust it will run as expected. Please test it.

fe31nz commented 9 years ago

OK, will do. It looks like the next gap in my recording schedule is 00:30 tomorrow NZDT (UTC+13) so I will see if I can test it then.

fe31nz commented 9 years ago

I have just finished testing the updated tbsinstall script with my TBS 5922 tuner and it works properly now.

bas-t commented 9 years ago

Thanks. Closing this ticket now.