Moderator Control Panel ]

TBS 5922 hangs all the time

TBS 5922 hangs all the time

Postby dede » Sun Jan 24, 2016 4:01 am

Hi.

Tuner constantly hangs during viewing live TV. First, only unloading/loading dvb-usb-tbs5923 was helping. Sometimes it hangs so hard, that reloading or even rebooting doesnt help, only cycling power on tuner. Was it a terrible mistake bying USB tuner and it will not work stable, like PCI ?

It happens this way:
1. Watching live TV in MythTV
2. Picture freezes after random amount of time, can work for hours and hours, or can hang after 20 mins
3. When I'm trying to start live TV again, i see that singal is 23-27(constantly changing) and there's no LOCK. If i stop mythtv and try szap, I'm getting "Operation not permitted" error. dmesg shows no errors.
4. rmmod dvb-usb-tbs5923 dvb_usb
5. modprobe dvb-usb-tbs5923
6. Starting live TV, signal is 77, as usual, everything works.

Hard hang happens same way, but reloading drivers doesnt help, only cycling power

Ubuntu 14.04, TBS drivers v151229

Can do any compiling/debugging, if needed, because desperately need to fix this irritating behaviour. Thanks.

Normal loading:
Code: Select All Code
[  629.356314] dvb-usb: found a 'TBS 5922SE DVBS2 USB2.0' in cold state, will try to load a firmware
[  629.356323] dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5923.fw'
[  629.356325] tbs5922se: start downloading TBS5922SE firmware
[  629.476428] dvb-usb: found a 'TBS 5922SE DVBS2 USB2.0' in warm state.
[  629.479978] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[  629.480173] DVB: registering new adapter (TBS 5922SE DVBS2 USB2.0)
[  629.618574] dvb-usb: MAC address: 00:22:ab:c0:3c:b7
[  629.923620] TurboSight TBS 5922SE Frontend Attaching...
[  629.970142] TBS5922SE attached.
[  629.970532] DVB: registering adapter 1 frontend 0 (TurboSight TBS 5922SE DVBS/S2 frontend)...
[  629.976986] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:04.1/usb2/2-1/input/input11
[  629.988006] dvb-usb: schedule remote query interval to 150 msecs.
[  629.988013] dvb-usb: TBS 5922SE DVBS2 USB2.0 successfully initialized and connected.
[  629.990027] usbcore: registered new interface driver tbs5922se


Loading in a totally hung state:
Code: Select All Code
[Sat Jan 23 18:40:33 2016] dvb-usb: found a 'TBS 5922SE DVBS2 USB2.0' in cold state, will try to load a firmware
[Sat Jan 23 18:40:33 2016] dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5923.fw'
[Sat Jan 23 18:40:33 2016] tbs5922se: start downloading TBS5922SE firmware
[Sat Jan 23 18:40:33 2016] dvb-usb: found a 'TBS 5922SE DVBS2 USB2.0' in warm state.
[Sat Jan 23 18:40:33 2016] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[Sat Jan 23 18:40:33 2016] DVB: registering new adapter (TBS 5922SE DVBS2 USB2.0)
[Sat Jan 23 18:40:37 2016] tbs5922se: read eeprom failed
[Sat Jan 23 18:40:37 2016] dvb-usb: MAC address reading failed.
[Sat Jan 23 18:40:37 2016] TurboSight TBS 5922SE Frontend Attaching...
[Sat Jan 23 18:40:45 2016] TurboSight TBS 5922SE Frontend:
[Sat Jan 23 18:40:45 2016]  tbs5922se - attach failed
[Sat Jan 23 18:40:45 2016] dvb-usb: no frontend was attached by 'TBS 5922SE DVBS2 USB2.0'
[Sat Jan 23 18:40:55 2016] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:02.1/usb1/1-3/input/input36
[Sat Jan 23 18:40:55 2016] dvb-usb: schedule remote query interval to 150 msecs.
[Sat Jan 23 18:40:55 2016] dvb-usb: TBS 5922SE DVBS2 USB2.0 successfully initialized and connected.
[Sat Jan 23 18:40:55 2016] usbcore: registered new interface driver tbs5922se


Code: Select All Code
Bus 002 Device 002: ID 734c:5923 TBS Technologies China
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Code: Select All Code
# uname -a
Linux htpc 4.2.0-22-generic #27~14.04.1-Ubuntu SMP Fri Dec 18 10:57:53 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby cody » Mon Jan 25, 2016 2:27 pm

hi, maybe it's problem related to the USB port. i have few suggestions:

* check your BIOS and if there is option set USB port to Legacy Mode, then test the work again

* disable IR on 5922 in the following way:

- open in text editor:

linux-tbs-drivers/linux/drivers/media/dvb/dvb-usb/tbs5923.c

- scroll through the file and almost at the end of it, you will find the following lines:

===
.rc.legacy = {
.rc_map_table = tbs5923_rc_keys,
.rc_map_size = ARRAY_SIZE(tbs5923_rc_keys),
.rc_interval = 150,
.rc_query = tbs5923_rc_query,
},
===

- delete those lines, save the file and then rebuild and reinstall the drivers.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: TBS 5922 hangs all the time

Postby dede » Tue Jan 26, 2016 12:13 am

Thanks for your reply, I did all USB debugging part already, with different ports, controllers, modes. But your hint about IR sounds very promising, because recently I had a feeling, that its exactly cause of IR. I have a TV remote and I've had a feeling that tuner hangs after some keypress combinations on the remote, will try disabling and will report if it helped
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby dede » Mon Feb 01, 2016 1:41 pm

Still testing, unfortunately at the moment tuner is less used than before, but for now - 1 week uptime without reloads, while before that, it was 3-5 reloads a day. I'll take one more week for testing, to be completely sure, that it was related to IR
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby dede » Fri Feb 12, 2016 12:19 am

Again same thing... Suddenly bug appeared again, had to reload and power cycle tuner... Any way to debug ?
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby dede » Mon Aug 14, 2017 1:37 am

Will the 4.10 kernel be supported anytime soon? Driver builds, but on load - transfer buffer not dma capable
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby steven » Mon Aug 14, 2017 9:45 am

Hi

Please have a try with our latest open source driver :
https://github.com/tbsdtv/linux_media/wiki

Thanks

Kind Regards

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

Re: TBS 5922 hangs all the time

Postby dede » Sun Aug 20, 2017 12:23 am

Tried on my 5881 - modules have built and loaded ok, but tvheadend sees DVB-T and DVB-C adapters separately and none of them work
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am

Re: TBS 5922 hangs all the time

Postby dede » Sat Nov 04, 2017 2:27 am

More than 6 months no releases. Old drivers do not work with kernels higher than 4.9...


Opensource drivers (after tonns of manual fixes in some unused and unneded modules) - compile successfully, but device works till first signal lock, after - only power cycle.

This is very sad, what am i supposed to do, if i need kernel higher than 4.9 ?
dede
 
Posts: 8
Joined: Tue Dec 29, 2015 9:30 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest