Difference between revisions of "Twinhan USB HID Remote"

From MythTV Official Wiki
Jump to: navigation, search
m
(howto use the bundled remote control with LIRC)
Line 7: Line 7:
  
 
Sources for the card:
 
Sources for the card:
* [http://www.msy.com.au MSY] for AU$85
+
* [http://www.msy.com.au MSY] for AU$75
  
 
== Kernel Driver ==
 
== Kernel Driver ==
Line 17: Line 17:
 
   bttv0: using tuner=4
 
   bttv0: using tuner=4
 
   bttv0: add subdevice "dvb0"
 
   bttv0: add subdevice "dvb0"
 +
 +
== 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
 +
    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: [[http://www.gossamer-threads.com/lists/mythtv/users/195416 Re: TwinHan IR remote and receiver problem - SOLVED]]
  
 
[[Category:Hardware]]
 
[[Category:Hardware]]

Revision as of 04:31, 7 April 2006

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"

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
   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]