1. 30 3月, 2009 2 次提交
    • J
      HID: remove compat stuff · afa5eb7c
      Jiri Slaby 提交于
      This removal was scheduled and there is no problem with later
      distros to adapt for the new bus, thanks to aliases.
      
      module-init-tools map files are deprecated nowadays, so that
      the patch which introduced hid ones into the m-i-t won't be
      accepted and hence there is no reason for leaving compat stuff in.
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      afa5eb7c
    • J
      HID: bring back possibility to specify vid/pid ignore on module load · 6f4303fb
      Jiri Kosina 提交于
      When hid quirks were converted to specialized driver, the HID_QUIRK_IGNORE
      has been moved completely, as the hid_ignore_list[] has been moved into the
      generic code.
      
      However userspace already got used to the possibility that modprobing
      usbhid with
      
      	'quirks=vid:pid:0x4'
      
      makes the device ignored by usbhid driver. So keep this quirk flag in place
      for backwards compatibility.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      6f4303fb
  2. 26 3月, 2009 1 次提交
    • O
      HID: autosuspend support for USB HID · 0361a28d
      Oliver Neukum 提交于
      This uses the USB busy mechanism for aggessive autosuspend of USB
      HID devices. It autosuspends all opened devices supporting remote wakeup
      after a timeout unless
      
      - output is being done to the device
      - a key is being held down (remote wakeup isn't triggered upon key release)
      - LED(s) are lit
      - hiddev is opened
      
      As in the current driver closed devices will be autosuspended even if they
      don't support remote wakeup.
      
      The patch is quite large because output to devices is done in hard interrupt
      context meaning a lot a queuing and locking had to be touched. The LED stuff
      has been solved by means of a simple counter. Additions to the generic HID code
      could be avoided. In addition it now covers hidraw. It contains an embryonic
      version of an API to let the generic HID code tell the lower levels which
      capabilities with respect to power management are needed.
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0361a28d
  3. 31 1月, 2009 1 次提交
  4. 04 1月, 2009 3 次提交
  5. 27 10月, 2008 1 次提交
  6. 22 10月, 2008 1 次提交
  7. 15 10月, 2008 28 次提交
  8. 23 7月, 2008 1 次提交
  9. 20 5月, 2008 2 次提交
    • A
      HID: remove CVS keywords · f8dea7a3
      Adrian Bunk 提交于
      This patch removes CVS keywords that weren't updated for a long time
      from comments.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f8dea7a3
    • D
      HID: split Numlock emulation quirk from HID_QUIRK_APPLE_HAS_FN. · 6e704599
      Diego 'Flameeyes' Petteno 提交于
      Since 2.6.25 the HID_QUIRK_APPLE_HAS_FN quirk is enabled even for
      non-laptop Apple keyboards of the Aluminium series. The USB version of
      these don't need Numlock emulation, like the laptop (and Aluminium
      Wireless) do, as they have a proper keypad.
      
      This patch splits the Numlock emulation for Apple keyboards in a
      different quirk flag, so that it can be enabled for all the keyboards
      but the Aluminium USB ones.
      
      If the Numlock emulation is enabled for Aluminium USB keyboards, the
      JKL and UIO keys become the numeric pad, and the rest of the keyboard
      is disabled, included the key used to disable Numlock.
      
      Additionally, these keyboard should not have a Numlock at all, as the
      Numlock key is instead replaced by the 'Clear' key as usual for Apple
      USB keyboards.
      Signed-off-by: NDiego 'Flameeyes' Petteno <flameeyes@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      6e704599