Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

From: Frank Loeffler (knarf.loeffler_at_freenet.de)
Date: 08/03/05

  • Next message: Benjamin Herrenschmidt: "Re: Calling suspend() in halt/restart/shutdown -> not a good idea"
    Date:	Wed, 03 Aug 2005 13:41:20 +0200
    To: mdew <some.nzguy@gmail.com>
    
    

    Hi 'mdew' (you do have a name, do you?),

    mdew wrote:
    > mapped to "p". I found the TV Button, The DVD Button, the CH-/+ and
    > the OK Button all non-working, every other button produced the "p".

    Could you please try 'showkey -s' from a console on all of those keys?

    Pavel: I would think that 'more useful' is not really the same as
    'correct'. If you find it useful to map this key to 'ENTER', so you
    should remap it in userspace. It should not be KEY_ENTER in the kernel
    for at least two reasons:

    - The key is labled 'ok' (and not enter). I assume the code KEY_OK is
       made for exactly that kind of key and certain applications might
       look for exactly this code.
    - You might want to differentiate between this key and the ENTER key
       of your keyboard, at least I do. If the kernel is sending the same
       code for both keys, this is not possible in userspace.

    Frank

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Benjamin Herrenschmidt: "Re: Calling suspend() in halt/restart/shutdown -> not a good idea"
  • Quantcast