Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help to improve support for DVB USB cards (compiling media_build)

Featured Replies

Hi, 

This is my first post and I want to say thank you to all the developers and contributors of this great eco system. 

 

I've build an image for odroid xu4 with the openmediavault script. This is really great because the software packages and kernel ist up to date and running like a charm. 

 

Then I tried to get my DVB card working but that is work in progress. 

 

The card is not supported by the 4.9 Kernel and the usual way is to compile the media_build package from hier:

 

https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

 

But with an cross compiled system as armbian is, the build process against header files isn't working for me. 

 

There are posts from other users witch were in the same situation as I am (see reference at the end of my post) 

 

I tried against the header files and get an error "scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected"

(see http://paste.debian.net/950874/  )

 

I also tried against kernel source from the cross compiling system. I get this error:

 

http://paste.debian.net/950875/

 

Any help is apriciated.

 

Alexander

 

 

____________________________________________________________________________________________________________________________________________________________________________

It should work like this (but it's not)

 

  1. Compile a kernel on the cross compile computer (where you do the building of the image and the kernel)  and compile a kernel _WITHOUT_ dvb- and sound-driver. Otherwise you will get double exported symbols when loading the drivers on the armbian system
  2. Install the kernel on the armbian system. Double check if in the /boot directory everything is correct. (On my system the links for kernel wasn't updated)
  3. Copy the source code of the running kernel from the building computer to the armbian system.
  4. Prepare the media_build directory as mentioned here (on the armbian system) 
    https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
     
  5. Go to the media_build directory an tell media_build were the kernel source is located on the armbian system

    cd media_build
    make release make release DIR=/usr/src/your-directory
     
  6. Build media_build 

    ./build
     
  7. Install the new drivers 

    make install
     
  8. Check if everything is prepared to boot the new kernel (depmod -a), and reboot
  9. Look into dmesg and /var/log/syslog if there are errors regarding dvb

    dmesg | grep -i dvb
    cat /var/log/syslog | grep fail 
     
  10. Enjoy


 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.