This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DVB-T scanning issue



Hi,

I'm trying to enable dvb support on Android. for that I started by
adding the rtl2832u driver to the android kernel and then
porting the w_scan utility for scaning the available dvb-t chanels.
however, when executing the w_scan on android
I couldn' t get any result although that the same process worked on my desktop pc and I've got the scan result. when tracking down the problem on Android, I found this kernel
message : musb_host_rx 1762: Rx interrupt with no errors or packet!

Here's the used configuration:
DVB-T device : Cinergy T-stick rc hd
Desktop pc: Ubuntu 12.04 (kernel 3.2)
Android : ICS 4.0.3 (kernel 3.2)
Target platform: AM335x EVM

I'm joining the .config of generated kernel image for android.

  • Do you see the same issue with the latest AM335x linux kernel (AMSDK: http://www.ti.com/tool/linuxezsdk-sitara) too or is this specific to the AM335x Android kernel?

  • Thank you for you answer.

    I took the time to generate the Linux Image and build the bootable sdcard, and port the w_scan utility for dvb-t scanning to Linux.

    However, I still can't get any results. But I couldn't find the same message in the dmesg output.

    As for the w_scan, its execution on the AM335x EVM differs from the "on Desktop-computer execution" at the instruction of the POLL API

    http://linux.die.net/man/3/poll

    Also, I've noticed that when attaching the DVB-T device, I get these results :

      - on my Desktop computer : it says :   usb 2-1.5: new high-speed USB device number 5 using ehci_hcd

      - on the AM335x EVM, it says :  usb 1-1: new high-speed USB device number 4 using musb-hdrc

    I don't know whether it's related to the problem or not. I'm attaching the .config used for generating the Android Linux kernel.

    Thanks in advance.

    B.R

  • Hafedh Haouala said:

    Also, I've noticed that when attaching the DVB-T device, I get these results :

      - on my Desktop computer : it says :   usb 2-1.5: new high-speed USB device number 5 using ehci_hcd

      - on the AM335x EVM, it says :  usb 1-1: new high-speed USB device number 4 using musb-hdrc

    This is expected as the USB "chip" on your desktop is different from the one in AM335x. I feel this difference may not be really relevant here.

    Does your dvb driver come with any documentation about supported kernel version etc. Is this known to work with ARM kernels?

  • Thank You for your answer.

    Actually I'm using the RTL2832u driver https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/ for my  CinergyT-stick RC HD http://www.terratec.net/fr/produkte/Cinergy_T_Stick_RC_97821.html

     I've used it on my Desktop-computer with kernel version 3.2 and it worked perfectly and the Android ICS from Texas Instruments comes with 3.2 Linux Kernel.

    The thing is I managed to use another DVB-utility which is TZAP that tunes the DVB device to specefic TV station frequency and make possible to

    receive MPEG2TS-tv stream ( meaning that the driver is working), but when trying to scan for the available  using wchannels_scan utility, I get weird behavior

    of the utility's code. ( the poll can't detect the events on the filedescriptors passed in arguments). And this is weird because the tzap utility uses the filedescriptors

    of the same componenets used in the w_scan utility but with no poll implementation. 

    I can't find what causes this weird behavior. I really appreciate any help.

    B.R