Moderator Control Panel ]

opensource drivers issue

opensource drivers issue

Postby openatv » Wed Jul 20, 2016 5:33 am

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
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby openatv » Wed Jul 20, 2016 1:10 pm

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
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby openatv » Wed Jul 20, 2016 4:20 pm

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 !
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby steven » Wed Jul 20, 2016 6:26 pm

Hi

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

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm

Re: opensource drivers issue

Postby openatv » Wed Jul 20, 2016 7:37 pm

thx for the info

geatings from openATV Team

captain

www.opena.tv
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby crazycat » Wed Jul 20, 2016 10:49 pm

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
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: opensource drivers issue

Postby openatv » Wed Jul 20, 2016 11:12 pm

ah thx not found yet :)

i check too thx for the infos
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby openatv » Tue Jul 26, 2016 3:37 am

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
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Re: opensource drivers issue

Postby crazycat » Tue Jul 26, 2016 9:13 pm

Strange, in my case work dvb-s/s2 with diseqc 1.0 and dvb-t2.
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: opensource drivers issue

Postby openatv » Wed Jul 27, 2016 6:28 pm

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
openatv
 
Posts: 14
Joined: Fri Jul 08, 2016 2:04 pm

Next

Return to TBS5520 Multi-standard TV Tuner USB Box

Who is online

Users browsing this forum: No registered users and 2 guests