emilsvennesson / tbs6680-intree

compile tbs proprietary drivers directly into the linux kernel
GNU General Public License v3.0
0 stars 0 forks source link

Drivers not working properly on Linux kernel 3.18.x and up #1

Closed emilsvennesson closed 9 years ago

emilsvennesson commented 9 years ago

@bas-t Since you're the creator of the patches, I was hoping you could help me out.

For some reason, this stopped working for kernel 3.18 and up. It appears to apply the patches successfully and everything compiles as it should. I can see the adapters dmesg looks okay but it simply refuses to tune to any frequency. It works fine if I revert to kernel 3.17.2.

I do see two warnings when compiling, but I don't think they're related to the problem.

WARNING: could not find drivers/media/common/saa716x/.tbsctrl.o.cmd for drivers/media/co
WARNING: could not find drivers/media/dvb-frontends/.tbs6680fe_driver.o.cmd for drivers/

Configure script used to compile: https://raw.githubusercontent.com/dahlSTROM/tbs6680-intree/master/configure Full compilation log: http://paste.ubuntu.com/9618583/ Warnings: http://paste.ubuntu.com/9618590/

I'd appreciate it a lot if you could help me out!

bas-t commented 9 years ago

It's not the patches that are to blame. It is tbs6680fe_driver.o_shipped that refuses to work with linux-3.18. So I cannot help you. It is for that exact same reason that I deleted all of my repos concerning compilation of closed source TBS drivers.

emilsvennesson commented 9 years ago

That's too bad. I'll send an e-mail to TBS to see if they're able to help me out. They released a new version of their drivers today with 3.18 support but it doesn't look like they updated the TBS 6680 binary.

Thanks.

bas-t commented 9 years ago

Those new drivers only compile against the ancient v4l tree that they are using.

bas-t commented 9 years ago

Just a suggestion: get a couple of these: http://www.dvbshop.net/DVBSky-T982-Dual-DVB-C-T-T2-PCIe-Remotecontrol-MCE_1

They are supported by the linux kernel as of linux-3.19, firmware is in: https://github.com/bas-t/firmware/tree/master/files

emilsvennesson commented 9 years ago

I need CI support as softcams are incompatible with the encryption system used in my cable network (CryptoGuard). Which means that I'm pretty much stuck to TBS products...

bas-t commented 9 years ago

Bummer...

emilsvennesson commented 9 years ago

After contacting constantine from TBS, he supplied me with an updated binary built from the latest v4l source tree. This seems to have solved the problem. :)

@bas-t Do you still have your work on tbs-v4l? I have an outdated fork (https://github.com/dahlSTROM/tbs-v4l) but it would be nice if you could upload the latest version before you removed it.

bas-t commented 9 years ago

I seem to have a private copy somewhere, I'll look for it.

bas-t commented 9 years ago

Pushed it to github again. Don't know what the status is

emilsvennesson commented 9 years ago

Thanks!

bas-t commented 9 years ago

I guess you'll just have to rename the new binary to 'tbs6680fe_driver.o_shipped' and put that in the right place. Then './configure --tbs=6680 --failsafe=no' should do the job.

emilsvennesson commented 9 years ago

Yeah, I'll see when I get around to testing it. It works fine to compile the driver intree on 3.19-rc3 with the new binary so I'm sticking to that for now. :)

bas-t commented 9 years ago

You should use a newer dvb-mutex patch:

https://raw.githubusercontent.com/bas-t/saa716x-intree/master/dvb-core.patch

The older one brakes some important stuff in the mutexes (though luckily I never had to face the consequences)

emilsvennesson commented 9 years ago

I've removed the old one now. Thanks.