cat /sys/kernel/debug/dynamic_debug/control | grep rtl28xxu.c drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1791 [dvb_usb_rtl28xxu]rtl2832u_rc_query =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1694 [dvb_usb_rtl28xxu]rtl2831u_rc_query =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1616 [dvb_usb_rtl28xxu]rtl28xxu_frontend_ctrl =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1592 [dvb_usb_rtl28xxu]rtl28xxu_frontend_ctrl =_ "fe=%d onoff=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1570 [dvb_usb_rtl28xxu]rtl2832u_power_ctrl =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1520 [dvb_usb_rtl28xxu]rtl2832u_power_ctrl =_ "onoff=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1512 [dvb_usb_rtl28xxu]rtl2831u_power_ctrl =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1490 [dvb_usb_rtl28xxu]rtl2831u_power_ctrl =_ "WR SYS0=%02x GPIO_OUT_VAL=%02x\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1471 [dvb_usb_rtl28xxu]rtl2831u_power_ctrl =_ "RD SYS0=%02x GPIO_OUT_VAL=%02x\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1459 [dvb_usb_rtl28xxu]rtl2831u_power_ctrl =_ "onoff=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1450 [dvb_usb_rtl28xxu]rtl28xxu_init =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1425 [dvb_usb_rtl28xxu]rtl28xxu_init =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1403 [dvb_usb_rtl28xxu]rtl28xxu_tuner_detach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1382 [dvb_usb_rtl28xxu]rtl2832u_tuner_attach =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1377 [dvb_usb_rtl28xxu]rtl2832u_tuner_attach =_ "no SDR for tuner=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1187 [dvb_usb_rtl28xxu]rtl2832u_tuner_attach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1152 [dvb_usb_rtl28xxu]rtl2831u_tuner_attach =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1122 [dvb_usb_rtl28xxu]rtl2831u_tuner_attach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1070 [dvb_usb_rtl28xxu]rtl28xxu_frontend_detach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:1042 [dvb_usb_rtl28xxu]rtl2832u_frontend_attach =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:894 [dvb_usb_rtl28xxu]rtl2832u_frontend_attach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:869 [dvb_usb_rtl28xxu]rtl2832u_frontend_callback =_ "component=%d cmd=%d arg=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:842 [dvb_usb_rtl28xxu]rtl2832u_tua9001_tuner_callback =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:809 [dvb_usb_rtl28xxu]rtl2832u_tua9001_tuner_callback =_ "cmd=%d arg=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:799 [dvb_usb_rtl28xxu]rtl2832u_fc0012_tuner_callback =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:774 [dvb_usb_rtl28xxu]rtl2832u_fc0012_tuner_callback =_ "cmd=%d arg=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:729 [dvb_usb_rtl28xxu]rtl2831u_frontend_attach =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:686 [dvb_usb_rtl28xxu]rtl2831u_frontend_attach =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:648 [dvb_usb_rtl28xxu]rtl28xxu_identify_state =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:640 [dvb_usb_rtl28xxu]rtl28xxu_identify_state =_ "chip_id=%u\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:620 [dvb_usb_rtl28xxu]rtl28xxu_identify_state =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:598 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:584 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "Si2168 found\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:575 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "CXD2837ER found\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:568 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "MN88473 found\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:561 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "MN88472 found\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:527 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "tuner=%s\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:378 [dvb_usb_rtl28xxu]rtl2832u_read_config =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:346 [dvb_usb_rtl28xxu]rtl2831u_read_config =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:342 [dvb_usb_rtl28xxu]rtl2831u_read_config =_ "tuner=%s\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:280 [dvb_usb_rtl28xxu]rtl2831u_read_config =_ "\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:59 [dvb_usb_rtl28xxu]rtl28xxu_ctrl_msg =_ "failed=%d\012" drivers/media/usb/dvb-usb-v2/rtl28xxu.c:45 [dvb_usb_rtl28xxu]rtl28xxu_ctrl_msg =_ "%s: %02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\012" On Sun, May 30, 2021 at 4:54 PM Johan Hovold <johan@xxxxxxxxxx> wrote: > > On Sun, May 30, 2021 at 03:23:36PM +0300, Eero Lehtinen wrote: > > Hi, > > > > I tested Johans latest patch and my dvb-t stick can find the channel > > list but not to tune to them. It uses the mxl5005s driver again with > > repeating mxl5005s I2C write failed messages: > > > > [ 23.276076] mxl5005s I2C reset failed > > [ 23.296082] mxl5005s I2C write failed > > [ 23.316041] mxl5005s I2C write failed > > [ 23.336061] mxl5005s I2C write failed > > [ 23.336100] usb 1-1: Frontend requested software zigzag, but didn't > > set the frequency step size > > [ 23.356096] mxl5005s I2C reset failed > > [ 23.376226] mxl5005s I2C write failed > > [ 23.396084] mxl5005s I2C write failed > > [ 23.416082] mxl5005s I2C write failed > > It was just an instrumentation patch to gather more information. Can you > post the logs from when probing/using the device with that patch in > place? > > Specifically, look for the "rtl28xxu_identify_state" entries, but please > include the full log in case there are more hints in there. > > Also, please keep me and Alan on CC (along with the list) so that we get > your replies directly. The list can be a bit slow at forwarding at > times. > > Johan