Skip to contentSkip to conversation

installation-reports - hppa c3600 graphical/usb

parisc-linux M. Grabert 3 participants 3 messages May 6, 2004 – May 7, 2004 1 message not in the archive Input drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

M. Grabert

author
#1 lore raw
Quoted 3 lines · Grant Grundler

Using the HP USB keyboard (Model SK-2502U, P/N A4983-60401) on an HP C3600, the regular 4 arrow keys (seperate from the numeric keypad) do NOT work. They "select" instead of moving the highlight up/down.

I also have a SK-2502U here (using Voodoo2 as graphics card).

Quoted 5 lines

Use the numeric keypad instead - it has "arrow keys" on it as well.

It's more "natural" to use the regular arrow keys and it should be trivial for the right person to fix. I gather the numeric pad sends out a different scan code than the four "arrow" keys.

xev reports the following for the 'regular' arrow keys:

'<-'     keycode 100
'->'     keycode 102
  up     keycode 98
down     keycode 104

and the following for the numpad arrow keys:

'<-'     keycode 83
'->'     keycode 85
  up     keycode 80
down     keycode 88

Unfortunately I can't use 'showkey' since I'm running serial console instead of fb console ...

Greetings,
Max
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
In reply to a message not in the archive
Quoted 7 lines · Grant Grundler

Comments/Problems:

Using the HP USB keyboard (Model SK-2502U, P/N A4983-60401) on an HP C3600, the regular 4 arrow keys (seperate from the numeric keypad) do NOT work. They "select" instead of moving the highlight up/down.

Use the numeric keypad instead - it has "arrow keys" on it as well.

I have found that the "arrow keys" both move the highlight and select.
This is from my experience on the console using bash on a B1K using some crappy usb keyboard.

Jim
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
Quoted 8 lines · James Morrison
Quoted 6 lines · Grant Grundler

Comments/Problems:

Using the HP USB keyboard (Model SK-2502U, P/N A4983-60401) on an HP C3600, the regular 4 arrow keys (seperate from the numeric keypad) do NOT work. They "select" instead of moving the highlight up/down.

Quoted 5 lines
Quoted 1 line

Use the numeric keypad instead - it has "arrow keys" on it as well.

I have found that the "arrow keys" both move the highlight and select.
This is from my experience on the console using bash on a B1K using some crappy usb keyboard.

The attached patch should fix the keyboard problem. Any feedback welcome...

Helge

Index: drivers/input/keyboard/hpps2atkbd.h
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/input/keyboard/hpps2atkbd.h,v retrieving revision 1.7

drivers/input/keyboard/hpps2atkbd.h +1 -1
diff -u -p -r1.7 hpps2atkbd.h
@@ -53,7 +53,7 @@
 /* 78 */  KEY_F11,      KEY_KPPLUS,    KEY_KP3,       KEY_KPMINUS,   KEY_KPASTERISK,KEY_KP9,      KEY_SCROLLLOCK,KEY_102ND,
 /* 80 */  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,
 /* 88 */  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,
-/* 90 */  KEY_RESERVED, KEY_RIGHTALT,  KEY_SYSRQ,     KEY_RESERVED,  KEY_RIGHTCTRL, KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,
+/* 90 */  KEY_RESERVED, KEY_RIGHTALT,  255,           KEY_RESERVED,  KEY_RIGHTCTRL, KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,
 /* 98 */  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_CAPSLOCK, KEY_RESERVED,  KEY_LEFTMETA,
 /* a0 */  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED, KEY_RESERVED,  KEY_RIGHTMETA,
 /* a8 */  KEY_RESERVED, KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED,  KEY_RESERVED, KEY_RESERVED,  KEY_COMPOSE,

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux