Twinhan USB HID Remote

From MythTV Official Wiki
Revision as of 14:47, 25 May 2006 by Gregturn (talk | contribs)

Jump to: navigation, search

This is a cheap terrestrial (free to air) DVB card. It is very similar to the Twinhan VisionPlus DVB card.

Australia

This card is sold in Australia and works with the "Free To Air" Digital TV services.

The channel frequencies for all regions in Australia are listed on the Digital Broadcast Australia website.

Sources for the card:

Kernel Driver

This card is supported in the stock Linux kernel 2.6.8+ by the bttv driver. the 'dmesg' command shows the following:

 bttv0: Bt878 (rev 17) at 0000:01:04.0, irq: 209, latency: 32, mmio: 0xe6afe000
 bttv0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID is 1822:0001
 bttv0: using: Twinhan DST + clones [card=113,insmod option]
 bttv0: gpio: en=00000000, out=00000000 in=00f762ff [init]
 bttv0: using tuner=4
 bttv0: add subdevice "dvb0"

Twinhan Mini Ter on Ubuntu Breezy and modules required

Remote Control

The bundled remote control has a USB reciever that acts as a HID keyboard device and send keycodes. This has been a problem for some people because there was no easy way to change the keycodes that it sends. Apparently is it possible to use LIRC to intercept the incoming keycodes and handle them as any other lirc device. Here is an extract from the MythTV Users mailing list:

 To get this (or any) USB IR HID device to work with mythtv:
   1) Compiled lirc with devinput as the driver (under Other)
   2) Faffed about trying cat /dev/input/eventX until I found one that was
      the remote (or just "cat /proc/bus/input/devices" to determine it)
   3) Used irremote --device /dev/input/eventX to configure lircd.conf for
      the keypresses on the remote. It's quite (almost) able to figure it out
      itself.
 This also required some hand editing as some of the buttons were
 multiple key presses (eg, Ctrl+Alt+F6 for power) and not all the keys
 were unique in the file. I just dumped some output from irremote to a
 file and picked out unique ones for each key.

Link to the full email: [Re: TwinHan IR remote and receiver problem - SOLVED]