[SOLVED except radio] Support for TV tuner card

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

[SOLVED except radio] Support for TV tuner card

Post by Niks »

THis Issue has been solved except for radio section please read last post for important information about sound


The list is great but not only can I not find my card hauppauge wintv-hvr-1300 which is not a real problem but how do I know which tunner to select and which radio ????
I have been surfing for full info but till now only can find half the story.
I have more Pc's with mint 8 and they also have TV cards so I would like to find some better sources of chipset details.

Can anyone help with this ?

I have to add I don't blame anyone for the lack of anything for the TV capture cards, it can't be long before online streaming takes over from TV anyway.

Niks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: Support for TV tuner card on Linux mint

Post by Husse »

I split this form he original topic because that has grown too much
Run lspci and lsusb
When/if you find the card in lspci run lspci -vvnn and post the section for the card only (very long list)
If you find it in lsusb run lsusb -v and post the section for the card
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

5:02.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Subsystem: Hauppauge computer works Inc. Device 9601
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at fa000000 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: cx8800
Kernel modules: cx8800

05:02.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Subsystem: Hauppauge computer works Inc. Device 9601
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at fb000000 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: cx88_audio
Kernel modules: cx88-alsa

05:02.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
Subsystem: Hauppauge computer works Inc. Device 9601
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at fc000000 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: cx88-mpeg driver manager
Kernel modules: cx8802


According to MythTV this card works / VLC like wise / TVtime does not allow me change capture device ( stuck on webcam /dev/video0 ) Both Chesse and skype show the correct card details and with cheese I can select both video1 and 2 ie analog or digital, It displays a full colour test card with a random noise screen bottom right.

This card also has FM radio but I have as yet failed to get Gnome radio to find it. /dev/radio
MInt 8 Helena - main Edition
Kernel 2.6.3'1-14

Since this card is in the Kernel why can't anything just find it and use it ??????
Husse

Re: Support for TV tuner card on Linux mint

Post by Husse »

This is much harder to figure out than I thought but in spite of that the hits I get are pretty old, from around 2005 which means that it's been working since then
I have only one thing left and that's for you to run dmesg and look up the section for the card
I would be about 30 lines the first one probably beginning with cx88something (you can't really use grep here)
Take a look at it and see if you see something obvious and post it - we might find something
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

OK Husse this I think is what you asked for
[ 18.280823] bttv: driver version 0.9.18 loaded
[ 18.280827] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 19.058572] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[ 19.058612] cx8800 0000:05:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 19.058911] cx88[0]: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
[ 19.058914] cx88[0]: TV tuner type 63, Radio tuner type -1
[ 19.061627] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[ 19.064807] cx2388x alsa driver version 0.0.7 loaded
[ 19.066611] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
[ 19.178624] cx88[0]: Test OK
[ 19.178667] cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner
[ 20.146541] tuner 0-0043: chip found @ 0x86 (cx88[0])
[ 20.258072] sky2 eth0: enabling interface
[ 20.258274] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 20.260951] tda9887 0-0043: creating new instance
[ 20.260955] tda9887 0-0043: tda988[5/6/7] found
[ 20.264114] tuner 0-0061: chip found @ 0xc2 (cx88[0])
[ 20.302627] tveeprom 0-0050: Hauppauge model 96019, rev C6A0, serial# 445865
[ 20.302631] tveeprom 0-0050: MAC address is 00-0D-FE-06-CD-A9
[ 20.302634] tveeprom 0-0050: tuner model is Philips FMD1216ME (idx 100, type 63)
[ 20.302637] tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
[ 20.302640] tveeprom 0-0050: audio processor is CX882 (idx 33)
[ 20.302643] tveeprom 0-0050: decoder processor is CX882 (idx 25)
[ 20.302645] tveeprom 0-0050: has radio, has IR receiver, has IR transmitter
[ 20.302648] cx88[0]: hauppauge eeprom: model=96019
[ 20.920722] tuner-simple 0-0061: creating new instance
[ 20.920726] tuner-simple 0-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
[ 20.924672] cx88[0]/0: found at 0000:05:02.0, rev: 5, irq: 18, latency: 32, mmio: 0xfa000000
[ 20.924681] IRQ 18/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 21.139850] wm8775 0-001b: chip found @ 0x36 (cx88[0])
[ 21.146215] cx88[0]/0: registered device video1 [v4l2]
[ 21.146241] cx88[0]/0: registered device vbi0
[ 21.146269] cx88[0]/0: registered device radio0
[ 21.150208] cx88[0]/2: cx2388x 8802 Driver Manager
[ 21.150224] cx88-mpeg driver manager 0000:05:02.2: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 21.150235] cx88[0]/2: found at 0000:05:02.2, rev: 5, irq: 18, latency: 32, mmio: 0xfc000000
[ 21.150241] IRQ 18/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 21.151135] cx88_audio 0000:05:02.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 21.151144] IRQ 18/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 21.151165] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[ 21.151611] alloc irq_desc for 20 on node -1
[ 21.151614] alloc kstat_irqs on node -1
[ 21.151621] CA0106 0000:05:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 21.151645] snd-ca0106: Model 100a Rev 00000000 Serial 100a1102
[ 21.742616] cx88/2: cx2388x dvb driver version 0.0.7 loaded
[ 21.742620] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 21.742624] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
[ 21.742627] cx88[0]/2: cx2388x based DVB/ATSC card
[ 21.742630] cx8802_alloc_frontends() allocating 1 frontend(s)
[ 22.411466] tuner-simple 0-0061: attaching existing instance
[ 22.411470] tuner-simple 0-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
[ 22.413769] DVB: registering new adapter (cx88[0])
[ 22.413772] DVB: registering adapter 0 frontend 0 (Conexant CX22702 DVB-T)...
[ 22.555607] cx2388x blackbird driver version 0.0.7 loaded
[ 22.555610] cx88/2: registering cx8802 driver, type: blackbird access: shared
[ 22.555614] cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
[ 22.555618] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
[ 22.555838] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
[ 22.560034] cx88-mpeg driver manager 0000:05:02.2: firmware: requesting v4l-cx2341x-enc.fw
[ 22.618056] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
[ 25.449640] cx88[0]/2-bb: Firmware upload successful.
[ 25.457820] cx88[0]/2-bb: Firmware version is 0x02060039
[ 25.464667] cx88[0]/2: registered device video2 [mpeg]
[ 25.476875] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Could you please reply to my last question on the raid drive question so the post is clear for others and I can add solved! :D
Husse

Re: Support for TV tuner card on Linux mint

Post by Husse »

That looks OK
I see
[ 22.555838] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
but just a little bit later
[ 25.449640] cx88[0]/2-bb: Firmware upload successful.
I cannot find anything useful about mailbox pointer so I think it's OK
Now please enlighten me on the present status - does it work at all?
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

Well If you like I can go through all the apps I have to test but I have changed nothing since my last post

Chesse - test card of both Video1 and 2 with tv in the corner showing typical none tuned noise.
Myth - found card but could not tune
Vlc - couldn't get any results
zapping tv - finds card but shows no image
tvtime - won't let me select any othet source then my web cam

Fm radio tuner works but didn't not find any stations at all.

Hope thats of use ???
tinca
Level 5
Level 5
Posts: 675
Joined: Sun Jan 11, 2009 9:23 am
Location: England U.K.

Re: Support for TV tuner card on Linux mint

Post by tinca »

Niks,

Most of the above details mean little to me, but I do have 2 Hauppauge WinTV. One is a little USB stick and the other is a large USB box. Both of these work faultlessly using Kaffeine.

Best regards Keith
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

Thx Tinca
I forgot to mention Kaffeine but I think it's only for digital TV and I'm using analogue.
Plus I have a PCI internal card .

I think I have tried every front end app out there !

I think there is a problem with patching the tunning section of the card.
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

I fond list in a log by chance thought it might be interesting to post?
[ 63.443563] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443574] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443583] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443591] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443600] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443608] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443617] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443625] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443633] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443642] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443650] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443659] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443667] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443676] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443684] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443693] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443702] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443710] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443719] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443727] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443735] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443744] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443752] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443760] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443769] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443777] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443786] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443794] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443803] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443812] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443820] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443829] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443838] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443846] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443854] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443862] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443870] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443879] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443887] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443895] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443903] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443911] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443920] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443928] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443936] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443944] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443952] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443961] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443969] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443977] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*
[ 63.443982] cx88[0]/1: IRQ loop detected, disabling interrupts
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

AHA

That log was important.

I pulled the card restarted. Shut down inserted card and restarted again.

Bingo .......I now have TV picture and can tune channels.

But No - sound / teletext / remote / radio

Well a step in the right direction !
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

Well I wondered why Husse didn't follow up!

Unfortunately we all know why :(

He helped me here with a number of problems and always pointed me in the right direction so I could learn to solve the problems myself!

Again many thanks for your help where ever you are now .

My condolences to the team and all his loved ones.

I'm gonna fix this one myself now a post a great big solved with Husse's help.
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

As I said above I have got my TV card providing Video in TVtime and Zapping TV viewer. In the sound options of Zapping it shows me that it is using an OSS driver.
If I use the Gnome mixer and chance channels on both apps the line input ( which is default ) of my selected sound card is muted when ever I change channel.
Both apps do not show up in sound preferences under apps .

Conclusion
The audio is routed via Oss and is not reaching Alsa.

Is it possible to remove Oss from my system ( and how ) and would that solve my problem??
bornagainpenguin

Re: Support for TV tuner card on Linux mint

Post by bornagainpenguin »

Came across this when searching for help with my TV card and FM radio. I have the Conexant CX23880 chipset so I don't know if this will be of any help to you, but when I changed the line in GnomeRadio to /dev/radio0 (it was /dev/radio) the radio worked for me just fine. Make sure you check volume levels though as it seems to default to mute...

--bornagainpenguin
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

Thx for the info bornagainpenguin but it doesn't work for me.Gnome radio just crashes but I don't understand why the mixer section only shows "dig1" ?

NEWS
I HAVE SOUND FROM MY TV :D

I had a chat on the mint IRC and was sent irc://irc.freenode.org/pulseaudio

This is what a very kind person told me
in order to forward the audio on to a real sound card, you need to use module-loopback
then you can move it's input and output via pavucontrol.

here's the story:
Some cards support an internal loopback. This allows the capture of that card to be played back on the output.
Ironically it seems to be cheaper cards that support this, but anything higher end doesn't.
Pulse generally ignores this capability to provide a uniform experience to all users.
So module-loopback allows this functionality in a generic way.
It also allows the capture from one card and the playback to another.
Due to deviating clocks on different h/w there may be some kind of latency/lag involved
You can control this to some degree by passing the latency_msec argument to the module when loading it.
But this is only a recommendation.
PA will still need to occasionally re-sample to deal with said deviating clocks etc.
By default it does this every 10 seconds.
So all you need to do is type in a terminal is
pactl load-module module-loopback
and you have sound :D

Only thing I have to work out now is where I should put the code to start it either with application or with startup.

Next the radio problem but I hope this info is useful to others out there with similar problems.
Niks
Level 3
Level 3
Posts: 170
Joined: Thu Feb 11, 2010 6:59 am
Location: Netherlands

Re: Support for TV tuner card on Linux mint

Post by Niks »

yes davidgreem it does work well unless you are unfortunate to have the problems I had in which case ..

1 - remove the card and restart Mint
2 - reinstall card and restart mint
3 - type " pactl load-module module-loopback " in a terminal if you want to hear the sound.
4 - watch this space if your radio doesn't work.

I should add that I have reinstalled mint 8. 3 times on this machine so I'm not doing anything weird to stop it from working.....But don't expect it all to work just like that!

I hope this topic helps others with weird problems and saves then months of searching the web for the right answers.

Nick
flon

Re: [SOLVED except radio] Support for TV tuner card

Post by flon »

Grrrrreat Nick,

After months searching for a solution, you gave me this...

pactl load-module module-loopback
and I finally can listen radio stations using my PixelView PlayTVProUltra on Mint9.
That's really fantastic!

But... have you found the way to make it pernanent?

(and If you still don't have a solution for radio tuning, l can post my config specs. Now, I'm going to test this solution on other distros I have. )

flon
(br)
----------------
Locked

Return to “Hardware Support”