Page 1 of 3

opensource drivers issue

PostPosted: Wed Jul 20, 2016 5:33 am
by openatv
I have the TBS5520 and test cross compile for mipsel kernel 4.01

i have use 3 patches from git

https://github.com/ljalves/linux_media/ ... 147b23518a
https://github.com/ljalves/linux_media/ ... 5e3bf20ece
https://github.com/ljalves/linux_media/ ... eac083ac0d

config and compile works fine without any issues

download firmware from here:
https://download.cnx-software.com/publi ... c&download

after load i see this in demsg and tuner not working

usb 1-1: new high-speed USB device number 27 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbs5520-01.fw'
tbs5520: start downloading tbs5520 firmware
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: attach failed family id mismatch
TBS5520: frontend attach failed
dvb-usb: no frontend was attached by 'TBS 5520 USB2.0'
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input28
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.
usb 1-1: USB disconnect, device number 27
dvb-usb: TBS 5520 USB2.0 successfully deinitialized and disconnected.


lsmod
Module Size Used by
r848 26002 0
ipv6 383164 55
avl6882 19166 0
dvb_usb_tbs5520 6458 0
dvb_usb 17786 1 dvb_usb_tbs5520
boxmodel 868 0
xfs 690422 0
libcrc32c 714 1 xfs
hd2400 8849929 4
hd2400_3 32993 1 hd2400
hd2400_2 22287 0
hd2400_1 6541 3 hd2400_2,hd2400_3,hd2400

any idea thats wrong

MAC address: 00:00:00:00:00:00 not show correct infos
and
i2c i2c-7: avl6882: attach failed family id mismatch

close source drivers cant be use we use mipsel and arm soc

thx for help

Captain

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 1:10 pm
by openatv
I have play more and see the firmware from here was different: http://www.tbsdtv.com/download/document ... 160630.zip

so i have replace the firmware and see new infos

usb 1-1: new high-speed USB device number 2 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbs5520-01.fw'
tbs5520: start downloading tbs5520 firmware
usb 1-1: USB disconnect, device number 2
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: attach failed family id mismatch
TBS5520: frontend attach failed
dvb-usb: no frontend was attached by 'TBS 5520 USB2.0'
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input3
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.
usbcore: registered new interface driver tbs5520
dvb-usb: TBS 5520 USB2.0 successfully deinitialized and disconnected.
usb 1-1: new high-speed USB device number 3 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbs5520-01.fw'
tbs5520: start downloading tbs5520 firmware
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: found id=0xb family_id=0x68624955
usb 1-1: Direct firmware load for dvb-demod-avl6882.fw failed with error -2
i2c i2c-7: Error loading firmware: dvb-demod-avl6882.fw (timeout or file not found?)
TBS5520: frontend attach failed
dvb-usb: no frontend was attached by 'TBS 5520 USB2.0'
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input4
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.


dont find firmware: dvb-demod-avl6882.fw

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 4:20 pm
by openatv
next test use patch from here : https://github.com/vitmod/tbs5520

and rework to work with our kernal only makefile and kconfig and fix driver folders

firmware from here : http://www.tbsdtv.com/download/document ... 160630.zip


usb 1-1: new high-speed USB device number 43 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbs5520.fw'
tbs5520: start downloading tbs5520 firmware
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: attach failed family id mismatch
TBS5520: frontend attach failed
dvb-usb: no frontend was attached by 'TBS 5520 USB2.0'
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input43
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.
usb 1-1: USB disconnect, device number 43
dvb-usb: TBS 5520 USB2.0 successfully deinitialized and disconnected.
usb 1-1: new high-speed USB device number 44 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbs5520.fw'
tbs5520: start downloading tbs5520 firmware
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: found id=0xb family_id=0x68624955
i2c i2c-7: r848: Rafael R848 successfully attached
tbs5520: TBS5520: frontend attached

usb 1-1: DVB: registering adapter 1 frontend 0 (Availink AVL6882)...
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input44
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.

now tuner was loading, but not working !

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 6:26 pm
by steven
Hi

Next update of open source code we will add support for 5520 .

Thanks

Kind Regards

steven

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 7:37 pm
by openatv
thx for the info

geatings from openATV Team

captain

www.opena.tv

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 10:49 pm
by crazycat
openatv Wrote:next test use patch from here : https://github.com/vitmod/tbs5520
and rework to work with our kernal only makefile and kconfig and fix driver folders


try my fixes :)
https://github.com/crazycat69/linux_med ... ae60029977

Re: opensource drivers issue

PostPosted: Wed Jul 20, 2016 11:12 pm
by openatv
ah thx not found yet :)

i check too thx for the infos

Re: opensource drivers issue

PostPosted: Tue Jul 26, 2016 3:37 am
by openatv
Now Using crazycat patch for tbs 5520


dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5520.fw'
tbs5520: start downloading tbs5520 firmware
usb 1-1: USB disconnect, device number 2
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: attach failed family id mismatch
TBS5520: frontend attach failed
dvb-usb: no frontend was attached by 'TBS 5520 USB2.0'
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input3
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.
usbcore: registered new interface driver tbs5520
dvb-usb: TBS 5520 USB2.0 successfully deinitialized and disconnected.
usb 1-1: new high-speed USB device number 3 using ehci-brcm
dvb-usb: found a 'TBS 5520 USB2.0' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5520.fw'
tbs5520: start downloading tbs5520 firmware
tbs5520: end downloading tbs5520 firmware
dvb-usb: found a 'TBS 5520 USB2.0' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TBS 5520 USB2.0)
dvb-usb: MAC address: 00:00:00:00:00:00
i2c i2c-7: avl6882: found id=0xb family_id=0x68624955
i2c i2c-7: r848: Rafael R848 successfully attached
tbs5520: TBS5520: frontend attached
usb 1-1: DVB: registering adapter 1 frontend 0 (Availink AVL6882)...
input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-brcm.0/usb1/1-1/input/input4
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: TBS 5520 USB2.0 successfully initialized and connected.
i2c i2c-7: Load AVL6882 firmware patch for DVB-S/S2
i2c i2c-7: AVL6882 patch ver 2.0 build 20193
init tuner
init tuner first time
init tuner done
platform dvb0.0: DVB: registering adapter 0 frontend 2 (vtuner)...
init tuner
init tuner


tuner found but tuner not working no lock nothing use for test here only dvb-s2 with diseqc

Re: opensource drivers issue

PostPosted: Tue Jul 26, 2016 9:13 pm
by crazycat
Strange, in my case work dvb-s/s2 with diseqc 1.0 and dvb-t2.

Re: opensource drivers issue

PostPosted: Wed Jul 27, 2016 6:28 pm
by openatv
LED goes from green to blue after load drivers/firmware

enigma2 see the tuner and i can config all but no lock nothing

test with diseqc, ton burst , single lnb , nothing works here