Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • net
  • rfkill
  • rfkill-input.c
Find file BlameHistoryPermalink
  • Henrique de Moraes Holschuh's avatar
    rfkill: query EV_SW states when rfkill-input (re)?connects to a input device · 6e28fbef
    Henrique de Moraes Holschuh authored Jul 31, 2008
    
    
    Every time a new input device that is capable of one of the
    rfkill EV_SW events (currently only SW_RFKILL_ALL) is connected to
    rfkill-input, we must check the states of the input EV_SW switches
    and take action.  Otherwise, we will ignore the initial switch state.
    
    We also need to re-check the states of the EV_SW switches after
    a device that was under an exclusive grab is released back to us,
    since we got no input events from that device while it was grabbed.
    
    Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
    Acked-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Cc: Dmitry Torokhov <dtor@mail.ru>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    6e28fbef
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7