1. 24 2月, 2009 5 次提交
    • H
      firesat: avc resend · 81c67b7f
      Henrik Kurelid 提交于
      - Add resending of AVC message to the card if no answer is received
        - Replace the homebrewed event_wait function with a standard wait queue
        - Clean up of log/error messages
        - Increase debug level of avc communication
      Signed-off-by: NHenrik Kurelid <henrik@kurelid.se>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      81c67b7f
    • H
      firesat: update isochronous interface, add CI support · df4846c3
      Henrik Kurelid 提交于
      I have finally managed to get the CI support for the card working. The
      implementation is a bare minimum to get encrypted channels to work in
      kaffeine. It works fine with my T/CI card. Now and then I get an AVC
      timeout and have to retune a channel in order to get it to work. Once
      the CAM seemed to hang so I needed to remove and insert it again. I.e.
      there are a number of glitches.
      
      The latest version contains the following changes:
      
        - Implemented the new hpsb iso interface so that data can be received
          from the card
        - Reduced some timers for demux setup which caused scanning to timeout
        - Added possibility to unload driver
        - Added support for getting C/N ratio
        - Added two debug parameters to the driver; ca_debug and
          avc_comm_debug.
        - Added CI support that works for me in kaffeine
        - Started working on CI MMI support. It now supports:
            o Enter menu
            o Receiving MMI objects
        - Added support for 64-bit platforms
        - Corrected DVB-C modulations problems
      Signed-off-by: NHenrik Kurelid <henrik@kurelid.se>
      Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (rebased, whitespace)
      df4846c3
    • B
      firesat: add DVB-S support for DVB-S2 devices · 2c228614
      Ben Backx 提交于
      ...so S2 owners now can at least watch DVB-S channels in linux.
      Signed-off-by: NBen Backx <ben@bbackx.com>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      2c228614
    • B
      firesat: fix DVB-S2 device recognition · f1bbb43a
      Ben Backx 提交于
      This only makes sure that a DVB-S2 device is really recognized as a S2,
      nothing else is added yet. It's using the string containing the model
      that is stored in the configuration ROM, the older version was using
      some hardware revision dependent part of the ROM.
      Signed-off-by: NBen Backx <ben@bbackx.com>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      f1bbb43a
    • G
      DVB: add firesat driver · c81c8b68
      Greg Kroah-Hartman 提交于
      Original code written by Christian Dolzer <c.dolzer@digital-everywhere.com>
      
      Cleaned up by Greg.
      
      Major cleanup and reorg by Manu Abraham <manu@linuxtv.org>
      
      Additions also by Ben Backx <ben@bbackx.com>
      
      Cc: Christian Dolzer <c.dolzer@digital-everywhere.com>
      Cc: Andreas Monitzer <andy@monitzer.com>
      Cc: Manu Abraham <manu@linuxtv.org>
      Cc: Fabio De Lorenzo <delorenzo.fabio@gmail.com>
      Cc: Robert Berger <robert.berger@reliableembeddedsystems.com>
      Signed-off-by: NBen Backx <ben@bbackx.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      Added missing dependency to dvb/firesat/Kconfig,
      Reported-by: NRandy Dunlap <randy.dunlap@oracle.com>
      
      Tweaked dvb/Makefile.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      c81c8b68
  2. 17 2月, 2009 1 次提交
    • M
      V4L/DVB (10572): Revert commit dda06a8e · 28100165
      Mauro Carvalho Chehab 提交于
      On Mon, 02 Feb 2009, Hartmut wrote:
      
      This change set is wrong. The affected functions cannot be called from
      an interrupt context, because they may process large buffers. In this
      case, interrupts are disabled for a long time. Functions, like
      dvb_dmx_swfilter_packets(), could be called only from a tasklet.
      
      This change set does hide some strong design bugs in dm1105.c and
      au0828-dvb.c.
      
      Please revert this change set and do fix the bugs in dm1105.c and
      au0828-dvb.c (and other files).
      
      On Sun, 15 Feb 2009, Oliver Endriss wrote:
      
      This changeset _must_ be reverted! It breaks all kernels since 2.6.27
      for applications which use DVB and require a low interrupt latency.
      
      It is a very bad idea to call the demuxer to process data buffers with
      interrupts disabled!
      
      On Mon, 16 Feb 2009, Trent Piepho wrote:
      
      I agree, this is bad.  The demuxer is far too much work to be done with
      IRQs off.  IMHO, even doing it under a spin-lock is excessive.  It should
      be a mutex.  Drivers should use a work-queue to feed the demuxer.
      
      Thank you for testing this changeset and discovering the issues on it.
      
      Cc: Trent Piepho <xyzzy@speakeasy.org>
      Cc: Hartmut <e9hack@googlemail.com>
      Cc: Oliver Endriss <o.endriss@gmx.de>
      Cc: Andreas Oberritter <obi@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      28100165
  3. 01 2月, 2009 1 次提交
  4. 29 1月, 2009 8 次提交
    • A
      V4L/DVB (10288): af9015: bug fix: stick does not work always when plugged · d1a470fb
      Antti Palosaari 提交于
      First control messages to the stick timeouts very often due to probable
      hw bug. Repeat first message few times if it fails as workaround.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d1a470fb
    • A
      V4L/DVB (10287): af9015: fix second FE · f0830ebe
      Antti Palosaari 提交于
      Bug causes 2nd FE MPEG TS buffer size to be zero and therefore no picture
      when 2nd FE was enabled. Configure correct buffer size also for 2nd FE.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      f0830ebe
    • T
      V4L/DVB (10265): budget.c driver: Kernel oops: "BUG: unable to handle kernel... · 6dbe7af3
      Tony Broad 提交于
      V4L/DVB (10265): budget.c driver: Kernel oops: "BUG: unable to handle kernel paging request at ffffffff
      
      I'm using a "Hauppauge WinTV-NOVA-T DVB card" of PCI id "13c2:1005" with
      kernel 2.6.27.9.
      
      I've recently experienced the following fairly consistent kernel oops on
      startup in grundig_29504_401_tuner_set_params from budget.c. As you
      might expect, following this failure, the card doesn't work.
      
      I'm not a kernel developer, nevertheless I seem to have managed to track
      this down to a non-existent initialisation of
      budget->dvb_frontend->tuner_priv.
      
      The attached patch fixes the problem for me (and I've managed to tune
      the card successfully as a result), but I don't know of anyone else
      using the driver so I can't test it on other people.
      
      Please let me know if this works for you or if I've done something
      terribly wrong ;-(
      
      BUG: unable to handle kernel paging request at ffffffff
      IP: [<f8981e11>] :budget:grundig_29504_401_tuner_set_params+0x3b/0xf8
      *pde = 007e0067 *pte = 00000000
      Oops: 0000 [#1] SMP
      Modules linked in: bridge stp bnep rfcomm l2cap asb100 hwmon_vid hwmon
      fuse ipt_REJECT nf_conntrack_ipv4 iptable_filter ip_tables ip6t_REJECT
      xt_tcpudp nf_conntrack_ipv6 xt_state nf_conntrack ip6table_filter
      ip6_tables x_tables ipv6 loop dm_multipath scsi_dh ppdev snd_cmipci
      gameport snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
      snd_pcm_oss snd_mixer_oss l64781 snd_pcm snd_page_alloc snd_opl3_lib
      snd_timer parport_pc snd_hwdep parport btusb snd_mpu401_uart budget
      budget_core snd_rawmidi bluetooth saa7146 snd_seq_device ttpci_eeprom
      snd soundcore sr_mod i2c_sis96x cdrom dvb_core sis900 i2c_core floppy
      pcspkr mii sata_sil sg dm_snapshot dm_zero dm_mirror dm_log dm_mod
      pata_sis ata_generic pata_acpi libata sd_mod scsi_mod crc_t10dif ext3
      jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: microcode]
      
      Pid: 2319, comm: kdvb-fe-0 Not tainted (2.6.27.9-73.fc9.i686 #1)
      EIP: 0060:[<f8981e11>] EFLAGS: 00010286 CPU: 0
      EIP is at grundig_29504_401_tuner_set_params+0x3b/0xf8 [budget]
      EAX: f6417f00 EBX: f6f53808 ECX: 00000000 EDX: ffffffff
      ESI: f6f94404 EDI: f6417f00 EBP: f6417f10 ESP: f6417ef0
        DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
      Process kdvb-fe-0 (pid: 2319, ti=f6417000 task=f642b2c0 task.ti=f6417000)
      Stack: f6e39800 00000000 00000004 f6417f00 c064523c f6f53808 f6f53800 f6f94404
              f6417f54 f8b2e45a f6417f24 00000286 f6417f4c f6417f38 00000000 00000286
              f6417f3c c064520f f642b2c0 f6417f6c c064456f 00000001 f6f94400 00000001
      Call Trace:
        [<c064523c>] ? _spin_lock_irqsave+0x29/0x30
        [<f8b2e45a>] ? apply_frontend_param+0x27/0x357 [l64781]
        [<c064520f>] ? _spin_lock_irq+0x1c/0x20
        [<c064456f>] ? __down_common+0x91/0xbf
        [<f894f25d>] ? dvb_frontend_swzigzag_autotune+0x17d/0x1a4 [dvb_core]
        [<f894f780>] ? dvb_frontend_swzigzag+0x1ac/0x209 [dvb_core]
        [<f894fcc8>] ? dvb_frontend_thread+0x2eb/0x3b3 [dvb_core]
        [<c043c166>] ? autoremove_wake_function+0x0/0x33
        [<f894f9dd>] ? dvb_frontend_thread+0x0/0x3b3 [dvb_core]
        [<c043bec3>] ? kthread+0x3b/0x61
        [<c043be88>] ? kthread+0x0/0x61
        [<c040494b>] ? kernel_thread_helper+0x7/0x10
        =======================
      Code: ec 14 8b 80 00 02 00 00 8b 93 08 02 00 00 8d 7d e4 8b 40 20 89 45
      e0 31 c0 85 d2 f3 ab 8d 45 f0 66 c7 45 e8 04 00 89 45 ec 74 09 <0f> b6
      02 66 89 45 e4 eb 06 66 c7 45 e4 61 00 8b 0e be 0a 8b 02
      EIP: [<f8981e11>] grundig_29504_401_tuner_set_params+0x3b/0xf8 [budget]
      SS:ESP 0068:f6417ef0
      Signed-off-by: NOliver Endriss <o.endriss@gmx.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6dbe7af3
    • H
    • N
      V4L/DVB (10233): [PATCH] Terratec Cinergy DT XS Diversity new USB ID (0ccd:0081) · db4b2d19
      Nicolas Fournier 提交于
      The following patch adds support for a new version of the
      Terratec Cinergy DT USB XS Diversity Dual DVB-T TV tuner stick.
      The USB ID of the new stick is 0ccd:0081.
      The hardware of the stick has changed, when compared to the first version of
      this stick, but it still uses quite standard components, so that only minor
      changes are needed to the sources.
      
      The patch has been successfully tested with hotplugging the device and then
      2 x tzap and 2 x mplayer, to watch two different TV programs simultaneously.
      
      The stick works with both, the old and new firmwares:
      - dvb-usb-dib0700-1.10.fw and
      - dvb-usb-dib0700-1.20.fw
      Signed-off-by: NNicolas Fournier <nicolasfournier@yahoo.com>
      Signed-off-by: NPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      db4b2d19
    • H
    • M
      V4L/DVB (9054): implement proper locking in the dvb ca en50221 driver · d7e43844
      Matthias Dahl 提交于
      Concurrent access to a single DVB CA 50221 interface slot is generally
      discouraged. The underlying drivers (budget-av, budget-ci) do not implement
      proper locking and thus two transactions could (and do) interfere with on
      another.
      
      This fixes the following problems seen by others and myself:
      
       - sudden i/o errors when writing to the ci device which usually would
         result in an undefined state of the hw and require a software restart
      
       - errors about the CAM trying to send a buffer larger than the agreed size
         usually also resulting in an undefined state of the hw
      
      Due the to design of the DVB CA 50221 driver, implementing the locks in the
      underlying drivers would not be enough and still leave some race conditions,
      even though they were harder to trigger.
      Signed-off-by: NMatthias Dahl <devel@mortal-soul.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d7e43844
    • Y
      V4L/DVB (10195): [PATCH] add Terratec Cinergy T Express to dibcom driver · bb1b082e
      Yusuf Altin 提交于
      This patch introduces support for dvb-t for the following dibcom based card:
      Terratec Cinergy T Express (USB-ID: 0ccd:0062)
      Signed-off-by: NYusuf Altin <yusuf.altin@t-online.de>
      Signed-off-by: NAlbert Comerma <albert.comerma@gmail.com>
      Signed-off-by: NPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      bb1b082e
  5. 08 1月, 2009 5 次提交
    • S
      dvb: update network device to current API · fb875333
      Stephen Hemminger 提交于
      Use internal network_device_stats that exist in network device and
      net_device_ops. Compile tested only.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fb875333
    • M
      V4L/DVB (10189): dm1105: Fix build with INPUT=m and DVB_DM1105=y · 571d864c
      Mauro Carvalho Chehab 提交于
      As reported by Randy Dunlap <randy.dunlap@oracle.com>:
      
      With CONFIG_INPUT=m and CONFIG_DVB_DM1105=y:
      
      drivers/built-in.o: In function `input_sync':
      dm1105.c:(.text+0x120c33): undefined reference to `input_event'
      drivers/built-in.o: In function `dm1105_emit_key':
      dm1105.c:(.text+0x120c6c): undefined reference to `input_event'
      dm1105.c:(.text+0x120c82): undefined reference to `input_event'
      dm1105.c:(.text+0x120cb2): undefined reference to `input_event'
      dm1105.c:(.text+0x120cd1): undefined reference to `input_event'
      drivers/built-in.o: In function `dm1105_ir_init':
      (.devinit.text+0xd8ae): undefined reference to `input_allocate_device'
      drivers/built-in.o: In function `dm1105_ir_init':
      (.devinit.text+0xd9f6): undefined reference to `input_register_device'
      drivers/built-in.o: In function `dm1105_ir_init':
      (.devinit.text+0xda09): undefined reference to `input_free_device'
      drivers/built-in.o: In function `dm1105_ir_exit':
      (.devexit.text+0xcde): undefined reference to `input_unregister_device'
      
      This is due to the lack of a dependency between dm1105 and CONFIG_INPUT
      
      Cc: Igor M. Liplianin <liplianin@me.by>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      571d864c
    • M
      V4L/DVB (10180): drivers/media: Fix a number of sparse warnings · ffbc5f88
      Mauro Carvalho Chehab 提交于
      anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static?
      cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static?
      stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static?
      stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static?
      stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static?
      stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static?
      stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static?
      budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static?
      /home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static?
      /home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static?
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ffbc5f88
    • M
      V4L/DVB (10178): dvb_frontend: Fix some sparse warnings due to static symbols · 072ce0c5
      Mauro Carvalho Chehab 提交于
      /home/v4l/master/v4l/dvb_frontend.c:838:19: warning: symbol 'dtv_cmds' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1035:6: warning: symbol 'dtv_property_dump' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1066:5: warning: symbol 'is_legacy_delivery_system' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1080:6: warning: symbol 'dtv_property_cache_sync' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1132:6: warning: symbol 'dtv_property_legacy_params_sync' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1187:6: warning: symbol 'dtv_property_adv_params_sync' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1222:6: warning: symbol 'dtv_property_cache_submit' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1253:5: warning: symbol 'dtv_property_process_get' was not declared. Should it be static?
      /home/v4l/master/v4l/dvb_frontend.c:1362:5: warning: symbol 'dtv_property_process_set' was not declared. Should it be static?
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      072ce0c5
    • H
      trivial: replace last usages of __FUNCTION__ in kernel · 9b4778f6
      Harvey Harrison 提交于
      __FUNCTION__ is gcc-specific, use __func__
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9b4778f6
  6. 07 1月, 2009 1 次提交
  7. 03 1月, 2009 11 次提交
  8. 30 12月, 2008 8 次提交
    • S
      V4L/DVB (10129): dvb: remove deprecated use of RW_LOCK_UNLOCKED in frontends · cec73844
      Steven Rostedt 提交于
      Impact: clean up
      
      RW_LOCK_UNLOCKED is deprecated.  This patch replaces it with the
      __RW_LOCK_UNLOCKED(lock) macro.  This change was a little trickier than
      others due to the macro being used in another macro that fills an array.
      Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      cec73844
    • M
      V4L/DVB (10116): af9013: Fix gcc false warnings · 4d543096
      Mauro Carvalho Chehab 提交于
      drivers/media/dvb/frontends/af9013.c: In function ‘af9013_set_coeff’:
      drivers/media/dvb/frontends/af9013.c:231: warning: ‘ns_coeff2_8k’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c:230: warning: ‘ns_coeff2_2k’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c:229: warning: ‘ns_coeff1_8193nu’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c:228: warning: ‘ns_coeff1_8192nu’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c:227: warning: ‘ns_coeff1_8191nu’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c:226: warning: ‘ns_coeff1_2048nu’ may be used uninitialized in this function
      drivers/media/dvb/frontends/af9013.c: In function ‘af9013_update_snr’:
      drivers/media/dvb/frontends/af9013.c:1012: warning: ‘snr_table’ may be used uninitialized in this function
      
      Cc: Antti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      4d543096
    • M
      V4L/DVB (10109): anysee: Fix usage of an unitialized function · 902571aa
      Mauro Carvalho Chehab 提交于
      drivers/media/dvb/dvb-usb/anysee.c: In function ‘anysee_master_xfer’:
      drivers/media/dvb/dvb-usb/anysee.c:156: warning: ‘ret’ may be used uninitialized
      
      By looking at the function, altrough very unlikely, this might
      eventually be true if num  = 0. So, better to fix the warning by
      initializing with ret = 0.
      
      Cc: Antti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      902571aa
    • T
      V4L/DVB (9981): [PATCH] usb-urb.c: Fix initialization of URB list. · d29ca09d
      Thomas Reitmayr 提交于
      Fix the initialization of the URB list for a DVB-USB device to prevent
      problems on certain platforms (MIPS).
      Signed-off-by: NThomas Reitmayr <treitmayr@devbase.at>
      Signed-off-by: NPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d29ca09d
    • M
      V4L/DVB (9977): Kbuild: fix compilation when dib7000p is not defined · 71050814
      Mauro Carvalho Chehab 提交于
      dib7000p.h defines a few extern symbols when CONFIG_DVB_DIB7000P is not set. since the
      header is used on more than one driver, this causes symbol duplication, as pointed by
      Ingo Molnar <mingo@elte.hu>:
      
      drivers/media/dvb/built-in.o: In function `dib7000p_set_gpio':
      (.text+0x3f242): multiple definition of `dib7000p_set_gpio'
      drivers/media/video/built-in.o:(.text+0xb8c1e): first defined here
      drivers/media/dvb/built-in.o: In function `dib7000p_i2c_enumeration':
      (.text+0x3f282): multiple definition of `dib7000p_i2c_enumeration'
      drivers/media/video/built-in.o:(.text+0xb8c3e): first defined here
      drivers/media/dvb/built-in.o: In function `dib7000p_set_wbd_ref':
      (.text+0x3f1c1): multiple definition of `dib7000p_set_wbd_ref'
      drivers/media/video/built-in.o:(.text+0xb8bfe): first defined here
        LD      drivers/net/built-in.o
      make[2]: *** [drivers/media/built-in.o] Error 1
      
      Cc: Patrick Boettcher <patrick.boettcher@desy.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      71050814
    • H
      cfbd3072
    • A
      V4L/DVB (9928): Convert GP8PSK module to use S2API · 02ebf23b
      Alan Nisota 提交于
      This patch converts the gp8psk module to use the S2API.
      It pretends to be  DVB-S2 capable in order to allow the various
      supported modulations (8PSK, QPSK-Turbo, etc), and keep software
      compatibility with the S2API patches for Mythtv and VDR.
      
      Signed-off by: Alan Nisota <alannisota@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      02ebf23b
    • D
      V4L/DVB (9917): cx24116: change to ALGO_HW · 6639f1e0
      Darron Broad 提交于
      Slow tuning, EG:
      
      > szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
      reading channels from file '39.FTATV'
      zapping to 3 '1=Pgm1;Net1':
      delivery DVB-S, modulation QPSK
      sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
      vpid 0x0200, apid 0x0300, sid 0x0001
      using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
      status 00 | signal c2c0 | snr 0000 | ber 00012d4a | unc 00000000 |
      status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
      status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
      status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
      status 1f | signal c040 | snr bb33 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      
      Appears to be resolved by dropping zig-zag tuning and relying on
      hardware only:
      
      > szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
      reading channels from file '39.FTATV'
      zapping to 3 '1=Pgm1;Net1':
      delivery DVB-S, modulation QPSK
      sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
      vpid 0x0200, apid 0x0300, sid 0x0001
      using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
      status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      status 1f | signal c040 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      
      Tuning to a weaker channel shows that the hardware recovers sync:
      
      status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      status 03 | signal fd40 | snr 5000 | ber 00000000 | unc 00000000 |
      status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      status 03 | signal fd80 | snr 5000 | ber 00000000 | unc 00000000 |
      status 01 | signal fd80 | snr 4e66 | ber 00000000 | unc 00000000 |
      status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      status 03 | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 |
      status 01 | signal fd80 | snr 0000 | ber 00000000 | unc 00000000 |
      status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
      
      Also, tuning, moving the dish and then restoring the dish also retunes.
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Cc: Steven Toth <stoth@hauppauge.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6639f1e0