Hi JP, James, On Tue, Aug 13, 2019 at 03:46:37PM +0200, JP wrote: > Thanks James, my tests on both DVB-T and DVB-C all went OK. > > So, with the t230 driver in cxusb broken for one hw version of > the device and both hw versions now working fine in dvbsky & > the driver in cxusb does not crash itself anymore (did you test > that, James?) & everybody agrees I think this move to dvbsky > should be done.
So I think the commmit message should say what the two hardware revisions are and what the FX2 FIFO issue is exactly. Would you be able to provide some words for the commit message which says what the issue with the existing driver (FX2 FIFO, anything else), what hardware revisions were tested (maybe what they look like) and what was exactly tested (and for whole long). Thanks Sean > Sean: some hunks from the 'remove from cxusb' patch won't > apply to linux-5.3 , because of the recent addition of the analogue > driver code to cxusb. So I now have 2 different 'remove from > cxusb' patches. How do I proceed with that? > > [one more remark below] > > On 8/2/19 2:00 PM, James Hutchinson wrote: > > Hi Jan, > > > > I've been running for a couple of weeks now with your two patches applied: > > > > 1) dvbsky: add MyGica T230 > > 2) remove t230 from cxusb > > > > Everything has been working perfectly - the checksum errors when > > scanning muxes have gone, and streaming has been working nicely. > > > > Tested-by: James Hutchinson <jahutchinso...@googlemail.com> > > > > Regards, > > James > > > > On Fri, 19 Jul 2019 at 19:35, Jan Pieter van Woerkom <j...@jpvw.nl> wrote: > > > dvbsky: add MyGica T230. > > > Moved from cxusb driver as that driver can't handle FX2 FIFO issue. > > > > > > Signed-off-by: Jan Pieter van Woerkom <j...@jpvw.nl> > > > --- > > > diff -ru a/drivers/media/usb/dvb-usb-v2/dvbsky.c > > > b/drivers/media/usb/dvb-usb-v2/dvbsky.c > > > --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c 2019-07-08 > > > 00:41:56.000000000 +0200 > > > +++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c 2019-07-19 > > > 17:50:54.671341146 +0200 > > > @@ -561,11 +561,18 @@ > > > > > > /* attach tuner */ > > > si2157_config.fe = adap->fe[0]; > > > - si2157_config.if_port = 0; > > > - > > > - state->i2c_client_tuner = dvb_module_probe("si2157", "si2141", > > > + if (le16_to_cpu(d->udev->descriptor.idProduct) == > > > USB_PID_MYGICA_T230) { > > > + si2157_config.if_port = 1; > > > + state->i2c_client_tuner = dvb_module_probe("si2157", NULL, > > > + i2c_adapter, > > > + 0x60, &si2157_config); > > > + } > > > + else { > Coding style: those last 2 lines should be: > } else { > > > + si2157_config.if_port = 0; > > > + state->i2c_client_tuner = dvb_module_probe("si2157", > > > "si2141", > > > i2c_adapter, > > > 0x60, &si2157_config); > > > + } > > > if (!state->i2c_client_tuner) { > > > dvb_module_release(state->i2c_client_demod); > > > return -ENODEV; > > > @@ -787,6 +794,9 @@ > > > { DVB_USB_DEVICE(USB_VID_TERRATEC, > > > USB_PID_TERRATEC_CINERGY_S2_R4, > > > &dvbsky_s960_props, "Terratec Cinergy S2 Rev.4", > > > RC_MAP_DVBSKY) }, > > > + { DVB_USB_DEVICE(USB_VID_CONEXANT, USB_PID_MYGICA_T230, > > > + &mygica_t230c_props, "MyGica Mini DVB-T2 USB Stick T230", > > > + RC_MAP_TOTAL_MEDIA_IN_HAND_02) }, > > > { DVB_USB_DEVICE(USB_VID_CONEXANT, USB_PID_MYGICA_T230C, > > > &mygica_t230c_props, "MyGica Mini DVB-T2 USB Stick > > > T230C", > > > RC_MAP_TOTAL_MEDIA_IN_HAND_02) }, > Cheers, > Jan Pieter.