Open cyberkrel opened 7 years ago
same here,waiting for help.
@mxl9236 Try it.
diff --git a/drivers/media/usb/dvb-usb/dvb-usb-dvb.c b/drivers/media/usb/dvb-usb/dvb-usb-dvb.c
index 5f265e6..c70406c 100644
--- a/drivers/media/usb/dvb-usb/dvb-usb-dvb.c
+++ b/drivers/media/usb/dvb-usb/dvb-usb-dvb.c
@@ -356,6 +356,8 @@ int dvb_usb_adapter_frontend_exit(struct dvb_usb_adapter *adap)
if (adap->fe_adap[i].fe != NULL) {
dvb_unregister_frontend(adap->fe_adap[i].fe);
dvb_frontend_detach(adap->fe_adap[i].fe);
+ dvb_unregister_frontend(adap->fe_adap[i].fe2);
+ dvb_frontend_detach(adap->fe_adap[i].fe2);
}
}
adap->num_frontends_initialized = 0;
diff --git a/drivers/media/usb/dvb-usb/tbs5520se.c b/drivers/media/usb/dvb-usb/tbs5520se.c
index d3b5ffa..d5bb605 100644
--- a/drivers/media/usb/dvb-usb/tbs5520se.c
+++ b/drivers/media/usb/dvb-usb/tbs5520se.c
@@ -88,7 +88,7 @@ static int tbs5520se_i2c_transfer(struct i2c_adapter *adap,
tbs5520se_op_rw(d->udev, 0x90, 0, 0,
buf6, 3, TBS5520se_WRITE_MSG);
- //msleep(5);
+ msleep(5);
tbs5520se_op_rw(d->udev, 0x91, 0, 0,
inbuf, buf6[0], TBS5520se_READ_MSG);
memcpy(msg[1].buf, inbuf, msg[1].len);
@@ -117,7 +117,7 @@ static int tbs5520se_i2c_transfer(struct i2c_adapter *adap,
inbuf, buf6[0], TBS5520se_READ_MSG);
memcpy(msg[0].buf, inbuf, msg[0].len);
}
- //msleep(3);
+ msleep(3);
break;
case (TBS5520se_VOLTAGE_CTRL):
buf6[0] = 3;
@@ -130,9 +130,9 @@ static int tbs5520se_i2c_transfer(struct i2c_adapter *adap,
buf6, 4, TBS5520se_READ_MSG);
msg[0].buf[0] = buf6[2];
msg[0].buf[1] = buf6[3];
- //msleep(3);
- //info("TBS5520se_RC_QUERY %x %x %x %x\n",
- // buf6[0],buf6[1],buf6[2],buf6[3]);
+ msleep(3);
+ info("TBS5520se_RC_QUERY %x %x %x %x\n",
+ buf6[0],buf6[1],buf6[2],buf6[3]);
break;
}
I'm having the same issue albeit a slightly different error:
16.224118] si2157: probe of 6-0061 failed with error -110
[ 16.224251] dvb-usb: no frontend was attached by 'TBS 5520se USB2.0'
[ 16.224332] dvb-usb: TBS 5520se USB2.0 successfully initialized and connected.
Unfortunately the patch also gives me an error:
File to patch: drivers/media/usb/dvb-usb/tbs5520se.c
patching file drivers/media/usb/dvb-usb/tbs5520se.c
Hunk #1 FAILED at 88.
Hunk #2 FAILED at 117.
Hunk #3 FAILED at 130.
Arch linux, 4.16 kernel
Уважаемый CrazyCat я столкнулся с одной проблемой при запуске tvheadend периодически возникает ошибка начинает работать только после многократного перезапуска tvheadend. Причём тюнер работает великолепно DVB-T2 DVB-S2 если tvheadend запустился проблем не возникает до перезагрузки.