Skip to contentSkip to conversation

hvr950q stopped working: read of drv0 never returns

DISCUSSION Brian J. Murrell 2 participants 3 messages Aug 23, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I have an HVR 950Q on my Ubuntu 2.6.32 kernel. I have in fact tried several kernel versions on a couple of different machines with the same behaviour.

What seems to be happening is that /dev/dvb/adapter0/dvr0 can be opened:

open("/dev/dvb/adapter0/dvr0", O_RDONLY|O_LARGEFILE) = 0

but a read from it never seems to return any data:

read(0,
[ process blocks waiting ]

Nothing abnormal in dmesg:

[916870.612154] usb 1-2: new high speed USB device using ehci_hcd and address 27
[916870.772818] usb 1-2: configuration #1 chosen from 1 choice
[916876.064150] au0828 driver loaded
[916876.424163] au0828: i2c bus registered
[916876.747481] tveeprom 4-0050: Hauppauge model 72001, rev B3F0, serial# 6922999
[916876.747487] tveeprom 4-0050: MAC address is 00-0D-FE-69-A2-F7
[916876.747490] tveeprom 4-0050: tuner model is Xceive XC5000 (idx 150, type 76)
[916876.747494] tveeprom 4-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[916876.747497] tveeprom 4-0050: audio processor is AU8522 (idx 44)
[916876.747500] tveeprom 4-0050: decoder processor is AU8522 (idx 42)
[916876.747503] tveeprom 4-0050: has no radio, has IR receiver, has no IR transmitter
[916876.747506] hauppauge_eeprom: hauppauge eeprom: model=72001
[916876.798021] au8522 4-0047: creating new instance
[916876.798025] au8522_decoder creating new instance...
[916877.127635] tuner 4-0061: chip found @ 0xc2 (au0828)
[916877.282505] xc5000 4-0061: creating new instance
[916877.287331] xc5000: Successfully identified at address 0x61
[916877.287336] xc5000: Firmware has not been loaded previously
[916877.287791] au8522 4-0047: attaching existing instance
[916877.296083] xc5000 4-0061: attaching existing instance
[916877.300826] xc5000: Successfully identified at address 0x61
[916877.300830] xc5000: Firmware has not been loaded previously
[916877.300835] DVB: registering new adapter (au0828)
[916877.300840] DVB: registering adapter 0 frontend 0 (Auvitek AU8522 QAM/8VSB Frontend)...
[916877.301421] Registered device AU0828 [Hauppauge HVR950Q]
[916877.302825] usbcore: registered new interface driver au0828
[916925.988585] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[916925.988595] usb 1-2: firmware: requesting dvb-fe-xc5000-1.6.114.fw
[916926.076234] xc5000: firmware read 12401 bytes.
[916926.076238] xc5000: firmware uploading...
[916934.265042] xc5000: firmware upload complete...
[916934.972117] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[916934.972128] usb 1-2: firmware: requesting dvb-fe-xc5000-1.6.114.fw
[916934.994581] xc5000: firmware read 12401 bytes.
[916934.994586] xc5000: firmware uploading...
[916943.981063] xc5000: firmware upload complete...
[917101.354372] xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
[917101.354388] usb 1-2: firmware: requesting dvb-fe-xc5000-1.6.114.fw
[917101.394161] xc5000: firmware read 12401 bytes.
[917101.394165] xc5000: firmware uploading...
[917110.813119] xc5000: firmware upload complete...

This device was working just fine until I rebooted the machine it's usually connected to earlier today. Now I can't seem to get it working anywhere.

I'm at a loss where to go from here in debugging. Any hints?

Thanx,
b.

#1 lore raw
Quoted 6 lines · Brian J. Murrell

Hi,

I have an HVR 950Q on my Ubuntu 2.6.32 kernel.  I have in fact tried several kernel versions on a couple of different machines with the same behaviour.

Quoted 8 lines

What seems to be happening is that /dev/dvb/adapter0/dvr0 can be opened:

open("/dev/dvb/adapter0/dvr0", O_RDONLY|O_LARGEFILE) = 0

but a read from it never seems to return any data:

read(0,
[ process blocks waiting ]

Hi Brian,

What command are you using to control the frontend? If it's "azap", did you remember to specify the "-r" argument?

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#2 lore raw
Quoted 2 lines · Devin Heitmueller

Hi Brian,

Hi Devin,

Quoted 2 lines

What command are you using to control the frontend? If it's "azap", did you remember to specify the "-r" argument?

Uh-oh. Here comes a grand display of my ignorance for the manual workings of this device. :-/

Primarily I use this device with Mythtv but have been forced into trying to debug this as it's not working in Myth. I thought that using this device was as simple as one of the PVR-{50,{1.2}5}0 devices and I could just "cat < /dev/dvb/adapter0/dvr0 > file.mpg".

Your reference to azap gave me something to research. Subsequently I have done the following:

$ brian@pc:~$ w_scan -c US -x -A2 > /tmp/initial-tuning-data.txt
$ mkdir ~/.azap
$ scan -A2 initial-tuning-data.txt > ~/.azap/channels.conf

But now I can't get azap to do anything useful:

$ azap -r 291
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ERROR: could not find channel '291' in channel list
$ azap -r 145
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ERROR: error while parsing modulation (syntax error)

Not sure what to try next.

b.