SpawnSp
Posts: 5
Joined: Tue Oct 22, 2013 1:25 pm

DVB-T USB dongle. Loading driver fails on latest firmwares

Thu Sep 04, 2014 5:42 pm

Hi all!!

Since April I've been using my Raspberry Pi with a dedicated SD card with Raspbian (the 01.07.2014 build) and TVHeadend installed, for the only purpose of recording live TV (playback is on another SD card with OpenELEC). The USB dongle is a PCTV PicoStick 74e.

Everything was working fine until one day I ran "sudo apt-get upgrade" to update Raspbian to the latest packages. This also updated the firmware of the SD card to the latest version, and since then, the TV dongle driver fails to load at boot.

If I type "uname -a" on the working firmware, the info shows this:

Code: Select all

Linux TVRecorder 3.10.25+ #616 PREEMPT Mon Dec 23 18:13:02 GMT 2013 armv6l GNU/Linux
Boot log shows that the drivers loads fine:

Code: Select all

[    6.123312] dvb_as102: module is from the staging directory, the quality is unknown, you have been warned.
[    6.327805] as10x_usb: device has been detected
[    6.590998] DVB: registering new adapter (PCTV Systems picoStick (74e))
[    6.882817] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    7.005939] usb 1-1.3: DVB: registering adapter 0 frontend 0 (PCTV Systems picoStick (74e))...
[    7.806902] as10x_usb: firmware: as102_data1_st.hex loaded with success
[    8.634393] as10x_usb: firmware: as102_data2_st.hex loaded with success
[    8.647511] Registered device PCTV Systems picoStick (74e)
[    8.655499] usbcore: registered new interface driver Abilis Systems as10x usb driver
And then on the latest firmware:

Code: Select all

Linux TVRecorder 3.12.26+ #708 PREEMPT Thu Sep 4 15:43:15 BST 2014 armv6l GNU/Linux
The boot log is this one instead:

Code: Select all

[    6.419189] dvb_as102: module is from the staging directory, the quality is unknown, you have been warned.
[    6.627211] as10x_usb: device has been detected
[    6.811654] DVB: registering new adapter (PCTV Systems picoStick (74e))
[    6.954899] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    7.090570] usb 1-1.3: DVB: registering adapter 0 frontend 0 (PCTV Systems picoStick (74e))...
[    7.988645] as10x_usb: error during firmware upload part1
[    8.067482] Registered device PCTV Systems picoStick (74e)
[    8.092247] usbcore: registered new interface driver Abilis Systems as10x usb driver
Sometimes part1 loads fine but then it fails on part2. And TVHeadend doesn't detect the dongle.
The only way I've found to fix this problem is going back to the firmware that was working, using the "rpi-update" tool and specifying the Git hash for the specific firmware revision.
I've tested some setup combinations, such as connecting the dongle to a powered USB hub, but the results were the same.

I don't know if there is anything that can be done. It's not "critical", because there is one combination that works, but I don't know if I'm missing something with older firmwares (for example I've noticed that on newer firmwares I no longer need to set the "boot_delay=1" parameter on config.txt to properly boot my Pi).

Thanks in advance!

dejan
Posts: 1
Joined: Tue Oct 28, 2014 2:48 pm

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Tue Oct 28, 2014 4:02 pm

Same problem!
We are working with raspberry pi b+ so there is no solution for downgrading.
Tried updating pctv drivers: http://linuxtv.org/downloads/firmware/d ... es.tar.bz2 and upgraded to raspbian 3.12.31+.
Still no luck, always get errors: "as10x_usb: error during firmware upload part1 or part 2".

Anyone with some hints or solutions?

Thanks in advance.

gcsx
Posts: 18
Joined: Tue Apr 29, 2014 10:00 pm

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Wed Apr 06, 2016 10:05 pm

Any news about this problem?
I have the same on an up-to-date Pi2.

vydriduch
Posts: 1
Joined: Tue May 03, 2016 8:04 am

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Tue May 03, 2016 8:15 am

I have bought a Raspberry Pi 3 to use specifically with PCTV picoStick 74e. I experienced the same problems running Raspbian Jessie withc kernel 4.4.6-v7+ (or just about any kernel that actually booted).

By trial and error I found out that the following parameters for the USB driver in /boot/cmdline.txt help:
dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 dwc_otg.nak_holdoff=0

I also keep dwc_otg.lpm_enable=0 that has been configured by default.

I have no idea what the settings mean. I am happy for the moment, TV works. We might want to dig deeper and actually fix the bug one day.

matoex
Posts: 2
Joined: Sun Dec 11, 2016 10:54 am

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Sun Dec 11, 2016 11:01 am

Does anybody success with fixing this problem with running USB stick with PCTV 74e chipset?
I was trying solution from vydriduch but my tuner still isn't working with Raspberry. (On laptop with "normal" Ubuntu or Linux Mint stick works great and firmware uploads successfully.)

SpawnSp
Posts: 5
Joined: Tue Oct 22, 2013 1:25 pm

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Thu Dec 15, 2016 8:22 am

vydriduch wrote:I have bought a Raspberry Pi 3 to use specifically with PCTV picoStick 74e. I experienced the same problems running Raspbian Jessie withc kernel 4.4.6-v7+ (or just about any kernel that actually booted).

By trial and error I found out that the following parameters for the USB driver in /boot/cmdline.txt help:
dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 dwc_otg.nak_holdoff=0

I also keep dwc_otg.lpm_enable=0 that has been configured by default.

I have no idea what the settings mean. I am happy for the moment, TV works. We might want to dig deeper and actually fix the bug one day.
While I was coming back to try if this problem was solved, I found that my own post has been updated over the time. I must say that this tip solved the problem for me also. Don't know how you found those settings, even when not knowing what they mean. But many thanks, I finally have it working, two years after!! :lol:

matoex
Posts: 2
Joined: Sun Dec 11, 2016 10:54 am

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Mon Dec 19, 2016 12:35 pm

SpawnSp wrote: While I was coming back to try if this problem was solved, I found that my own post has been updated over the time. I must say that this tip solved the problem for me also. Don't know how you found those settings, even when not knowing what they mean. But many thanks, I finally have it working, two years after!! :lol:
Could you show what exactly (all lines) you have got in cmdline.txt file?
I am trying this solution, but can't get it working.

SpawnSp
Posts: 5
Joined: Tue Oct 22, 2013 1:25 pm

Re: DVB-T USB dongle. Loading driver fails on latest firmwar

Sat Dec 31, 2016 7:27 pm

matoex wrote:Could you show what exactly (all lines) you have got in cmdline.txt file?
I am trying this solution, but can't get it working.
Sure! Here's the full content of my /boot/cmdline.txt

Code: Select all

dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 dwc_otg.nak_holdoff=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfst$
I see there are no line feeds, guess it doesn't matter.

Return to “Troubleshooting”