Jump to content
Sign in to follow this  
artworker

linux driver install

Recommended Posts

linux driver install

I tried to install a Linux driver but it failed.

This is my log.

 

~/a681/media_build$ ./build
Checking if the needed tools for Ubuntu 16.04.3 LTS are available
Needed package dependencies are met.

************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest  *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* http://www.linuxtv.org/downloads/firmware/               *
* Please abort in the next 5 secs if you don't agree with  *
* the license                                              *
************************************************************

Not aborted. It means that the licence was agreed. Proceeding...

****************************
Updating the building system
****************************
remote: Counting objects: 1450, done.
remote: Compressing objects: 100% (410/410), done.
remote: Total 1450 (delta 1091), reused 1391 (delta 1037)
오브젝트를 받는 중: 100% (1450/1450), 223.76 KiB | 169.00 KiB/s, 완료.
델타를 알아내는 중: 100% (1091/1091), 로컬 오브젝트 29개 마침.
git://linuxtv.org/media_build URL에서
 * branch            master     -> FETCH_HEAD
업데이트 중 36bf06a..7199b00
Fast-forward
 .gitignore                                         |    1 +
 backports/api_version.patch                        |   60 +-
 backports/backports.txt                            |   81 +-
 backports/debug.patch                              |   36 -
 backports/no_atomic_include.patch                  |   82 +-
 backports/pr_fmt.patch                             | 1020 +++++++++-----
 backports/v2.6.34_dvb_net.patch                    |   19 +-
 backports/v2.6.35_kfifo.patch                      |   11 +-
 backports/v2.6.35_vm_prev.patch                    |   12 -
 backports/v2.6.35_work_handler.patch               |   18 +-
 backports/v2.6.36_fence.patch                      |    6 +-
 .../v2.6.37_dont_use_alloc_ordered_workqueue.patch |    4 +-
 backports/v2.6.38_config_of_for_of_node.patch      |   30 +
 ...v2.6.38_use_getkeycode_new_setkeycode_new.patch |   36 +-
 backports/v2.6_rc_main_bsearch_h.patch             |   10 +
 backports/v3.0_ida2bit.patch                       |   65 +
 backports/v3.0_remove_ida_lird_dev.patch           |   83 ++
 backports/v3.12_kfifo_in.patch                     |   51 +
 backports/v3.13_ddbridge_pcimsi.patch              |   30 +
 backports/v3.16_void_gpiochip_remove.patch         |   10 +-
 backports/v3.17_fix_clamp.patch                    |   35 +
 backports/v3.18_drop_property_h.patch              |   12 +
 backports/v3.18_ktime_get_real_seconds.patch       |   26 +
 backports/v3.19_get_user_pages_locked.patch        |   15 +
 backports/v3.1_no_dma_buf_h.patch                  |   15 +-
 backports/v3.1_no_export_h.patch                   |   50 +-
 backports/v3.2_alloc_ordered_workqueue.patch       |    6 +-
 backports/v3.3_eprobe_defer.patch                  |   54 +
 backports/v3.4_i2c_add_mux_adapter.patch           |   68 +-
 backports/v3.6_i2c_add_mux_adapter.patch           |   72 +-
 backports/v3.8_config_of.patch                     |   21 +-
 backports/v3.9_pfn_warning.patch                   |   13 -
 backports/v4.0_dma_buf_export.patch                |   90 ++
 backports/v4.0_drop_trace.patch                    |   85 ++
 backports/v4.0_fwnode.patch                        |   22 +
 backports/v4.10_fault_page.patch                   |   15 +
 backports/v4.10_refcount.patch                     |  274 ++++
 backports/v4.10_sched_signal.patch                 |  272 ++++
 .../v4.12_revert_solo6x10_copykerneluser.patch     |   71 +
 backports/v4.14_compiler_h.patch                   |   11 +
 backports/v4.14_module_param_call.patch            |   41 +
 backports/v4.14_saa7146_timer_cast.patch           |   13 +
 backports/v4.1_drop_fwnode.patch                   |   37 +
 backports/v4.1_pat_enabled.patch                   |   20 +
 backports/v4.2_atomic64.patch                      |   49 +
 backports/v4.2_frame_vector.patch                  |  250 ++++
 backports/v4.3_add_autorepeat_handling.patch       |  118 ++
 backports/v4.4_gpio_chip_parent.patch              |   13 +
 backports/v4.5_get_user_pages.patch                |   52 +
 backports/v4.5_gpiochip_data_pointer.patch         |   43 +
 backports/v4.5_uvc_super_plus.patch                |   12 +
 backports/v4.6_i2c_mux.patch                       | 1457 ++++++++++++++++++++
 backports/v4.7_dma_attrs.patch                     |  321 +++++
 backports/v4.7_pci_alloc_irq_vectors.patch         |   57 +
 backports/v4.8_user_pages_flag.patch               |   87 ++
 backports/v4.9_dvb_net_max_mtu.patch               |   20 +
 backports/v4.9_ktime_cleanups.patch                |   63 +
 backports/v4.9_mm_address.patch                    |   20 +
 build                                              |  118 +-
 linux/.gitignore                                   |    1 +
 linux/Makefile                                     |   27 +-
 v4l/Kconfig.mm                                     |    2 +
 v4l/Kconfig.staging                                |    2 +-
 v4l/Makefile                                       |   36 +-
 v4l/Makefile.mm                                    |   14 +
 v4l/compat.h                                       |  761 +++++++++-
 v4l/firmware/.gitignore                            |    3 +
 v4l/scripts/make_config_compat.pl                  |   80 +-
 v4l/scripts/make_kconfig.pl                        |   21 +-
 v4l/scripts/make_makefile.pl                       |    2 +-
 v4l/versions.txt                                   |  125 +-
 71 files changed, 6035 insertions(+), 722 deletions(-)
 delete mode 100644 backports/v2.6.35_vm_prev.patch
 create mode 100644 backports/v2.6.38_config_of_for_of_node.patch
 create mode 100644 backports/v2.6_rc_main_bsearch_h.patch
 create mode 100644 backports/v3.0_ida2bit.patch
 create mode 100644 backports/v3.0_remove_ida_lird_dev.patch
 create mode 100644 backports/v3.12_kfifo_in.patch
 create mode 100644 backports/v3.13_ddbridge_pcimsi.patch
 create mode 100644 backports/v3.17_fix_clamp.patch
 create mode 100644 backports/v3.18_drop_property_h.patch
 create mode 100644 backports/v3.18_ktime_get_real_seconds.patch
 create mode 100644 backports/v3.19_get_user_pages_locked.patch
 create mode 100644 backports/v3.3_eprobe_defer.patch
 delete mode 100644 backports/v3.9_pfn_warning.patch
 create mode 100644 backports/v4.0_dma_buf_export.patch
 create mode 100644 backports/v4.0_drop_trace.patch
 create mode 100644 backports/v4.0_fwnode.patch
 create mode 100644 backports/v4.10_fault_page.patch
 create mode 100644 backports/v4.10_refcount.patch
 create mode 100644 backports/v4.10_sched_signal.patch
 create mode 100644 backports/v4.12_revert_solo6x10_copykerneluser.patch
 create mode 100644 backports/v4.14_compiler_h.patch
 create mode 100644 backports/v4.14_module_param_call.patch
 create mode 100644 backports/v4.14_saa7146_timer_cast.patch
 create mode 100644 backports/v4.1_drop_fwnode.patch
 create mode 100644 backports/v4.1_pat_enabled.patch
 create mode 100644 backports/v4.2_atomic64.patch
 create mode 100644 backports/v4.2_frame_vector.patch
 create mode 100644 backports/v4.3_add_autorepeat_handling.patch
 create mode 100644 backports/v4.4_gpio_chip_parent.patch
 create mode 100644 backports/v4.5_get_user_pages.patch
 create mode 100644 backports/v4.5_gpiochip_data_pointer.patch
 create mode 100644 backports/v4.5_uvc_super_plus.patch
 create mode 100644 backports/v4.6_i2c_mux.patch
 create mode 100644 backports/v4.7_dma_attrs.patch
 create mode 100644 backports/v4.7_pci_alloc_irq_vectors.patch
 create mode 100644 backports/v4.8_user_pages_flag.patch
 create mode 100644 backports/v4.9_dvb_net_max_mtu.patch
 create mode 100644 backports/v4.9_ktime_cleanups.patch
 create mode 100644 backports/v4.9_mm_address.patch
 create mode 100644 v4l/Kconfig.mm
 create mode 100644 v4l/Makefile.mm
 create mode 100644 v4l/firmware/.gitignore
