Results 1 to 2 of 2

Thread: Disabling one of multiple keyboards

  1. #1
    Join Date
    Dec 2004
    Location
    Massachusetts, USA
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Disabling one of multiple keyboards

    I have multiple "keyboards" attached to my system. One's a real keyboard and the other is a barcode scanner. Although the barcode scanner acts like a keyboard, I handle events it generates using gizmod and I'd prefer that its input never made it to the normal flow of things in X.

    What I'd like to do is have the barcode reader continue to generate events (i.e. through /dev/input/eventN), but have X ignore input from that device. I'm not quite sure where to start in the whole input stack (hal?). Can somebody point me in the right direction?

    Thanks!

  2. #2
    Join Date
    Dec 2004
    Location
    Massachusetts, USA
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Disabling one of multiple keyboards

    Following a suggestion from the X configuration wiki page, I discovered that this works (at least for my barcode reader):

    Code:
    $ xinput set-int-prop "?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner" "Device Enabled" 8 0
    Cheers!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •