SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-16-2010, 02:52 PM
jtimmes jtimmes is offline
Sage User
 
Join Date: Apr 2009
Location: Denver, CO
Posts: 21
Added 2nd tuner (Hauppauge HVR-1600), no audio on analog, no digital tuner

I've been running Sage for a while with a single old tuner (Hauppauge PVR-150). Just tried to add a second tuner, a Hauppauge HVR-1600, and was hoping to use both the analog and digital tuners on that card. Analog tuner video is fine, but I get no audio (including when cat /dev/video1, so it's not purely a sage problem). And the digital tuner doesn't appear to work at all.

Quick note on config:
Ubuntu 8.10, kernel 2.6.27-16-generic
Sage 6.6.2.1

I suspect this is a driver problem, but I don't know much about how to upgrade/replace drivers. Would just upgrading to ubuntu 9.4 or 9.10 likely resolve the issue? If not, anyone have suggestions on a good detailed tutorial on how to upgrade my drivers? I've seen a couple threads talking about downloading and running make on mercurial, but I'm pretty out of my element on those details, and if I have to build my own drivers, I want to make sure I don't make the situation worse.

Here's a snippet of lspci:
02:01.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
02:02.0 Multimedia video controller: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder

And here's the relevant section from dmesg (PVR-150 first, then the 1600):
[ 18.156191] Linux video capture interface: v2.00
[ 18.268265] ivtv: Start initialization, version 1.4.0
[ 18.268402] ivtv0: Initializing card #0
[ 18.268408] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 18.269384] ivtv 0000:02:01.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 18.336683] cx18: Start initialization, version 1.0.0
[ 18.666214] tveeprom 1-0050: Hauppauge model 26032, rev C199, serial# 8233007
[ 18.666222] tveeprom 1-0050: tuner model is TCL 2002N 5H (idx 99, type 50)
[ 18.666229] tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
[ 18.666234] tveeprom 1-0050: audio processor is CX25841 (idx 35)
[ 18.666239] tveeprom 1-0050: decoder processor is CX25841 (idx 28)
[ 18.666245] tveeprom 1-0050: has no radio, has IR receiver, has IR transmitter
[ 18.666251] ivtv0: Autodetected Hauppauge WinTV PVR-150
[ 18.666255] ivtv0: Reopen i2c bus for IR-blaster support
[ 19.113432] cx25840 1-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
[ 19.212128] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 19.215433] wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 19.577242] tuner-simple 1-0061: creating new instance
[ 19.577250] tuner-simple 1-0061: type set to 50 (TCL 2002N)
[ 19.579891] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[ 19.579954] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 19.580041] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 19.580105] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 19.580111] ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
[ 19.580180] cx18-0: Initializing card #0
[ 19.580185] cx18-0: Autodetected Hauppauge card
[ 19.580209] cx18 0000:02:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 19.584767] cx18-0: cx23418 revision 01010000 (B)
[ 19.584799] ivtv: End initialization
[ 19.895445] tveeprom 2-0050: Hauppauge model 74041, rev C6B2, serial# 941135
[ 19.895454] tveeprom 2-0050: MAC address is 00-0D-FE-0E-5C-4F
[ 19.895460] tveeprom 2-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
[ 19.895466] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[ 19.895472] tveeprom 2-0050: audio processor is CX23418 (idx 38)
[ 19.895476] tveeprom 2-0050: decoder processor is CX23418 (idx 31)
[ 19.895482] tveeprom 2-0050: has no radio, has IR receiver, has IR transmitter
[ 19.895487] cx18-0: Autodetected Hauppauge HVR-1600
[ 19.895491] cx18-0: VBI is not yet supported
[ 20.139993] tuner 3-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[ 20.140082] cs5345 2-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[ 20.142439] tuner-simple 3-0061: creating new instance
[ 20.142444] tuner-simple 3-0061: type set to 50 (TCL 2002N)
[ 20.143650] cx18-0: Disabled encoder IDX device
[ 20.143808] cx18-0: Registered device video1 for encoder MPEG (2 MB)
[ 20.143814] DVB: registering new adapter (cx18)
[ 20.320955] MXL5005S: Attached at address 0x63
[ 20.320964] DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[ 20.321184] cx18-0: DVB Frontend registered
[ 20.321254] cx18-0: Registered device video2 for encoder YUV (2 MB)
[ 20.321320] cx18-0: Registered device video3 for encoder PCM audio (1 MB)
[ 20.321326] cx18-0: Initialized card #0: Hauppauge HVR-1600
[ 20.321357] cx18: End initialization


Thanks for any help!
Reply With Quote
  #2  
Old 01-17-2010, 01:43 AM
jtimmes jtimmes is offline
Sage User
 
Join Date: Apr 2009
Location: Denver, CO
Posts: 21
Analog tuning fixed, not sure about digital?

So I've fixed my analog tuning without audio problem by updating my ivtv drivers. Based mainly on info in this post:

http://forums.sagetv.com/forums/showthread.php?t=41586

I decided to try a driver update. I followed the instructions on this link more than the sage post:

http://ivtvdriver.org/index.php/Cx18

After doing the full make menuconfig, make, make install, and make unload, I did a modprobe cx18, then rebooted for good measure.

Upon reboot, sage now properly tunes both the PVR-150 and HDR-1600 cards (analog).

Sage sees /dev/adapter0 as the digital tuner, but I don't see a preview, and (out of my own ignorance) I'm not sure what I should be selecting as a channel lineup. I've got basic cable, but my 2 HDTV's tune both analog and digital channels -- on those built-in tuners, I'm used to seeing channels listed like "4-1" for the digital channel 4, that sort of thing. But when I told sage to tune cable TV on the digital tuner, it shows all the channels I'm used to seeing as analog??? I started doing a channel scan, but it was taking a LONG time, so for now I stopped; wanted to test the analog tuners really work ok concurrently (and they do). When I stopped the scan, sage hadn't reported finding a channel yet, making me wonder if the digital tuner is really working or not.

I haven't spent any time really searching the forums for a noobie guide about digital tuners, QAM, channel listings, etc, but if anyone could get me pointed in the right direction, I'd sure appreciate it. Hopefully it's working, but in the meantime, I'm happy to be able to record 2 shows at once.
Reply With Quote
  #3  
Old 01-18-2010, 12:16 PM
jtimmes jtimmes is offline
Sage User
 
Join Date: Apr 2009
Location: Denver, CO
Posts: 21
New drivers appear to crash sage!

So, I thought I'd gotten both tuners working OK (brief tests to use both tuners was successful), but now I've had sage freeze/crash twice in the last 48 hours (after updating my drivers).

The hs_err log from the first freeze showed:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7ebecc3, pid=9325, tid=3027057552
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libc.so.6+0x6fcc3]

In this case, the sage JVM was still running, but sage was locked up and had to be stopped with kill -9.

And the second crash showed:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb46c14f1, pid=8068, tid=2961832848
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libIVTVCapture.so+0x24f1]

This time it was a true crash and the JVM terminated.

I'll try contacting someone on the ivtv website, but if anyone has any suggestions on how to troubleshoot/diagnose the problem, I'd *really* appreciate it. I'm considering removing the second tuner, since at least sage was stable before with a single PVR-150.
Reply With Quote
  #4  
Old 01-19-2010, 06:31 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Is that the Sun JRE? I don't have access to my server at this moment to compare.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #5  
Old 02-02-2010, 10:22 PM
jtimmes jtimmes is offline
Sage User
 
Join Date: Apr 2009
Location: Denver, CO
Posts: 21
Quote:
Originally Posted by bcjenkins View Post
Is that the Sun JRE? I don't have access to my server at this moment to compare.

B
Sorry for the delayed response, but yeah, I'm using the Sun JRE.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HVR-1600 and analog tuner goatboy22382 Hardware Support 5 12-15-2009 07:16 PM
Sage only recognizes Digital tuner on Hauppauge 1600 chriskwarren Hardware Support 11 02-05-2009 12:31 PM
HVR-1600 Audio out of synch on Analog tuner Karride Hardware Support 0 09-19-2008 12:35 PM
HVR-1600 Digital Tuner - 0x80004005 CanadianEh Hardware Support 1 06-01-2008 02:07 PM
HVR 1600 Analog Tuner banmj Hardware Support 7 02-23-2008 06:43 PM


All times are GMT -6. The time now is 05:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.