From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Stefan Kriwanek <mail@stefankriwanek.de>
Cc: linux-media@vger.kernel.org, Douglas Landgraf <dougsland@gmail.com>
Subject: Re: support for IR remote TerraTec Cinergy T USB XXS
Date: Fri, 31 Dec 2010 09:18:58 -0200 [thread overview]
Message-ID: <4D1DBC22.1030404@redhat.com> (raw)
In-Reply-To: <4D1B4A7E.20503@stefankriwanek.de>
Em 29-12-2010 12:49, Stefan Kriwanek escreveu:
> Dear linux-media developers,
>
> I think I found a bug in the support of the TerraTec Cinergy T USB XXS
> remote control, or maybe just a new hardware revision appeared.
>
> When I recently bought such a USB-stick I found the remote not working,
> instead 'dib0700: Unknown remote controller key' lines appearing in
> syslog on each keypress. The dvb_usb_dib0700 kernel module got
> autoloaded by my Ubuntu 10.10. I am using current hg revision of v4l-dvb
> and load the kernel module using the 'dvb_usb_dib0700_ir_proto=0'
> option. Simply adding the keycodes to the driver file
> (linux/drivers/media/dvb/dvb-usb/dib0700_devices.c,
> patch appended) made things work.
Don't use a legacy, obsoleted, discontinued tree when writing patches. The
mercurial tree is obsolete, and it is there just to preserve the tree history.
Instead, you should use the git tree. The media_build tree[1] provides a
feature similar to the old hg tree.
[1] http://git.linuxtv.org/media_build.git
The IR code has changed _a_lot_ since the last update in -hg. Basically, the
entire support were rewritten, and now the protocol is (or should) be
auto-detected.
Douglas,
It would be a good idea to write a patch for the legacy mercurial tree warning
people about that.
>
> However, by incident I found those very keycodes are already defined in
> the linux/drivers/media/IR/keymaps/rc-nec-terratec-cinergy-xs.c file, so
> maybe the issue is just about loading it?
>
> 'lsusb' lists my device as
> Bus 001 Device 006: ID 0ccd:00ab TerraTec Electronic GmbH
> despite I do not own the 'HD' version of the device, your wiki
> http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_T_USB_XXS
> says that ID corresponds to. The output of 'lsusb -v' is appended to
> this mail.
>
> 'cat /proc/bus/input/devices' lists the input device as
> I: Bus=0003 Vendor=0ccd Product=00ab Version=0100
> N: Name="IR-receiver inside an USB DVB receiver"
> P: Phys=usb-0000:00:12.2-2/ir0
> S: Sysfs=/devices/pci0000:00/0000:00:12.2/usb1/1-2/input/input13
> U: Uniq=
> H: Handlers=kbd event8
> B: EV=3
> B: KEY=14afc336 2b4285f00000000 0 480158000 219040000801 9e96c000000000
> 90024010004ffc
>
> I hope you could add support for my stick; I'd be happy to provide
> further information if necessary.
>
> Best regards
> Stefan
prev parent reply other threads:[~2010-12-31 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-29 14:49 support for IR remote TerraTec Cinergy T USB XXS Stefan Kriwanek
2010-12-31 11:18 ` Mauro Carvalho Chehab [this message]
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=4D1DBC22.1030404@redhat.com \
--to=mchehab@redhat.com \
--cc=dougsland@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mail@stefankriwanek.de \
/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.