From: Heiko Baums <lists@baums-on-web.de>
To: linux-media@vger.kernel.org
Subject: Terratec Cinergy 1400 DVB-T RC not working anymore
Date: Wed, 27 Apr 2011 16:06:31 +0200 [thread overview]
Message-ID: <20110427160631.1ab89fdb@darkstar> (raw)
I've got a problem since a few days after a system update. I don't know
what was updated exactly, if it was the kernel, udev or lirc. I'm using
Arch Linux with kernel 2.6.38.4.
I've got a Terratec Cinergy 1400 DVB-T (a cx88 card). Its IR remote
control has worked perfectly with lirc for many years.
Suddenly it stopped working.
This is my /etc/conf.d/lircd:
#
# Parameters for lirc daemon
#
LIRC_DEVICE=phys='pci*/ir0'
LIRC_DRIVER='dev/input'
LIRC_EXTRAOPTS=''
LIRC_CONFIGFILE='/etc/lirc/lircd.conf'
This is the according section of /proc/bus/input/devices:
I: Bus=0001 Vendor=153b Product=1166 Version=0001
N: Name="cx88 IR (TerraTec Cinergy 1400 "
P: Phys=pci-0000:03:06.2/ir0
S: Sysfs=/devices/pci0000:00/0000:00:14.4/0000:03:06.2/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=108fc210 204300000000 0 8000 208000000001 9e168000000000 ffc
B: MSC=10
So the device is detected.
irrecord -H dev/input -d phys='pci*/ir0' /tmp/remote finds the correct
device but gives only this output:
Hold down an arbitrary button.
irrecord: gap not found, can't continue
irrecord: closing '/dev/input/event3'
And irw while lircd is running doesn't do anything.
# cat /sys/class/rc/rc0/protocols
rc-5 nec rc-6 jvc sony lirc
I, of course, activated every protocol one after another and all at
once, but none of them is working except for lirc, but lirc doesn't
work as expected, too.
So I activated lirc for my attempts to get this working again:
# echo lirc > /sys/class/rc/rc0/protocols
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
Driver cx88xx, table rc-cinergy-1400
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC
Enabled protocols:
Repeat delay = 500 ms, repeat period = 33 ms
Sometime I set ir-keytable to rc-cinergy-1400. I don't know which
ir-keytable was set before, but none of them worked.
There are some attempts to creating a new lircd.conf with irrecord:
# irrecord -H dev/input -d phys='pci*/ir0' /tmp/remote
Hold down an arbitrary button.
irrecord: gap not found, can't continue
irrecord: closing '/dev/input/event4'
# irrecord -H cx88xx -d /dev/lirc0 /tmp/remote
Driver `cx88xx' not supported.
# irrecord -d /dev/lirc0 /tmp/remote
This let me enter the keys and indeed creates a /tmp/remote but with a
very strange content. Copying this file to /etc/lirc/lircd.conf and
running lircd with this config, irw still doesn't do anything and my
keyboard doesn't work anymore, too, so that I need to hard reset my
computer.
This is the first part of my usual /etc/lirc/lircd.conf:
begin remote
name Terratec_Cinergy_1400_DVB-T
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 135787
toggle_bit 0
begin codes
power 0x0074
1 0x0002
2 0x0003
3 0x0004
This is the first part of the /tmp/remote created by irrecord
-d /dev/lirc0 /tmp/remote:
begin remote
name /tmp/remote
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 123512
begin raw_codes
name KEY_POWER
9250 4500 500 500 750 500
500 1750 500 500 750 500
500 500 750 500 500 500
750 1500 750 1500 750 500
500 1750 750 250 750 1500
750 1500 750 1500 750 1500
750 500 750 250 750 500
750 500 500 500 750 500
500 500 750 250 750 1750
500 1750 500 1750 500 1750
500 1750 500 1750 500 1750
500
name KEY_1
9000 4500 500 500 750 500
750 1500 750 500 500 500
750 500 500 500 750 500
500 1750 500 1750 500 500
750 1500 750 500 500 1750
500 1750 500 1750 500 500
750 1500 750 500 500 500
750 500 500 500 750 500
500 500 750 1500 750 500
500 1750 500 1750 500 1750
750 1500 750 1500 750 1500
750
name KEY_2
9000 4500 750 250 750 500
750 1500 750 500 500 500
750 250 750 500 750 500
500 1750 500 1750 500 500
750 1500 750 500 500 1750
500 1750 500 1750 500 1750
500 1750 500 500 750 500
500 500 750 500 500 500
750 500 500 500 750 500
500 1750 500 1750 500 1750
750 1500 750 1500 500 1750
750
name KEY_3
9250 4250 750 500 750 500
500 1750 500 500 750 500
500 500 750 500 500 500
750 1500 750 1500 750 500
500 1750 500 500 750 1500
750 1500 750 1500 750 500
500 500 750 1500 750 500
500 500 750 500 500 500
750 500 500 1750 750 1500
750 250 750 1500 750 1500
750 1500 750 1500 750 1750
500
And in /proc/bus/input/devices there's this line:
H: Handlers=kbd event3
I don't know if this is the reason, but is it possible that my remote
control is treated as a keyboard while it should be treated as event3?
Does anybody know what's going wrong and how this issue could be fixed?
Or is it a bug maybe in the cx88 or lirc related kernel modules?
I tried everything I found by searching various forums, wikis and the
web, but nothing helped. I also asked on the lirc mailing list, but as
a result was asked to ask here again.
And I don't seem to be the only one who has this issue with a cx88
device.
See also:
https://bugs.archlinux.org/task/23894
Heiko
next reply other threads:[~2011-04-27 14:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 14:06 Heiko Baums [this message]
[not found] <20110423005412.12978e29@darkstar>
[not found] ` <20110424163530.2bc1b365@darkstar>
[not found] ` <BCCEA9F4-16D7-4E63-B32C-15217AA094F3@wilsonet.com>
[not found] ` <20110425201835.0fbb84ee@darkstar>
[not found] ` <A4226E90-09BE-45FE-AEEF-0EA7E9414B4B@wilsonet.com>
[not found] ` <20110425230658.22551665@darkstar>
[not found] ` <59898A0D-573E-46E9-A3B7-9054B24E69DF@wilsonet.com>
[not found] ` <20110427151621.5ac73e12@darkstar>
2011-04-27 18:28 ` Terratec Cinergy 1400 DVB-T RC not working anymore Jarod Wilson
2011-04-27 18:47 ` Heiko Baums
2011-04-27 19:19 ` Jarod Wilson
2011-04-27 19:23 ` Jarod Wilson
2011-04-27 20:28 ` Heiko Baums
2011-04-27 20:38 ` Heiko Baums
2011-05-03 15:40 ` Jarod Wilson
2011-05-03 15:47 ` Devin Heitmueller
2011-05-03 17:16 ` Jarod Wilson
2011-05-03 20:21 ` Heiko Baums
2011-05-03 20:34 ` Devin Heitmueller
2011-05-03 20:46 ` Jarod Wilson
2011-05-03 21:36 ` Heiko Baums
2011-05-03 21:52 ` Devin Heitmueller
2011-05-04 4:27 ` Jarod Wilson
2011-05-25 20:41 ` Jarod Wilson
2011-06-22 7:29 ` Heiko Baums
2011-05-03 20:16 ` Heiko Baums
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=20110427160631.1ab89fdb@darkstar \
--to=lists@baums-on-web.de \
--cc=linux-media@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox