From: Islam Amer <pharon@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: USB remote control missing keycodes
Date: Mon, 11 Jun 2007 14:57:43 +0300 [thread overview]
Message-ID: <1181563063.19258.11.camel@iamer-laptop> (raw)
In-Reply-To: <466D2DF7.9020709@aladin.ro>
Hello all.
I have a remote control device, with an IR transciever that plugs into a
USB port and registers as an input device.
All the buttons on the remote work fine except for the back , text , and
three grey buttons at the top.
Here is the relevant /proc/bus/input/devices entry :
I: Bus=0003 Vendor=18b1 Product=0037 Version=0100
N: Name="ELMAK.pl irMAKbd pl"
P: Phys=usb-0000:00:03.1-2/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd mouse1 event4 ts1
B: EV=12000f
B: KEY=f 42c53b7 bf0d4400 0 0 70001 10004 3c007 ff8763fa c140dfff
febeffdf ffefffff ffffffff fffffffe
B: REL=103
B: ABS=7ff01 0
B: LED=1f
I did a little investigation using evbug and inputlircd and it seems
that these buttons generate codes that get dropped somewhere in the
input layer. They work fine on windows.
I used a modified inputlircd to get all the raw keycodes using irw :
Here's what I get for the down key :
6c 0 KEY_DOWN event4
0 0 KEY_RESERVED event4
29 0 KEY_GRAVE event4
0 0 KEY_RESERVED event4
6c 0 KEY_DOWN event4
0 0 KEY_RESERVED event4
and volume+
73 0 KEY_VOLUMEUP event4
0 0 KEY_RESERVED event4
29 0 KEY_GRAVE event4
0 0 KEY_RESERVED event4
73 0 KEY_VOLUMEUP event4
0 0 KEY_RESERVED event4
As compared to the non-functional keys like back :
29 0 KEY_GRAVE event4
0 0 KEY_RESERVED event4
As you can see it is sending only the reserved and GRAVE codes, and no
special codes.
Next point of debugging is inside the kernel, using the evbug module :
sudo modprobe evbug
pressed the Volume+ key
look in dmesg :
[ 2815.891865] evbug.c: Connected device: "Macintosh mouse button emulation", <NULL>
[ 2815.891874] evbug.c: Connected device: "AT Translated Set 2 keyboard", isa0060/serio0/input0
[ 2815.891878] evbug.c: Connected device: "cx88 IR (Hauppauge Nova-S-Plus ", pci-0000:00:05.0/ir0
[ 2815.891883] evbug.c: Connected device: "PC Speaker", isa0061/input0
[ 2815.891887] evbug.c: Connected device: "ELMAK.pl irMAKbd pl", usb-0000:00:03.1-2/input0
[ 2815.891892] evbug.c: Connected device: "Power Button (FF)", ACPI_FPB/button/input0
[ 2815.891896] evbug.c: Connected device: "Power Button (CM)", PNP0C0C/button/input0
[ 2820.988865] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 1, Code: 115, Value: 1
[ 2820.988875] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 0, Code: 0, Value: 0
[ 2820.996844] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 3, Code: 41, Value: 144
[ 2820.996854] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 0, Code: 0, Value: 0
[ 2821.212577] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 1, Code: 115, Value: 0
[ 2821.212587] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 0, Code: 0, Value: 0
pressed the Back button the extra lines are :
[ 2856.041526] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 3, Code: 41, Value: 35
[ 2856.041537] evbug.c: Event. Dev: usb-0000:00:03.1-2/input0, Type: 0, Code: 0, Value: 0
I just need a pointer to where to start looking at the problem.
Here's the website for the remote
http://www.elmak.pl/index.php?option=com_phpshop&page=shop.browse&category_id=14&ext=opis&lang=en
I am running ubuntu fiesty
Linux ubuntu 2.6.20-15-generic #2 SMP
Thanks in advance.
next prev parent reply other threads:[~2007-06-11 11:58 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 10:13 ext2 on flash memory DervishD
2007-06-11 11:11 ` Eduard-Gabriel Munteanu
2007-06-11 11:57 ` Islam Amer [this message]
2007-06-11 15:02 ` USB remote control missing keycodes Jiri Kosina
2007-06-13 14:08 ` Islam Amer
2007-06-13 14:58 ` Jiri Kosina
2007-06-13 15:17 ` Dmitry Torokhov
2007-06-13 15:44 ` Jiri Kosina
2007-06-13 15:58 ` Islam Amer
2007-06-13 16:17 ` Jiri Kosina
2007-06-14 12:19 ` Islam Amer
2007-06-14 12:30 ` Jiri Kosina
2007-06-15 10:15 ` Jiri Kosina
2007-06-15 10:51 ` Jiri Kosina
2007-06-17 10:57 ` Islam Amer
2007-06-18 11:42 ` Jiri Kosina
2007-06-15 17:55 ` Phillip Susi
2007-06-11 17:36 ` ext2 on flash memory DervishD
2007-06-13 13:16 ` Ph. Marek
2007-06-13 23:02 ` DervishD
2007-06-14 5:16 ` Ph. Marek
2007-06-11 14:58 ` alan
2007-06-11 17:42 ` DervishD
2007-06-11 19:27 ` Juergen Beisert
2007-06-13 13:48 ` DervishD
2007-06-14 19:36 ` Jan Knutar
2007-06-14 20:07 ` DervishD
2007-06-11 23:53 ` Kevin K
2007-06-12 0:35 ` Kevin Bowling
2007-06-12 1:18 ` Bernd Eckenfels
2007-06-13 13:44 ` DervishD
2007-06-12 7:53 ` Juergen Beisert
2007-06-12 13:29 ` Eduard-Gabriel Munteanu
2007-06-12 16:46 ` Eduard-Gabriel Munteanu
2007-06-13 13:43 ` DervishD
2007-06-12 21:09 ` Jason Lunz
2007-06-13 6:49 ` Juergen Beisert
2007-06-14 17:45 ` Jörn Engel
2007-06-14 18:22 ` Jörn Engel
2007-06-14 20:20 ` DervishD
2007-06-14 20:43 ` Jörn Engel
2007-06-15 16:20 ` DervishD
2007-06-15 16:27 ` Jörn Engel
2007-06-14 20:17 ` DervishD
2007-06-14 20:38 ` Jörn Engel
2007-06-15 16:16 ` DervishD
2007-06-15 16:36 ` Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181563063.19258.11.camel@iamer-laptop \
--to=pharon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.