Announcement

Collapse
No announcement yet.

How to load the sound driver before the tv driver at the boot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to load the sound driver before the tv driver at the boot

    I already posted this on Hardware support but i got no help.

    I need help to solve this problem:

    I have tv-card that requires the saa7134 driver to be loaded with the options card=2 and tuner=38.
    At the boot time, saa7134 is loaded, i don't know with which option but, but to get tvtime work properly i have to do
    sudo modprobe -r saa7134
    sudo modprobe saa7134 card=2 tuner=38

    To avoid thes two command each time i do this
    sudo echo "options saa7134 card=2 tuner=38" > /etc/modprobe.d/saa7134

    The driver is now loaded at the boot with the right options, but randomly before or afther the alsa driver have been loaded.

    when saa7134 ist loaded first it creates /dev/dsp and alsa creates /dev/dsp1. Then i will not get sound from the system.

    When alsa is first loaded, all goes OK.

    The problem is that I don't know which driver will be loaded first.

    How can i resolve this Problem?


    #2
    Re: How to load the sound driver before the tv driver at the boot

    Edit /etc/modprobe.d/alsa-base; go to one of the last lines, change the sound card driver to the correct one for your card or onboard sound (if necessary), and then change the end of the line from "index=-2" to "index=0" . That will force the sound card to be used as the primary sound device. Also, if your sound card is connected to the video tuner card by a cable, add the line "saa7134-alsa" to /etc/modprobe.d/blacklist.


    Comment


      #3
      Re: How to load the sound driver before the tv driver at the boot

      Sorry, that last message should have said " add the line 'blacklist saa7134-alsa' to the file /etc/modprobe.d/blacklist", as anothe poster has said.

      Comment

      Working...
      X