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

Juergen Lock nox at jelal.kn-bremen.de
Sun Sep 8 19:46:48 UTC 2013


In article <20130830144218.0003446a at zeta.dino.sk> you write:
>On Fri, 30 Aug 2013 08:52:17 +0200
>Hans Petter Selasky <hps at bitfrost.no> wrote:
>
>> On 08/29/13 21:42, Milan Obuch wrote:
>> > Hi,
>> >
>> > as now I can watch TV with my LV52T stick, I would like to find how
>> > to use remote controller. I think this part of stick presents
>> > itself as USB HID device, /dev/uhid0 gets created on attachment.
>> >
>> > As a blind shot I tried
>> >
>> 
>> Hi,
>> 
>> Usually webcamd will grab the remote part too. Have a look at lircd.

See if you get a /dev/input/eventX device node, if yes you can test
the remote with:

	ir-keytable -d /dev/input/event0 -t

(or whatever one you get; ir-keytable belongs to multimedia/v4l-utils.)
If it works you can setup lirc, see it's pkg-message.

>> Not sure if it supports /dev/uhidX . You could also try uhidd.
>> 
 I think I played once with an uhid remote and couldn't get repeat
to work at least with lirc...  (I then patched the vdr remote plugin
for this as vdr handles repeat differently.)

>> dd if=/dev/uhidX bs=1
>> 
>> --HPS
>> 
>
>I tried dd but nothing happened. Still
>
>0+0 records in
>0+0 records out
>0 bytes transferred
>
>when I press ^T, no matter how many times I press buttons on remote.
>
 Well then the driver probably didn't setup the uhid part and expects
you to use /dev/input instead...  At least I see af9035_rc_query as
well as it913x_rc_query in

	work/webcamd-3.11.0.2/media_tree/drivers/media/usb/dvb-usb-v2/af9035.c

and

	work/webcamd-3.11.0.2/media_tree/drivers/media/usb/dvb-usb-v2/it913x.c

respectively (not quite sure which one your tuner uses, you could
build webcamd with the DEBUG knob enabled and look at the log when
starting it manually to find out, and while you're at it also look
for logs containing "ir_mode=" and "ir_type=" if its af9035.)

>I think there is something missing or I do not understand it
>completely, or both :)
>
 ..or the Linux code doesn't support your tuner's remote or (kinda
less likely) there's still code missing in webcamd.

>Regards,
>Milan

 HTH, and sorry for the late reply...
	Juergen


More information about the freebsd-multimedia mailing list