Hauppauge PVR-150 with no audio after upgrading to Hardy

Bug #228363 reported by Alfredo J. Fabretti
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After upgrading from Gutsy to Hardy, my PVR 150 has no sound at all. Everything else seems to work OK (I have sound in KDE4, Gnome, mp3 with mplayer, video with mplayer, etc).
I tried Mythtv, mplayer and output to a mpg (later reproduced with mplayer) and I can't hear any sound, so I think the problem could be in IVTV.

DMESG output:

[ 57.292983] ivtv: Start initialization, version 1.1.0
[ 57.293038] ivtv0: Initializing card #0
[ 57.293040] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 57.315388] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 21 (level, low) -> IRQ 21
[ 57.395533] tveeprom 0-0050: Hauppauge model 26152, rev E5B2, serial# 10294928
[ 57.395536] tveeprom 0-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
[ 57.395538] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
[ 57.395540] tveeprom 0-0050: audio processor is CX25843 (idx 37)
[ 57.395541] tveeprom 0-0050: decoder processor is CX25843 (idx 30)
[ 57.395543] tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter
[ 57.395545] ivtv0: Autodetected Hauppauge WinTV PVR-150
[ 57.395546] ivtv0: Reopen i2c bus for IR-blaster support
[ 57.486249] pwc: Philips webcam module version 10.0.13 loaded.
[ 57.486252] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
[ 57.486254] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
[ 57.486255] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
[ 57.486280] pwc: Logitech QuickCam Notebook Pro USB webcam detected.
[ 57.486301] pwc: Registered as /dev/video0.
[ 57.488589] usbcore: registered new interface driver Philips webcam
[ 57.585086] Driver 'sr' needs updating - please use bus_type methods
[ 57.597362] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 57.632823] sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[ 57.632826] Uniform CD-ROM driver Revision: 3.20
[ 57.632869] sr 7:0:0:0: Attached scsi CD-ROM sr0
[ 57.919618] cx25840 0-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
[ 57.965041] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 57.973787] tuner-simple 0-0061: type set to 50 (TCL 2002N)
[ 57.973790] tuner 0-0061: type set to TCL 2002N
[ 57.973985] ivtv0: Registered device video1 for encoder MPG (4096 kB)
[ 57.973999] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 57.974012] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 57.974025] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 57.974027] ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
[ 57.974037] ivtv: End initialization

Sound was working BEFORE the upgrade to 8.04

lsb_release -rd:
Description: Ubuntu 8.04
Release: 8.04

apt-cache policy ivtv-utils:
ivtv-utils:
  Installed: 1.0.3-2
  Candidate: 1.0.3-2
  Version table:
 *** 1.0.3-2 0
        500 http://ar.archive.ubuntu.com hardy/multiverse Packages
        100 /var/lib/dpkg/status

WORKAROUND: /usr/bin/v4l2-ctl -d /dev/video1 --set-audio-input=0

Revision history for this message
Alfredo J. Fabretti (fabrettia) wrote :

It seems that with the upgrade, something was reconfigured in a wrong way. Sound was fixed running this command: /usr/bin/v4l2-ctl -d /dev/video1 --set-audio-input=0

Revision history for this message
mboisso (mboisso) wrote :

the same bug happened to me with a fresh install of hardy.

There seems to be a bug in the ivtv default setup. After installing the packages with
sudo apt-get install ivtv-source ivtv-utils

I ran
/usr/bin/v412-ctl -d /dev/video0 --set-audio-input=0

and it solved the problem.

Revision history for this message
Alfredo J. Fabretti (fabrettia) wrote :

Another issue:
I rebooted my system and the command /usr/bin/v4l2-ctl -d /dev/video1 --set-audio-input=0 didn't work.

I have a webcam USB that takes the device /dev/video0
My Hauppauge is in /dev/video1

I removed my webcam, rebooted and now sound in my Hauppauge is working. There's something wrong about how ivtv or v4l2 is handling the devices.

Revision history for this message
mboisso (mboisso) wrote :

I noticed that when using MythTV, if I change the channel, I get the sound problem back and I must run the command again. The setting just doesn't seem to stick.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

I can't seem to get any sound at all in the encoded MPEG2-stream, no matter what audio input I set the card to (I'm using composite video input from digital decoder box, coupled with mini-jack analog line in audio input). Hauppauge WinTV PVR 150, Ubuntu Hardy. This worked in Gutsy. Video looks fine, it's just very silent.

Revision history for this message
Mark Carey (careym) wrote :

I'll add a me too to this one.

careys@hereford:~$ lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7300 GT] (rev a1)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 14)
04:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
05:00.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
05:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

