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 7 次提交
    • H
      V4L/DVB (10626): ivtv: fix regression in get sliced vbi format · 7bf432d6
      Hans Verkuil 提交于
      The new v4l2_subdev_call used s_fmt instead of g_fmt.
      
      Thanks-to: Andy Walls <awalls@radix.net>
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7bf432d6
    • H
      V4L/DVB (10625): ivtv: fix decoder crash regression · ac9575f7
      Hans Verkuil 提交于
      The video_ioctl2 conversion of ivtv in kernel 2.6.27 introduced a bug
      causing decoder commands to crash. The decoder commands should have been
      handled from the video_ioctl2 default handler, ensuring correct mapping
      of the argument between user and kernel space. Unfortunately they ended
      up before the video_ioctl2 call, causing random crashes.
      
      Thanks to hannes@linus.priv.at for testing and helping me track down the
      cause!
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ac9575f7
    • A
      V4L/DVB (10619): gspca - main: Destroy the URBs at disconnection time. · ad28127d
      Adam Baker 提交于
      If a device using the gspca framework is unplugged while it is still streaming
      then the call that is used to free the URBs that have been allocated occurs
      after the pointer it uses becomes invalid at the end of gspca_disconnect.
      Make another cleanup call in gspca_disconnect while the pointer is still
      valid (multiple calls are OK as destroy_urbs checks for pointers already
      being NULL.
      Signed-off-by: NAdam Baker <linux@baker-net.org.uk>
      Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ad28127d
    • 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
    • T
      V4L/DVB (10533): fix LED status output · 2f94fc46
      Tobias Lorenz 提交于
      This patch closes one of my todos that was since long on my list.
      Some people reported clicks and glitches in the audio stream,
      correlated to the LED color changing cycle.
      Thanks to Rick Bronson <rick@efn.org>.
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2f94fc46
    • T
      V4L/DVB (10532): Correction of Stereo detection/setting and signal strength indication · d807dec5
      Tobias Lorenz 提交于
      Thanks to Bob Ross <pigiron@gmx.com>
      - correction of stereo detection/setting
      - correction of signal strength indicator scaling
      Signed-off-by: NTobias Lorenz <tobias.lorenz@gmx.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d807dec5
    • M
      V4L/DVB (10527): tuner: fix TUV1236D analog/digital setup · ef88f2b5
      Mauro Carvalho Chehab 提交于
      As reported by David Engel <david@istwok.net>, ATSC115 doesn't work
      fine with mythtv. This software opens both analog and dvb interfaces of
      saa7134.
      
      What happens is that some tuner commands are going to the wrong place,
      as shown at the logs:
      
      Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: using tuner params #0 (ntsc)
      Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: freq = 67.25 (1076), range = 0, config = 0xce, cb = 0x01
      Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: Freq= 67.25 MHz, V_IF=45.75 MHz, Offset=0.00 MHz, div=1808
      Feb 12 20:37:48 opus kernel: tuner 1-0061: tv freq set to 67.25
      Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: using tuner params #0 (ntsc)
      Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: freq = 67.25 (1076), range = 0, config = 0xce, cb = 0x01
      Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: Freq= 67.25 MHz, V_IF=45.75 MHz, Offset=0.00 MHz, div=1808
      Feb 12 20:37:48 opus kernel: tuner-simple 1-000a: tv 0x07 0x10 0xce 0x01
      Feb 12 20:37:48 opus kernel: tuner-simple 1-0061: tv 0x07 0x10 0xce 0x01
      
      This happens due to a hack at TUV1236D analog setup, where it replaces
      tuner address, at 0x61 for 0x0a, in order to save a few memory bytes.
      
      The code assumes that nobody else would try to access the tuner during
      that setup, but the point is that there's no lock to protect such
      access. So, this opens the possibility of race conditions to happen.
      
      Instead of hacking tuner address, this patch uses a temporary var with
      the proper tuner value to be used during the setup. This should save
      the issue, although we should consider to write some analog/digital
      lock at saa7134 driver.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ef88f2b5
  3. 01 2月, 2009 2 次提交
  4. 29 1月, 2009 26 次提交