Jump to content


Photo

Octagon SF8008 Wrong USB Tuner ID


  • Please log in to reply
78 replies to this topic

Re: Octagon SF8008 Wrong USB Tuner ID #41 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 20 July 2023 - 16:55

The debug file in post#37 was made with a version of OpenPLi 8.3. Let me load the latest nightly build and use it. I think this is best because whatever we do should be based on a current image.



Re: Octagon SF8008 Wrong USB Tuner ID #42 Dimitrij

  • PLi® Core member
  • 10,326 posts

+350
Excellent

Posted 22 July 2023 - 07:53

And?


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Octagon SF8008 Wrong USB Tuner ID #43 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 22 July 2023 - 13:49

Linking frontends or moving frontends using Terminal has not helped. I will show what I tried. Thanks.



Re: Octagon SF8008 Wrong USB Tuner ID #44 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 22 July 2023 - 13:51

I can see where this helped, but it does not fix everything.
https://github.com/O...4ace4dbbf87bd30



Re: Octagon SF8008 Wrong USB Tuner ID #45 Dimitrij

  • PLi® Core member
  • 10,326 posts

+350
Excellent

Posted 23 July 2023 - 11:07

I can see where this helped, but it does not fix everything.
 

 

	vtunerc0: unknown IOCTL 0x3
	vtunerc0: unknown IOCTL 0x4
	vtunerc0: unknown IOCTL 0x6
	vtunerc0: unknown IOCTL 0x5

Are there such lines?


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Octagon SF8008 Wrong USB Tuner ID #46 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 23 July 2023 - 15:32

No...I do not find those lines in debug.

The current nightly build does not have all three Hauppauge drivers available in feeds. So I built an image from development branch, and have not changed or edited any files in it. RS232 debug of this image booting is attached.

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #47 Dimitrij

  • PLi® Core member
  • 10,326 posts

+350
Excellent

Posted 23 July 2023 - 18:10

It ok

vtunerc0: setting ATSC tuner vtype
vtunerc0: frontend initialized as type=16
DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
vtunerc0: usb frontend initialized as type=16
DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Octagon SF8008 Wrong USB Tuner ID #48 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 23 July 2023 - 18:40

Type = DVB-C. Not ATSC. From the log file in post# 46:

Line 390 = DVB: registering adapter 0 frontend 0 (Si2166D)...
Line 394 = DVB: registering adapter 0 frontend 0 (Si2166D)...
Line 540 = DVB: registering adapter 1 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
Line 675 = vtunerc0: setting ATSC tuner vtype
Line 676 = vtunerc0: frontend initialized as type=16
Line 677 = DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
Line 679 = DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...

Escape character is '^]'.

openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: DVB-C
Name: LG Electronics LGDT3306A VSB/QAM Frontend
Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
root@sf8008:~#


Thanks.

 



Re: Octagon SF8008 Wrong USB Tuner ID #49 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 23 July 2023 - 19:53

In Develop, It seems modifying the ATSC kernel drivers will work,
In PLi 8.3, It seems the kernel and Enigma2 needed modifying to work.

Attached is a debug log and Kernel Test Patch that works in develop images.

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #50 Dimitrij

  • PLi® Core member
  • 10,326 posts

+350
Excellent

Posted 24 July 2023 - 07:35

At first I thought the problem was unknown IOCTL.

But the problem is of course related to the manufacturer's drivers, since other receivers do not have such a problem.

The work of USB devices is always like a lottery.

I'm glad you found a workaround.

Athoik is very well versed in this.

My knowledge is lacking.


Edited by Dimitrij, 24 July 2023 - 07:37.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Octagon SF8008 Wrong USB Tuner ID #51 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 24 July 2023 - 12:10

Unfortunately, My solution eliminates our DVB-C. So I guess you could say it is a 1/2 work-around.

Thanks for the Help!



Re: Octagon SF8008 Wrong USB Tuner ID #52 Dimitrij

  • PLi® Core member
  • 10,326 posts

+350
Excellent

