Need to reconfigure sound on every boot

View: New views
8 Messages — Rating Filter:   Alert me  

Need to reconfigure sound on every boot

by Andreas Rönnquist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi!

I need to do a alsaconf after every boot, otherwise I don't get any
sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
built-in sound. How can I make it configure the built-in sound-card
automatically on every boot?

I am running debian stable, Linux 2.6.26-2, amd64, and I'm under the
impression that this has changed somewhat recently.

thanks in advance
--
Andreas Ronnquist <andreas.ronnquist@...>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Neal Hogan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
<andreas.ronnquist@...> wrote:
>
> Hi!
>
> I need to do a alsaconf after every boot, otherwise I don't get any
> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
> built-in sound. How can I make it configure the built-in sound-card
> automatically on every boot?
>

Once you set you sound settings ('alsamixer' is one way of doing so),
you need to enable /etc/init.d/alsasound. Be sure to make sure that
the script is pointing to the correct location of your config
(asound.state) file (on my gentoo machine it is in /etc).


> I am running debian stable, Linux 2.6.26-2, amd64, and I'm under the
> impression that this has changed somewhat recently.
>
> thanks in advance
> --
> Andreas Ronnquist <andreas.ronnquist@...>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Dave Witbrodt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Neal Hogan wrote:

> On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
> <andreas.ronnquist@...> wrote:
>> Hi!
>>
>> I need to do a alsaconf after every boot, otherwise I don't get any
>> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
>> built-in sound. How can I make it configure the built-in sound-card
>> automatically on every boot?
>
> Once you set you sound settings ('alsamixer' is one way of doing so),
> you need to enable /etc/init.d/alsasound. Be sure to make sure that
> the script is pointing to the correct location of your config
> (asound.state) file (on my gentoo machine it is in /etc).

Debian does not have /etc/init.d/alsasound.  It has
/etc/init.d/alsa-utils instead... at least on Sid, which I use.

Lenny might be different than Sid, so I hope someone corrects what I'm
saying if it is, but the startup script is provided by the package
called 'alsa-utils'.

Andreas, do you have 'alsa-utils' installed on your system?  If you're
not sure, try opening a terminal and running

     apt-cache  policy  alsa-utils

Here's what I get:

     $ apt-cache policy alsa-utils
     alsa-utils:
       Installed: 1.0.21-1
       Candidate: 1.0.21-1
       Version table:
      *** 1.0.21-1 0
             990 http://debian.osuosl.org unstable/main Packages
             100 /var/lib/dpkg/status

Neal's description of what the startup script is supposed to do is quite
correct, though.  On Debian, the file called 'asound.state' (where your
mixer controls are saved) is located in '/var/lib/alsa'.


HTH,
Dave W.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Andreas Rönnquist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 03 Nov 2009 20:58:40 -0500
Dave Witbrodt <dawitbro@...> wrote:

> Neal Hogan wrote:
> > On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
> > <andreas.ronnquist@...> wrote:
> >> Hi!
> >>
> >> I need to do a alsaconf after every boot, otherwise I don't get any
> >> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
> >> built-in sound. How can I make it configure the built-in sound-card
> >> automatically on every boot?
> >

--->cut<---

I found out a solution - Rebooting I discovered that it gave me warnings
"cannot enumerate USB device" - and looking at the debian forums I found
these posts:

http://forums.debian.net/viewtopic.php?f=6&t=39116&p=265179#p264099

So - I tried to disconnect my USB webcam and rebooting, using fewer USB
devices, sound is back! No need to alsaconf any longer! The behaviour is
consistent even when rebooting.

Thank you guys for your time.

--
Andreas Ronnquist <andreas.ronnquist@...>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by deloptes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Ronnquist wrote:

