Re: [PATCH] si2157: Add support for Logilink VG0022A.

Gonsolo
2019-10-03T10:13:47Z

Hi!

> Could you please test the enclosing patch and see if, with that, you
> can remove the hacks you added for the tuner probe to work?

I tested again on a vanilla media_tree with Mauro's patch attached.
Doesn't work. Dmesg output:

[ 0.788387] kernel: usb 1-1: new high-speed USB device number 2
using ehci-pci
[ 0.792384] kernel: usb 2-1: new high-speed USB device number 2
using xhci_hcd
[ 0.944937] kernel: usb 2-1: New USB device found, idVendor=1d19,
idProduct=0100, bcdDevice= 1.00
[ 0.944939] kernel: usb 2-1: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
[ 0.944940] kernel: usb 2-1: Product: TS Aggregator
[ 0.944941] kernel: usb 2-1: Manufacturer: ITE Tech., Inc.
[ 0.944942] kernel: usb 2-1: SerialNumber: AF0102020700001

I then also used the following (additional) patch:

@@ -2119,6 +2122,8 @@ static const struct usb_device_id af9035_id_table[] = {
/* IT930x devices */
{ DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9303,
&it930x_props, "ITE 9303 Generic", NULL) },
+ { DVB_USB_DEVICE(USB_VID_DEXATEK, 0x0100,
+ &it930x_props, "Logilink VG0022A", NULL) },
{ DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_TD310,
&it930x_props, "AVerMedia TD310 DVB-T2", NULL) },
{ }

Which gives the following output:

[ 5.380989] si2168 1-0067: Silicon Labs Si2168-B40 successfully identified
[ 5.380991] si2168 1-0067: firmware version: B 4.0.2
[ 5.381013] usb 2-1: DVB: registering adapter 0 frontend 0 (Silicon
Labs Si2168)...
[ 5.381018] dvbdev: dvb_create_media_entity: media entity 'Silicon
Labs Si2168' registered.
[ 5.390058] checking generic (e0000000 410000) vs hw (e0000000 10000000)
[ 5.390062] fb0: switching to inteldrmfb from EFI VGA
[ 5.390268] Console: switching to colour dummy device 80x25
[ 5.390281] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 5.393438] si2157 2-0063: Silicon Labs Si2147/2148/2157/2158
successfully attached

But when I try to use VLC I get the following:

[ 457.677363] si2168 1-0067: downloading firmware from file
'dvb-demod-si2168-b40-01.fw'
[ 458.631034] si2168 1-0067: firmware version: B 4.0.11
[ 458.650309] si2157 2-0063: unknown chip version Si21255-\xff\xff\xff

Now I'm trying other timings.

Thanks,
g