added support for Mygica T230 pids 0xc68a, 0xc69a, 0x689a#75
added support for Mygica T230 pids 0xc68a, 0xc69a, 0x689a#75rga-medix wants to merge 5 commits intosignalwareltd:masterfrom
Conversation
|
I have now additionally tested a C2 product which actually is sold as T230C, so this is the actual product mentoned in #41 idVendor=0572, idProduct=c68a, bcdDevice= 8.00 Since introduction in Kernel with version 5.4 in 2019 up to the latest version for devices with CLK_MANUAL the ts freq was set BEFORE ts mode was set. I have altered the behaviour for the new CLK_MANUAL devices while preserving the previous behavioras I don't have devices to test and confirm. |
|
while investigating sporadic single timeouts for Here we have both: My commit follows Kernel logic, but as I assumeolder devices work just fine with it, I also kept the original logic it to not break anything for older devices. |
calling "matches" is redundant
everytime data was read, only the array length (1024) was used. Actual logging of the received data showed various lengths of read bytes. So bitrate calculation was wrong.
I have a Mygica PT362 with USB PID 0x689a which should be the latest device of the series.
It requires a different power on GPIO sequence: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/dvbsky.c?h=v5.15.203#n582
Additionally I have noticed that C2, C2_LITE and T230A(this is the PT362) require SI2168_TS_CLK_MANUAL
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/dvbsky.c?h=v5.15.203#n544
Before:
W System.err: info.martinmarinov.drivers.DvbException: Timed out reading from register
W System.err: at info.martinmarinov.drivers.usb.silabs.Si2168.si2168_cmd_execute(Si2168.java:126)
W System.err: at info.martinmarinov.drivers.usb.silabs.Si2168.attach(Si2168.java:153)
After:
D Si2168 : Chip SI2168_CHIP_ID_D60 successfully identified
D Si2168 : Uploading firmware to SI2168_CHIP_ID_D60
D Si2168 : firmware is in the new format
D Si2168 : firmware version: D 6.0.2
This PR