Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2013 17:59:32 +0200
From:      Milan Obuch <freebsd-multimedia@dino.sk>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: ITE Technologies, Inc. DVB-T TV Stick, part 2 - remote
Message-ID:  <20130922175932.35562b55@zeta.dino.sk>
In-Reply-To: <20130919185348.GA82263@triton8.kn-bremen.de>
References:  <20130829214227.3a6b88ab@zeta.dino.sk> <52204121.90301@bitfrost.no> <201309081945.r88Jj9JW076848@triton8.kn-bremen.de> <20130909090439.6fe4869c@zeta.dino.sk> <20130909195447.GA38609@triton8.kn-bremen.de> <20130919095337.6124b56f@wind.dino.sk> <20130919185348.GA82263@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Sep 2013 20:53:48 +0200
Juergen Lock <nox@jelal.kn-bremen.de> 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:
> 
> 	http://test.siduction.org/iso/siduction/paintitblack/rqt/amd64_2013-09-09_23-23/siduction-13.1.1-paintitblack-rqt-amd64-201309092323.iso
> 
>  sha256:
> 
> 	http://test.siduction.org/iso/siduction/paintitblack/rqt/amd64_2013-09-09_23-23/siduction-13.1.1-paintitblack-rqt-amd64-201309092323.iso.sha256
> 
>  Help pages:
> 
> 	http://manual.siduction.org/en/welcome-en.htm
> 
>  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?

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130922175932.35562b55>