Astrometa swap frontend0 and frontend1
Hello, I have an Astrometa DVB-T2 dual USB card: [41802.362830] usb 3-3: new high-speed USB device number 4 using xhci_hcd [41802.520747] usb 3-3: New USB device found, idVendor=15f4, idProduct=0131, bcdDevice= 1.00 [41802.520751] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [41802.520753] usb 3-3: Product: dvbt2 [41802.520755] usb 3-3: Manufacturer: astrometadvbt2 [41802.527992] usb 3-3: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state [41802.597901] usb 3-3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer [41802.597907] dvbdev: DVB: registering new adapter (Astrometa DVB-T2) [41802.625041] i2c i2c-10: Added multiplexed i2c bus 11 [41802.625045] rtl2832 10-0010: Realtek RTL2832 successfully attached [41802.631564] mn88473 10-0018: Panasonic MN88473 successfully identified [41802.631612] usb 3-3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))... [41802.631755] usb 3-3: DVB: registering adapter 0 frontend 1 (Panasonic MN88473)... [41802.631947] r820t 11-003a: creating new instance [41802.638797] r820t 11-003a: Rafael Micro r820t successfully identified [41802.638863] r820t 11-003a: attaching existing instance [41802.643622] r820t 11-003a: Rafael Micro r820t successfully identified [41802.646497] rtl2832_sdr rtl2832_sdr.1.auto: Registered as swradio0 [41802.646499] rtl2832_sdr rtl2832_sdr.1.auto: Realtek RTL2832 SDR attached [41802.646501] rtl2832_sdr rtl2832_sdr.1.auto: SDR API is still slightly experimental and functionality changes may follow [41802.653040] Registered IR keymap rc-empty [41802.653107] rc rc0: Astrometa DVB-T2 as /devices/pci:00/:00:14.0/usb3/3-3/rc/rc0 [41802.653250] input: Astrometa DVB-T2 as /devices/pci:00/:00:14.0/usb3/3-3/rc/rc0/input29 [41802.653762] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter [41802.653858] usb 3-3: dvb_usb_v2: schedule remote query interval to 200 msecs [41802.665572] usb 3-3: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected I would like swap frontend0 and frontend1 with UDEV. Would anybody help me? The frontend0 is DVB-T tuner, but this terrestrial norm is to be switch off. So I would like use DVB-T2 tuner which is currently frontend1. I have to use manual intervention since I was not able to teach udev to do it for me (kaffeine works only with frontend0) Any clue please? Thank you Michal
LINUX 4.11.6. Leadtek - USB2.0 Winfast DTV dongle does not initialize correctly
Hello, after years of not using the dongle I wanted to use it. And I ended up like this. Previously dongle worked correctly. It is not broken I checked it in Windows. [ 22.050048] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 22.190321] usb 3-1: New USB device found, idVendor=0413, idProduct=6025 [ 22.190323] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 23.218049] dvb-usb: found a 'Leadtek - USB2.0 Winfast DTV dongle' in cold state, will try to load a firmware [ 23.218287] dvb-usb: downloading firmware from file 'dvb-usb-dibusb-6.0.0.8.fw' [ 23.235307] usbcore: registered new interface driver dvb_usb_dibusb_mc [ 23.237929] usb 3-1: USB disconnect, device number 3 [ 23.237953] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 25.015530] usb 3-1: new high-speed USB device number 4 using xhci_hcd [ 25.164366] usb 3-1: New USB device found, idVendor=0413, idProduct=6026 [ 25.164378] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 25.164380] usb 3-1: Product: MOD3000 [ 25.164380] usb 3-1: Manufacturer: STAE [ 25.165057] dvb-usb: found a 'Leadtek - USB2.0 Winfast DTV dongle' in warm state. [ 25.165251] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 25.169325] dvbdev: DVB: registering new adapter (Leadtek - USB2.0 Winfast DTV dongle) [ 25.169784] [ cut here ] [ 25.169791] WARNING: CPU: 3 PID: 29 at /home/kernel/COD/linux/drivers/usb/core/hcd.c:1587 usb_hcd_map_urb_for_dma+0x37f/0x570 [ 25.169791] transfer buffer not dma capable [ 25.169792] Modules linked in: dvb_usb_dibusb_mc dvb_usb_dibusb_mc_common dvb_usb_dibusb_common dib3000mc dibx000_common dvb_usb dvb_core rc_core ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables rfcomm bnep intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc arc4 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic aesni_intel snd_hda_intel iwldvm aes_x86_64 snd_hda_codec crypto_simd glue_helper snd_hda_core cryptd mac80211 snd_seq_midi snd_hwdep uvcvideo videobuf2_vmalloc intel_cstate [ 25.169819] intel_rapl_perf thinkpad_acpi snd_seq_midi_event joydev input_leds videobuf2_memops snd_pcm serio_raw videobuf2_v4l2 snd_rawmidi videobuf2_core btusb iwlwifi videodev snd_seq cfg80211 btrtl media nvram mei_me btbcm btintel snd_seq_device bluetooth lpc_ich snd_timer shpchp mei snd soundcore mac_hid kvm_intel kvm irqbypass parport_pc sunrpc ppdev lp parport autofs4 btrfs xor raid6_pq i915 i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci e1000e drm libahci sdhci_pci sdhci ptp pps_core wmi video [ 25.169854] CPU: 3 PID: 29 Comm: kworker/3:0 Not tainted 4.11.6-041106-generic #201706170517 [ 25.169855] Hardware name: LENOVO 2325CK9/2325CK9, BIOS G2ETA7WW (2.67 ) 09/09/2016 [ 25.169857] Workqueue: usb_hub_wq hub_event [ 25.169858] Call Trace: [ 25.169862] dump_stack+0x63/0x81 [ 25.169864] __warn+0xcb/0xf0 [ 25.169864] warn_slowpath_fmt+0x5a/0x80 [ 25.169866] usb_hcd_map_urb_for_dma+0x37f/0x570 [ 25.169867] usb_hcd_submit_urb+0x35c/0xb90 [ 25.169869] ? del_timer_sync+0x48/0x50 [ 25.169871] ? schedule_timeout+0x184/0x310 [ 25.169872] ? del_timer_sync+0x50/0x50 [ 25.169874] usb_submit_urb.part.8+0x30b/0x530 [ 25.169875] ? wait_for_completion_timeout+0xb8/0x140 [ 25.169876] usb_submit_urb+0x62/0x70 [ 25.169878] usb_start_wait_urb+0x6e/0x170 [ 25.169879] usb_bulk_msg+0xbd/0x160 [ 25.169882] dvb_usb_generic_rw+0x15f/0x1e0 [dvb_usb] [ 25.169884] dibusb_i2c_msg+0xcf/0x130 [dvb_usb_dibusb_common] [ 25.169886] dibusb_i2c_xfer+0x13c/0x150 [dvb_usb_dibusb_common] [ 25.169887] __i2c_transfer+0x115/0x3f0 [ 25.169889] ? dvb_usb_fe_sleep+0x60/0x60 [dvb_usb] [ 25.169890] i2c_transfer+0x5c/0xc0 [ 25.169892] dib3000mc_read_word+0x9a/0x100 [dib3000mc] [ 25.169893] dib3000mc_identify+0x17/0xc0 [dib3000mc] [ 25.169895] ? dib3000mc_identify+0x17/0xc0 [dib3000mc] [ 25.169896] dib3000mc_attach+0x6e/0x450 [dib3000mc] [ 25.169897] dibusb_dib3000mc_frontend_attach+0x4c/0x160 [dvb_usb_dibusb_mc_common] [ 25.169899] dvb_usb_adapter_frontend_init+0xdf/0x190 [dvb_usb] [ 25.169900] dvb_usb_device_init+0x4ca/0x630 [dvb_usb] [ 25.169902] dibusb_mc_probe+0x25/0x27 [dvb_usb_dibusb_mc] [ 25.169903] usb_probe_interface+0x159/0x2d0 [ 25.169905] driver_probe_device+0x2bb/0x460 [ 25.169906] __device_attach_driver+0x8c/0x100 [ 25.169908] ? __driver_attach+0xf0/0xf0 [ 25.169909] bus_for_each_drv+0x67/0xb0 [ 25.169910] __device_attach+0xdd/0x160 [ 25.169912] device_initial_probe+0x13/0x20 [
[PATCH TRY 3] Support for EVOLVEO XtraTV stick
Hello Antti, since I see that nobody fixed my patch, here is fixed version which works for me and is made against latest git version diff -urN media_build.old/linux/drivers/media/dvb-core/dvb-usb-ids.h media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h --- media_build.old/linux/drivers/media/dvb-core/dvb-usb-ids.h 2016-05-07 07:45:09.0 +0200 +++ media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h 2016-08-01 23:18:18.660938910 +0200 @@ -411,4 +411,5 @@ #define USB_PID_SVEON_STV27 0xd3af #define USB_PID_TURBOX_DTT_2000 0xd3a4 #define USB_PID_WINTV_SOLOHD0x0264 +#define USB_PID_EVOLVEO_XTRATV_STICK 0xa115 #endif diff -urN media_build.old/linux/drivers/media/usb/dvb-usb-v2/af9035.c media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c --- media_build.old/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2016-07-16 07:45:08.0 +0200 +++ media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2016-08-01 23:19:43.853325151 +0200 @@ -2090,6 +2090,8 @@ &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { DVB_USB_DEVICE(USB_VID_AVERMEDIA, 0x0337, &af9035_props, "AVerMedia HD Volar (A867)", NULL) }, + { DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_EVOLVEO_XTRATV_STICK, + &af9035_props, "EVOLVEO XtraTV stick", NULL) }, /* IT9135 devices */ { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135, diff -urN media_build.old/v4l/af9035.c media_build/v4l/af9035.c --- media_build.old/v4l/af9035.c2016-07-16 07:45:08.0 +0200 +++ media_build/v4l/af9035.c2016-08-01 23:19:43.853325151 +0200 @@ -2090,6 +2090,8 @@ &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { DVB_USB_DEVICE(USB_VID_AVERMEDIA, 0x0337, &af9035_props, "AVerMedia HD Volar (A867)", NULL) }, + { DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_EVOLVEO_XTRATV_STICK, + &af9035_props, "EVOLVEO XtraTV stick", NULL) }, /* IT9135 devices */ { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135, Please apply Best regards Michal 2016-08-01 22:35 GMT+02:00 CIJOML CIJOMLovic : > Hello Antti, > > where/how can I remove the key mapping? I am not familiar with this source. > > Thank you for help > > Regards > > Michal > > 2015-08-31 20:35 GMT+02:00 Antti Palosaari : >> On 08/31/2015 09:04 PM, CIJOML CIJOMLovic wrote: >>> >>> Hello guys, >>> >>> please find out down this email patch to support EVOLVEO XtraTV stick. >>> This tuner is for android phones with microusb connecter, however with >>> reduction it works perfectly with linux kernel: >>> The device identify itself at USB bus as Bus 002 Device 004: ID >>> 1f4d:a115 G-Tek Electronics Group >>> so I have created new vendor group but device named as its commercial >>> name. >>> >>> Thank you for merging this patch to upstream >> >> >> VID for GTEK is already defined there. >> >> Could you remove also remote controller default keymap as I think there is >> no remote controller at all. >> >> regards >> Antti >> >>> >>> Best regards >>> >>> Michal >>> >>> >>> diff -urN media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h >>> media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h >>> --- media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h >>> 2015-05-11 13:20:08.0 +0200 >>> +++ media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h >>> 2015-06-16 22:26:01.917990493 +0200 >>> @@ -70,6 +70,8 @@ >>> #define USB_VID_EVOLUTEPC0x1e59 >>> #define USB_VID_AZUREWAVE0x13d3 >>> #define USB_VID_TECHNISAT0x14f7 >>> +#define USB_VID_GTEK0x1f4d >>> + >>> >>> /* Product IDs */ >>> #define USB_PID_ADSTECH_USB2_COLD0xa333 >>> @@ -388,4 +390,5 @@ >>> #define USB_PID_PCTV_2002E_SE 0x025d >>> #define USB_PID_SVEON_STV27 0xd3af >>> #define USB_PID_TURBOX_DTT_2000 0xd3a4 >>> +#define USB_PID_EVOLVEO_XTRATV_STICK0xa115 >>> #endif >>> diff -urN media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c >>> media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c >>> --- media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c >>> 2015-05-30 17:32:46.0 +0200 >>> +++ media_build.new/linu
Re: [PATCH TRY 2] Support for EVOLVEO XtraTV stick
Hello Antti, where/how can I remove the key mapping? I am not familiar with this source. Thank you for help Regards Michal 2015-08-31 20:35 GMT+02:00 Antti Palosaari : > On 08/31/2015 09:04 PM, CIJOML CIJOMLovic wrote: >> >> Hello guys, >> >> please find out down this email patch to support EVOLVEO XtraTV stick. >> This tuner is for android phones with microusb connecter, however with >> reduction it works perfectly with linux kernel: >> The device identify itself at USB bus as Bus 002 Device 004: ID >> 1f4d:a115 G-Tek Electronics Group >> so I have created new vendor group but device named as its commercial >> name. >> >> Thank you for merging this patch to upstream > > > VID for GTEK is already defined there. > > Could you remove also remote controller default keymap as I think there is > no remote controller at all. > > regards > Antti > >> >> Best regards >> >> Michal >> >> >> diff -urN media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h >> media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h >> --- media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h >> 2015-05-11 13:20:08.0 +0200 >> +++ media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h >> 2015-06-16 22:26:01.917990493 +0200 >> @@ -70,6 +70,8 @@ >> #define USB_VID_EVOLUTEPC0x1e59 >> #define USB_VID_AZUREWAVE0x13d3 >> #define USB_VID_TECHNISAT0x14f7 >> +#define USB_VID_GTEK0x1f4d >> + >> >> /* Product IDs */ >> #define USB_PID_ADSTECH_USB2_COLD0xa333 >> @@ -388,4 +390,5 @@ >> #define USB_PID_PCTV_2002E_SE 0x025d >> #define USB_PID_SVEON_STV27 0xd3af >> #define USB_PID_TURBOX_DTT_2000 0xd3a4 >> +#define USB_PID_EVOLVEO_XTRATV_STICK0xa115 >> #endif >> diff -urN media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c >> media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c >> --- media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c >> 2015-05-30 17:32:46.0 +0200 >> +++ media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c >> 2015-06-16 22:26:14.561990868 +0200 >> @@ -2075,6 +2075,8 @@ >> &af9035_props, "PCTV AndroiDTV (78e)", RC_MAP_IT913X_V1) }, >> { DVB_USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_79E, >> &af9035_props, "PCTV microStick (79e)", RC_MAP_IT913X_V2) }, >> +{ DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_EVOLVEO_XTRATV_STICK, >> +&af9035_props, "EVOLVEO XtraTV stick", RC_MAP_IT913X_V2) }, >> >> /* IT930x devices */ >> { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9303, >> r >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-media" in >> the body of a message to majord...@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > -- > http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH TRY 2] Support for EVOLVEO XtraTV stick
Hello guys, please find out down this email patch to support EVOLVEO XtraTV stick. This tuner is for android phones with microusb connecter, however with reduction it works perfectly with linux kernel: The device identify itself at USB bus as Bus 002 Device 004: ID 1f4d:a115 G-Tek Electronics Group so I have created new vendor group but device named as its commercial name. Thank you for merging this patch to upstream Best regards Michal diff -urN media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h --- media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h 2015-05-11 13:20:08.0 +0200 +++ media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h 2015-06-16 22:26:01.917990493 +0200 @@ -70,6 +70,8 @@ #define USB_VID_EVOLUTEPC0x1e59 #define USB_VID_AZUREWAVE0x13d3 #define USB_VID_TECHNISAT0x14f7 +#define USB_VID_GTEK0x1f4d + /* Product IDs */ #define USB_PID_ADSTECH_USB2_COLD0xa333 @@ -388,4 +390,5 @@ #define USB_PID_PCTV_2002E_SE 0x025d #define USB_PID_SVEON_STV27 0xd3af #define USB_PID_TURBOX_DTT_2000 0xd3a4 +#define USB_PID_EVOLVEO_XTRATV_STICK0xa115 #endif diff -urN media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c --- media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2015-05-30 17:32:46.0 +0200 +++ media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2015-06-16 22:26:14.561990868 +0200 @@ -2075,6 +2075,8 @@ &af9035_props, "PCTV AndroiDTV (78e)", RC_MAP_IT913X_V1) }, { DVB_USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_79E, &af9035_props, "PCTV microStick (79e)", RC_MAP_IT913X_V2) }, +{ DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_EVOLVEO_XTRATV_STICK, +&af9035_props, "EVOLVEO XtraTV stick", RC_MAP_IT913X_V2) }, /* IT930x devices */ { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9303, r -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Support for EVOLVEO XtraTV stick
Hello guys, please find out down this email patch to support EVOLVEO XtraTV stick. This tuner is for android phones with microusb connecter, however with reduction it works perfectly with linux kernel: The device identify itself at USB bus as Bus 002 Device 004: ID 1f4d:a115 G-Tek Electronics Group so I have created new vendor group but device named as its commercial name. Thank you for merging this patch to upstream Best regards Michal diff -urN media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h --- media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h 2015-05-11 13:20:08.0 +0200 +++ media_build.new/linux/drivers/media/dvb-core/dvb-usb-ids.h 2015-06-16 22:26:01.917990493 +0200 @@ -70,6 +70,8 @@ #define USB_VID_EVOLUTEPC0x1e59 #define USB_VID_AZUREWAVE0x13d3 #define USB_VID_TECHNISAT0x14f7 +#define USB_VID_GTEK0x1f4d + /* Product IDs */ #define USB_PID_ADSTECH_USB2_COLD0xa333 @@ -388,4 +390,5 @@ #define USB_PID_PCTV_2002E_SE 0x025d #define USB_PID_SVEON_STV27 0xd3af #define USB_PID_TURBOX_DTT_2000 0xd3a4 +#define USB_PID_EVOLVEO_XTRATV_STICK0xa115 #endif diff -urN media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c --- media_build/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2015-05-30 17:32:46.0 +0200 +++ media_build.new/linux/drivers/media/usb/dvb-usb-v2/af9035.c 2015-06-16 22:26:14.561990868 +0200 @@ -2075,6 +2075,8 @@ &af9035_props, "PCTV AndroiDTV (78e)", RC_MAP_IT913X_V1) }, { DVB_USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_79E, &af9035_props, "PCTV microStick (79e)", RC_MAP_IT913X_V2) }, +{ DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_EVOLVEO_XTRATV_STICK, +&af9035_props, "EVOLVEO XtraTV stick", RC_MAP_IT913X_V2) }, /* IT930x devices */ { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9303, r -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Unable to compile v4l-dvb in ubuntu 14.04
Hello Olli, I think tar.bz2 generated fromhttp://linuxtv.org/hg/v4l-dvb are current snaphots from git. Or Am I wrong? But back to my problem YES I have kernel 3.16.0-38 and also headers 3.16.0-38. I also realized that compiler claims 3.6.0, but it is wrong. I don't have such kernel. Thank you for fix Michal 2015-06-09 12:08 GMT+02:00 Olli Salonen : > Hi, > > Do you have a specific reason for not using the media_build? You're > getting the following warning: > > WARNING: You're using an obsolete driver! You shouldn't be using it! > If you want anything new, you can use: > http://git.linuxtv.org/media_build.git. > The tree is still here just to preserve the development history. > You've been warned. > > Also, check the kernel and linux-header versions you have installed. > Is it 3.16 or 3.6? > > Cheers, > -olli > > On 8 June 2015 at 18:06, CIJOML CIJOMLovic wrote: >> Hello, >> >> I am trying to compile v4l git with no success. I have kernel and >> headers installed. >> Is problem at my side or in source? >> >> Thank you for help or solving the problem: >> >> root@Latitude-E5550:/usr/src/v4l-dvb-3724e93f7af5# make >> make -C /usr/src/v4l-dvb-3724e93f7af5/v4l >> make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> No version yet, using 3.16.0-38-generic >> make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> scripts/make_makefile.pl >> Updating/Creating .config >> Preparing to compile for kernel version 3.6.0 >> >> ***WARNING:*** You do not have the full kernel sources installed. >> This does not prevent you from building the v4l-dvb tree if you have the >> kernel headers, but the full kernel source may be required in order to use >> make menuconfig / xconfig / qconfig. >> >> If you are experiencing problems building the v4l-dvb tree, please try >> building against a vanilla kernel before reporting a bug. >> >> Vanilla kernels are available at http://kernel.org. >> On most distros, this will compile a newly downloaded kernel: >> >> cp /boot/config-`uname -r` /.config >> cd >> make all modules_install install >> >> Please see your distro's web site for instructions to build a new kernel. >> >> WARNING: You're using an obsolete driver! You shouldn't be using it! >> If you want anything new, you can use: >> http://git.linuxtv.org/media_build.git. >> The tree is still here just to preserve the development history. >> You've been warned. >> Created default (all yes) .config file >> ./scripts/make_myconfig.pl >> make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> perl scripts/make_config_compat.pl /lib/modules/3.6.0-38-generic/build >> ./.myconfig ./config-compat.h >> creating symbolic links... >> ln -sf . oss >> make -C firmware prep >> make[2]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' >> make[2]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' >> make -C firmware >> make[2]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' >> CC ihex2fw >> Generating vicam/firmware.fw >> Generating dabusb/firmware.fw >> Generating dabusb/bitstream.bin >> Generating ttusb-budget/dspbootcode.bin >> Generating cpia2/stv0672_vp4.bin >> Generating av7110/bootcode.bin >> make[2]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' >> Kernel build directory is /lib/modules/3.6.0-38-generic/build >> make -C /lib/modules/3.6.0-38-generic/build >> SUBDIRS=/usr/src/v4l-dvb-3724e93f7af5/v4l CFLAGS="-I../linux/include >> -D__KERNEL__ -I/include -DEXPORT_SYMTAB" modules >> make[2]: Entering directory `/usr/src/linux-headers-3.16.0-38-generic' >> CC [M] /usr/src/v4l-dvb-3724e93f7af5/v4l/tuner-xc2028.o >> In file included from :0:0: >> /usr/src/v4l-dvb-3724e93f7af5/v4l/config-compat.h:1235:1: fatal error: >> include/linux/version.h: No such file or directory >> #endif >> ^ >> compilation terminated. >> make[3]: *** [/usr/src/v4l-dvb-3724e93f7af5/v4l/tuner-xc2028.o] Error 1 >> make[2]: *** [_module_/usr/src/v4l-dvb-3724e93f7af5/v4l] Error 2 >> make[2]: Leaving directory `/usr/src/linux-headers-3.16.0-38-generic' >> make[1]: *** [default] Error 2 >> make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' >> make: *** [all] Error 2 >> >> >> Best regards >> >> Michal >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-media" in >> the body of a message to majord...@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Unable to compile v4l-dvb in ubuntu 14.04
Hello, I am trying to compile v4l git with no success. I have kernel and headers installed. Is problem at my side or in source? Thank you for help or solving the problem: root@Latitude-E5550:/usr/src/v4l-dvb-3724e93f7af5# make make -C /usr/src/v4l-dvb-3724e93f7af5/v4l make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' No version yet, using 3.16.0-38-generic make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' scripts/make_makefile.pl Updating/Creating .config Preparing to compile for kernel version 3.6.0 ***WARNING:*** You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig. If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug. Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel: cp /boot/config-`uname -r` /.config cd make all modules_install install Please see your distro's web site for instructions to build a new kernel. WARNING: You're using an obsolete driver! You shouldn't be using it! If you want anything new, you can use: http://git.linuxtv.org/media_build.git. The tree is still here just to preserve the development history. You've been warned. Created default (all yes) .config file ./scripts/make_myconfig.pl make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' make[1]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' perl scripts/make_config_compat.pl /lib/modules/3.6.0-38-generic/build ./.myconfig ./config-compat.h creating symbolic links... ln -sf . oss make -C firmware prep make[2]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' make[2]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' make -C firmware make[2]: Entering directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' CC ihex2fw Generating vicam/firmware.fw Generating dabusb/firmware.fw Generating dabusb/bitstream.bin Generating ttusb-budget/dspbootcode.bin Generating cpia2/stv0672_vp4.bin Generating av7110/bootcode.bin make[2]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l/firmware' Kernel build directory is /lib/modules/3.6.0-38-generic/build make -C /lib/modules/3.6.0-38-generic/build SUBDIRS=/usr/src/v4l-dvb-3724e93f7af5/v4l CFLAGS="-I../linux/include -D__KERNEL__ -I/include -DEXPORT_SYMTAB" modules make[2]: Entering directory `/usr/src/linux-headers-3.16.0-38-generic' CC [M] /usr/src/v4l-dvb-3724e93f7af5/v4l/tuner-xc2028.o In file included from :0:0: /usr/src/v4l-dvb-3724e93f7af5/v4l/config-compat.h:1235:1: fatal error: include/linux/version.h: No such file or directory #endif ^ compilation terminated. make[3]: *** [/usr/src/v4l-dvb-3724e93f7af5/v4l/tuner-xc2028.o] Error 1 make[2]: *** [_module_/usr/src/v4l-dvb-3724e93f7af5/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-3.16.0-38-generic' make[1]: *** [default] Error 2 make[1]: Leaving directory `/usr/src/v4l-dvb-3724e93f7af5/v4l' make: *** [all] Error 2 Best regards Michal -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html