Trouble

[solved] Compiling driver for DVB-C stick (TT CT2-4400) (Number Two)

5 4339
Edited by SebastianM at Thu Jan 22, 2015 12:58

Okay the first Thread is "solved" with very rar infos ;) so i have also problem with the TT CT2-4400 Stick.

finally set2fe compiled. I must also run forced modprobe (see first thread).

all seems good, but i can´t see any dvb-t channels:
  1. root@lemaker:/home/bananapi# lsmod
  2. Module                  Size  Used by
  3. rc_tt_1500              1079  0
  4. dvb_usb_dvbsky         11535  1
  5. dvb_usb_v2             27078  1 dvb_usb_dvbsky
  6. dvb_core              103155  2 dvb_usb_v2,dvb_usb_dvbsky
  7. rc_core                23538  4 rc_tt_1500,dvb_usb_v2,dvb_usb_dvbsky
  8. sit2fe                 27103  1
  9. rfcomm                 58241  0
  10. bnep                   14217  2
  11. bluetooth             264645  10 bnep,rfcomm
  12. dm_crypt               16206  0
  13. 8192cu                450569  0
  14. mali_drm                2608  0
  15. drm                   209226  1 mali_drm
  16. mali                  111427  0
  17. ump                    52415  1 mali
Copy the Code
  1. dmesg
  2. [   57.806236] sit2fe: module_layout: kernel tainted.
  3. [   57.810570] Disabling lock debugging due to kernel taint
  4. [   72.334924] usb 4-1: dvb_usb_v2: found a 'dvbsky-TVStick CT2-4400' in warm state
  5. [   72.343956] usb 4-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
  6. [   72.350729] DVB: registering new adapter (dvbsky-TVStick CT2-4400)
  7. [   72.356058] dvbsky_usb MAC address=bc:ea:2b:44:03:bf
  8. [   72.360967] usb 4-1: dvb_usb_v2: MAC address: bc:ea:2b:44:03:bf
  9. [   72.371862] usb 4-1: DVB: registering adapter 0 frontend 0 (Sit2 DVB-T2/C)...
  10. [   72.399100] rc_tt_1500: disagrees about version of symbol module_layout
  11. [   72.425017] IR keymap rc-tt-1500 not found
  12. [   72.432088] Registered IR keymap rc-empty
  13. [   72.441421] input: dvbsky-TVStick CT2-4400 as /devices/platform/sw-ehci.2/usb4/4-1/rc/rc0/input2
  14. [   72.448732] rc0: dvbsky-TVStick CT2-4400 as /devices/platform/sw-ehci.2/usb4/4-1/rc/rc0
  15. [   72.455094] usb 4-1: dvb_usb_v2: schedule remote query interval to 300 msecs
  16. [   72.463150] usb 4-1: dvb_usb_v2: 'dvbsky-TVStick CT2-4400' successfully initialized and connected
  17. [   72.471594] usbcore: registered new interface driver dvb_usb_dvbsky
Copy the Code
tvheadend see this adapter, but i cant get any channels All muxes are "no signal"

is this problem, kernel related?

what ive done:

BPI: lubuntu 14.04

virtualbox ubuntu64bit for crosscompile
  1. Kernel-sources: git clone --depth=1 https://github.com/LeMaker/linux-bananapi.git /mnt/sys/debian_lemaker_kernel/

  2. # nice-to-have /must-have
  3. apt-get install aptitude && \
  4. aptitude update && aptitude upgrade && \
  5. aptitude install mysql-server-5.5 nginx htop php5-fpm php5-gd bind9 less lshw pciutils usbutils lirc sudo screen phpmyadmin wpasupplicant mlocate wireless-tools memcached php5-memcached libc6-dev libdigest-sha-perl libproc-processtable-perl patch gcc make git patchutils libncurses5-dev libtinfo-dev htop gcc binutils-arm-linux-gnueabihf gcc-arm-linux-gnueabihf unzip u-boot-tools dvb-tools dvb-apps

  6. http://forum.lemaker.org/forum.php?mod=attachment&aid=OTcxfDU1ZDkwMjY0fDE0MjE0NDA4OTV8NjQ2Nzd8MjQ0Nw%3D%3D

  7. cp Module.symvers /mnt/sys/debian_lemaker_kernel/

  8. cd  /mnt/sys/debian_lemaker_kernel/

  9. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
  10. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- oldconfig
  11. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- scripts
  12. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- prepare

  13. # got .config from BPI
  14. zcat /proc/config.gz > /tmp/.config
  15. #copy file to CROSSCOMPILE VirtualBox System: /mnt/sys/debian_lemaker_kernel/.config

