Compiling V4L-DVB drivers for dvb card

  • I am trying to compile V4L-DVB drivers folowing http://www.linuxtv.org/wiki/in…ll_V4L-DVB_Device_Drivers


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



    How can I compile the drivers?

    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"

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


  • 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 :(

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!