Posted 24 July 2023 - 12:28

I would check the option to manually reload the USB drivers.

But honestly, I don't know how to do it.


Edited by Dimitrij, 24 July 2023 - 12:29.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Octagon SF8008 Wrong USB Tuner ID #53 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 25 July 2023 - 21:29

Built an image from development with no ATSC patches or enigma2 changes. Installed drivers for the Hauppauge ATSC tuners. Here are the results:
openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: DVB-C
Name: LG Electronics LGDT3306A VSB/QAM Frontend

Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
root@sf8008:~# reboot


Installed these as a test:
hi-dvb.ko
vtunerc.ko

Look at this:
openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: ATSC
Name: LG Electronics LGDT3306A VSB/QAM Frontend

Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
root@sf8008:~#

A scan of ATSC frequencies returned channels. The found channels work!

I appreciate the efforts of whoever did this!!! Will see if it also works on uClan.


 

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #54 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 26 July 2023 - 05:13

@el bandido, uclan geht the fix too, but first send log from the test drivers, with two usb tuners



Re: Octagon SF8008 Wrong USB Tuner ID #55 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 26 July 2023 - 07:38

Two Tuner test.  with your hi-dvb.ko & vtunerc.ko.


openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: ATSC
Name: WinTV HVR-950
Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
NIM Socket 3:
Type: ATSC
Name: LG Electronics LGDT3306A VSB/QAM Frontend
Has_Outputs: no
Frontend_Device: 3
I2C_Device: 3

root@sf8008:~# w_scan -fa -A1 -c US
w_scan -fa -A1 -c US
w_scan version 20210218 (compiled for DVB API 5.11)
using settings for UNITED STATES
ATSC
VSB US/CA, DVB-T TW
scan type TERRCABLE_ATSC, channellist 1
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend1 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend2 -> TERRCABLE_ATSC "WinTV HVR-950": good :-)
        /dev/dvb/adapter0/frontend3 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "Auvitek AU8522 QAM/8VSB Frontend": good :-)
        /dev/dvb/adapter2/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend2)
-_-_ -_-_ Getting frontend capabilities-_ -_-_-_
Using DVB API 5.10
frontend 'WinTV HVR-950' supports
INVERSION_AUTO
8VSB
QAM_64
QAM_256
FREQ (54.00MHz ... 858.00MHz)
 

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #56 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 26 July 2023 - 07:47

ATSC-1 Tuner test:

openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: ATSC
Name: WinTV HVR-950
Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
root@sf8008:~# w_scan -fa -A1 -c US
w_scan -fa -A1 -c US
w_scan version 20210218 (compiled for DVB API 5.11)
using settings for UNITED STATES
ATSC
VSB US/CA, DVB-T TW
scan type TERRCABLE_ATSC, channellist 1
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend1 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend2 -> TERRCABLE_ATSC "WinTV HVR-950": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "Auvitek AU8522 QAM/8VSB Frontend": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend2)
-_-_ -_-_ Getting frontend capabilities-_ -_-_-_
Using DVB API 5.10
frontend 'WinTV HVR-950' supports
INVERSION_AUTO
8VSB
QAM_64
QAM_256
FREQ (54.00MHz ... 858.00MHz)

