* How to access DVB-onboard RC? (Technisat)
@ 2014-12-30 12:59 JPT
2015-01-01 13:20 ` Jannis
0 siblings, 1 reply; 2+ messages in thread
From: JPT @ 2014-12-30 12:59 UTC (permalink / raw)
To: linux-media
Hi,
I currently try to make my Technisat IR-RC work.
But nothing happens when I press a key.
What's wrong?
I checked the RC using a photo camera: at least it emits IR.
triggerhappy config:
DAEMON_OPTS="--triggers /etc/triggerhappy/triggers.d/ /dev/input/event0
/dev/input/event1"
KEY_1 1 logger thd recieved KEY_1 from Technisat RC
KEY_2 1 logger thd recieved KEY_2 from Technisat RC
KEY_3 1 logger thd recieved KEY_3 from Technisat RC
...
(keys from rc-technisat-usb2.c see syslog below)
Triggerhappy works fine with events from event0
but not from event1
$ inputeventdaemon -l
/dev/input/event0:
name : gpio-keys
phys : gpio-keys/input0
features : syn keys
/dev/input/event1:
name : IR-receiver inside an USB DVB receiver
phys : usb-0000:01:00.0-1/ir0
features : syn keys reserved repeat
/dev/input/event2:
name : MCE IR Keyboard/Mouse (technisat-usb2)
phys : /input0
features : syn keys relative reserved repeat
$ lsusb -t
...
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=dvb_usb_technisat_usb2,
480M
syslog:
dvb-usb: found a 'Technisat SkyStar USB HD (DVB-S/S2)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (Technisat SkyStar USB HD (DVB-S/S2))
dvb-usb: MAC address: xxxxx
stv6110x_attach: Attaching STV6110x
technisat-usb2: i2c-error: 60 = 7
usb 1-1: DVB: registering adapter 0 frontend 0 (Technisat SkyStar USB HD
(DVB-S/S2))...
Registered IR keymap rc-technisat-usb2
input: IR-receiver inside an USB DVB receiver as
/devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb1/1-1/rc/rc0/input1
evbug: Connected device: input1 (IR-receiver inside an USB DVB receiver
at usb-0000:01:00.0-1/ir0)
rc0: IR-receiver inside an USB DVB receiver as
/devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb1/1-1/rc/rc0
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
dvb-usb: schedule remote query interval to 100 msecs.
do I need those protocol handlers?
do I need lirc?
thanks,
Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to access DVB-onboard RC? (Technisat)
2014-12-30 12:59 How to access DVB-onboard RC? (Technisat) JPT
@ 2015-01-01 13:20 ` Jannis
0 siblings, 0 replies; 2+ messages in thread
From: Jannis @ 2015-01-01 13:20 UTC (permalink / raw)
To: linux-media
Am 30.12.2014 um 13:59 schrieb JPT:
> I currently try to make my Technisat IR-RC work.
> But nothing happens when I press a key.
> What's wrong?
It depends on what you expect to happen when you press a key on the
remote control. The kernel's and driver's job is primarily to deliver
the events to the userspace where they can be handled by a tool or a daemon.
> triggerhappy config:
Never heared of a software with such a name.
> Registered IR keymap rc-technisat-usb2
> input: IR-receiver inside an USB DVB receiver as
> /devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb1/1-1/rc/rc0/input1
> evbug: Connected device: input1 (IR-receiver inside an USB DVB receiver
> at usb-0000:01:00.0-1/ir0)
> rc0: IR-receiver inside an USB DVB receiver as
> /devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb1/1-1/rc/rc0
As you can see, the input event devices are created and you should find
the device nodes somewhere at /dev/input/... You can try to use cat on
them and see if something happens when you press a button on the remote
control.
> do I need lirc?
Again, depends on what you want to happen on a key-press.
Jannis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-01 13:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 12:59 How to access DVB-onboard RC? (Technisat) JPT
2015-01-01 13:20 ` Jannis
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.