Compiling V4L-DVB drivers for dvb card

    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Compiling V4L-DVB drivers for dvb card

      I am trying to compile V4L-DVB drivers folowing linuxtv.org/wiki/index.php/How…ll_V4L-DVB_Device_Drivers

      Now I get this message:
      After this command:
      ./build --main-git

      Source Code

      1. Syncing with dir ../media/
      2. make[2]: Leaving directory `/root/media_build/linux'
      3. ./scripts/make_kconfig.pl /lib/modules/3.2.0-4-amd64/build /lib/modules/3.2.0-4-amd64/build 1
      4. Preparing to compile for kernel version 3.2.0
      5. You appear to have loadable modules turned off in your kernel. You can
      6. not compile the v4l-dvb drivers, as modules, and use them with a kernel
      7. that has modules disabled.
      8. If you want to compile these drivers into your kernel, you should
      9. use 'make kernel-links' to link the source for these drivers into
      10. your kernel tree. Then configure and compile the kernel.
      11. make[1]: *** [allyesconfig] Error 255
      12. make[1]: Leaving directory `/root/media_build/v4l'
      13. make: *** [allyesconfig] Error 2
      14. can't select all drivers at ./build line 490, <IN> line 4.
      15. root@omv:~/media_build#
      Display All


      How can I compile the drivers?

      Source Code

    • EDIT:
      My wording before was not correct so I am editing my reply here, it still does not work/compile:

      I had to create a build dir
      mkdir /lib/modules/3.2.0-4-amd64/build

      and place an empty .config in it for it to work
      nano /lib/modules/3.2.0-4-amd64/build/.config

      After this it moved a stage and now it says "loadable modules turned off in your kernel"

      Source Code

      1. Preparing to compile for kernel version 3.2.0
      2. You appear to have loadable modules turned off in your kernel


      Source Code

      1. Patched drivers/media/dvb-core/dvbdev.c
      2. Patched drivers/media/v4l2-core/v4l2-dev.c
      3. Patched drivers/media/rc/rc-main.c
      4. make[2]: Leaving directory `/media_build/linux'
      5. ./scripts/make_kconfig.pl /lib/modules/3.2.0-4-amd64/build /lib/modules/3.2.0-4-amd64/source 1
      6. Preparing to compile for kernel version 3.2.0
      7. You appear to have loadable modules turned off in your kernel. You can
      8. not compile the v4l-dvb drivers, as modules, and use them with a kernel
      9. that has modules disabled.
      10. If you want to compile these drivers into your kernel, you should
      11. use 'make kernel-links' to link the source for these drivers into
      12. your kernel tree. Then configure and compile the kernel.
      13. make[1]: *** [allyesconfig] Error 255
      14. make[1]: Leaving directory `/media_build/v4l'
      15. make: *** [allyesconfig] Error 2
      16. can't select all drivers at ./build line 490.
      17. root@omv:/media_build#
      Display All

      The post was edited 1 time, last by alon24 ().

    • I have the same issue:

      I'm have mythtv "working" on my UDOO Quad with OMV 3.x Erasmus on an Armbian Debian Jessie install. BUT... I can't use any of my USB TV Tuners. :(

      I have a Sony PS3 PlayTV and DIgital Now TIny Twin (af9015). dmesg says:

      Tiny Twin:

      [ 902.670182] usb 2-1.1: new high-speed USB device number 5 using ci_hdrc
      [ 902.785052] usb 2-1.1: New USB device found, idVendor=13d3, idProduct=3226
      [ 902.785068] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 902.785077] usb 2-1.1: Product: DVB-T 2
      [ 902.785084] usb 2-1.1: Manufacturer: Afatech
      [ 902.785092] usb 2-1.1: SerialNumber: 010101010600001
      [ 902.938400] input: Afatech DVB-T 2 as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1.1/2-1.1:1.1/0003:13D3:3226.0001/input/input0
      [ 902.938669] hid-generic 0003:13D3:3226.0001: input: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-ci_hdrc.1-1.1/input1
      [ 902.938776] usbcore: registered new interface driver usbhid
      [ 902.938784] usbhid: USB HID core driver
      [ 1532.449095] usb 2-1.1: USB disconnect, device number 5
      [ 1539.086678] usb 2-1.1: new high-speed USB device number 6 using ci_hdrc
      [ 1539.201672] usb 2-1.1: New USB device found, idVendor=13d3, idProduct=3226
      [ 1539.201687] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 1539.201696] usb 2-1.1: Product: DVB-T 2
      [ 1539.201704] usb 2-1.1: Manufacturer: Afatech
      [ 1539.201712] usb 2-1.1: SerialNumber: 010101010600001
      [ 1539.207259] input: Afatech DVB-T 2 as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1.1/2-1.1:1.1/0003:13D3:3226.0002/input/input1
      [ 1539.207698] hid-generic 0003:13D3:3226.0002: input: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-ci_hdrc.1-1.1/input1

      Sony:

      [ 3146.529097] usb 2-1.2: USB disconnect, device number 3
      [ 3153.164356] usb 2-1.2: new high-speed USB device number 7 using ci_hdrc
      [ 3153.275847] usb 2-1.2: New USB device found, idVendor=1415, idProduct=0003
      [ 3153.275880] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 3153.275902] usb 2-1.2: Product: SCEH-0036
      [ 3153.275922] usb 2-1.2: Manufacturer: SONY
      [ 3153.275940] usb 2-1.2: SerialNumber: ALR001FHQ6

      Attempt to compile v4l-dvb:

      Patched drivers/media/dvb-core/dvbdev.c
      Patched drivers/media/v4l2-core/v4l2-dev.c
      Patched drivers/media/rc/rc-main.c
      make[2]: Leaving directory '/home/glen/media_build/linux'
      ./scripts/make_kconfig.pl /lib/modules/3.14.79-udoo/build /lib/modules/3.14.79-udoo/build 1
      Preparing to compile for kernel version 3.14.79
      File not found: /lib/modules/3.14.79-udoo/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
      Makefile:374: recipe for target 'allyesconfig' failed
      make[1]: *** [allyesconfig] Error 2
      make[1]: Leaving directory '/home/glen/media_build/v4l'
      Makefile:26: recipe for target 'allyesconfig' failed
      make: *** [allyesconfig] Error 2
      can't select all drivers at ./build line 525
      glen@udoo:~/media_build$

      On Ubuntu, all I had to do was plug-in the Sony PlayTV and it worked. For the Tiny Twin I just had to copy dvb-usb-af9015.fw to /lib/firmware.

      ARM is harder than x86 and x64 :(