mythtv Hauppauge HVR-1600 Problem with capture cards

Bug #524822 reported by jerkface
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mythtv

1) 10.04 Alpha

2) mythtv-backend:
  Installed: 0.23.0~trunk23567-0ubuntu3

3) cx18 module is loading without errors, and I can record video by $cat /dev/video0 > test.mpg, so mythtv should not be reporting any errors when it starts, or when a frontend tries to start watching live tv, and it should record scheduled recordings on the cards 2 available inputs.

4) mythtv system status log entries are filling up with:

Problem with capture card
Card 1failed init

Trying to watch live tv gives this error message:

Error: MythTV is using all inputs, but there are no active recordings?

Also, the backend is not recording any scheduled recordings.

5) Additional information: I rebuilt the module and reinstalled the firmware for it following the instructions here:

http://www.mythtv.org/wiki/Hauppauge_HVR-1600

but mythtv still is reporting the same errors.

Related branches

description: updated
Revision history for this message
Thomas Templin (coastgnu) wrote :

Same behaviour here with an Haupauge PVR-150 (ivtv)

Error message is the same as above "Fehler: Alle Eingänge sind belegt, aber es gibt keine laufenden Aufnahmen?"

Also, the backend is not recording any scheduled recordings.

Adding a new schedule has no effect.

Viewing old recordings works.

Revision history for this message
Mario Limonciello (superm1) wrote :

I've committed an additional patch to mythtv_0.23.0~trunk23567-0ubuntu4. Once that lands on the archive, can one of you please comment here whether it is working properly after restarting the backend?

Thanks,

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 0.23.0~trunk23567-0ubuntu4

