LinHES Forums
http://forums.linhes.org/

How to lock down /dev/dsp2
http://forums.linhes.org/viewtopic.php?f=23&t=23674
Page 1 of 1

Author:  mattbatt [ Mon Jan 07, 2013 7:18 pm ]
Post subject:  How to lock down /dev/dsp2

I have a Pinnacle PCTV PCI card that has an V4L tuner (analog Cable) and a DVB tuner (ATSC/QAM). I recently started starting using the V4L side again and it has been giving me no end of headaches I forgot how much of a pain it was to set up these analog cards.
Here is my current problem. Alsa seems to flip around which order it want's to boot my Mohterboard audio, HDMI audio, and the audio capture device on this card causing me to have several recordings with no audio. I tried locking it into /dev/dsp2 by changing the index number to 2 instead of -2 in /etc/modprobe.d/alsa-base.conf it isn't working.
I know there is a way to do this somewhere I did it before I can't find the forum posting from several years ago when I got help before.
Thanks

Author:  tscholl [ Tue Jan 08, 2013 4:30 pm ]
Post subject:  Re: How to lock down /dev/dsp2

Had a lot of problems with video card swapping myself. In my case the solution is to create a udev rule. Not sure exactly how to apply that to your audio cards but may give you some ideas. Check out this link about using udev

http://linhes.org/projects/linhes/wiki/ ... using_udev

It might get you going in the right direction.

Tim

Author:  mattbatt [ Sun Jan 13, 2013 10:42 pm ]
Post subject:  Re: How to lock down /dev/dsp2

I saw this bugfix from Jams for R8 http://linhes.org/projects/linhes/repos ... 86d0709660 Does anybody know if this is what I need to do to fix my problem? Thanks.

Author:  brfransen [ Mon Jan 14, 2013 9:13 am ]
Post subject:  Re: How to lock down /dev/dsp2

Yes autocard.py will generate udev rules for some of the cards in R8 LH systems. But I am not sure if it does analog audio.

Use the guide tscholl linked to understand the process.

Here are my rules for my 950Q:
Code:
# Create a symlink /dev/dvb/adapter-950Q pointing to digital side of 950Q
SUBSYSTEM=="dvb", ATTRS{manufacturer}=="Hauppauge", ATTRS{product}=="WinTV HVR-950", ATTRS{serial}=="4032666454", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter-950Q/%%s $${K#*.}'", SYMLINK+="%c"

# Create a symlink /dev/video-950Q pointing to analog video of 950Q
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", ATTRS{manufacturer}=="Hauppauge", ATTRS{product}=="WinTV HVR-950", ATTRS{serial}=="4032666454", SYMLINK+="video-950Q"

# Create a symlink /dev/dsp-950Q pointing to analog audio of 950Q
KERNEL=="dsp[0-9]*", SUBSYSTEM=="sound", ATTRS{manufacturer}=="Hauppauge", ATTRS{product}=="WinTV HVR-950", ATTRS{serial}=="4032666454", SYMLINK+="dsp-950Q"

# Create a symlink /dev/vbi-950Q pointing to analog vbi of 950Q
KERNEL=="vbi[0-9]*", SUBSYSTEM=="video4linux", ATTRS{manufacturer}=="Hauppauge", ATTRS{product}=="WinTV HVR-950", ATTRS{serial}=="4032666454", SYMLINK+="vbi-950Q"

Author:  mattbatt [ Mon Jan 14, 2013 8:15 pm ]
Post subject:  Re: How to lock down /dev/dsp2

cool thanks

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/