mplayer /dev/video0 -framedrop

Gives me good video but no audio, is this a problem with the inclusion of pulseaudio in 8.04?

Revision history for this message
Mark Carey (careym) wrote :

And after setting the audio-input to the tuner (0) with /usr/bin/v4l2-ctl -d /dev/video0 --set-audio-input=0 I still get no sound out of the card.

I have a USB webcam but even when I cold boot without the webcam pluged in the pvr-150 does not give me any audio ......

careys@hereford:~$ ls /dev/video*
/dev/video0 /dev/video24 /dev/video32

careys@hereford:~$ dmesg | grep ivtv
[ 48.329807] ivtv: Start initialization, version 1.1.0
[ 48.329870] ivtv0: Initializing card #0
[ 48.329872] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 48.368245] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[ 48.444361] ivtv0: Autodetected Hauppauge WinTV PVR-150
[ 48.554829] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
[ 48.558106] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 48.588909] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 48.612326] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 48.620978] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[ 48.620998] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 48.621015] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 48.621032] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 48.621048] ivtv0: Registered device radio0 for encoder radio
[ 48.621050] ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
[ 48.621062] ivtv: End initialization
[ 56.815283] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[ 57.013635] ivtv0: Encoder revision: 0x02060039

The exact same hardware worked fine under 7.10. Any other suggestions?

Revision history for this message
Mark Carey (careym) wrote :

After shutting the machine down last night and starting up again this morning I have sound back when doing mplayer -framedrop /dev/video0 .... weird

Revision history for this message
KingOfDos (t-launchpad-dot-net-kingofdos-com) wrote :

I've got the same TV card, with the same problem.

Tested with things like "/usr/bin/v4l2-ctl -d /dev/video0 --set-audio-input=0" (and input=1 and =2) as suggested here above (and on other pages). I can't find a way to configure the sound correctly.

Even if I'll drop the video0 to an file, with this method:
----
cat /dev/video0 > /home/username/file.mpg
----
The video is clear/correct, but no audio. And there is no audiodevice like /dev/sound* or /dev/radio* (or any other).

So still, no audio. Can you please try to fix this?
Running Ubuntu 8.10 Server.

Revision history for this message
markg85 (markg85) wrote :

This is how i got it working.

Install the ivtv, xawtv and VLC (mplayer wasn't installing here because a file couldn't be downloaded)
reboot
run: /usr/bin/v4l2-ctl -d /dev/video0 --set-audio-input=0
run: scantv -c /dev/video0 -C /dev/vbi0 -o ~/.xawtv
i used 5 (pal) and 5 (west-europe)
Now run VLC and go to: Madia -> Open Capture Device...
In there select pvr and the frequency from xawtv.
Example: xawtv gives: 663.25 then fill in this in VLC in the frequency field: 663250

That did it for me. I have sound. running ubuntu 8.10 and the WinTV-PVR 150 card.
I hope that helped someone.

Revision history for this message
canatella (dam-cosinux) wrote :

I have the same problem here one Karmic. I have a PVR 150 card and an analog bt484 one. When the PVR 150 card device is created by udev under /dev/video1 the audio does not work. Forcing udev to put it under /dev/video0 fixed the problem for me.

Revision history for this message
Skyman (sskyman) wrote :

I've got the same behavior for karmic. Perfect video, but no audio. :-(

Revision history for this message
Skyman (sskyman) wrote :

Nothing changed with upgrade to lucid.

Revision history for this message
Mark Fraser (launchpad-mfraz) wrote :

Seems to be working here in a clean install of Lucid.
All I've done is install ivtv-utils and then
v4l2-ctl -i 2
mplayer /dev/video0
I have video and sound in a window.

Revision history for this message
penalvch (penalvch) wrote :

Alfredo J. Fabretti, thank you for reporting this and helping make Ubuntu better. Hardy desktop reached EOL on May 12, 2011.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: hardy kernel-sound needs-bisect needs-upstream-testing regression-release
removed: 150 audio hauppauge ivtv
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Skyman (sskyman) wrote :

Please reopen. Problem still occurs on Ubuntu 12.04.2.

Revision history for this message
penalvch (penalvch) wrote :

Skyman, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
Skyman (sskyman) wrote :

Hello Christopher!

Thanks for your reply. I think opening a new bug is not as good as reopening this one, because it is still not fixed and occurs in a new version of the distribution.
Why split the information about the problem in two separate bugs? :-)

Revision history for this message
penalvch (penalvch) wrote :

Skyman, the answers to your inquiries are available in the comment already posted to you -> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228363/comments/18 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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