Re: Bugs in DVB-S Prof-Tuner 8000 driver (idle & suspend)
W dniu 08.10.2012 16:39, Wojciech Myrda pisze: > Hi, > > I am using these new driver http://patchwork.linuxtv.org/patch/14300/ > for my card. It generally works great allowing me to send DiseqC > commands, tune to LNBs etc but only as long as I do not use idle or > suspend with it which in first circumstance leads to kernel panics for > which I acquired number of pictures http://bigvo.dyndns.org/dvb/cx23885/ > and in second requires reloading the driver to work properly > > > CARD INFO > [4.600476] cx23885 driver version 0.0.3 loaded > [4.600828] CORE cx23885[0]: subsystem: 8000:3034, board: Prof > Revolution DVB-S2 8000 [card=37,autodetected] > [5.334312] cx23885_dvb_register() allocating 1 frontend(s) > [5.334342] cx23885[0]: cx23885 based dvb card > [5.423938] DVB: registering new adapter (cx23885[0]) > [5.424427] cx23885_dev_checkrevision() Hardware revision = 0xb0 > [5.424437] cx23885[0]/0: found at :02:00.0, rev: 2, irq: 16, > latency: 0, mmio: 0xfe60 > > More info here: http://bigvo.dyndns.org/dvb/ > > If anyone is willing to take time and effort to improve the code for the > driver I would greatly appreciate it and I am willing to test it > > Regards, > _WM hi guys, I tried to use my Prof card once again now that 3.7 kernel reached rc-5 to find my system crash after something about 2 hours of testing the card. This time for a change I did notice that first after I made number of tunnings to different channels few minutes before the crash I was not able to tune to in to any frequency. My system without the card did work for a month with no problem therefore the problem is definetly with the card or the way the in kernel driver for it works. Please take a look at the error and let me know if there is any thing I can do to get rid of this problem :( BUG: unable to handle kernel NULL pointer deference at 00a8 IP: [] cx23885_video_wakeup+0x20/0x160 [ cx23885] PGD 127716067 PUD 12b2f1067 PMD 0 Oops: [#1] SMP Modules linked in: des_generic ecb md4 sha256_generic md5 hmac nls_cp1250 cifs ipv6 dvb_ttpci saa7146_vv ttpci_eeprom saa7146 ir_rc6_decoder ir_lirc_codec lirc_dev w83627ehf hwmon_vid phx_k8(O) mperf(O) thermal fan rc_imon_pad imon usbhid stb6100 stv090x cx23885 btcx_risc psmouse snd_hda_codec_realtek altera_ci videobuf_dvb tda18271 pcspkr altera_stapi tveeprom cx2341x videobuf_dma_sg k10temp dvb_core rc_core v4l2_common xhci_hcd r8169 videodev mii media snd_hda_codec_hdmi videobuf_core ohci_hcd sr_mod cdrom snd_hda_intel ehci_hcd snd_hda_codec snd_hwdep snd_pcm usbcore snd_page_alloc usb_common snd_timer snd parport_pc parport processor thermal_sys CPU 1 Pid: 0, comm: swapper/1 Tained: G 0 3.7.0-rc5 #1 System manufacuter System Product Name/E35M1-M PRO RIP: 0010:[] [] cx23885_video_wakeup+0x20/0x160 [ cx23885] RSP: 0018:88013ed03de8 EFLAGS: 00010082 RAX: c9001140 RBX: RCX: 0060 RDX: RSI: 880137586070 RDI: 880137584000 RBP: 880137586070 R08: 000a R09: R10: 03cb R11: 03ca R12: R13: R14: R15: FS: 7f1b27b73700() GS:88013ed0() knlGS:f1bfab40 CS: 0010 DS: ES: CR0: 8005003b CR2: 00a8 CR3: 00012743b000 CR4: 07e0 DR0: DR1: DR2: DR3: DR6: 0ff0 DR7: 0400 Process swapper/1 (pid: 0, threadinfo 88013a8a6000, task 88013a87c080 Stack: 88013ed03e38 88013ed03df8 880137584000 a01d4360 880137584000 Call Trace: [] ? cx23885_video_irq+0x100/0x1c0 [ cx23885] [] ? cx23885_irq+0x434/0x920 [ cx23885] [] ? rcu_process_callbacks+0x459/0x540 [] ? azx_interrupt+0x105/0x1b0 [snd_hda_intel] [] ? handle_irq_event_percpu+0x54/0x1f0 [] ? handle_irq_event+0x36/0x60 [] ? handle_fasteoi_irq+0x4c/0xe0 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x53/0xd0 [] ? common_interrupt+0x6a/0x6a [] ? acpi_idle_enter_simple+0xb5/0xe6 [processor] [] ? acpi_idle_enter_simple+0xb0/0xe6 [processor] [] ? cpuidle_idle_call+0xa2/0x270 [] ? cpu_idle+0x7a/0xd0 Code: 12 2d e1 e9 52 ff ff ff 0f 1f 00 41 57 41 56 41 89 d6 41 55 41 54 55 48 89 f5 53 48 83 ec 18 48 8b 1e 48 39 de 0f 84 e1 00 00 00 <66> 3b 93 a8 00 00 00 41 89 d4 0f 88 b4 00 00 00 48 8d 43 c8 45 RIP [] cx23885_video_wakeup+0x20/0x160 [ cx23885] RSP CR2: 00a8 Kernel panic – not syncing: Fatal exception in interrupt panic occured, switching back to text console Regards, _WM -- 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: [segfault] running ir-keytable with v4l-utils 0.8.9
W dniu 16.10.2012 09:20, Gregor Jasny pisze: > Hello, > > On 10/14/12 9:54 PM, Wojciech Myrda wrote: >> On my system I have just installed using bumped Gentoo ebuilds v4l-utils >> package >> >> [ebuild R] media-libs/libv4l-0.8.9::bigvo 0 kB >> [ebuild R] media-tv/v4l-utils-0.8.9::bigvo USE="-qt4" 0 kB >> >> ebuilds used for bumbing to version 0.8.9: >> http://gentoo-portage.com/media-libs/libv4l/libv4l-0.8.8 >> http://gentoo-portage.com/media-tv/v4l-utils/v4l-utils-0.8.8-r1 >> >> However I experienced a segfault trying to run this command: >> ir-keytable --protocol=rc-6 --device >> /dev/input/by-id/usb-15c2_0038-event-if00 > > There seems to be some problems with options or file parsing. Valgrind > is complaining, too. I'll have a look later. > > Is this segfault a regression over an older v4l-utils version? > > Thanks, > Gregor > I just started using v4l-utils stuff so I wanted to use most recent version available, hence I didn't try 0.8.8 previously, but seems problem is there as well just with different lines of code appearing mediapc@mediapc ~ $ gdb ir-keytable core GNU gdb (Gentoo 7.5 p1) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/ir-keytable...done. [New LWP 1094] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `ir-keytable --protocol=rc-6 --device /dev/input/by-id/usb-15c2_0038-event-if00'. Program terminated with signal 11, Segmentation fault. #0 0x7f95eaf04410 in __strcpy_chk () from /lib64/libc.so.6 (gdb) bt full #0 0x7f95eaf04410 in __strcpy_chk () from /lib64/libc.so.6 No symbol table info available. #1 0x0040365c in strcpy (__src=, __dest=0x7fff36b958e0 "") at /usr/include/bits/string3.h:105 No locals. #2 v1_set_hw_protocols (rc_dev=) at keytable.c:744 fp = name = '\000' , "`G\033\353\225\177", '\000' , "p\031\000\000\000\000\000~m\031\000\000\000\000\000~m\031", '\000' , "\005\000\000\000\000\000\000\000\000p9\000\000\000\000\000\000\320\071\000\000\000\000\000X\307\071\000\000\000\000\000`\f:\000\000\000\000\000\000p\031\000\000\000\000\000\003", '\000' , "@\266<\353\225\177\000\000/\000\000\000\000\000\000\000\215\207\033\353\225\177\000\000\000\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\001", '\000' , "@b\271\066\377\177\000\000\031\204\033\353\225\177\000\000\001\000\000\000\000\000\000\000X\266<\353\225\177\000\000@b\271\066\377\177\000\000\265F\033\353\225\177", '\000' ... #3 0x004019af in set_proto (rc_dev=0x7fff36b96900) at keytable.c:1119 rc = 0 #4 main (argc=, argv=) at keytable.c:1497 dev_from_class = write_cnt = 0 fd = 3 names = 0x0 rc_dev = {sysfs_name = 0x0, input_name = 0x7f95eb3ce4e0 "@\344<\353\225\177", drv_name = 0x0, keytable_name = 0x1 , version = (unknown: 3946637104), type = (SOFTWARE_DECODER | unknown: 32660), supported = 4196936, current = RC_6} Regards, Wojciech -- 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
[segfault] running ir-keytable with v4l-utils 0.8.9
On my system I have just installed using bumped Gentoo ebuilds v4l-utils package [ebuild R] media-libs/libv4l-0.8.9::bigvo 0 kB [ebuild R] media-tv/v4l-utils-0.8.9::bigvo USE="-qt4" 0 kB ebuilds used for bumbing to version 0.8.9: http://gentoo-portage.com/media-libs/libv4l/libv4l-0.8.8 http://gentoo-portage.com/media-tv/v4l-utils/v4l-utils-0.8.8-r1 However I experienced a segfault trying to run this command: ir-keytable --protocol=rc-6 --device /dev/input/by-id/usb-15c2_0038-event-if00 Trace I got in gdb: gdb ir-keytable core GNU gdb (Gentoo 7.5 p1) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/ir-keytable...done. [New LWP 11090] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `ir-keytable --protocol=rc-6 --device /dev/input/by-id/usb-15c2_0038-event-if00'. Program terminated with signal 11, Segmentation fault. #0 0x7fd1c6bdd410 in __strcpy_chk () from /lib64/libc.so.6 (gdb) bt full #0 0x7fd1c6bdd410 in __strcpy_chk () from /lib64/libc.so.6 No symbol table info available. #1 0x004037bc in strcpy (__src=, __dest=0x7fff0a823010 "") at /usr/include/bits/string3.h:105 No locals. #2 v1_set_hw_protocols (rc_dev=) at keytable.c:758 fp = name = '\000' , "`\327\350\306\321\177", '\000' , "p\031\000\000\000\000\000~m\031\000\000\000\000\000~m\031", '\000' , "\005\000\000\000\000\000\000\000\000p9\000\000\000\000\000\000\320\071\000\000\000\000\000X\307\071\000\000\000\000\000`\f:\000\000\000\000\000\000p\031\000\000\000\000\000\003", '\000' , "@F\n\307\321\177\000\000/\000\000\000\000\000\000\000\215\027\351\306\321\177\000\000\000\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\001", '\000' , "p9\202\n\377\177\000\000\031\024\351\306\321\177\000\000\001\000\000\000\000\000\000\000XF\n\307\321\177\000\000p9\202\n\377\177\000\000\265\326\350\306\321\177", '\000' ... #3 0x004019af in set_proto (rc_dev=0x7fff0a824030) at keytable.c:1153 rc = 0 #4 main (argc=, argv=) at keytable.c:1531 dev_from_class = write_cnt = 0 fd = 3 names = 0x0 rc_dev = {sysfs_name = 0x0, input_name = 0x7fd1c70a74e0 "@t\n\307\321\177", drv_name = 0x0, keytable_name = 0x1 , version = (unknown: 3339351856), type = (SOFTWARE_DECODER | unknown: 32720), supported = 4196936, current = RC_6} -- ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event12) with: Driver imon, table rc-imon-pad Supported protocols: RC-6 other Enabled protocols: Repeat delay = 500 ms, repeat period = 125 ms -- dmesg |grep imon [4.783532] Registered IR keymap rc-imon-pad [4.789794] imon 9-3:1.0: iMON device (15c2:0038, intf0) on usb<9:2> initialized [ 4.789849] imon 9-3:1.1: iMON device (15c2:0038, intf1) on usb<9:2> initialized [4.789885] usbcore: registered new interface driver imon Please take a look what might be wrong here Regards, Wojciech Myrda -- 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
Bugs in DVB-S Prof-Tuner 8000 driver (idle & suspend)
Hi, I am using these new driver http://patchwork.linuxtv.org/patch/14300/ for my card. It generally works great allowing me to send DiseqC commands, tune to LNBs etc but only as long as I do not use idle or suspend with it which in first circumstance leads to kernel panics for which I acquired number of pictures http://bigvo.dyndns.org/dvb/cx23885/ and in second requires reloading the driver to work properly CARD INFO [4.600476] cx23885 driver version 0.0.3 loaded [4.600828] CORE cx23885[0]: subsystem: 8000:3034, board: Prof Revolution DVB-S2 8000 [card=37,autodetected] [5.334312] cx23885_dvb_register() allocating 1 frontend(s) [5.334342] cx23885[0]: cx23885 based dvb card [5.423938] DVB: registering new adapter (cx23885[0]) [5.424427] cx23885_dev_checkrevision() Hardware revision = 0xb0 [5.424437] cx23885[0]/0: found at :02:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xfe60 More info here: http://bigvo.dyndns.org/dvb/ If anyone is willing to take time and effort to improve the code for the driver I would greatly appreciate it and I am willing to test it Regards, _WM -- 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] [dvb-apps] DVB-S update scan dir 12.5W - 28.2E
The attached patch includes updates to dvb-apps package for all satellites ranging from 12.5W to 28.5E. This patch replaces the few previous patches I send and adds several more sat positions. Regards, Wojciech Myrda diff -Naur dvb-apps-3fc7dfa68484/util/scan/dvb-s/Amos-4w dvb-apps/util/scan/dvb-s/Amos-4w --- dvb-apps-3fc7dfa68484/util/scan/dvb-s/Amos-4w 2012-09-13 14:36:09.0 +0200 +++ dvb-apps/util/scan/dvb-s/Amos-4w 2012-09-22 09:51:09.867227015 +0200 @@ -1,48 +1,37 @@ -# Amos 6 @ 4W +# Amos 2,3 @ 4W +# http://en.kingofsat.net/pos-4W.php +# 2012-Sep-21 # freq pol sr fec S 10722000 H 2750 3/4 -S 10722000 V 2750 3/4 -S 10722000 V 3000 2/3 -S 10758000 V 2750 3/4 -S 10758000 V 3000 2/3 +S2 10723000 V 3000 2/3 AUTO 8PSK S 10759000 H 3000 3/4 -S 10806000 H 2750 5/6 -S 10806000 V 2750 3/4 -S 10842000 H 2750 7/8 -S 10842000 V 2750 3/4 -S 10842000 V 3000 2/3 -S 1089 H 2750 7/8 -S 1089 V 2750 3/4 -S 10925000 H 2750 7/8 -S 10925000 V 2750 3/4 -S 10972000 V 2750 3/4 -S 11008000 V 2750 3/4 -S 11015000 H 2295000 3/4 -S 11123000 H 185 7/8 -S 11167000 H 1250 5/6 -S 11179000 H 000 3/4 -S 1126 H 2750 3/4 -S 11304000 H 1954 3/4 -S 11319000 H 275 3/4 -S 11329000 H 000 3/4 -S 11333000 H 350 3/4 -S 11347000 H 335 3/4 -S 11384000 H 1900 5/6 -S 11411000 H 7925000 5/6 -S 11429000 H 5925000 3/4 -S 11435000 H 2089000 3/4 -S 11474000 V 2750 3/4 -S 1151 V 3000 2/3 -S 11558000 V 2750 3/4 -S 11559000 H 1340 7/8 -S 11572000 H 000 3/4 -S 11592000 H 2135 3/4 -S 11593000 V 2750 3/4 -S 11625000 V 300 3/4 -S 1163 H 2963000 3/4 -S 1163 V 300 3/4 -S 11637000 V 148 3/4 -S 11647000 H 9167000 3/4 -S 11647000 V 8518000 3/4 -S 11654000 H 200 5/6 -S 11658000 V 852 5/6 +S2 10759000 V 3000 2/3 AUTO 8PSK +S 10806000 H 3000 3/4 +S2 10806000 V 3000 2/3 AUTO 8PSK +# PowerVu encrypted Channels +#S 10842000 H 2750 5/6 +S2 10842000 V 3000 2/3 AUTO 8PSK +# PowerVu encrypted Channels +#S2 1088 H 1391 3/4 AUTO 8PSK +S2 10889000 V 3000 2/3 AUTO 8PSK +# PowerVu encrypted Channels +#S 10893000 H 7925000 5/6 +S2 10925000 V 10833000 2/3 AUTO 8PSK +S 11149000 H 350 3/4 +S 11157000 H 000 3/4 +S2 11162000 H 333 2/3 AUTO 8PSK +S 11181000 H 565 3/4 +S 11186000 H 335 5/6 +S 11222000 H 3000 5/6 +S 11258000 H 2750 5/6 +S 11304000 H 1000 3/4 +S2 11314000 H 500 2/3 AUTO 8PSK +S 11336000 H 2750 5/6 +S 11389000 H 2750 3/4 +S 11543000 H 370 3/4 +S 11572000 H 8887000 3/4 +S2 11587000 H 10833000 2/3 AUTO 8PSK +S 11601000 H 1000 3/4 +S 1161 H 360 3/4 +S 11629000 H 240 5/6 +S 11635000 H 6333000 3/4 diff -Naur dvb-apps-3fc7dfa68484/util/scan/dvb-s/Astra1-28.2E dvb-apps/util/scan/dvb-s/Astra1-28.2E --- dvb-apps-3fc7dfa68484/util/scan/dvb-s/Astra1-28.2E 1970-01-01 01:00:00.0 +0100 +++ dvb-apps/util/scan/dvb-s/Astra1-28.2E 2012-09-22 09:55:51.448413696 +0200 @@ -0,0 +1,25 @@ +# Astra 1N @ 28.2E +# UK Spot Beam +# http://en.kingofsat.net/sat-astra1n.php +# 2012-Sep-22 +# freq pol sr fec +S 10714000 H 2200 5/6 +S 10729000 V 2200 5/6 +S 10744000 H 2200 5/6 +S 10758000 V 2200 5/6 +S 10773000 H 2200 5/6 +S 10788000 V 2200 5/6 +S 10803000 H 2200 5/6 +S 10818000 V 2200 5/6 +S 10832000 H 2200 5/6 +S2 10847000 V 2300 8/9 +S 10862000 H 2200 5/6 +S 10876000 V 2200 5/6 +S 10891000 H 2200 5/6 +S 10906000 V 2200 5/6 +S2 10921000 H 2300 8/9 +S2 10936000 V 2300 8/9 +S 10964000 H 2200 5/6 +S 10994000 H 2200 5/6 +S 11053000 H 2200 5/6 +S 11127000 V 2200 5/6 diff -Naur dvb-apps-3fc7dfa68484/util/scan/dvb-s/Astra-19.2E dvb-apps/util/scan/dvb-s/Astra-19.2E --- dvb-apps-3fc7dfa68484/util/scan/dvb-s/Astra-19.2E 2012-09-13 14:36:09.0 +0200 +++ dvb-apps/util/scan/dvb-s/Astra-19.2E 2012-09-22 09:51:40.299248874 +0200 @@ -1,3 +1,107 @@ -# Astra 19.2E SDT info service transponder +# Astra @ 19.2E +# http://en.kingofsat.net/pos-19.2E.php +# 2012-Sep-21 # freq pol sr fec +S2 10729000 V 2200 2/3 AUTO 8PSK +S 10744000 H 2200 5/6 +S 10758500 V 2200 5/6 +S2 10773000 H 2200 3/4 AUTO 8PSK +S 10788000 V 2200 5/6 +S2 10803000 H 2200 3/4 AUTO 8PSK +S2 10817500 V 2200 2/3 AUTO 8PSK +S2 10832000 H 2200 2/3 AUTO 8PSK +S 10847000 V 2200 5/6 +S 10862000 H 2200 7/8 +S 10876500 V 2200 5/6 +S 10921000 H 2200 7/8 +S2 10935500 V 2200 2/3 AUTO 8PSK +S 10979000 V 2200 5/6 +S 11023000 H 2200 5/6 +S 11038000 V 2200 5/6 +S 11067500 V 2200 5/6 +S 11097000 V 2200 5/6 +S2 11126500 V 2200 2/3 AUTO 8PSK +S 11156000 V 2200 5/6 +S2 11171000 H 2200 2/3 +S 11185500 V 2200 5/6 +S 11244000 H 2200 5/6 +S2 11258500 V 2200 2/3 AUTO 8PSK +S 11303000 H 2200 2/3 +S 11317500 V 2200 5/6 +S2 11347000 V 2200 2/3 AUTO 8PSK +S2 11362000 H 2200 2/3 AUTO 8PSK +S2
Re: Prof_Revolution_DVB-S2_8000_PCI-E & Linux Kernel 2.6.38-rc8-next-20110314
W dniu 20.03.2011 20:32, Wojciech Myrda pisze: > Hi all, > > I have purchased Prof_Revolution_DVB-S2_8000_PCI-E which is listed on > the wiki > http://linuxtv.org/wiki/index.php/Prof_Revolution_DVB-S2_8000_PCI-E as > not yet suppoorted, however I found out there is some work ongoing on > the driver for that card as the producer make the folowing patch > http://www.proftuners.com/sites/default/files/prof8000_0.patch available > on their website http://www.prof-tuners.pl/download8000.html This patch > would not apply agaist the recent Linux Kernel 2.6.38-rc8-next-20110314 > so I did a few quick fixes that moved few lines (patch in the > attachment). Now that it all applies like it should it fails with the > following error > > > CC [M] kernel/configs.o > CC [M] drivers/media/video/cx23885/cx23885-cards.o > CC [M] drivers/media/video/cx23885/cx23885-video.o > CC [M] drivers/media/video/cx23885/cx23885-vbi.o > CC [M] drivers/media/video/cx23885/cx23885-core.o > drivers/media/video/cx23885/altera-ci.h:71:12: warning: > ‘altera_ci_tuner_reset’ defined but not used [-Wunused-function] > CC [M] drivers/media/video/cx23885/cx23885-i2c.o > CC [M] drivers/media/video/cx23885/cx23885-dvb.o > drivers/media/video/cx23885/cx23885-dvb.c:505:15: error: variable > ‘prof_8000_stb6100_config’ has initializer but incomplete type > drivers/media/video/cx23885/cx23885-dvb.c:506:2: error: unknown field > ‘tuner_address’ specified in initializer > drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: excess > elements in struct initializer [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: (near > initialization for ‘prof_8000_stb6100_config’) [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:507:2: error: unknown field > ‘refclock’ specified in initializer > drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: excess > elements in struct initializer [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: (near > initialization for ‘prof_8000_stb6100_config’) [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c: In function ‘dvb_register’: > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: > ‘stb6100_attach’ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: note: each undeclared > identifier is reported only once for each function it appears in > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: called object > ‘__a’ is not a function > drivers/media/video/cx23885/cx23885-dvb.c:1138:32: error: > ‘stb6100_set_freq’ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1139:32: error: > ‘stb6100_get_freq’ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1140:32: error: > ‘stb6100_set_bandw’ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1141:32: error: > ‘stb6100_get_bandw’ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c: At top level: > drivers/media/video/cx23885/altera-ci.h:71:12: warning: > ‘altera_ci_tuner_reset’ defined but not used [-Wunused-function] > make[4]: *** [drivers/media/video/cx23885/cx23885-dvb.o] Error 1 > make[3]: *** [drivers/media/video/cx23885] Error 2 > make[2]: *** [drivers/media/video] Error 2 > make[1]: *** [drivers/media] Error 2 > make: *** [drivers] Error 2 > > Please help in making it work as my Kung Fu ends here > > Regards, > Wojciech > It turns ot that revised patch not only applies cleanly but compiles as well agaist Linux Kernel 2.6.38-rc8-next-20110321. Looking at dmesg everything is recognized properly as well. Do you guys think if it is possible to include it into the tree? mediapc linux-2.6.38 # cat ../dvb/prof8000_1.patch |patch -E -p2 (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885-cards.c Hunk #1 succeeded at 183 (offset 14 lines). Hunk #2 succeeded at 445 (offset 53 lines). Hunk #3 succeeded at 932 (offset 111 lines). Hunk #4 succeeded at 1297 (offset 245 lines). (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885-dvb.c Hunk #1 succeeded at 46 (offset -1 lines). (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885.h mediapc linux-2.6.38 # make CHK include/linux/version.h CHK include/generated/utsrelease.h CALLscripts/checksyscalls.sh CHK include/generated/compile.h CC [M] drivers/media/video/cx23885/cx23885-cards.o CC [M] drivers/media/video/cx23885/cx23885-video.o CC [M] drivers/media/video/cx23885/cx23885-vbi.o CC [M] drivers/media/video/cx23885/cx23885-core.o drivers/media/video/cx23885/altera-ci.h:71:12: warning: ‘altera_ci_tuner_reset
Prof_Revolution_DVB-S2_8000_PCI-E & Linux Kernel 2.6.38-rc8-next-20110314
Hi all, I have purchased Prof_Revolution_DVB-S2_8000_PCI-E which is listed on the wiki http://linuxtv.org/wiki/index.php/Prof_Revolution_DVB-S2_8000_PCI-E as not yet suppoorted, however I found out there is some work ongoing on the driver for that card as the producer make the folowing patch http://www.proftuners.com/sites/default/files/prof8000_0.patch available on their website http://www.prof-tuners.pl/download8000.html This patch would not apply agaist the recent Linux Kernel 2.6.38-rc8-next-20110314 so I did a few quick fixes that moved few lines (patch in the attachment). Now that it all applies like it should it fails with the following error CC [M] kernel/configs.o CC [M] drivers/media/video/cx23885/cx23885-cards.o CC [M] drivers/media/video/cx23885/cx23885-video.o CC [M] drivers/media/video/cx23885/cx23885-vbi.o CC [M] drivers/media/video/cx23885/cx23885-core.o drivers/media/video/cx23885/altera-ci.h:71:12: warning: ‘altera_ci_tuner_reset’ defined but not used [-Wunused-function] CC [M] drivers/media/video/cx23885/cx23885-i2c.o CC [M] drivers/media/video/cx23885/cx23885-dvb.o drivers/media/video/cx23885/cx23885-dvb.c:505:15: error: variable ‘prof_8000_stb6100_config’ has initializer but incomplete type drivers/media/video/cx23885/cx23885-dvb.c:506:2: error: unknown field ‘tuner_address’ specified in initializer drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: excess elements in struct initializer [enabled by default] drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: (near initialization for ‘prof_8000_stb6100_config’) [enabled by default] drivers/media/video/cx23885/cx23885-dvb.c:507:2: error: unknown field ‘refclock’ specified in initializer drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: excess elements in struct initializer [enabled by default] drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: (near initialization for ‘prof_8000_stb6100_config’) [enabled by default] drivers/media/video/cx23885/cx23885-dvb.c: In function ‘dvb_register’: drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: ‘stb6100_attach’ undeclared (first use in this function) drivers/media/video/cx23885/cx23885-dvb.c:1134:8: note: each undeclared identifier is reported only once for each function it appears in drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: called object ‘__a’ is not a function drivers/media/video/cx23885/cx23885-dvb.c:1138:32: error: ‘stb6100_set_freq’ undeclared (first use in this function) drivers/media/video/cx23885/cx23885-dvb.c:1139:32: error: ‘stb6100_get_freq’ undeclared (first use in this function) drivers/media/video/cx23885/cx23885-dvb.c:1140:32: error: ‘stb6100_set_bandw’ undeclared (first use in this function) drivers/media/video/cx23885/cx23885-dvb.c:1141:32: error: ‘stb6100_get_bandw’ undeclared (first use in this function) drivers/media/video/cx23885/cx23885-dvb.c: At top level: drivers/media/video/cx23885/altera-ci.h:71:12: warning: ‘altera_ci_tuner_reset’ defined but not used [-Wunused-function] make[4]: *** [drivers/media/video/cx23885/cx23885-dvb.o] Error 1 make[3]: *** [drivers/media/video/cx23885] Error 2 make[2]: *** [drivers/media/video] Error 2 make[1]: *** [drivers/media] Error 2 make: *** [drivers] Error 2 Please help in making it work as my Kung Fu ends here Regards, Wojciech diff -r 1da5fed5c8b2 linux/drivers/media/video/cx23885/cx23885-cards.c --- a/linux/drivers/media/video/cx23885/cx23885-cards.c Sun Sep 19 02:23:09 2010 -0300 +++ b/linux/drivers/media/video/cx23885/cx23885-cards.c Sat Oct 02 11:19:50 2010 +0300 @@ -169,6 +169,10 @@ .name = "TurboSight TBS 6920", .portb = CX23885_MPEG_DVB, }, + [CX23885_BOARD_PROF_8000] = { + .name = "Prof Revolution DVB-S2 8000", + .portb = CX23885_MPEG_DVB, + }, [CX23885_BOARD_TEVII_S470] = { .name = "TeVii S470", .portb = CX23885_MPEG_DVB, @@ -388,6 +392,10 @@ .subdevice = 0x, .card = CX23885_BOARD_TBS_6920, }, { + .subvendor = 0x8000, + .subdevice = 0x3034, + .card = CX23885_BOARD_PROF_8000, + }, { .subvendor = 0xd470, .subdevice = 0x9022, .card = CX23885_BOARD_TEVII_S470, @@ -813,6 +821,7 @@ mdelay(20); cx_set(GP0_IO, 0x00040004); break; + case CX23885_BOARD_PROF_8000: case CX23885_BOARD_TBS_6920: cx_write(MC417_CTL, 0x0036); cx_write(MC417_OEN, 0x1000); @@ -1043,6 +1052,7 @@ ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; break; + case CX23885_BOARD_PROF_8000: case CX23885_BOARD_TEVII_S470: case CX23885_BOARD_DVBWO