LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-15-2021, 09:48 AM   #1
tarnow
LQ Newbie
 
Registered: Sep 2019
Posts: 17

Rep: Reputation: Disabled
enable analog A/V (composite, S-Video) on the Hauppauge WinTV-HVR-5525 card


Hello everyone,

It looks like the current kernel driver for Hauppauge WinTV-HVR-5525 card supports all the digital inputs but seems to be missing analog A/V inputs.
In the past couple of months there was improvement on this driver where analog audio routing and some analog video was added for the WinTV-HVR-5525.
The analog video is detected on this card and registered device video* but the video signal cannot be captured due to missing analog a/v mux for .porta in the driver.
It is very likely that these missing multiplexers will be included in the driver soon.
In the meantime if you want to enable/add the analog inputs on this card try the following (tested on Slackware with Kernel 5.10.X but should work on any Linux):

cp -r /usr/src/linux-$(uname -r) /tmp/
wget axes2solution.com/hvr5525/files/cx23885.patch
patch -d/tmp/linux-$(uname -r) -p0 < cx23885.patch
cd /tmp/linux-$(uname -r)
make -C . M=drivers/media/pci/cx23885
mv /lib/modules/$(uname -r)/kernel/drivers/media/pci/cx23885/cx23885.ko /lib/modules/$(uname -r)/kernel/drivers/media/pci/cx23885/cx23885.ko.old
cp /tmp/linux-$(uname -r)/drivers/media/pci/cx23885/cx23885.ko /lib/modules/$(uname -r)/kernel/drivers/media/pci/cx23885/
depmod -a
reboot

You should be able to test the analog A/V with the following command:
mplayer -vf pp=lb -v tv:// -tv driver=v4l2:immediatemode=0:adevice=hw.2:alsa

where audio device hw.2 is taken from "arecord -l" (card 2: CX23885 [Conexant CX23885],.......)

Since I do not have any S-Video source I was only able to test the composite video input.

Last edited by tarnow; 02-15-2021 at 12:18 PM.
 
Old 03-16-2021, 06:14 AM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Thanks for posting
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hauppauge WinTV-HVR-1100 (Green/Grey image on Composite Input) jbullock Linux - Hardware 4 06-15-2013 02:16 PM
Getting analog video working on a Hauppauge HVR-1800? Electrode Linux - Hardware 5 11-08-2010 12:06 AM
video card error Hauppauge WinTV-HVR 1850 kernel 2.6.27-17-generic (Ubuntu Intrepid) avnerm Linux - Hardware 9 09-09-2010 11:40 PM
Hauppauge WinTV-HVR-950 willigiann Linux - Hardware 3 03-04-2008 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration