You are not logged in.
I recently bought a Hauppauge WinTV-HVR 950Q HDTV tuner, choose it because the drivers for it are said to be included with the kernel and I read good reviews about it even though it is a USB device. After connecting it to my system Arch has no problem detecting it, lsusb and dmesg both see it, and programs like Kaffeine also see it just fine. I downloaded the firmware for the device and installed it according to these directions on Linuxtv.org. After doing all that I am unable to get Kaffeine to be able to find any channels off of my cable connection, tried all of the sources that Kaffeine offered under the Television -> Configure Television -> Device 1. To see if it works at all I installed Tvtime gave that a try, right off the bat video is working and it can scan and find channel but audio does not work for some reason.
Here is the output from dmesg:
2010-09-05 20:20:47 localhost kernel usb 1-6: new high speed USB device using ehci_hcd and address 5
2010-09-05 20:20:47 localhost kernel au0828: i2c bus registered
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: Hauppauge model 72001, rev B3F0, serial# 7660811
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: MAC address is 00:0d:fe:74:e5:0b
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: tuner model is Xceive XC5000 (idx 150, type 76)
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: audio processor is AU8522 (idx 44)
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: decoder processor is AU8522 (idx 42)
2010-09-05 20:20:47 localhost kernel tveeprom 4-0050: has no radio, has IR receiver, has no IR transmitter
2010-09-05 20:20:47 localhost kernel hauppauge_eeprom: hauppauge eeprom: model=72001
2010-09-05 20:20:47 localhost kernel au8522 4-0047: creating new instance
2010-09-05 20:20:47 localhost kernel au8522_decoder creating new instance...
2010-09-05 20:20:47 localhost kernel tuner 4-0061: chip found @ 0xc2 (au0828)
2010-09-05 20:20:47 localhost kernel xc5000 4-0061: creating new instance
2010-09-05 20:20:47 localhost kernel xc5000: Successfully identified at address 0x61
2010-09-05 20:20:47 localhost kernel xc5000: Firmware has not been loaded previously
2010-09-05 20:20:47 localhost kernel au8522 4-0047: attaching existing instance
2010-09-05 20:20:47 localhost kernel xc5000 4-0061: attaching existing instance
2010-09-05 20:20:47 localhost kernel xc5000: Successfully identified at address 0x61
2010-09-05 20:20:47 localhost kernel xc5000: Firmware has not been loaded previously
2010-09-05 20:20:47 localhost kernel DVB: registering new adapter (au0828)
2010-09-05 20:20:47 localhost kernel DVB: registering adapter 0 frontend 0 (Auvitek AU8522 QAM/8VSB Frontend)...
2010-09-05 20:20:47 localhost kernel Registered device AU0828 [Hauppauge HVR950Q]
2010-09-05 20:20:48 localhost kernel 5:2:1: endpoint lacks sample rate attribute bit, cannot set.
2010-09-05 20:21:34 localhost kernel xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)...
2010-09-05 20:21:34 localhost kernel xc5000: firmware uploading...
2010-09-05 20:21:41 localhost kernel xc5000: firmware upload complete...my lsusb output:
Bus 001 Device 005: ID 2040:7200 Hauppauge
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2040 Hauppauge
idProduct 0x7200
bcdDevice 0.05
iManufacturer 1
iProduct 2
iSerial 10
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 267
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0300 1x 768 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03fc 1x 1020 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 11
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 38
bInCollection 1
baInterfaceNr( 0) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0602 Digital Audio Interface
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 3
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 3
bSourceID 1
bControlSize 1
bmaControls( 0) 0x01
Mute Control
iFeature 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 11
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 4
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1) Is anyone using this device or one close to it that may be able to help?
Last edited by vendion (2010-09-08 15:22:25)
Offline
See the "Analog Audio" section here if you haven't already
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
I tried using that but something causes sox to crash/close, I need to go through the script and remove all the redirects to /dev/null. I am really wanting to get it to work with Kaffeine rather than tvtime, I just used tvtime to make sure I didn't get a faulty device.
Offline
Ok so I edited the script and this is the output I got
Started TVTime, PID: 31972
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/vendion/.tvtime/tvtime.xml
Started SOX, PID: 31974
Started activity simulator (to disable Screen Saver), PID: 31975
sox FAIL formats: can't open input `hw:1,0': snd_pcm_open error: No such file or directory
SOX exited. Closing TVTime + activity simulator and exiting.Why can't sox open the the device/saying it does not exist? I know the sound works every other program has no problem using it.
Offline
your audio device is probably not 'hw:1,0'. See if you can get a list of ALSA devices somehow, then choose the one that corresponds to your card. I'm sure google knows more than I do on how to do this ![]()
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
True, after setting it to 'hw:0,0' seems to do better, what I mean is sox does not crash, I still don't get sound though. I have been trying to increment the second numerical value, my guess is that is for the channel on the device. The only channels I can get to work is 0-2 which non of them give sound but the errors generated slightly differ from what I can tell:
Error using hw:0,0
hw:0,0: (alsa)
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 48000Hz
Replaygain: off
Duration: unknown
In:0.00% 00:00:00.51 [00:00:00.00] Out:20.5k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:01.02 [00:00:00.00] Out:45.1k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:08.87 [00:00:00.00] Out:422k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:09.90 [00:00:00.00] Out:471k [ | ] Clip:0
In:0.00% 00:00:19.97 [00:00:00.00] Out:954k [ | ] Clip:0
In:0.00% 00:00:22.19 [00:00:00.00] Out:1.06M [ | ] Clip:0 TVTime exited. Closing SOX + activity simulator and exiting.
In:0.00% 00:00:22.36 [00:00:00.00] Out:1.07M [ | ] Clip:0
Aborted. Error using hw0,1
hw:0,1: (alsa)
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 48000Hz
Replaygain: off
Duration: unknown
In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0
sox WARN alsa: Input/output error
sox FAIL sox: `hw:0,1' Device or resource busy: Operation not permitted
In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0
Done.
SOX exited. Closing TVTime + activity simulator and exiting. Error using hw0,2
hw:0,2: (alsa)
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 48000Hz
Replaygain: off
Duration: unknown
In:0.00% 00:00:01.02 [00:00:00.00] Out:45.1k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:01.19 [00:00:00.00] Out:53.2k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:01.37 [00:00:00.00] Out:61.4k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:01.54 [00:00:00.00] Out:69.6k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:01.71 [00:00:00.00] Out:77.8k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:07.51 [00:00:00.00] Out:356k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:09.05 [00:00:00.00] Out:430k [ | ] Clip:0 sox WARN alsa: under-run
In:0.00% 00:00:09.90 [00:00:00.00] Out:471k [ | ] Clip:0
In:0.00% 00:00:18.26 [00:00:00.00] Out:872k [ | ] Clip:0 TVTime exited. Closing SOX + activity simulator and exiting.
In:0.00% 00:00:18.35 [00:00:00.00] Out:877k [ | ] Clip:0
Aborted. What I meant about slightly differ is some times a error would pop up saying there was no device /dev/vbi0, but it did not happen all the time
Also just tried MythTv and it has the same problem as Kaffeine, it sees the card and can scan for channels but it can't play anything. My eventual goal once I get this working is to use a program that can view live TV as well as record TV, something that tvtime can not do.
Last edited by vendion (2010-09-07 01:53:42)
Offline
Ok so I figured out the issue with TV time, needed to use the ALSA device 2.0 for the TV Tuner.
Offline
Ok well I marked it as solved to soon, even though I know which ALSA device I need to use to get audio from my TV tuner I can't get it to work with MythTV, at this point if I can get it to work with MythTV I'll be happy and can forget about Kaffeine. In the MythTV setup program I set the audio device to all variations I could find for the device
ALSA:hw:2,0
hw:2,0
/dev/adsp2
/dev/audio2
/dev/mixer2
I know the devices listed in /dev are for the tuner card because they are removed from /dev when I disconnect the card from the USB port. Anyone here familiar with MythTV setup that can help me out?
Offline
IIRC when I used an analogue card, I had to set the audio input to /dev/dsp1. Do you have alsa-oss installed? If so, try putting /dev/dsp2 or whichever one disappears when you take out the card.
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline