1. 12 9月, 2009 3 次提交
  2. 31 8月, 2009 2 次提交
  3. 14 8月, 2009 9 次提交
    • M
      V4L/DVB (12405): em28xx-cards: move register 0x13 setting to the proper place · d7612c86
      Mauro Carvalho Chehab 提交于
      Register 0x13 seems to be a sort of image control, maybe gamma, white
      level or black level. Lower values produce better images, while higher
      values increases the contrast and shifts colors to green. 0xff produces
      a black image. This register is not Silvercrest-specific, so its code
      should be moved to a better place.
      
      If this register is left alone, a random value can be found at the
      register, producing weird results.
      
      While here, let's remove register 0x0d, as it had no noticed effect at
      the image.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d7612c86
    • M
      V4L/DVB (12411): em28xx: Fix artifacts with Silvercrest webcam · 3d3215c4
      Mauro Carvalho Chehab 提交于
      Silvercrest mt9v011 sensor produces a 640x480 image. However,
      previously, the code were getting only half of the lines and merging two
      consecutive frames to "produce" a 640x480 image.
      
      With the addition of progressive mode, now em28xx is working with a full
      image. However, when the number of lines is bigger than 240, the
      beginning of some odd lines are filled with blank.
      
      After lots of testing, and physically checking the device for a Xtal, it
      was noticed experimentally that mt9v011 is using em28xx XCLK as its
      clock. Due to that, changing XCLK value changes the maximum speed of the
      stream.
      
      At the tests, it were possible to produce up to 32 fps, using a 30 MHz
      XCLK. However, at that rate, the artifacts happen even at 320x240. Lower
      values of XCLK produces artifacts only at 640x480.
      
      At some values of xclk (for example XCLKK = 6 MHz, 640x480), it is
      possible to see an invalid sucession of artifacts with this pattern:
      
      .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ....xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ....xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      
      (where the dots represent the blanked pixels)
      
      So, it seems that a waveform in the format of a ramp is interferring at
      the image.
      
      The cause of this interference is currently unknown. Some possibilities
      are:
      	- electrical interference (maybe this device is broken?);
      	- some issue at mt9v011 programming;
      	- some bug at em28xx chip.
      
      So, for now, let's be conservative and use a value of XCLK that we know
      for sure that it won't cause artifacts.
      
      As I'm waiting for more of such devices with different em28xx chipset
      revisions, I'll have the opportunity to double check the issue with
      other pieces of hardware.
      
      Later patches can vary XCLK depending on the vertical resolutions, if a
      proper fix is not discovered.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      3d3215c4
    • M
      V4L/DVB (12410): em28xx: Move the non-board dependent part to be outside em28xx_pre_card_setup() · fcd20e3c
      Mauro Carvalho Chehab 提交于
      em28xx_pre_card_setup() is meant to contain board-specific initialization. Also,
      as autodetection sometimes occur only after having i2c bus enabled, this
      function may need to be called later.
      
      Moving those setups to happen outside the function avoids calling it twice without
      need and without duplicating output lines at dmesg.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fcd20e3c
    • M
      V4L/DVB (12407): em28xx: Adjust Silvercrest xtal frequency · 970cff36
      Mauro Carvalho Chehab 提交于
      We don't know the xtal frequency of Silvercrest, but we need to have
      some value in order to allow controlling the frame rate frequency. The
      value is probably still wrong, since the manufacturer announces this
      device as being capable of 30fps, but the maximum we can get is
      13.5 fps.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      970cff36
    • M
      V4L/DVB (12406): em28xx: fix: don't do image interlacing on webcams · c2a6b54a
      Mauro Carvalho Chehab 提交于
      Due to historical reasons, em28xx driver gets two consecutive frames and
      fold them into an unique framing, doing interlacing. While this works
      fine for TV images, this produces two bad effects with webcams:
      
      1) webcam images are progressive. Merging two consecutive images produce
      interlacing artifacts on the image;
      
      2) since the driver needs to get two frames, it reduces the maximum
      frame rate by two.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c2a6b54a
    • M
      V4L/DVB (12403): em28xx: properly reports some em2710 chips · d594317b
      Mauro Carvalho Chehab 提交于
      As reported by hermann pitton <hermann-pitton@arcor.de>, some devices
      has a different chip id for em2710 (likely the older ones):
      
      em28xx: New device @ 480 Mbps (eb1a:2710, interface 0, class 0)
      em28xx #0: Identified as EM2710/EM2750/EM2751 webcam grabber (card=22)
      em28xx #0: em28xx chip ID = 17
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d594317b
    • M
      V4L/DVB (12402): em28xx: fix: some em2710 chips use a different vendor ID · 9b4e845c
      Mauro Carvalho Chehab 提交于
      Thanks to hermann pitton <hermann-pitton@arcor.de> for pointing this new
      variation.
      Tested-by: Nhermann pitton <hermann-pitton@arcor.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9b4e845c
    • M
      V4L/DVB (12344): em28xx: fix support for Plextor ConvertX PX-TV100U · 0a6e44d1
      Mauro Carvalho Chehab 提交于
      This device uses msp34xx and uses 2.048 MHz frequency for I2S
      communication.
      
      Thanks to Angelo Cano <acano@fastmail.fm> for pointing the issues with
      this device and proposing an approach for fixing the issue.
      Tested-by: NAngelo Cano <acano@fastmail.fm>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      0a6e44d1
    • M
      V4L/DVB (12340): mtv9v011: Add a missing chip version to the driver · 296544e1
      Mauro Carvalho Chehab 提交于
      Some mt9v011 webcams report 0x8332 chip version, instead of 0x8243. From
      the revision history at the mt9v011 datasheet, it seems that the chip
      version has changed from the first release of the chip.
      
      Thanks-to hermann pitton <hermann-pitton@arcor.de> for pointing this to
      me, on his tests with a Silvercrest webcam.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      296544e1
  4. 25 7月, 2009 13 次提交
  5. 06 7月, 2009 4 次提交
  6. 23 6月, 2009 3 次提交
  7. 17 6月, 2009 6 次提交