lkml.org 
[lkml]   [2007]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB remote control missing keycodes
Please do not hit reply and change the subject when you really want to 
create a new message. You apparently replied to to a message in the
thread "ext2 on flash memory". This causes your message to show up
under that thread, which is confusing to people reading that thread, and
will cause those ignoring that thread to never see your message.

Islam Amer wrote:
> 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.

-
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/

\
 
 \ /
  Last update: 2007-06-15 19:59    [W:0.099 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site