On Sat December 29 2012 15:25:08 Ezequiel Garcia wrote: > Ccing a few more people to get some feedback. > > Toughts anyone? Have you ever seen this before? > > On Fri, Dec 28, 2012 at 11:13 AM, Ezequiel Garcia <elezegarcia@xxxxxxxxx> wrote: > > Hi everyone, > > > > Some stk1160 users (a lot acually) are reporting that stk1160 is broken. > > The reports come in the out of tree driver [1], but probably the issue > > is in mainline too. > > > > Now, it seems to me the problem is the saa711x decoder can't get matched, > > see a portion of dmesg. > > > > [89947.448813] usb 1-2.4: New device Syntek Semiconductor USB 2.0 > > Video Capture Controller @ 480 Mbps (05e1:0408, interface 0, class 0) > > [89947.448827] usb 1-2.4: video interface 0 found > > [89948.200366] saa7115 21-0025: chip found @ 0x4a (ID 000000000000000) > > does not match a known saa711x chip. > > [89948.200555] stk1160: driver ver 0.9.3 successfully loaded > > [...] > > > > I'm working on this right now, but would like to know, given the ID > > seems to be NULL, > > what would be the right thing to do here. > > Perhaps, replacing the -ENODEV error by a just warning and keep going? > > > > Further debugging [2] shows the chip doesn't seem to have a proper > > chipid (as expected): >From what I understand these devices use a GM7113C device, not a SAA7113. It sounds like a chinese clone of the SAA7113 to me that works *almost* the same, but not quite. In that case the saa711x_id table should be extended with a gm7113c entry and, if chosen, the chip ID check should be skipped. This means that the stk1160 driver can try probing for saa7115_auto, and if that fails it should try probing for gm7113c explicitly. Note that this probing technique works for all saa711x devices from saa7111 onwards, but it is only described explicitly in the datasheet for the saa7115. So if they cloned the saa7113 based on the saa7113 datasheet, then this useful but undocumented feature would not be included in their clone. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html