1. 13 7月, 2007 1 次提交
  2. 10 7月, 2007 29 次提交
  3. 09 7月, 2007 6 次提交
    • R
      HID: support for logitech cordless desktop LX500 special mapping · 5f9c464a
      Ryo Dairiki 提交于
      This keyboard has wireless mouse which has left, middle, right buttons and
      2-dimensional scrolling wheel.  Unfornetuly, this wheel reports side scrolling
      events and 11 or 12 button events at the same time.
      
      I've wrote a patch to fix this mapping.  I'm not sure if this mapping is proper
      for buttons, because , for example, there is no entry for "burn cd" in input.h.
      
      The patch also supress 11 and 12 button events from mouse when you scroll the
      wheel left and right.  With this patch, only side scrolling events are
      reported.  (This mouse has only 4 buttons and 2D wheel. There is no such
      buttons like 11 and 12.)
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5f9c464a
    • J
      HID: separate quirks for report descriptor fixup · ea9a4a8b
      Jiri Kosina 提交于
      Lately there have been quite a lot of bug reports against broken devices
      which require us to fix their report descriptor in the runtime, before it
      is passed to the HID parser. Those devices have eaten quite an amount of
      our quirks space, which isn't particularly necessary - the quirks are not
      needed after the report descriptor is parsed, and they just consume bits.
      
      Therefore this patch separates the quirks for report descriptor fixup, and
      moves their handling into separate code. The quirks are then forgotten as
      soon as the report descriptor has been parsed.
      
      Module parameter 'rdesc_quirks' is introduced to be able to modify these
      quirks in runtime in a similar way to 'quirks' parameter for ordinary HID
      quirks.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ea9a4a8b
    • J
      HID: support for Petalynx Maxter remote control · 92d9e6e6
      Jiri Kosina 提交于
      Petalynx Maxter remote control [1] 0x18b1/0x0037 emits 0xfa and 0xfc from
      consumer page (reserved in HUT 1.12) for back and more keys. It also emits
      a few usages from LOGIVENDOR page, which need adding.
      
      Also, this device has broken report descriptor - the reported maximum is too
      low - it doesn't contain the range for 'back' and 'more' keys, so we need to
      bump it up before the report descriptor is being parsed.
      
      Besides all this, it also requires NOGET quirk.
      
      This patch does so.
      
      [1] http://www.elmak.pl/index.php?option=com_phpshop&page=shop.browse&category_id=14&ext=opis&lang=enSigned-off-by: NJiri Kosina <jkosina@suse.cz>
      92d9e6e6
    • J
      HID: force hid-input for Microsoft SideWinder GameVoice device · defd2086
      Jiri Kosina 提交于
      Microsoft SideWinder GameVoice driver is a trivial device with a few buttons
      (0x09 HID usage) and an audio connector, which just forwards the audio input
      into oridinary sound card present in the computer.
      
      Despite this fact, the only interface of this device reports itself as a
      Telephony/Headset type of HID device. This is apparently incorrect - the device
      itself doesn't provide any audio/telephony functionality. This is achieved in
      userland application which only needs to receive the button events from the HID
      driver.
      
      This patch establishes a new quirk which forces hid-input to claim a device it
      will otherwise leave untouched.
      Reported-by: NTomas Carnecky <tom@dbservice.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      defd2086
    • J
      HID: make debugging output runtime-configurable · 58037eb9
      Jiri Kosina 提交于
      There have been many reports recently about broken HID devices, the
      diagnosis of which required users to recompile their kernels in order
      to be able to provide debugging output needed for coding a quirk for
      a particular device.
      
      This patch makes CONFIG_HID_DEBUG default y if !EMBEDDED and makes it
      possible to control debugging output produced by HID code by supplying
      'debug=1' module parameter.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      58037eb9
    • I
      [PATCH] Add 93cx6 eeprom library · 9467d64b
      Ivo van Doorn 提交于
      This patch adds a library for reading from 93cx6 eeproms.
      Signed-off-by: NMichael Wu <flamingice@sourmilk.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9467d64b
  4. 08 7月, 2007 2 次提交
    • U
      sis5513: adding PCI-ID · 4c6c914e
      Uwe Koziolek 提交于
      The SiS966 has one additional PCI-ID 1180.
      
      If the chipset is using this PCI-ID, the primary channel is connected to the
      first PATA-port. The secondary channel is connected to SATA-ports in IDE
      emulation mode.  The legacy IO-ports are used.
      
      The including of the PCI-ID into pata_sis is not sufficient, because the legacy
      driver in drivers/ide is initialized before pata_sis.
      Signed-off-by: NUwe Koziolek <uwe.koziolek@gmx.net>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      4c6c914e
    • A
      include/linux/kallsyms.h must #include <linux/errno.h> · 40e48eed
      Adrian Bunk 提交于
      This patch fixes the following 2.6.22 regression with CONFIG_KALLSYMS=n:
      
      <--  snip  -->
      
      ...
        CC      arch/m32r/kernel/traps.o
      In file included from /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/m32r/kernel/traps.c:14:
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_name':
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: 'ERANGE' undeclared (first use in this function)
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: (Each undeclared identifier is reported only once
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: for each function it appears in.)
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_attrs':
      /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:71: error: 'ERANGE' undeclared (first use in this function)
      make[2]: *** [arch/m32r/kernel/traps.o] Error 1
      
      <--  snip  -->
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      40e48eed
  5. 02 7月, 2007 2 次提交