Bug 61131

Summary: cx23885: tvheadend-3.2 finds no hardware
Product: v4l-dvb Reporter: georg
Component: cx88Assignee: v4l-dvb_cx88
Status: NEW ---    
Severity: normal CC: kernel, schorsch_76
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.10.7 Subsystem:
Regression: No Bisected commit-id:
Attachments: bisect log, kernel config and hardware info

Description georg 2013-09-11 09:08:37 UTC
Created attachment 108121 [details]
bisect log, kernel config and hardware info

I use gentoo as a tv receiver. I used =sys-kernel/gentoo-sources-3.8.13 with xbmc-12.2 and =media-tv/tvheadend-3.2 all works fine. 

I upgraded to =sys-kernel/gentoo-sources-3.10.7 and tvheadend cant find the hardware (cx23885). It seems to load the firmware. =media-tv/w_scan-20130331 can scan tv sender and is ok, but tvheadend dont do it. 

I bisected linux-stable.git, because i know 3.8.13 works and 3.10.7 did not work. Attached you find my bisect log. It contains my lspci log and my kernel config. It was not triggered by the gentoo patches, because the compiled kernel from the linux-stable.git showed that bug too.

The result is

c1965eae65f0db2eee574f72aab4e8b34ecf8f9c is the first bad commit
commit c1965eae65f0db2eee574f72aab4e8b34ecf8f9c
Author: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Date:   Sun Dec 23 19:25:09 2012 -0300

On that commit, he removed the ts2020 code and later he added it as seperate module, but on my hardware it does not work.

I digged on 3.10.7 and ts2020 module gets loaded and i get the message, that is seems attached.

I already wrote Konstantin and the linux-media ml an email, but both did not respond, so i fill the bug report on the kernel.

I dont know enough from the dvb framework to fix it by myself. I have basic knowledge of module loading and have read some books about the kernel.

The gentoo bug report:
https://bugs.gentoo.org/show_bug.cgi?id=483534
Comment 1 Georg Gast 2013-11-05 20:49:21 UTC
Today i tried tvheadend-3.4 from the git repo at https://github.com/tvheadend/tvheadend on branch release/3.4 (commit fbda8029a2b7dcc9ae01bb48a501aab54e666657). It did not change anything for me with kernel 3.10.7. At the next week, i will try newer versions of the kernel like 3.11 or 3.12. Might be it will change something.
Comment 2 Georg Gast 2013-11-05 20:51:26 UTC
Oh ... did forget, w_scan can scan for channels.
Comment 3 Georg Gast 2013-11-17 11:53:46 UTC
Today i made some experiments with kernel 3.12.0(commit 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52)

- vdr 2.0.2 did work
- tvheadend-3.4 did _not_ work
- vlc 2.0.7 did work

With Kernel 3.8.13 all 3 software packages can tune in. All i know is, that it is supposed to work, because an older kenrelversion did work. did something in the API change? Now i'm out of knowledge what i can try to help to find the root issue of this problem.