> On Tue, 03 Nov 2009 20:58:40 -0500
> Dave Witbrodt <dawitbro@...> wrote:
>
>> Neal Hogan wrote:
>> > On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
>> > <andreas.ronnquist@...> wrote:
>> >> Hi!
>> >>
>> >> I need to do a alsaconf after every boot, otherwise I don't get any
>> >> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
>> >> built-in sound. How can I make it configure the built-in sound-card
>> >> automatically on every boot?
>> >
>
> --->cut<---
>
> I found out a solution - Rebooting I discovered that it gave me warnings
> "cannot enumerate USB device" - and looking at the debian forums I found
> these posts:
>
> http://forums.debian.net/viewtopic.php?f=6&t=39116&p=265179#p264099
>
> So - I tried to disconnect my USB webcam and rebooting, using fewer USB
> devices, sound is back! No need to alsaconf any longer! The behaviour is
> consistent even when rebooting.
>
> Thank you guys for your time.
>

Hi I wrote this many times in the past. I think the proper way is to set up
a fixed ids for your cards. This way the system can assign a specific id to
your card each time you boot.

For this to work I just set up following file

cat /etc/modprobe.d/sound
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

## module options should go here
options snd-hda-intel index=0 model=ref
options snd-usb-audio index=1


regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Javier Barroso-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Emanoil,

On Fri, Nov 6, 2009 at 4:39 PM, Emanoil Kotsev <deloptes@...> wrote:

> Andreas Ronnquist wrote:
>
>> On Tue, 03 Nov 2009 20:58:40 -0500
>> Dave Witbrodt <dawitbro@...> wrote:
>>
>>> Neal Hogan wrote:
>>> > On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
>>> > <andreas.ronnquist@...> wrote:
>>> >> Hi!
>>> >>
>>> >> I need to do a alsaconf after every boot, otherwise I don't get any
>>> >> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
>>> >> built-in sound. How can I make it configure the built-in sound-card
>>> >> automatically on every boot?
>>> >
>>
>> --->cut<---
>>
>> I found out a solution - Rebooting I discovered that it gave me warnings
>> "cannot enumerate USB device" - and looking at the debian forums I found
>> these posts:
>>
>> http://forums.debian.net/viewtopic.php?f=6&t=39116&p=265179#p264099
>>
>> So - I tried to disconnect my USB webcam and rebooting, using fewer USB
>> devices, sound is back! No need to alsaconf any longer! The behaviour is
>> consistent even when rebooting.
>>
>> Thank you guys for your time.
>>
>
> Hi I wrote this many times in the past. I think the proper way is to set up
> a fixed ids for your cards. This way the system can assign a specific id to
> your card each time you boot.
So, I think the best to do here is writting it in
wiki.debian.org/SoundFAQ one time and then redirect from this list to
there, isn't it ?

I was using a sed script which changed my ~/.asoundrc, but now I will
try your tip, it is more correct.

Regards,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Kamil Kułaga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/3/09, Andreas Ronnquist <andreas.ronnquist@...> wrote:

>
> Hi!
>
> I need to do a alsaconf after every boot, otherwise I don't get any
> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
> built-in sound. How can I make it configure the built-in sound-card
> automatically on every boot?
>
> I am running debian stable, Linux 2.6.26-2, amd64, and I'm under the
> impression that this has changed somewhat recently.
>
> thanks in advance
> --
> Andreas Ronnquist <andreas.ronnquist@...>
>
>

Once i had similar problem and i realized that my module is on
modprobe blacklist (not loaded automatically)
--
Pozdrawiam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Need to reconfigure sound on every boot

by Andreas Rönnquist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 06 Nov 2009 16:39:42 +0100
Emanoil Kotsev <deloptes@...> wrote:

>
> Hi I wrote this many times in the past. I think the proper way is to set up
> a fixed ids for your cards. This way the system can assign a specific id to
> your card each time you boot.
>
> For this to work I just set up following file
>
> cat /etc/modprobe.d/sound
> ## ALSA portion
> alias char-major-116 snd
> alias snd-card-0 snd-hda-intel
> alias snd-card-1 snd-usb-audio
>
> ## module options should go here
> options snd-hda-intel index=0 model=ref
> options snd-usb-audio index=1
>

Thank you, that solved it (better than previous try) for me.

best regards
--
Andreas Ronnquist <andreas.ronnquist@...>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...