The time now is Tue 18 Jun 2013, 19:45
All times are UTC - 4 |
| Author |
Message |
666philb

Joined: 07 Feb 2010 Posts: 1263 Location: wales
|
Posted: Fri 06 Jul 2012, 06:45 Post_subject:
get alsa wizard to autorun at boot "SOLVED" |
|
i've had an on going sound problem in lucid puppy (also other pups) since my internal soundcard broke over a year ago, requiring me to add a pci card.
every few boots puppy loses sound, and i have to re-run alsa wizard. It's probably to do with my computer changing IRQ settings at boot.
so as a solution i would like alsawizard to run automatically and quietly at every boot, selecting the card and ensuring i have sound.
the card is 'cmipci C-Media Electronics Inc CM8738 (rev 10)'
_________________ Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Edited_time_total
|
|
Back to top
|
|
 |
Peterm321
Joined: 29 Jan 2009 Posts: 196
|
Posted: Fri 06 Jul 2012, 19:33 Post_subject:
|
|
| 666philb wrote: | | every few boots puppy loses sound, and i have to re-run alsa wizard. It's probably to do with my computer changing IRQ settings at boot. |
Firstly I would see if I could disable the onboard sound via the bios setup screens. There should hopefully be a setting somewhere to disable onboard sound.
Secondly I would see if if the alsactl program can successfully store and restore the sound.
typing "alsactl store" in a command terminal window will store the current alsa settings
"alsactl restore" will restore the settings.
If you have the sound and volumes etc working right, then you can store these settings and restore them including if the sound fails. Of course if your problems relate to reassigning IRQs etc then this solution may not work for you. However I find it useful to see if a simpler solution works first then if it doesnt then try for something more technical.
The alsa sound wizard can be called up at the command prompt by typing "alsaconf" (without the quotes of course) and presumably run from a script at startup but am not sure if it can be run automatically without requiring user input.
|
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 1263 Location: wales
|
Posted: Sat 14 Jul 2012, 12:17 Post_subject:
|
|
hi Peterm321
sorry for my late response, i've been away and not had access to the problem computer.
the sound card is disabled in the bios,
alsactl store had no affect.
it was weird, running alsa wizard would set /etc/modprobe.d/alsa.conf to the right card, but after a few boots it would change to the broken internal intel hda card.
i have found a solution however, i just blacklisted the 'snd_hda_intel' and 'snd_hda_codec' in the boot manager. sound now works consistently (so far) but on some boots the retrovol tray icon doesn't show (even though sound is working). i solved this by putting a small script in /root/Startup/
| Code: | #!/bin/sh
sleep 10
/root/Startup/retrovol_tray |
and all seems well so far. can't believe it's taken me one and a half years to sort this
thanks again
_________________ Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0451s ][ Queries: 11 (0.0097s) ][ GZIP on ] |