57000: 8VSB(time: 00:00.020)         signal ok: 8VSB     f=57000 kHz (0:0:0)
63000: 8VSB(time: 00:00.685)
69000: 8VSB(time: 00:03.705)         signal ok: 8VSB     f=69000 kHz (0:0:0)
79000: 8VSB(time: 00:04.259)
85000: 8VSB(time: 00:07.267)
177000: 8VSB(time: 00:10.312)
183000: 8VSB(time: 00:13.316)         signal ok:        8VSB     f=183000 kHz (0:0:0)
189000: 8VSB(time: 00:15.837)
195000: 8VSB(time: 00:18.846)         signal ok:        8VSB     f=195000 kHz (0:0:0)
201000: 8VSB(time: 00:19.405)
207000: 8VSB(time: 00:22.423)
213000: 8VSB(time: 00:25.429)
473000: 8VSB(time: 00:28.431)
479000: 8VSB(time: 00:31.480)
485000: 8VSB(time: 00:34.533)         signal ok:        8VSB     f=485000 kHz (0:0:0)
491000: 8VSB(time: 00:35.108)
497000: 8VSB(time: 00:38.114)         signal ok:        8VSB     f=497000 kHz (0:0:0)
503000: 8VSB(time: 00:38.681)         signal ok:        8VSB     f=503000 kHz (0:0:0)
509000: 8VSB(time: 00:39.191)         signal ok:        8VSB     f=509000 kHz (0:0:0)
515000: 8VSB(time: 00:39.784)         signal ok:        8VSB     f=515000 kHz (0:0:0)
521000: 8VSB(time: 00:40.369)         signal ok:        8VSB     f=521000 kHz (0:0:0)
527000: 8VSB(time: 00:40.954)
533000: 8VSB(time: 00:44.004) ^C
ERROR: interrupted by SIGINT, dumping partial result...
(time: 00:46.779) dumping lists (0 services)
..
Done, scan time: 00:46.779
root@sf8008:~#





 

 

 

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #57 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 26 July 2023 - 08:43

remove  hisi_key.ko and check again



Re: Octagon SF8008 Wrong USB Tuner ID #58 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 26 July 2023 - 12:43

Without hisi_keys.ko

Note: Box Does Not Lock-up.

openpli homebuild sf8008

sf8008 login: root
root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: ATSC
Name: WinTV HVR-950
Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
NIM Socket 3:
Type: ATSC
Name: LG Electronics LGDT3306A VSB/QAM Frontend
Has_Outputs: no
Frontend_Device: 3
I2C_Device: 3
root@sf8008:~# w_scan -fa -A1 -c US
w_scan -fa -A1 -c US
w_scan version 20210218 (compiled for DVB API 5.11)
using settings for UNITED STATES
ATSC
VSB US/CA, DVB-T TW
scan type TERRCABLE_ATSC, channellist 1
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend1 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend2 -> TERRCABLE_ATSC "WinTV HVR-950": good :-)
        /dev/dvb/adapter0/frontend3 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "Auvitek AU8522 QAM/8VSB Frontend": good :-)
        /dev/dvb/adapter2/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend2)
-_-_ -_-_ Getting frontend capabilities-
Using DVB API 5.10
frontend 'WinTV HVR-950' supports
INVERSION_AUTO
8VSB
QAM_64
QAM_256
FREQ (54.00MHz ... 858.00MHz)

57000: 8VSB(time: 00:00.108)         signal ok: 8VSB     f=57000 kHz (0:0:0)
63000: 8VSB(time: 00:00.752)
69000: 8VSB(time: 00:08.912)
79000: 8VSB(time: 00:42.591)
85000: 8VSB(time: 01:16.386)
177000: 8VSB(time: 01:50.005)
183000: 8VSB(time: 02:23.761) ^C
ERROR: interrupted by SIGINT, dumping partial result...
(time: 02:57.488) dumping lists (0 services)
..
Done, scan time: 02:57.488
root@sf8008:~# w_scan -fa -A1 -c US
w_scan -fa -A1 -c US
w_scan version 20210218 (compiled for DVB API 5.11)
using settings for UNITED STATES
ATSC
VSB US/CA, DVB-T TW
scan type TERRCABLE_ATSC, channellist 1
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend1 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend2 -> TERRCABLE_ATSC "WinTV HVR-950": good :-)
        /dev/dvb/adapter0/frontend3 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "Auvitek AU8522 QAM/8VSB Frontend": good :-)
        /dev/dvb/adapter2/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend2)
-_-_ -_-_ Getting frontend capabilities-_--_
Using DVB API 5.10
frontend 'WinTV HVR-950' supports
INVERSION_AUTO
8VSB
QAM_64
QAM_256
FREQ (54.00MHz ... 858.00MHz)