make: 디렉터리 '/home/artworker/a681/media_build/linux' 들어감
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2017-12-19 12:08:48--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
접속 linuxtv.org (linuxtv.org)|130.149.80.248|:80... 접속됨.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 [following]
--2017-12-19 12:08:51--  https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
접속 linuxtv.org (linuxtv.org)|130.149.80.248|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 105 [application/x-bzip2]
Saving to: ‘linux-media.tar.bz2.md5.tmp’

linux-media.tar.bz2 100%[===================>]     105  --.-KB/s    in 0s      

2017-12-19 12:08:52 (4.92 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105]

--2017-12-19 12:08:52--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
접속 linuxtv.org (linuxtv.org)|130.149.80.248|:80... 접속됨.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2 [following]
--2017-12-19 12:08:53--  https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
접속 linuxtv.org (linuxtv.org)|130.149.80.248|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 6660237 (6.4M) [application/x-bzip2]
Saving to: ‘linux-media.tar.bz2’

linux-media.tar.bz2 100%[===================>]   6.35M  1.24MB/s    in 11s     

2017-12-19 12:09:05 (596 KB/s) - ‘linux-media.tar.bz2’ saved [6660237/6660237]

make: 디렉터리 '/home/artworker/a681/media_build/linux' 나감
make: 디렉터리 '/home/artworker/a681/media_build/linux' 들어감
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: 디렉터리 '/home/artworker/a681/media_build/linux' 나감
**********************************************************
* Downloading firmwares from linuxtv.org.                *
**********************************************************
as102_data1_st.hex
as102_data2_st.hex
cmmb_vega_12mhz.inp
cmmb_venice_12mhz.inp
dvb-fe-bcm3510-01.fw
dvb-fe-drxj-mc-1.0.8.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-firmwares.tar.bz2
dvb-ttpci-01.fw-261a
dvb-ttpci-01.fw-261b
dvb-ttpci-01.fw-261c
dvb-ttpci-01.fw-261d
dvb-ttpci-01.fw-261f
dvb-ttpci-01.fw-2622
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
dvb_nova_12mhz.inp
dvb_nova_12mhz_b0.inp
isdbt_nova_12mhz.inp
isdbt_nova_12mhz_b0.inp
isdbt_rio.inp
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-hcw-55xxx-isdbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw
tdmb_nova_12mhz.inp
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc-broken.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/artworker/a681/media_build/v4l allyesconfig
make[1]: 디렉터리 '/home/artworker/a681/media_build/v4l' 들어감
make[2]: Entering directory '/home/artworker/a681/media_build/linux'
Applying patches for kernel 3.16.0-23-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v4.14_compiler_h.patch
patch -s -f -N -p1 -i ../backports/v4.14_saa7146_timer_cast.patch
patch -s -f -N -p1 -i ../backports/v4.14_module_param_call.patch
patch -s -f -N -p1 -i ../backports/v4.12_revert_solo6x10_copykerneluser.patch
patch -s -f -N -p1 -i ../backports/v4.10_sched_signal.patch
patch -s -f -N -p1 -i ../backports/v4.10_fault_page.patch
patch -s -f -N -p1 -i ../backports/v4.10_refcount.patch
patch -s -f -N -p1 -i ../backports/v4.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.patch
patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch
patch -s -f -N -p1 -i ../backports/v4.5_gpiochip_data_pointer.patch
patch -s -f -N -p1 -i ../backports/v4.5_get_user_pages.patch
patch -s -f -N -p1 -i ../backports/v4.5_uvc_super_plus.patch
patch -s -f -N -p1 -i ../backports/v4.4_gpio_chip_parent.patch
patch -s -f -N -p1 -i ../backports/v4.3_add_autorepeat_handling.patch
patch -s -f -N -p1 -i ../backports/v4.2_atomic64.patch
patch -s -f -N -p1 -i ../backports/v4.2_frame_vector.patch
patch -s -f -N -p1 -i ../backports/v4.1_pat_enabled.patch
patch -s -f -N -p1 -i ../backports/v4.1_drop_fwnode.patch
patch -s -f -N -p1 -i ../backports/v4.0_dma_buf_export.patch
patch -s -f -N -p1 -i ../backports/v4.0_drop_trace.patch
patch -s -f -N -p1 -i ../backports/v4.0_fwnode.patch
patch -s -f -N -p1 -i ../backports/v3.19_get_user_pages_locked.patch
patch -s -f -N -p1 -i ../backports/v3.18_drop_property_h.patch
patch -s -f -N -p1 -i ../backports/v3.18_ktime_get_real_seconds.patch
patch -s -f -N -p1 -i ../backports/v3.17_fix_clamp.patch
patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch
patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch
patch -s -f -N -p1 -i ../backports/v3.16_void_gpiochip_remove.patch
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/artworker/a681/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.16.0-23-generic/build /lib/modules/3.16.0-23-generic/build 1
Preparing to compile for kernel version 3.16.0
File not found: /lib/modules/3.16.0-23-generic/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Makefile:374: 'allyesconfig' 타겟에 대한 명령이 실패했습니다
make[1]: *** [allyesconfig] 오류 2
make[1]: 디렉터리 '/home/artworker/a681/media_build/v4l' 나감
Makefile:26: 'allyesconfig' 타겟에 대한 명령이 실패했습니다
make: *** [allyesconfig] 오류 2
can't select all drivers at ./build line 490.

 

Cloning the latest media_build.git will not cause any errors.
However, the device is not recognized.

My computer is Windows 10, but it does not work for unknown reasons.
So I tried to use tvheadend but I can not install the driver.

I wonder if anyone has installed a Linux driver.

Share this post


Link to post
Share on other sites

Hi,

So the system you are using is the windows or the linux? The driver you are using is the linux driver?

You tried this linux driver on your windows 10 computer?

Share this post


Link to post
Share on other sites

linux driver for a681.

but there is no driver for a681.

it is not a681 driver that uploaded this forum. it is just linuxtv.org driver.

there is no support a681 driver.

so I just order another usb tuner.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×