ITE Technologies, Inc. DVB-T TV Stick, part 2 - remote

Milan Obuch freebsd-multimedia at
Sun Sep 22 15:59:41 UTC 2013

On Thu, 19 Sep 2013 20:53:48 +0200
Juergen Lock <nox at> wrote:

> On Thu, Sep 19, 2013 at 09:53:37AM +0200, Milan Obuch wrote:

[ snip ]

> > There was DBG one line asking for some attention:
> > DBG: : dvb_usbv2_remote_init:
> > 
> > I found function mentioned (dvb_usbv2_remote_init) and with some
> > added debug print I know where remote init fails.
> > 
> > At line 147 in dvb_usb_core.c file there is a comment saying
> > 'disable rc when there is no keymap defined'. So it looks like
> > that's what I am missing - debug print after this point is not
> > reached.
> > 
> Ok that sounds plausible, the keytable is missing.
> > >  Can you test the remote on a (recent, possible live?) Linux, see
> > > if you get a /dev/input/event node for it there?  Maybe the driver
> > > simply doesn't know about the remote yet...
> > > 
> > 
> > Well, I would need a pointer to some image I could download and
> > burn a CD with or put it to a USB flash to test... My system level
> > linux knowledge is zero, so I need precise howto for this.
> > 
>  I just looked which live isos I have here and this one seems to
> use a 3.10 Linux kernel which should be new enough to have the
> it913x driver:
>  sha256:
>  Help pages:
>  I think it's a hybrid iso so should work dd'd to an usb key too.
> If you boot it and open a terminal and the remote works, pressing
> digits on the remote should end up putting the digits in the
> terminal window like if entered from the keyboard.  (Yes this is
> different from how webcamd on FreeBSD handles remotes.)

I dd'ed this image to USB flash and booted it on amd64 system. When I
plug DVB stick, /dev/input/event8 is created along with /dev/input/ir
symlink pointing to it. However, pressing keys on remote does not
produce keystrokes... and it does work this way on windows as soon as
the driver is installed. So this means either it does not work
currently or I did something wrong.

>  You could also check lsmod when booted from the iso to see which
> modules got loaded, I think it913x.c would be dvb-usb-it913x.

Yes, that's right. This module is listed in lsmod output once DVB stig
is plugged in.

> > Anyway, given the finding written above I feel the question now
> > should be 'how will I define keymap for remote' assuming rc in
> > mentioned comment means 'remote control'...
> > 
>  Yeah I'm not sure what's exactly missing there as I see
> RC_MAP_IT913X_V* entries for all the devices in
> drivers/media/usb/dvb-usb-v2/it913x.c...

Someone else has any idea what to test here? Or how to define required
and missing keymap?


More information about the freebsd-multimedia mailing list