Copy the Code
v4l from technotrend
wget http://www.tt-downloads.de/Linux/media_build-bst-14-140807.tar.gz
and sit2.o from board (copy to v4l folder):
wget http://www.dvbsky.net/download/linux/sit2-RPi.zip
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
export DIR=//mnt/sys/lubuntu_lemaker_kernel
export MYCFLAGS=-fno-pic

edited .config for failed modules.

make

-> copy all data to bpi

on BPI: make install -> reboot
sudo modprobe -f sit2fe
sudo modprobe -f rc-tt-1500
sudo modprobe -f dvb-usb-dvbsky

so all good, but no service ?!

some help?

Okay now i have compiled and install my own kernel 3.4.104+, and cross-compile and make install v4l.

now all modules load on boot without forcing, but tvheadend do not show any channels too (

  1. sudo scan /usr/share/tvheadend/data/dvb-scan/dvb-t/de-Nordrhein-Westfalen
  2. scanning /usr/share/tvheadend/data/dvb-scan/dvb-t/de-Nordrhein-Westfalen
  3. using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
  4. initial transponder 506000000 0 2 9 1 1 2 0
  5. initial transponder 514000000 0 2 9 1 1 3 0
  6. initial transponder 522000000 0 1 9 3 1 3 0
  7. initial transponder 538000000 0 2 9 1 1 3 0
  8. initial transponder 546000000 0 2 9 1 1 3 0
  9. initial transponder 554000000 0 1 9 3 1 3 0
  10. initial transponder 570000000 0 2 9 1 1 3 0
  11. initial transponder 586000000 0 2 9 1 1 3 0
  12. initial transponder 594000000 0 2 9 1 1 3 0
  13. initial transponder 602000000 0 1 9 3 1 3 0
  14. initial transponder 674000000 0 1 9 3 1 3 0
  15. initial transponder 690000000 0 2 9 1 1 3 0
  16. initial transponder 698000000 0 1 9 3 1 3 0
  17. initial transponder 706000000 0 2 9 1 1 3 0
  18. initial transponder 722000000 0 2 9 1 1 3 0
  19. initial transponder 730000000 0 2 9 1 1 3 0
  20. initial transponder 746000000 0 2 9 1 1 3 0
  21. initial transponder 762000000 0 2 9 1 1 2 0
  22. initial transponder 786000000 0 2 9 1 1 3 0
  23. >>> tune to: 506000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
  24. WARNING: >>> tuning failed!!!
  25. >>> tune to: 506000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
  26. WARNING: >>> tuning failed!!!
  27. >>> tune to: 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
Copy the Code
i think that is my Problem (

The Stick is okay and running under Windows 8, so no Hardware issue

compiled w_scan (on bpi)
Tool find my USB-Stick, but also can´t find Channels.


http://wirbel.htpc-forum.de/w_scan/index2.html

tested sit2.o from dvbsky and from CortexA9 (se other TT Thread)

both the same problem

Edited by SebastianM at Thu Jan 22, 2015 12:57

okay. i cant get it working on lubuntu oder debian wheezy, but i have found a soulution since 2 days it works very well in dvb-c mode:

http://piprojects.net/debian-jes ... inal-for-banana-pi/

install on stick, and all is running ;)

you need the firmware files:

login as bpi and do the following:
sudo su

mkdir /lib/firmware && cd /lib/firmware

wget https://github.com/OpenELEC/dvb- ... od-si2168-b40-01.fw
wget https://github.com/OpenELEC/dvb- ... er-si2158-a20-01.fw
wget https://github.com/OpenELEC/dvb- ... -demod-si2168-02.fw

install tvheadend

edit /etc/init.d/tvheadend and add the following line in do_start:
/usr/bin/dvb-fe-tool -d DVBC/ANNEX_A # if you want dvb-c
/usr/bin/dvb-fe-tool -d DVBT # if you want dvb-t

example
  1. do_start()
  2. {
  3.         # Return
  4.         #   0 if daemon has been started
  5.         #   1 if daemon was already running
  6.         #   2 if daemon could not be started
  7.         /usr/bin/dvb-fe-tool -d DVBC/ANNEX_A

  8.         udevadm settle
  9.         start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
  10.                 || return 1
  11.         start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
  12.                 $ARGS \
  13.                 || return 2
  14. }
Copy the Code
reboot


You have to log in before you can reply Login | Sign Up

Points Rules