1. 28 7月, 2011 1 次提交
    • M
      [media] dvb-usb.h function rc5_scan · 147b68cd
      Manoel Pinheiro 提交于
      The function "rc5_scan" in "dvb_usb.h" is returning invalid value.
      The value should be returned "u16" but is returning "u8".
      
      See example below in "drivers/media/dvb/dvb-usb/opera1.c":
      
              send_key = (send_key & 0xffff) | 0x0100;
      
              for (i = 0; i < ARRAY_SIZE(rc_map_opera1_table); i++) {
                  if (rc5_scan(&rc_map_opera1_table[i]) == (send_key & 0xffff)) {
                      *state = REMOTE_KEY_PRESSED;
                      *event = rc_map_opera1_table[i].keycode;
                      opst->last_key_pressed =
                          rc_map_opera1_table[i].keycode;
                      break;
                  }
                  opst->last_key_pressed = 0;
              }
      Signed-off-by: NManoel Pinheiro <pinusdtv@hotmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      147b68cd
  2. 22 3月, 2011 1 次提交
    • P
      [media] technisat-usb2: added driver for Technisat's USB2.0 DVB-S/S2 receiver · 739ff04f
      Patrick Boettcher 提交于
      This patch is adding support for Technisat's new USB2.0 DVB-S/S2 receiver
      device. The development was sponsored by Technisat.
      
      The Green led is toggle depending on the frontend-state. The Red LED is turned
      on all the time.
      
      The MAC address reading from the EEPROM along with the
      LRC-method to check whether its valid.
      
      Support for the IR-receiver of the Technisat USB2 box. The keys of
      small, black remote-control are built-in, repeated key behaviour are
      simulated.
      
      The i2c-mutex of the dvb-usb-structure is used as a general mutex for
      USB requests, as there are 3 threads racing for atomic requests
      consisting of multiple usb-requests.
      
      A module option is there which disables the toggling of LEDs by the
      driver on certain triggers. Useful when being used in a "dark"
      environment.
      
      [mchehab@redhat.com: Fix merge conflicts with RC renaming patches]
      Signed-off-by: NMartin Wilks <m.wilks@technisat.com>
      Signed-off-by: NPatrick Boettcher <pboettcher@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      739ff04f
  3. 29 12月, 2010 4 次提交
    • M
      [media] rc: Name RC keymap tables as rc_map_table · 2f4f58d6
      Mauro Carvalho Chehab 提交于
      Remote keytables had different names all over the place. Part of the fault
      is due to a bad naming when rc subsystem was created, but there were lots
      of old names that were still here.
      
      Use a common standard for everything.
      
      Patch generated by this script:
      
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_scancode,rc_map_table,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_codes_,rc_map_,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_key_map,rc_map_table,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_map_table_size,rc_map_size,g <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2f4f58d6
    • M
      [media] rc: Rename remote controller type to rc_type instead of ir_type · 52b66144
      Mauro Carvalho Chehab 提交于
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,IR_TYPE,RC_TYPE,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_type,rc_type,g <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      52b66144
    • M
      [media] rc: rename the remaining things to rc_core · 6bda9644
      Mauro Carvalho Chehab 提交于
      The Remote Controller subsystem is meant to be used not only by Infra Red
      but also for similar types of Remote Controllers. The core is not specific
      to Infra Red. As such, rename:
      	- ir-core.h to rc-core.h
      	- IR_CORE to RC_CORE
      	- namespace inside rc-core.c/rc-core.h
      
      To be consistent with the other changes.
      
      No functional change on this patch.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6bda9644
    • D
      [media] ir-core: make struct rc_dev the primary interface · d8b4b582
      David Härdeman 提交于
      This patch merges the ir_input_dev and ir_dev_props structs into a single
      struct called rc_dev. The drivers and various functions in rc-core used
      by the drivers are also changed to use rc_dev as the primary interface
      when dealing with rc-core.
      
      This means that the input_dev is abstracted away from the drivers which
      is necessary if we ever want to support multiple input devs per rc device.
      
      The new API is similar to what the input subsystem uses, i.e:
      rc_device_alloc()
      rc_device_free()
      rc_device_register()
      rc_device_unregister()
      
      [mchehab@redhat.com: Fix compilation on mceusb and cx231xx, due to merge conflicts]
      Signed-off-by: NDavid Härdeman <david@hardeman.nu>
      Acked-by: NJarod Wilson <jarod@redhat.com>
      Tested-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d8b4b582
  4. 03 8月, 2010 4 次提交
  5. 18 5月, 2010 1 次提交
  6. 06 12月, 2009 1 次提交
  7. 12 9月, 2009 1 次提交
  8. 17 6月, 2009 1 次提交
  9. 16 6月, 2009 1 次提交
  10. 30 3月, 2009 2 次提交
  11. 25 4月, 2008 1 次提交
  12. 19 7月, 2007 3 次提交
  13. 09 5月, 2007 1 次提交
  14. 22 11月, 2006 1 次提交
  15. 04 10月, 2006 4 次提交
  16. 01 7月, 2006 1 次提交
  17. 25 6月, 2006 2 次提交
  18. 08 3月, 2006 2 次提交
  19. 07 2月, 2006 1 次提交
  20. 24 1月, 2006 2 次提交
  21. 10 1月, 2006 3 次提交
  22. 29 10月, 2005 1 次提交
  23. 10 9月, 2005 1 次提交