tvtime audio work

I did more work on the tvtime audio today. It’s basically working, at least on the HVR-950q:

http://kernellabs.com/hg/~dheitmueller/tvtime/

To build:

hg clone http://kernellabs.com/hg/~dheitmueller/tvtime/
cd tvtime
autoreconf
./configure
make
src/tvtime

At this point, I am recommending running the “src/tvtime” binary directly as opposed to doing a “make install”. The “autoreconf” step is required because this is not a tarball, and hence there is no “./configure” like you would normally expect. It also means though that you need autoconf and automake installed.

The current code is being developed on Ubuntu 9.10, so if you try it on another distro and there are build problems, feel free to let me know (and better yet, submit patches).

The option isn’t exposed in the GUI yet, so you have to run:

cd src
./tvtime-configure --alsainputdev=hw:1,0
./tvtime-configure --alsaoutputdev=hw:0,0

And if you’re using an em28xx based device, don’t even try to use this code – it exposes a bug in the em28xx-alsa driver which instantly hoses the kernel.

Anyway, I’m hoping to do some testing of the code with more devices this week. Just wanted to provide a status update so people don’t think there is nothing going on with this stuff.

As always, feedback (either good or bad) is always welcome in the comments section below. Comments definitely welcome in particular if you’re willing to try it out with other tuners.

9 thoughts on “tvtime audio work

  1. Hi Devin,

    I bought an em28xx based usb device yesterday but am having issue setting it up, I wrote a small description about my issues at http://forums.debian.net/viewtopic.php?t=48224. I am not sure if the issue is with the drivers, tvtime or what it is. The only message from tvtime is “No video source. No signal. Cannot open capture device /dev/video0”. Any input here or at forums.debian.net is welcome. Thanks in advance 😉

    • Hello Shabby,

      Yeah, I was working with a user last week of a similar board (em2861/tvp5150). That board variant is currently unsupported, and since I don’t have one I can’t easily debug the issue.

      Keep an eye on the blog, since I might be able to resolve the issue the other user is having remotely. Otherwise, I don’t think this board is going to be working anytime soon (unless I can manage to get one myself).

      Devin

  2. I cannot compile in Ubuntu 10.10. During autoreconf I get:

    autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
    libtoolize: putting auxiliary files in `.’.
    libtoolize: copying file `./ltmain.sh’
    libtoolize: putting macros in `m4′.
    libtoolize: copying file `m4/libtool.m4′
    libtoolize: copying file `m4/ltoptions.m4′
    libtoolize: copying file `m4/ltsugar.m4′
    libtoolize: copying file `m4/ltversion.m4′
    libtoolize: copying file `m4/lt~obsolete.m4′
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    configure.ac:8: required file `./config.guess’ not found
    configure.ac:8: `automake –add-missing’ can install `config.guess’
    configure.ac:8: required file `./config.sub’ not found
    configure.ac:8: `automake –add-missing’ can install `config.sub’
    configure.ac:5: required file `./install-sh’ not found
    configure.ac:5: `automake –add-missing’ can install `install-sh’
    configure.ac:5: required file `./missing’ not found
    configure.ac:5: `automake –add-missing’ can install `missing’
    data/Makefile.am:26: `%’-style pattern rules are a GNU make extension
    src/Makefile.am:32: compiling `mixer.c’ with per-target flags requires `AM_PROG_CC_C_O’ in `configure.ac’
    src/Makefile.am: required file `./depcomp’ not found
    src/Makefile.am: `automake –add-missing’ can install `depcomp’
    autoreconf: automake failed with exit status: 1

    Any ideas?

Leave a Reply