Compaq OneTouch requires knock-code for some hotkeys

Bug #3363 reported by Hein-PietervanBraam
10
Affects Status Importance Assigned to Milestone
hotkey-setup (Ubuntu)
Invalid
Medium
Unassigned
hotkeys (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

due to the need to do some poking of the keyboard controller, some compaq hotkeys do not work out of the box.

Revision history for this message
Hein-PietervanBraam (hp) wrote : Patch to enable hotkey support for presario notebooks

this adds a perl script to the hotkeys package, note that this makes hotkey-setup depend on perl.

also note the FIXME's in the hp.hk for the missing keycodes.

Revision history for this message
Gaëtan Petit (gaetanp) wrote : Re: Hotkey-setup does not support some compaq hotkeys

you may set this bug to "fix commited" and assign it to laptop-team

tenshu

Matt Zimmerman (mdz)
Changed in hotkey-setup:
assignee: nobody → sladen
Revision history for this message
Paul Sladen (sladen) wrote :

Hi Hein, thanks very much for your patch; currently there is now some commented out code in:

  /etc/init.d/hotkey-setup

which is:

        case "$name" in
            # Please open a bug if uncommenting these "Presario" entries works for you...
            #*Presario\ V2000*)
            #. /usr/share/hotkey-setup/hp-v2000.hk
            #;;

Does uncommenting this do anything for you, or does it still require the knock sequence that perl script provides.

I'd love to apply this so if you're able to do some futher testing that would be appreciated (I would probably prefer to ship a C version of the script).

Changed in hotkey-setup:
status: Unconfirmed → Needs Info
Changed in hotkeys:
status: Unconfirmed → Rejected
Revision history for this message
Paul Sladen (sladen) wrote :

Matthew, where were you adding knock-sequeneces, should these go in-kernel?

Revision history for this message
Alexandre Otto Strube (surak) wrote :

Paul, Matthew this was about a month ago. Any news on this issue? Thanks a lot!

Revision history for this message
Paul Sladen (sladen) wrote :

Hein-PietervanBraam: I need some confirmation before I a patch introducing your 'knock' sequences; could you review the bug details above.

Revision history for this message
Paul Sladen (sladen) wrote :

Finally managed to track down another reference to the information above, the talk here is all about HP Onmibooks and Onetouch:

  http://lists.debian.org/debian-laptop/2002/02/msg00299.html (cross-post)
  http://martigny.ai.mit.edu/pipermail/omnibook/2002-February/001041.html kbd(port=0x59, cmd=0x90) patch
  http://martigny.ai.mit.edu/pipermail/omnibook/2002-February/001060.html (scancodes for e071-e074)

and then in:

  http://people.via.ecp.fr/~fabrice/presario/2.6.0-all-in-1.patch
  #define OMNIBOOK_KBC_CONTROL_CMD 0x59
  #define OMNIBOOK_KBC_CMD_ONETOUCH_ENABLE 0x90 /* Enables OneTouch buttons */
  # define OMNIBOOK_KBC_CMD_ONETOUCH_DISABLE 0x91 /* Disables OneTouch buttons */

and various other crack like toggling the touchpad, AC and backlight via the same means and a nice long DMI table to match against including a few Acer's and Toshiba's.

Still wondering what the 0x8f code is.

Paul Sladen (sladen)
Changed in hotkey-setup:
status: Needs Info → Confirmed
Paul Sladen (sladen)
Changed in hotkey-setup:
assignee: sladen → nobody
Revision history for this message
Paul Sladen (sladen) wrote :

Hein-PietervanBraam: any news on this. Do you still have access to the Compaq OneTouch hardware?

Revision history for this message
Hein-PietervanBraam (hp) wrote :

I do not, and I completely forgot to update the bugreport. The laptop died quite a while back :(
I'm sorry

Revision history for this message
Steve Langasek (vorlon) wrote :

The hotkey-setup package is now obsolete. If fixes are still needed for these keys, this should preferably be added to the kernel instead of having to fix this up in userspace.

Since you don't have the hardware to test whether this is still needed, I'm going to close out this report.

Changed in hotkey-setup (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.