1. 05 1月, 2013 2 次提交
  2. 23 12月, 2012 6 次提交
  3. 22 12月, 2012 1 次提交
  4. 25 10月, 2012 1 次提交
  5. 07 10月, 2012 1 次提交
  6. 03 10月, 2012 1 次提交
  7. 02 10月, 2012 3 次提交
  8. 28 9月, 2012 1 次提交
  9. 16 8月, 2012 1 次提交
  10. 07 7月, 2012 1 次提交
    • M
      [media] drxk: Make the QAM demodulator command parameters configurable · 9e23f50a
      Martin Blumenstingl 提交于
      Currently there are two different implementations (in the firmware) for
      the QAM demodulator command: one takes 4 and the other takes 2
      parameters. The driver shows an error in dmesg When using the
      4-parameter command with firmware that implements the 2-parameter
      command. Unfortunately this happens every time when chaning the
      frequency (on DVB-C).
      
      This patch simply makes configurable, how many command parameters will
      be used. All existing drxk_config instances using the "drxk_a3.mc" were
      updated because this firmware is the only loadable firmware where the
      QAM demodulator command takes 4 parameters. Some firmwares in the ROM
      might also use it. The drxk instances in the em28xx-dvb driver were also
      updated to silence the warnings.
      
      If no qam_demod_parameter_count is given in the drxk_config struct, then
      the correct number of parameters will be auto-detected.
      
      [mchehab@redhat.com: Fix a small CodingStyle issue at one comment]
      Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com>
      Tested-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9e23f50a
  11. 22 6月, 2012 1 次提交
  12. 21 6月, 2012 1 次提交
  13. 21 5月, 2012 1 次提交
  14. 20 5月, 2012 1 次提交
  15. 15 5月, 2012 1 次提交
    • G
      [media] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode · 38f0fe23
      Gianluca Gennari 提交于
      Enable the LNA amplifier also for DVB-T (like for DVB-T2 and DVB-C);
      this greatly improves reception of weak signals without affecting the reception
      of the strong ones.
      
      Experimental data (collected with the mipsel STB) on the weakest frequencies
      available in my area:
      
      LNA OFF:
      
      MUX          level   BER     picture
      
      RAI mux 4    72%     32000   corrupted
      TIMB 2       75%     14      OK
      TVA Vicenza  68%     32000   corrupted
      RAI mux 2    78%     14      OK
      
      LNA ON:
      
      MUX          level   BER     picture
      
      RAI mux 4    73%     1500    OK
      TIMB 2       76%     0       OK
      TVA Vicenza  69%     0       OK
      RAI mux 2    79%     0       OK
      
      Moreover, with LNA enabled, the PCTV 290e was able to pick up 2 new frequencies
      matching the integrated tuner of my Panasonic G20 TV, which is really good.
      Signed-off-by: NGianluca Gennari <gennarone@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      38f0fe23
  16. 11 4月, 2012 1 次提交
  17. 20 3月, 2012 4 次提交
  18. 08 3月, 2012 1 次提交
    • G
      [media] em28xx: pre-allocate DVB isoc transfer buffers · 86d38d1e
      Gianluca Gennari 提交于
      On MIPS/ARM set-top-boxes, as well as old x86 PCs, memory allocation failures
      in the em28xx driver are common, due to memory fragmentation over time, that
      makes impossible to allocate large chunks of coherent memory.
      A typical system with 256/512 MB of RAM fails after just 1 day of uptime (see
      the old thread for detailed reports and crashlogs).
      
      In fact, the em28xx driver allocates memory for USB isoc transfers at runtime,
      as opposite to the dvb-usb drivers that allocates the USB buffers when the
      device is initialized, and frees them when the device is disconnected.
      
      Moreover, in digital mode the USB isoc transfer buffers are freed, allocated
      and cleared every time the user selects a new channel, wasting time and
      resources.
      
      This patch solves both problems by allocating DVB isoc transfer buffers in
      em28xx_usb_probe(), and freeing them in em28xx_usb_disconnect().
      In fact, the buffers size and number depend only on the max USB packet size
      that is parsed from the USB descriptors in em28xx_usb_probe(), so it can
      never change for a given device.
      
      This approach makes no sense in analog mode (as the buffer size depends on
      the alternate mode selected at runtime), the patch creates two separate sets
      of buffers for digital and analog modes.
      
      For digital-only devices, USB buffers are created when the device is probed
      and freed when the device is disconnected.
      For analog-only devices, nothing changes: isoc buffers are created at runtime.
      For hybrid devices, two sets of buffers are maintained: the digital-mode
      buffers are created when the device is probed, and freed when the device is
      disconnected; analog-mode buffers are created/destroyed at runtime as before.
      So, in analog mode, digital and analog buffers coexists at the same time: this
      can be justified by the fact that digital mode is by far more commonly used
      nowadays, so it makes sense to optimize the driver for this use case scenario.
      
      The patch has been tested in the last few days on a x86 PC and a MIPS
      set-top-box, with the PCTV 290e (digital only) and the Terratec Hybrid XS
      (hybrid device). With the latter, I switched several times between analog and
      digital mode (Kaffeine/TvTime) with no issue at all.
      I unplugged/plugged the devices several times with no problem.
      Also, after over 3 days of normal usage in the MPIS set-top-box, the PCTV 290e
      was still up and running.
      Signed-off-by: NGianluca Gennari <gennarone@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      86d38d1e
  19. 24 1月, 2012 1 次提交
  20. 06 1月, 2012 2 次提交
  21. 31 12月, 2011 3 次提交
  22. 10 12月, 2011 1 次提交
  23. 25 11月, 2011 3 次提交
  24. 20 11月, 2011 1 次提交