From: Micah F. G. <mfg...@uw...> - 2005-07-04 20:08:26
|
On Mon, 2005-04-07 at 13:01 +0200, Vojtech Pavlik wrote: > The assignment of HID usages to Linux input events is done in the > hid-input.c file. Change the #undef DEBUG in there to a #define DEBUG, > and take a look at (or send me) the resulting 'dmesg' output. There > you'll see which HID usages it didn't understand and how it assigned the > others. Hello again. The output is at the bottom of the message. The offending device is listed as the "Logitech USB Receiver." Another thing I just noticed is that the first physical device, which is standard keys (numbers, letters, etc), is claiming to have keys and buttons that it does not (or evtest is anyways). In any case, I'm game to fix this, so I guess I'm looking for recommendations on where to go from here. Oh, and sorry for all of the extra junk included in the dmesg output: Mapping: Keyboard.008c ---> Key.KPJpComma Mapping: Keyboard.008d ---> Key.Unknown Mapping: Keyboard.008e ---> Key.Unknown Mapping: Keyboard.008f ---> Key.Unknown Mapping: Keyboard.0090 ---> Key.Hanguel Mapping: Keyboard.0091 ---> Key.Hanja Mapping: Keyboard.0092 ---> Key.Katakana Mapping: Keyboard.0093 ---> Key.HIRAGANA Mapping: Keyboard.0094 ---> Key.Zenkaku/Hankaku Mapping: Keyboard.0095 ---> Key.Unknown Mapping: Keyboard.0096 ---> Key.Unknown Mapping: Keyboard.0097 ---> Key.Unknown Mapping: Keyboard.0098 ---> Key.Unknown Mapping: LED.NumLock ---> LED.NumLock Mapping: LED.CapsLock ---> LED.CapsLock Mapping: LED.ScrollLock ---> LED.ScrollLock input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:10.3-2 Mapping: Consumer.00b5 ---> Key.NextSong Mapping: Consumer.00b6 ---> Key.PreviousSong Mapping: Consumer.0045 ---> Key.Btn0 Mapping: Consumer.00cd ---> Key.PlayPause Mapping: Consumer.00e2 ---> Key.Mute Mapping: Consumer.00e9 ---> Key.VolumeUp Mapping: Consumer.00ea ---> Key.VolumeDown Mapping: Consumer.00b2 ---> Key.Record Mapping: Consumer.009c ---> Key.Btn1 Mapping: Consumer.009d ---> Key.Btn2 Mapping: Consumer.0224 ---> Key.Back Mapping: Consumer.0225 ---> Key.Forward Mapping: Consumer.00b7 ---> Key.StopCD Mapping: Consumer.0227 ---> Key.Refresh Mapping: Consumer.022a ---> Key.Bookmarks Mapping: Consumer.0192 ---> Key.Calc Mapping: Consumer.0194 ---> Key.File Mapping: Consumer.0209 ---> Key.Btn3 Mapping: Consumer.00b4 ---> Key.Rewind Mapping: Consumer.00b3 ---> Key.Fast Forward Mapping: Consumer.0223 ---> Key.HomePage Mapping: Consumer.008d ---> Key.Btn4 Mapping: Consumer.00b0 ---> Key.Play Mapping: Consumer.00b1 ---> Key.Pause Mapping: ffbc.000d ---> Key.Btn5 Mapping: ffbc.0025 ---> Key.Btn6 Mapping: ffbc.0024 ---> Key.Btn7 Mapping: ffbc.0047 ---> Key.Btn8 Mapping: ffbc.0049 ---> Key.Btn9 Mapping: ffbc.004a ---> Key.? Mapping: ffbc.0046 ---> Key.? Mapping: ffbc.0048 ---> Key.? Mapping: ffbc.004b ---> Key.? Mapping: ffbc.004c ---> Key.? Mapping: ffbc.0026 ---> Key.? Mapping: ffbc.004d ---> Key.LeftBtn Mapping: ffbc.0031 ---> Key.RightBtn Mapping: ffbc.0032 ---> Key.MiddleBtn Mapping: ffbc.0033 ---> Key.SideBtn Mapping: ffbc.0004 ---> Key.ExtraBtn Mapping: ffbc.0051 ---> Key.ForwardBtn Mapping: ffbc.0052 ---> Key.BackBtn input,hiddev96: USB HID v1.10 Device [Logitech USB Receiver] on usb-0000:00:10.3-2 usb 1-1: new low speed USB device using uhci_hcd and address 4 Mapping: Button.0001 ---> Key.LeftBtn Mapping: Button.0002 ---> Key.RightBtn Mapping: Button.0003 ---> Key.MiddleBtn Mapping: Button.0004 ---> Key.SideBtn Mapping: Button.0005 ---> Key.ExtraBtn Mapping: Button.0006 ---> Key.ForwardBtn Mapping: Button.0007 ---> Key.BackBtn Mapping: Button.0008 ---> Key.TaskBtn Mapping: GenericDesktop.X ---> Relative.X Mapping: GenericDesktop.Y ---> Relative.Y Mapping: GenericDesktop.Wheel ---> Relative.Wheel Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED Mapping: LED.004b ---> IGNORED input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:10.0-1 mice: PS/2 mouse device common for all mice usb 1-2: new low speed USB device using uhci_hcd and address 5 Mapping: Keyboard.00e0 ---> Key.LeftControl Mapping: Keyboard.00e1 ---> Key.LeftShift Mapping: Keyboard.00e2 ---> Key.LeftAlt Mapping: Keyboard.00e3 ---> Key.LeftMeta Mapping: Keyboard.00e4 ---> Key.RightCtrl Mapping: Keyboard.00e5 ---> Key.RightShift Mapping: Keyboard.00e6 ---> Key.RightAlt Mapping: Keyboard.00e7 ---> Key.RightMeta Mapping: Keyboard.0000 ---> IGNORED Mapping: Keyboard.0001 ---> IGNORED Mapping: Keyboard.0002 ---> IGNORED Mapping: Keyboard.0003 ---> IGNORED Mapping: Keyboard.0004 ---> Key.A Mapping: Keyboard.0005 ---> Key.B Mapping: Keyboard.0006 ---> Key.C Mapping: Keyboard.0007 ---> Key.D Mapping: Keyboard.0008 ---> Key.E Mapping: Keyboard.0009 ---> Key.F Mapping: Keyboard.000a ---> Key.G Mapping: Keyboard.000b ---> Key.H Mapping: Keyboard.000c ---> Key.I Mapping: Keyboard.000d ---> Key.J Mapping: Keyboard.000e ---> Key.K Mapping: Keyboard.000f ---> Key.L Mapping: Keyboard.0010 ---> Key.M Mapping: Keyboard.0011 ---> Key.N Mapping: Keyboard.0012 ---> Key.O Mapping: Keyboard.0013 ---> Key.P Mapping: Keyboard.0014 ---> Key.Q Mapping: Keyboard.0015 ---> Key.R Mapping: Keyboard.0016 ---> Key.S Mapping: Keyboard.0017 ---> Key.T Mapping: Keyboard.0018 ---> Key.U Mapping: Keyboard.0019 ---> Key.V Mapping: Keyboard.001a ---> Key.W Mapping: Keyboard.001b ---> Key.X Mapping: Keyboard.001c ---> Key.Y Mapping: Keyboard.001d ---> Key.Z Mapping: Keyboard.001e ---> Key.1 Mapping: Keyboard.001f ---> Key.2 Mapping: Keyboard.0020 ---> Key.3 Mapping: Keyboard.0021 ---> Key.4 Mapping: Keyboard.0022 ---> Key.5 Mapping: Keyboard.0023 ---> Key.6 Mapping: Keyboard.0024 ---> Key.7 Mapping: Keyboard.0025 ---> Key.8 Mapping: Keyboard.0026 ---> Key.9 Mapping: Keyboard.0027 ---> Key.0 Mapping: Keyboard.0028 ---> Key.Enter Mapping: Keyboard.0029 ---> Key.Esc Mapping: Keyboard.002a ---> Key.Backspace Mapping: Keyboard.002b ---> Key.Tab Mapping: Keyboard.002c ---> Key.Space Mapping: Keyboard.002d ---> Key.Minus Mapping: Keyboard.002e ---> Key.Equal Mapping: Keyboard.002f ---> Key.LeftBrace Mapping: Keyboard.0030 ---> Key.RightBrace Mapping: Keyboard.0031 ---> Key.BackSlash Mapping: Keyboard.0032 ---> Key.BackSlash Mapping: Keyboard.0033 ---> Key.Semicolon Mapping: Keyboard.0034 ---> Key.Apostrophe Mapping: Keyboard.0035 ---> Key.Grave Mapping: Keyboard.0036 ---> Key.Comma Mapping: Keyboard.0037 ---> Key.Dot Mapping: Keyboard.0038 ---> Key.Slash Mapping: Keyboard.0039 ---> Key.CapsLock Mapping: Keyboard.003a ---> Key.F1 Mapping: Keyboard.003b ---> Key.F2 Mapping: Keyboard.003c ---> Key.F3 Mapping: Keyboard.003d ---> Key.F4 Mapping: Keyboard.003e ---> Key.F5 Mapping: Keyboard.003f ---> Key.F6 Mapping: Keyboard.0040 ---> Key.F7 Mapping: Keyboard.0041 ---> Key.F8 Mapping: Keyboard.0042 ---> Key.F9 Mapping: Keyboard.0043 ---> Key.F10 Mapping: Keyboard.0044 ---> Key.F11 Mapping: Keyboard.0045 ---> Key.F12 Mapping: Keyboard.0046 ---> Key.SysRq Mapping: Keyboard.0047 ---> Key.ScrollLock Mapping: Keyboard.0048 ---> Key.Pause Mapping: Keyboard.0049 ---> Key.Insert Mapping: Keyboard.004a ---> Key.Home Mapping: Keyboard.004b ---> Key.PageUp Mapping: Keyboard.004c ---> Key.Delete Mapping: Keyboard.004d ---> Key.End Mapping: Keyboard.004e ---> Key.PageDown Mapping: Keyboard.004f ---> Key.Right Mapping: Keyboard.0050 ---> Key.Left Mapping: Keyboard.0051 ---> Key.Down Mapping: Keyboard.0052 ---> Key.Up Mapping: Keyboard.0053 ---> Key.NumLock Mapping: Keyboard.0054 ---> Key.KPSlash Mapping: Keyboard.0055 ---> Key.KPAsterisk Mapping: Keyboard.0056 ---> Key.KPMinus Mapping: Keyboard.0057 ---> Key.KPPlus Mapping: Keyboard.0058 ---> Key.KPEnter Mapping: Keyboard.0059 ---> Key.KP1 Mapping: Keyboard.005a ---> Key.KP2 Mapping: Keyboard.005b ---> Key.KP3 Mapping: Keyboard.005c ---> Key.KP4 Mapping: Keyboard.005d ---> Key.KP5 Mapping: Keyboard.005e ---> Key.KP6 Mapping: Keyboard.005f ---> Key.KP7 Mapping: Keyboard.0060 ---> Key.KP8 Mapping: Keyboard.0061 ---> Key.KP9 Mapping: Keyboard.0062 ---> Key.KP0 Mapping: Keyboard.0063 ---> Key.KPDot Mapping: Keyboard.0064 ---> Key.102nd Mapping: Keyboard.0065 ---> Key.Compose Mapping: Keyboard.0066 ---> Key.Power Mapping: Keyboard.0067 ---> Key.KPEqual Mapping: Keyboard.0068 ---> Key.F13 Mapping: Keyboard.0069 ---> Key.F14 Mapping: Keyboard.006a ---> Key.F15 Mapping: Keyboard.006b ---> Key.F16 Mapping: Keyboard.006c ---> Key.F17 Mapping: Keyboard.006d ---> Key.F18 Mapping: Keyboard.006e ---> Key.F19 Mapping: Keyboard.006f ---> Key.F20 Mapping: Keyboard.0070 ---> Key.F21 Mapping: Keyboard.0071 ---> Key.F22 Mapping: Keyboard.0072 ---> Key.F23 Mapping: Keyboard.0073 ---> Key.F24 Mapping: Keyboard.0074 ---> Key.Open Mapping: Keyboard.0075 ---> Key.Help Mapping: Keyboard.0076 ---> Key.Props Mapping: Keyboard.0077 ---> Key.Front Mapping: Keyboard.0078 ---> Key.Stop Mapping: Keyboard.0079 ---> Key.Again Mapping: Keyboard.007a ---> Key.Undo Mapping: Keyboard.007b ---> Key.Cut Mapping: Keyboard.007c ---> Key.Copy Mapping: Keyboard.007d ---> Key.Paste Mapping: Keyboard.007e ---> Key.Find Mapping: Keyboard.007f ---> Key.Mute Mapping: Keyboard.0080 ---> Key.VolumeUp Mapping: Keyboard.0081 ---> Key.VolumeDown Mapping: Keyboard.0082 ---> Key.Unknown Mapping: Keyboard.0083 ---> Key.Unknown Mapping: Keyboard.0084 ---> Key.Unknown Mapping: Keyboard.0085 ---> Key.KPComma Mapping: Keyboard.0086 ---> Key.Unknown Mapping: Keyboard.0087 ---> Key.RO Mapping: Keyboard.0088 ---> Key.Katakana/Hiragana Mapping: Keyboard.0089 ---> Key.Yen Mapping: Keyboard.008a ---> Key.Henkan Mapping: Keyboard.008b ---> Key.Muhenkan Mapping: Keyboard.008c ---> Key.KPJpComma Mapping: Keyboard.008d ---> Key.Unknown Mapping: Keyboard.008e ---> Key.Unknown Mapping: Keyboard.008f ---> Key.Unknown Mapping: Keyboard.0090 ---> Key.Hanguel Mapping: Keyboard.0091 ---> Key.Hanja Mapping: Keyboard.0092 ---> Key.Katakana Mapping: Keyboard.0093 ---> Key.HIRAGANA Mapping: Keyboard.0094 ---> Key.Zenkaku/Hankaku Mapping: Keyboard.0095 ---> Key.Unknown Mapping: Keyboard.0096 ---> Key.Unknown Mapping: Keyboard.0097 ---> Key.Unknown Mapping: Keyboard.0098 ---> Key.Unknown Mapping: Keyboard.0099 ---> Key.Unknown Mapping: Keyboard.009a ---> Key.Unknown Mapping: Keyboard.009b ---> Key.Unknown Mapping: Keyboard.009c ---> Key.Unknown Mapping: Keyboard.009d ---> Key.Unknown Mapping: Keyboard.009e ---> Key.Unknown Mapping: Keyboard.009f ---> Key.Unknown Mapping: Keyboard.00a0 ---> Key.Unknown Mapping: Keyboard.00a1 ---> Key.Unknown Mapping: Keyboard.00a2 ---> Key.Unknown Mapping: Keyboard.00a3 ---> Key.Unknown Mapping: Keyboard.00a4 ---> Key.Unknown Mapping: LED.NumLock ---> LED.NumLock Mapping: LED.CapsLock ---> LED.CapsLock Mapping: LED.ScrollLock ---> LED.ScrollLock Mapping: LED.Compose ---> LED.Compose Mapping: LED.Kana ---> LED.Kana input: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:10.0-2 Mapping: Consumer.0225 ---> Key.Forward Mapping: Consumer.00b6 ---> Key.PreviousSong Mapping: Consumer.00b5 ---> Key.NextSong Mapping: Consumer.00b7 ---> Key.StopCD Mapping: Consumer.00cd ---> Key.PlayPause Mapping: Consumer.00ea ---> Key.VolumeDown Mapping: Consumer.00e9 ---> Key.VolumeUp Mapping: Consumer.00e2 ---> Key.Mute Mapping: Consumer.0192 ---> Key.Calc Mapping: Consumer.018a ---> Key.Mail Mapping: Consumer.0221 ---> Key.Find Mapping: Consumer.0223 ---> Key.HomePage Mapping: Consumer.022a ---> Key.Bookmarks Mapping: Consumer.0224 ---> Key.Back Mapping: Consumer.0183 ---> Key.Config Mapping: Button.0001 ---> Key.Btn0 Mapping: Button.0002 ---> Key.Btn1 Mapping: Button.0003 ---> Key.Btn2 Mapping: Button.0004 ---> Key.Btn3 Mapping: Button.0005 ---> Key.Btn4 Mapping: Button.0006 ---> Key.Btn5 Mapping: Button.0007 ---> Key.Btn6 Mapping: Button.0008 ---> Key.Btn7 Mapping: Button.0009 ---> Key.Btn8 Mapping: Button.000a ---> Key.Btn9 Mapping: Button.000b ---> Key.? Mapping: Button.000c ---> Key.? Mapping: Button.000d ---> Key.? Mapping: Button.000e ---> Key.? Mapping: Button.000f ---> Key.? Mapping: Button.0010 ---> Key.? Mapping: Button.0011 ---> Key.LeftBtn Mapping: Button.0012 ---> Key.RightBtn Mapping: Button.0013 ---> Key.MiddleBtn Mapping: Button.0014 ---> Key.SideBtn Mapping: Button.0015 ---> Key.ExtraBtn Mapping: Button.0016 ---> Key.ForwardBtn Mapping: Button.0017 ---> Key.BackBtn Mapping: Button.0018 ---> Key.TaskBtn Mapping: Button.0019 ---> Key.? Mapping: Button.001a ---> Key.? Mapping: Button.001b ---> Key.? Mapping: Button.001c ---> Key.? Mapping: Button.001d ---> Key.? Mapping: Button.001e ---> Key.? Mapping: Button.001f ---> Key.? Mapping: Button.0020 ---> Key.? Mapping: Button.0021 ---> Key.Trigger Mapping: Button.0022 ---> Key.ThumbBtn Mapping: Button.0023 ---> Key.ThumbBtn2 Mapping: Button.0024 ---> Key.TopBtn Mapping: Button.0025 ---> Key.TopBtn2 Mapping: Button.0026 ---> Key.PinkieBtn Mapping: Button.0027 ---> Key.BaseBtn Mapping: Button.0028 ---> Key.BaseBtn2 Mapping: Button.0029 ---> Key.BaseBtn3 Mapping: Button.002a ---> Key.BaseBtn4 Mapping: Button.002b ---> Key.BaseBtn5 Mapping: Button.002c ---> Key.BaseBtn6 Mapping: Button.002d ---> Key.? Mapping: Button.002e ---> Key.? Mapping: Button.002f ---> Key.? Mapping: Button.0030 ---> Key.BtnDead Mapping: Button.0031 ---> Key.BtnA Mapping: Button.0032 ---> Key.BtnB Mapping: Button.0033 ---> Key.BtnC Mapping: Button.0034 ---> Key.BtnX Mapping: Button.0035 ---> Key.BtnY Mapping: Button.0036 ---> Key.BtnZ Mapping: Button.0037 ---> Key.BtnTL Mapping: Button.0038 ---> Key.BtnTR Mapping: Button.0039 ---> Key.BtnTL2 Mapping: Button.003a ---> Key.BtnTR2 Mapping: Button.003b ---> Key.BtnSelect Mapping: Button.003c ---> Key.BtnStart Mapping: Button.003d ---> Key.BtnMode Mapping: Button.003e ---> Key.BtnThumbL Mapping: Button.003f ---> Key.BtnThumbR Mapping: Button.0040 ---> Key.? Mapping: Consumer.0201 ---> Absolute.Misc Mapping: Consumer.0289 ---> Absolute.? Mapping: Consumer.028b ---> Absolute.? Mapping: Consumer.028c ---> Absolute.? Mapping: Consumer.021a ---> Key.Undo Mapping: Consumer.0279 ---> Absolute.? Mapping: Consumer.0208 ---> Absolute.? Mapping: Consumer.0207 ---> Absolute.? Mapping: Consumer.0194 ---> Key.File Mapping: Consumer.01a7 ---> Absolute.? Mapping: Consumer.01b6 ---> Absolute.? Mapping: Consumer.01b7 ---> Absolute.? Mapping: GenericDesktop.SystemSleep ---> Key.Sleep Mapping: GenericDesktop.SystemPowerDown ---> Key.Power Mapping: GenericDesktop.SystemWakeUp ---> Key.WakeUp Mapping: GenericDesktop.Wheel ---> Relative.Wheel Mapping: GenericDesktop.X ---> Relative.X Mapping: GenericDesktop.Y ---> Relative.Y input: USB HID v1.10 Mouse [Logitech Logitech USB Keyboard] on usb-0000:00:10.0-2 input: PC Speaker --=20 Micah F. Galizia mfg...@uw... "The mark of an immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one." --W. Stekel |