---------------
mythtv (0.23.0~trunk23567-0ubuntu4) lucid; urgency=low

  [ Mario Limonciello ]
  * debian/control:
    - Build-depends on libxrandr-dev for xrandr support.
    - Restore Build-depends on libfftw3-dev (not really a top secret option)
  * debian/source_mythtv.py:
    - Don't use bool, apport doesn't like them.
  * debian/patches/36_setgroups_too:
    - Run setgroups() before setgid/setuid (LP: #524822)

  [ Andres Mejia ]
  * Refresh all patches. Use '-p ab' format with no index or timestamps.
  * Add comment for each patch.
  * Update debian/control file for minor cosmetic changes.
  * Don't depend on transcode for mythtv-transcode-utils since it's not needed.
  * Don't Build-Depends-Conflicts on libmyth-dev.
 -- Mario Limonciello <email address hidden> Sun, 21 Feb 2010 12:13:59 -0600

Changed in mythtv (Ubuntu):
status: New → Fix Released
Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

Installed 0.23.0~trunk23567-0ubuntu4 this afternoon. Still seeing the same thing.

Changed in mythtv (Ubuntu):
status: Fix Released → New
Revision history for this message
Mario Limonciello (superm1) wrote :

I just upgraded a system from hardy->lucid and tested a PVR500 without any problems w/ that new mythtv build personally.

@jerkface:

So, I am suspecting there is something else broken here with your config other than the not properly setting groups for mythbackend.
Can you please show the output of the following:
# groups mythtv
# ps aux | grep ^mythtv
# cat /etc/default/mythtv-backend
# cat /etc/init/mythtv-backend.conf

Also please attach your backend log.

@Thomas Templin:

Can you please verify with the new build that things are fine for you too?

Changed in mythtv (Ubuntu):
status: New → Incomplete
Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

Sorry, can't post the logs. Wiped the system and reinstalled. Now mythtv-backend wont install due to missing dependencies.

# aptitude install mythtv-backend
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
  libmythtv-perl mythtv-backend mythtv-common mythtv-transcode-utils
The following NEW packages will be installed:
  libaudio2{a} libdbd-mysql-perl{a} libdbi-perl{a} libmysqlclient16{a}
  libnet-daemon-perl{a} libplrpc-perl{a} libqt4-dbus{a} libqt4-designer{a}
  libqt4-network{a} libqt4-qt3support{a} libqt4-script{a} libqt4-sql{a}
  libqt4-sql-mysql{a} libqt4-xml{a} libqtcore4{a} libqtgui4{a}
  mysql-client{a} mysql-client-5.1{a} mysql-common{a} ntp{a} pwgen{a}
  ttf-liberation{a}
0 packages upgraded, 26 newly installed, 0 to remove and 18 not upgraded.
Need to get 39.3MB of archives. After unpacking 90.2MB will be used.
The following packages have unmet dependencies:
  mythtv-common: Depends: ttf-droid which is a virtual package.
  mythtv-transcode-utils: Depends: libmyth-0.23-0 (>= 0.23.0~trunk23567) which is a virtual package.
  libmythtv-perl: Depends: libnet-upnp-perl which is a virtual package.
  mythtv-backend: Depends: libmyth-0.23-0 (>= 0.23.0~trunk23567) which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
libmythtv-perl [Not Installed]
mythtv-backend [Not Installed]
mythtv-common [Not Installed]
mythtv-transcode-utils [Not Installed]

Score is -9854

Accept this solution? [Y/n/q/?]

Revision history for this message
Mario Limonciello (superm1) wrote :

Make sure you have both universe and multiverse enabled. I also recommend you avoid using aptitude because it has a tendency to install more dependencies than are necessary.

Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

Yeah, both universe and multiverse were enabled.

Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

Scratch that, I chose a different repository and now it is installing. Will update tonight or tomorrow whether the tuners are working now or not.

Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

It's a group issue. /dev/dvb was owned by root:video. I changed the group to mythtv and am able to use the digital tuner. I wasn't able to open the analog tuner to add it.

# groups mythtv
mythtv : mythtv dialout cdrom audio video

# ps aux | grep ^mythtv
mythtv 2402 1.2 4.4 281592 22224 ? Sl 23:29 0:02 /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv

*No /etc/default/mythtv-backend

# cat /etc/init/mythtv-backend.conf
# MythTV Backend service

description "MythTV Backend"
author "Mario Limonciello <email address hidden>"

start on (local-filesystems and net-device-up IFACE=lo)
stop on starting shutdown

#expect fork
respawn

script
        USER=mythtv
        ARGS="--logfile /var/log/mythtv/mythbackend.log --user $USER"
        test -f /etc/default/mythtv-backend && . /etc/default/mythtv-backend || true
        /usr/bin/mythbackend $ARGS
end script

Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :
Revision history for this message
jerkface (jerk-deactivatedaccount) wrote :

Ok, so after chgrp'ing /dev/video* from video to mythtv, I could add the analog tuner, but in the mythtv-setup screen under the ivtv section, it said 'failed to open' until I manually typed in /dev/video0. Then the screen updated to show it was using the cx18 driver and Tuner1. Not sure why it didn't work with /dev/dvb/* and /dev/video* in the video group, since mythtv was a member of the video group, but my system works again, so I am happy.

Revision history for this message
Mario Limonciello (superm1) wrote :

OK: I've reproduced this and have updated the patch to what I believe will fix it. It will be present in the next upload to the archive.

Changed in mythtv (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 0.23.0~trunk23623-0ubuntu1

---------------
mythtv (0.23.0~trunk23623-0ubuntu1) lucid; urgency=low

  [ Dave Walker ]
  * debian/control: Added quilt as a build-depends, primarily
    for karmic builds.

  [ Mario Limonciello ]
  * New checkout (r23623).
    - Fixes audio issues w/ ac3 audio.
  * debian/patches/36_setgroups_too:
    - Set the right args for setgroups. (LP: #524822)
  * debian/rules:
    - Explicitly set all shell scripts executable. Fixes problems on < lucid
      builds.
  * debian/control:
    - Correct the replaces statements. (LP: #527288)
 -- Mario Limonciello <email address hidden> Sat, 27 Feb 2010 14:33:45 -0600

Changed in mythtv (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.