ir-keytable fails to load keymap if second line is a comment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
v4l-utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following keymap fails to load:
# table kworld_pc160-2t, type: NEC
#0x866b0x kworld log button - not sure what this does
#0x866b16 button between kworld button and power button
0x866b1d KEY_POWER
frankster@
Invalid parameter on line 1 of kworld_pc160-2t
Invalid parameter(s)
ir-keytable: -w: (PROGRAM ERROR) Option should have been recognized!?
In order to make the keymap work I had to make sure that the first line after the header was not a comment:
# table kworld_pc160-2t, type: NEC
0x866b1d KEY_POWER
#0x866b0x kworld log button - not sure what this does
#0x866b16 button between kworld button and power button
I would expect the programme to be able to handle arbitrary comment line positioning.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ir-keytable 0.8.5-3ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Feb 19 22:43:10 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: v4l-utils
UpgradeStatus: Upgraded to oneiric on 2011-11-06 (105 days ago)
Hello,
the commit message in http:// git.linuxtv. org/v4l- utils.git/ commitdiff/ a3b4e693fe28b3a c6aa1ec892661a6 1779a76ffe seems to describe your problems.
Please try the latest version (0.8.6) of ir-keytable from the libv4l PPA:
https:/ /code.launchpad .net/~libv4l/ +recipe/ v4l-utils- stable- 0.8
apt-add-repository ppa:libv4l/stable
apt-get update
apt-get upgrade
Does this fix your problems?
Thanks,
Gregor