[pvrusb2] Hauppauge HVR-1900 - PAL-Nc, no audio

Dermot Buckley dermot-lists at buckley.ie
Sat Apr 6 13:08:23 CDT 2013


Thanks for the response Lorne.

Sound works ok on the machine (and in fact I've tried the device on two others - all with working audio).  
But I'm inclined to believe that the issue is lower level than that anyway (note that the mpeg I've linked to has an mp3 48kHz audio stream, but it's simply silence).

My own guess (and it is just that), is that this could be one of two things:

1. The audio tuning is wrong for PAL-N/Nc.  The "norm" for PAL would be either 5.5 or 6.5MHz offset from the video tuning.  But for PAL-N/Nc, the offset should be 4.5MHz.  (so for the example I gave below, with video at 163.25MHz, the correct audio tuning would be 167.75MHz).  I don't know any way to specifically check (or set) the audio tuning however, so I don't know how to check this.  I had a look through the pvrusb2 source to see if I could work this out, but I couldn't find anything relevant.

or

2. Audio here generally has 2 audio streams (they call the second the "SAP" stream, I believe it's a variation on MTS used in NTSC).  The primary stream would generally be in spanish, and the second stream in english.  Possibly this is confusing things (but, if this is truly the issue, I would expect to get *some* audio, rather than just the current silence).


Maybe I'm digging a little bit too deep here, it might be just something silly like the audio being switched off somewhere (but note that I've tried explicitly setting the audio input also via: v4l2-ctl -d /dev/video1 --set-audio-input=0)


On 6 Apr 2013, at 13:57, Lorne Shantz <lorne_shantz at yahoo.com> wrote:

> So it looks like just no audio? The video looks fine and it appears it is being detected fine. It can sometimes be tricky to get the audio directed to your speakers. 
> 
> I'm not sure if this will be helpful at all, but here are some of my notes when I was setting mine up:
> 
> Configuring ALSA
> 
> http://www.volkerschatz.com/noise/alsa.html
> 
> cat /proc/asound/oss/sndstat
> 
> xfce4-mixer
> 
> amixer controls and amixer -c 0 controls
> 
> sox -S -t alsa hw:0,0 -d -G
> 
> ^^ verbose
> 
> aplay -l
> 
> tvtime -v
> 
> tvtime-configure --device=/dev/video0 --mixer=default
> 
> Reading configuration from /etc/tvtime/tvtime.xml
> 
> Reading configuration from /root/.tvtime/tvtime.xml
> 
> cat /proc/asound/cards
> 
> --- On Sat, 4/6/13, Dermot Buckley <dermot-lists at buckley.ie> wrote:
> 
>> From: Dermot Buckley <dermot-lists at buckley.ie>
>> Subject: [pvrusb2] Hauppauge HVR-1900 - PAL-Nc, no audio
>> To: "pvrusb2 at isely.net" <pvrusb2 at isely.net>
>> Date: Saturday, April 6, 2013, 8:39 AM
>> Hi all,
>> 
>> Having an issue with PAL-Nc channels (received via cable in
>> Argentina), using the Analog tuner of a HVR-1900. 
>> Video is working very nicely, but there's no audio.
>> 
>> I'm running the latest snapshot of pvrusb2 that I could find
>> (pvrusb2-mci-20120219) - because the version that came with
>> my distro (and likewise the v4l version) don't seem to have
>> the necessary changes required to support PAL-Nc
>> (specifically the PVR2_ENABLE_STDADJ changes in
>> pvrusb2-hdw.c which seem to be required for PAL-N/Nc).
>> 
>> When I plug in the usb I get:
>> 
>> Apr  5 18:11:42 nugget kernel: [ 1494.764364] usb 2-2:
>>> new high-speed USB device number 5 using ehci_hcd
>> Apr  5 18:11:42 nugget kernel: [ 1494.901968] usb 2-2:
>>> New USB device found, idVendor=2040, idProduct=7300
>> Apr  5 18:11:42 nugget kernel: [ 1494.902051] usb 2-2:
>>> New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> Apr  5 18:11:42 nugget kernel: [ 1494.902117] usb 2-2:
>>> Product: WinTV
>> Apr  5 18:11:42 nugget kernel: [ 1494.902165] usb 2-2:
>>> Manufacturer: Hauppauge
>> Apr  5 18:11:42 nugget kernel: [ 1494.902217] usb 2-2:
>>> SerialNumber: 7300-00-F07793C3
>> Apr  5 18:11:42 nugget kernel: [ 1494.918099] pvrusb2:
>> Hardware description: WinTV HVR-1900 Model 73xxx
>> Apr  5 18:11:42 nugget mtp-probe: checking bus 2,
>> device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
>> Apr  5 18:11:42 nugget mtp-probe: bus: 2, device: 5 was
>> not an MTP device
>> Apr  5 18:11:43 nugget kernel: [ 1496.034202] pvrusb2:
>> Device microcontroller firmware (re)loaded; it should now
>> reset and reconnect.
>> Apr  5 18:11:43 nugget kernel: [ 1496.066260] usb 2-2:
>>> USB disconnect, device number 5
>> Apr  5 18:11:43 nugget kernel: [ 1496.068479] pvrusb2:
>> Device being rendered inoperable
>> Apr  5 18:11:45 nugget kernel: [ 1497.820504] usb 2-2:
>>> new high-speed USB device number 6 using ehci_hcd
>> Apr  5 18:11:45 nugget kernel: [ 1497.963434] usb 2-2:
>>> New USB device found, idVendor=2040, idProduct=7300
>> Apr  5 18:11:45 nugget kernel: [ 1497.963521] usb 2-2:
>>> New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> Apr  5 18:11:45 nugget kernel: [ 1497.963583] usb 2-2:
>>> Product: WinTV
>> Apr  5 18:11:45 nugget kernel: [ 1497.963635] usb 2-2:
>>> Manufacturer: Hauppauge
>> Apr  5 18:11:45 nugget kernel: [ 1497.963683] usb 2-2:
>>> SerialNumber: 7300-00-F07793C3
>> Apr  5 18:11:45 nugget kernel: [ 1497.982111] pvrusb2:
>> Hardware description: WinTV HVR-1900 Model 73xxx
>> Apr  5 18:11:45 nugget kernel: [ 1498.028726] pvrusb2:
>> Binding ir_rx_z8f0811_haup to i2c address 0x71.
>> Apr  5 18:11:45 nugget kernel: [ 1498.029320] pvrusb2:
>> Binding ir_tx_z8f0811_haup to i2c address 0x70.
>> Apr  5 18:11:45 nugget mtp-probe: checking bus 2,
>> device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
>> Apr  5 18:11:45 nugget mtp-probe: bus: 2, device: 6 was
>> not an MTP device
>> Apr  5 18:11:45 nugget kernel: [ 1498.089868] cx25840
>> 0-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
>> Apr  5 18:11:45 nugget kernel: [ 1498.112402] pvrusb2:
>> Attached sub-driver cx25840
>> Apr  5 18:11:45 nugget kernel: [ 1498.168170] tuner
>> 0-0042: Tuner -1 found with type(s) Radio TV.
>> Apr  5 18:11:45 nugget kernel: [ 1498.168306] pvrusb2:
>> Attached sub-driver tuner
>> Apr  5 18:11:47 nugget kernel: [ 1500.479944] cx25840
>> 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
>> Apr  5 18:11:48 nugget kernel: [ 1500.602246] tveeprom
>> 0-00a2: Hauppauge model 73219, rev D2F5, serial# 7836611
>> Apr  5 18:11:48 nugget kernel: [ 1500.602316] tveeprom
>> 0-00a2: MAC address is 00:0d:fe:77:93:c3
>> Apr  5 18:11:48 nugget kernel: [ 1500.602368] tveeprom
>> 0-00a2: tuner model is NXP 18271C2 (idx 155, type 54)
>> Apr  5 18:11:48 nugget kernel: [ 1500.602425] tveeprom
>> 0-00a2: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
>> ATSC/DVB Digital (eeprom 0xf4)
>> Apr  5 18:11:48 nugget kernel: [ 1500.602473] tveeprom
>> 0-00a2: audio processor is CX25843 (idx 37)
>> Apr  5 18:11:48 nugget kernel: [ 1500.602512] tveeprom
>> 0-00a2: decoder processor is CX25843 (idx 30)
>> Apr  5 18:11:48 nugget kernel: [ 1500.602551] tveeprom
>> 0-00a2: has radio, has IR receiver, has IR transmitter
>> Apr  5 18:11:48 nugget kernel: [ 1500.602669] pvrusb2:
>> Supported video standard(s) reported available in hardware:
>> PAL-B/B1/D/D1/G/H/I/K;SECAM-B/D/G/H/K/K
>> Apr  5 18:11:48 nugget kernel: [ 1500.602714] pvrusb2:
>> Based on hardware available list, also supporting: PAL-N/Nc
>> Apr  5 18:11:48 nugget kernel: [ 1500.602867] pvrusb2:
>> Device initialization completed successfully.
>> Apr  5 18:11:50 nugget kernel: [ 1502.942051] cx25840
>> 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
>> Apr  5 18:11:50 nugget kernel: [ 1503.085076] tda829x
>> 0-0042: setting tuner address to 60
>> Apr  5 18:11:50 nugget kernel: [ 1503.109039] tda18271
>> 0-0060: creating new instance
>> Apr  5 18:11:50 nugget kernel: [ 1503.149215]
>> TDA18271HD/C2 detected @ 0-0060
>> Apr  5 18:11:51 nugget kernel: [ 1504.225066] tda18271:
>> performing RF tracking filter calibration
>> Apr  5 18:12:09 nugget kernel: [ 1522.025074] tda18271:
>> RF tracking filter calibration complete
>> Apr  5 18:12:09 nugget kernel: [ 1522.073052] tda829x
>> 0-0042: type set to tda8295+18271
>> Apr  5 18:12:12 nugget kernel: [ 1525.249036] pvrusb2:
>> registered device video1 [mpeg]
>> Apr  5 18:12:12 nugget kernel: [ 1525.249129] DVB:
>> registering new adapter (pvrusb2-dvb)
>> Apr  5 18:12:14 nugget kernel: [ 1527.345055] cx25840
>> 0-0044: 0x0000 is not a valid video input!
>> Apr  5 18:12:14 nugget kernel: [ 1527.390183] DVB:
>> registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
>> Apr  5 18:12:14 nugget kernel: [ 1527.397517] tda829x
>> 0-0042: type set to tda8295
>> Apr  5 18:12:14 nugget kernel: [ 1527.438425] tda18271
>> 0-0060: attaching existing instance
>> 
>> 
>> msp3400.ko is loaded:
>> 
>> # lsmod | grep msp3400
>> msp3400             
>>   36289  0 
>> v4l2_common           
>> 16420  5 tuner,cx25840,pvrusb2,cx2341x,msp3400
>> videodev             
>> 120309  9
>> tuner,cx25840,pvrusb2,cx2341x,uvcvideo,videobuf2_core,msp3400,v4l2_common
>> 
>> # v4l2-ctl -d /dev/video1 --set-standard=pal-nc
>> Standard set to 00000400
>> # v4l2-ctl --device=/dev/video1 --set-freq 163.25
>> Frequency set to 2612 (163.250000 MHz)
>> # cat /sys/class/pvrusb2/sn-7836611/ctl_mute/cur_val 
>> false
>> # cat /sys/class/pvrusb2/sn-7836611/ctl_volume/cur_val 
>> 62000
>> # cat /dev/video1 > ~/sample_mpeg.mpg
>> 
>> This produces the following mpeg, without audio:
>> http://bone.buckleycomputers.ie/sample_mpeg.mpg
>> 
>> 
>> Is there something I can do about this?  Any guidance
>> would be greatly appreciated.
>> 
>> btw: I know the hardware is capable, because this works
>> under the supplied WinTV software in windows.
>> 
>> Thanks in advance,
>> 
>> Dermot
>> _______________________________________________
>> pvrusb2 mailing list
>> pvrusb2 at isely.net
>> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>> 
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2



More information about the pvrusb2 mailing list