Find the answer to your Linux question:
Results 1 to 4 of 4
As the title says /dev/dsp and dsp1 are swapping places causing mythtv to pull the wrong audio from the wrong tuners. It does this when the machine is rebooted. How ...
  1. #1
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128

    /dev/dsp and dsp1 swapping every reboot.

    As the title says /dev/dsp and dsp1 are swapping places causing mythtv to pull the wrong audio from the wrong tuners. It does this when the machine is rebooted.

    How can I make it permanent it?

    I'm using Mythbuntu 9.04.


    please help me, mythbuntu forums are um.... lacking help today.

    Any help is APPRECIATED!

    ~MP

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    This is not an uncommon problem. The OS sets the device id by the order it sees it when booting. Assuming you have two such devices, this can easily happen (consider it a random number generator problem). What about a cold vs. a warm reboot? Does the order change then? (cold reboot, check, cold reboot, check again).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128
    Quote Originally Posted by Rubberman View Post
    This is not an uncommon problem. The OS sets the device id by the order it sees it when booting. Assuming you have two such devices, this can easily happen (consider it a random number generator problem). What about a cold vs. a warm reboot? Does the order change then? (cold reboot, check, cold reboot, check again).
    Doesn't matter if it's cold boot or warm reboot, still does it.

    Anyway to assign saa7134-alsa to an id and the sound card to another.

    I have two tv tuners one has DMA sound and the other relies on capture from sound card.

  4. #4
    Linux Newbie Mad Professor's Avatar
    Join Date
    May 2006
    Posts
    128
    After several hard days of searching google, I have found the solution!

    This is how you do it

    List your active sound modules
    Code:
    cat /proc/asound/modules
    This is what mine looks like.
    Code:
    pvr@pvr:~$ cat /proc/asound/modules
     0 snd_intel8x0
     1 saa7134_alsa
    pvr@pvr:~$
    then change directory to /etc/modprobe.d

    create a conf file with any name, I named mine, "snd-card.conf."
    you can do it with your favorite editor, I like nano, it's simple to use.

    Code:
    sudo nano snd-card.conf
    then type
    options xxyour1stsndcard index=0
    options xxxxyour2ndsndcard index=1

    and so on.

    again what my config looks like
    Code:
    GNU NANO 2.0.9 file snd-card.conf
    
    options  snd_intel8x0 index=0
    options  saa7134_alsa index=1
    save and exit, reboot your computer several times, make sure it holds.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...