57000: 8VSB(time: 00:00.376)
63000: 8VSB(time: 00:13.158)
69000: 8VSB(time: 00:25.941) ^C
ERROR: interrupted by SIGINT, dumping partial result...
(time: 00:32.415) dumping lists (0 services)
..
Done, scan time: 00:32.415
root@sf8008:~#




 

Attached Files


Edited by el bandido, 26 July 2023 - 12:52.


Re: Octagon SF8008 Wrong USB Tuner ID #59 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 26 July 2023 - 12:51

Without hisi_keys.ko - 1 Tuner:


root@sf8008:~# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 0
I2C_Device: 0
NIM Socket 1:
Type: DVB-S2X
Name: Si2166D
Has_Outputs: no
Frontend_Device: 1
I2C_Device: 1
NIM Socket 2:
Type: ATSC
Name: LG Electronics LGDT3306A VSB/QAM Frontend
Has_Outputs: no
Frontend_Device: 2
I2C_Device: 2
root@sf8008:~# w_scan -fa -A1 -c US
w_scan -fa -A1 -c US
w_scan version 20210218 (compiled for DVB API 5.11)
using settings for UNITED STATES
ATSC
VSB US/CA, DVB-T TW
scan type TERRCABLE_ATSC, channellist 1
output format vdr-2.0
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
        /dev/dvb/adapter0/frontend0 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend1 -> "Si2166D" doesnt support TERRCABLE_ATSC -> SEARCH NEXT ONE.
        /dev/dvb/adapter0/frontend2 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
        /dev/dvb/adapter1/frontend0 -> TERRCABLE_ATSC "LG Electronics LGDT3306A VSB/QAM Frontend": good :-)
Using TERRCABLE_ATSC frontend (adapter /dev/dvb/adapter0/frontend2)
-_-_-_-_ Getting frontend capabilities-_
Using DVB API 5.10
frontend 'LG Electronics LGDT3306A VSB/QAM Frontend' supports
INVERSION_AUTO
8VSB
QAM_64
QAM_256
FREQ (54.00MHz ... 858.00MHz)

57000: 8VSB(time: 00:00.098)
63000: 8VSB(time: 00:02.931)
69000: 8VSB(time: 00:06.849)
79000: 8VSB(time: 00:07.406)
85000: 8VSB(time: 00:10.767)
177000: 8VSB(time: 00:14.033)
183000: 8VSB(time: 00:14.589)
189000: 8VSB(time: 00:18.938)
195000: 8VSB(time: 00:19.588)         signal ok:        8VSB     f=195000 kHz (0:0:0)
201000: 8VSB(time: 00:20.250)
207000: 8VSB(time: 00:23.516)
213000: 8VSB(time: 00:27.771)
473000: 8VSB(time: 00:32.778)
479000: 8VSB(time: 00:36.050)
485000: 8VSB(time: 00:39.315)         signal ok:        8VSB     f=485000 kHz (0:0:0)
491000: 8VSB(time: 00:39.882)
497000: 8VSB(time: 00:43.148)         signal ok:        8VSB     f=497000 kHz (0:0:0)
503000: 8VSB(time: 00:43.715)         signal ok:        8VSB     f=503000 kHz (0:0:0)
509000: 8VSB(time: 00:44.283)
515000: 8VSB(time: 00:48.543)         signal ok:        8VSB     f=515000 kHz (0:0:0)
521000: 8VSB(time: 00:49.206)         signal ok:        8VSB     f=521000 kHz (0:0:0)
527000: 8VSB(time: 00:49.774)
533000: 8VSB(time: 00:53.039) ^C
ERROR: interrupted by SIGINT, dumping partial result...
(time: 00:54.563) dumping lists (0 services)
..
Done, scan time: 00:54.563
root@sf8008:~#


 

Attached Files



Re: Octagon SF8008 Wrong USB Tuner ID #60 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 27 July 2023 - 05:01

see  usb 1-1.2.2: USB disconnect, device number 5

the usb tuner was unplugged or not?

 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users