signalwareltd / AndroidDvbDriver

Android driver framework for USB TV tuners
GNU General Public License v2.0
196 stars 65 forks source link

Issue with my T230 usb dongle in DVB-T mode #15

Closed ohuet74 closed 6 years ago

ohuet74 commented 6 years ago

Hello   First i want to tel you that this drivers it’s a really good job !!

One comment Line 421 in https://github.com/martinmarinov/AndroidDvbDriver/blob/master/drivers/src/main/java/info/martinmarinov/drivers/usb/silabs/Si2168.java

if (usbDevice instanceof MygicaT230C) {         / hook fe: need to resync the slave fifo when signal locks. /         / it need resync slave fifo when signal change from unlock to lock./         if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) {             ((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true);             hasLockStatus = true;         }     }

But i have found that with my T230 this patch is also need in DVBT mode.
Then i have modify like this: if (usbDevice instanceof MygicaT230C || usbDevice instanceof MygicaT230) {         / hook fe: need to resync the slave fifo when signal locks. /         / it need resync slave fifo when signal change from unlock to lock./         if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) {             ((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true);             hasLockStatus = true;         }     } Without this patch i can tune but i get no data ...

BR Olivier

martinmarinov commented 6 years ago

Hey Oliver,

This has been included in latest driver release.

Thanks for reporting!

Feel free to reopen if you are still facing issues!