Google
  Web www.spinics.net

Re: Asus PC-39 IR Control: dead keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Hermann

I did not know about those tool written by Gerd.

I think they will do. I downloaded and compiled. The tools are working well.
Until the day X might also accept keycodes above 255 I can now map them to some keycode within 0 -255.

Thanks for the hint  and thanks to Gerd for writing them.

Greets

Roman


hermann pitton schrieb:
Hi Roman,

Am Donnerstag, den 20.11.2008, 22:19 +0100 schrieb Roman:
Hi all

The keys defined with numbers bigger than 255 in the IR_KEYTAB_TYPE ir_codes_asus_pc39[IR_KEYTAB_SIZE] do not get recognized by X11 nor the console.

- showkey shows the keycode but no scancode
- xev does not react at all on those keys
- neither does the console
- lineak, as far as I can see, just reacts on keycodes below 256 too, or in other word on what xev does react.

How to solve this? How do I get the keys such as KEY_DVD or KEY_ZOOM (>255) get to work with an (X) app?

The only solution I can see by now, as long as X11 and the kernel (right?) do not react on key above 255 is
- to find me some unused keys below 256,
- fill IR_KEYTAB_TYPE ir_codes_asus_pc39[IR_KEYTAB_SIZE] wiht the best fitting,
- and recompile the driver module saa7134 with the new key definitions.

This is probably NOT the way to go.

Any suggestions?

Gerd coded the v4l input layer support when 2.6.x was firstly released
and lirc did not even compile for a long time after that.

You might remember, that on my P7131 Dual replacement card the IR
receiver is broken and I don't like to molest others with your report,
until we have something more clear.

First, preload ir-common with debug=1.
Any unknown keys now? Should not ever happen.

The <= 256 X limitation is known, but input.h should still be valid for
a multimedia keyboard.

You can try with Gerd's input utils too.

http://dl.bytesex.org/cvs-snapshots

You should be able to dump the keymap of your keyboard and remote > to
files.

You then can modify the keymap of the remote with valid keys your
keyboard provides and load it on the fly with something like
./ir-kbd -f my-new-keymap-file.

Cheers,
Hermann





--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Home]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Plasma TVs]     [Video Projectors]     [PDAs]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Big List of Linux Books]     [Free Photo Albums]     [LCD TVs]     [Fedora Users]     [Webcams]     [Fedora Women]     [HDTV]     [ALSA Users]     [ALSA Devel]     [Stuff]     [SSH]     [DVB Maintainers]     [Linux USB]

Add to Google Powered by Linux