LifeView FlyDVB-T Duo

From LinuxTVWiki
Revision as of 21:01, 4 October 2008 by Stormx (talk | contribs)
Jump to navigation Jump to search

LifeView presents the FlyDVB-T Duo!


User experiences

  • The card runs fine with Fedora Core 6 and DVB-T. The analog receiving I did not try yet.
  • With kubuntu 7.10, it works fine too, even watching analog TV. Tested with German cable TV.
  • A problem I had, was to recognize, that I had to load '/sbin/modprobe saa7134_dvb' additional to '/sbin/modprobe saa7134', which was running fine. Afterwards the script http://www.fedoralinux.de/comment/reply/660/1605 helped a lot. Got the device major number with '/sbin/lsmod | grep saa'. Thanks!
  • Working under Ubuntu Hardy 8.04. My experiences are listed in the mini-howto.

Mini-howto

Basically, everything 'works' out of the box, but actually getting access to things can be trickier.

FM Radio

Tuners like gradio, gnomeradio and radio work fine. Because the card doesn't have an audio out, it acts as a sound card. If you use alsa, use something like this to get output:

arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -

or:

arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000 -w -t wav - -t alsa default

What this does is record from the 2nd sound card (hw:1,0), and pipe the output into aplay (or sox) which'll play it on the default sound card. Note you'll need to set up the input to record from. Do this in GNOME mixer or via alsamixer

Remote Control

This is actually pretty straight forward. The kernel sees the remote as an input device and assigns it a location in /dev/input. Interestingly it also recognises it as a keyboard, and you can use it to type numbers 0-9 and enter. It also recognises SOME buttons as keyboard media buttons, e.g. the play/pause buttons, volup/voldown, mute, etc. This is pretty nifty, and if it's what you need, just go into the GNOME Keyboard Shortcuts app and assign keyboard shortcuts.

If you need more control, you can use LIRC. If you're compiling, you'll need support for devinput (or devevent, whatever it's called...). Set it to the right event in the config file.

For the remote file (lircd.conf) I made my own (I couldn't find one in t'internet). Here it is:

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.3pre1(devinput) on Sat Oct  4 19:37:18 2008
#
# contributed by Barney Gale (Stormx) 
#
# brand: LifeView
# devices being controlled by this remote: FlyDVB-T Duo (PCI)
#

begin remote

  name  flydvb-t_duo
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9000  4500
  one           563  1687
  zero          563   562
  ptrail        563
  repeat       9000  4500
  pre_data_bits   16
  pre_data       0x8001
  gap          207854
  toggle_bit_mask 0x8001001C
  frequency    37916
  duty_cycle   33

      begin codes
          1                    0x0002
          2                    0x0003
          3                    0x0004
          4                    0x0005
          5                    0x0006
          6                    0x0007
          7                    0x0008
          8                    0x0009
          9                    0x000A
          0                    0x000B
          enter                0x001C
          mute                 0x0071
          voldown              0x0072
          volup                0x0073
          power                0x0074
          timeshiftpause       0x0077
          stop                 0x0080
          recall               0x0081
          rewind               0x009E
          forward              0x009F
          playpause            0x00A4
          recordpause          0x00A7
          sap                  0x0170
          empty                0x0173
          fullscreen           0x0174
          pip                  0x0175
          tvradio              0x0181
          source               0x0182
          chanup               0x0192
          chandown             0x0193
          end                  0x0197
          back                 0x019C
      end codes

end remote

Then follow one of the hundreds of guides for setting up lircrc!

Note that running irw seems to block the input, so if you want it to stop acting like a keyboard, just set "irw &" to run on startup!

More to come! :)

Misc

My dbus output:

External Links