Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-07-2005, 03:19 AM
#1
Member
Registered: Sep 2005
Posts: 49
Rep:
Saving Alsa settings
Hi All,
I am running Debian Sarge (stable) on my Toshiba Tecra M2 laptop. The sound works great when I run alsaconf
However, when I reboot all the settings are lost.
I have all the modules being loaded at boot (I checked lsmod before and after running alsaconf and they look the same).
Any advice?
Any other information I should provide to help: )
Thanks!
Cheers,
Andrew.
09-07-2005, 03:21 AM
#2
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
hi there and welcome to LQ,
try
as root... this will save the file for you...
regards,
slackie1000
09-07-2005, 03:42 PM
#3
Member
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186
Rep:
To keep the settings across reboots, just add this command to a shutdown script.
09-08-2005, 05:35 AM
#4
Member
Registered: Sep 2005
Posts: 49
Original Poster
Rep:
Hi,
Thanks for the quick reply - I tried the suggestions, but they didn't work
Maybe I am loading the modules too early in the boot process?
(below is the difference between the modules before and after I run alsaconf - they all appear to be there, but aftewards they are bound to hardware).
Any more suggestions?
(2.6 kernel)
Many thanks!
Andrew.
Quote:
tux:/tmp/2# diff post.txt pre.txt
2,14d1
< snd_intel8x0 33068 0
< snd_ac97_codec 59268 1 snd_intel8x0
< snd_pcm_oss 48168 0
< snd_mixer_oss 16640 1 snd_pcm_oss
< snd_pcm 85384 2 snd_intel8x0,snd_pcm_oss
< snd_timer 23300 1 snd_pcm
< snd_page_alloc 11144 2 snd_intel8x0,snd_pcm
< gameport 4736 1 snd_intel8x0
< snd_mpu401_uart 7296 1 snd_intel8x0
< snd_rawmidi 23204 1 snd_mpu401_uart
< snd_seq_device 7944 1 snd_rawmidi
< snd 50660 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
< soundcore 9824 1 snd
56a44,56
> snd_intel8x0 33068 2
> snd_ac97_codec 59268 1 snd_intel8x0
> snd_pcm_oss 48168 1
> snd_mixer_oss 16640 1 snd_pcm_oss
> snd_pcm 85384 2 snd_intel8x0,snd_pcm_oss
> snd_timer 23300 1 snd_pcm
> snd_page_alloc 11144 2 snd_intel8x0,snd_pcm
> gameport 4736 1 snd_intel8x0
> snd_mpu401_uart 7296 1 snd_intel8x0
> snd_rawmidi 23204 1 snd_mpu401_uart
> snd_seq_device 7944 1 snd_rawmidi
> snd 50660 11 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
> soundcore 9824 2 snd
79c79
< unix 26036 507
---
> unix 26036 524
My syslog looks like this when I am running alsaconf
Quote:
p 8 20:28:33 localhost udev[6833]: removing device node '/dev/mixer'
Sep 8 20:28:33 localhost udev[6842]: removing device node '/dev/snd/pcmC0D4p'
Sep 8 20:28:33 localhost udev[6851]: removing device node '/dev/snd/pcmC0D3c'
Sep 8 20:28:33 localhost udev[6859]: removing device node '/dev/snd/pcmC0D2c'
Sep 8 20:28:33 localhost udev[6865]: removing device node '/dev/snd/pcmC0D1c'
Sep 8 20:28:33 localhost udev[6874]: removing device node '/dev/adsp'
Sep 8 20:28:33 localhost udev[6883]: removing device node '/dev/snd/pcmC0D0p'
Sep 8 20:28:33 localhost udev[6939]: removing device node '/dev/snd/pcmC0D0c'
Sep 8 20:28:33 localhost udev[6940]: removing device node '/dev/dsp'
Sep 8 20:28:33 localhost udev[6941]: removing device node '/dev/audio'
Sep 8 20:28:33 localhost udev[6942]: removing device node '/dev/snd/timer'
Sep 8 20:28:33 localhost udev[6943]: removing device node '/dev/snd/controlC0'
Sep 8 20:28:44 localhost kernel: ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11
Sep 8 20:28:44 localhost kernel: PCI: Setting latency timer of device 0000:00:1f.5 to 64
Sep 8 20:28:44 localhost udev[9973]: configured rule in '/etc/udev/rules.d/udev.rules[57]' applied, 'controlC0' becomes 'snd/%k'
Sep 8 20:28:44 localhost udev[9973]: creating device node '/dev/snd/controlC0'
Sep 8 20:28:44 localhost udev[9981]: configured rule in '/etc/udev/rules.d/udev.rules[61]' applied, 'timer' becomes 'snd/%k'Sep 8 20:28:44 localhost udev[9981]: creating device node '/dev/snd/timer'
Sep 8 20:28:45 localhost kernel: intel8x0_measure_ac97_clock: measured 49544 usecs
Sep 8 20:28:45 localhost kernel: intel8x0: clocking to 48000
Sep 8 20:28:45 localhost udev[10052]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D4p' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10052]: creating device node '/dev/snd/pcmC0D4p'
Sep 8 20:28:45 localhost udev[10060]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D3c' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10060]: creating device node '/dev/snd/pcmC0D3c'
Sep 8 20:28:45 localhost udev[10068]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D2c' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10068]: creating device node '/dev/snd/pcmC0D2c'
Sep 8 20:28:45 localhost udev[10076]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D1c' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10099]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D0c' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10099]: creating device node '/dev/snd/pcmC0D0c'
Sep 8 20:28:45 localhost udev[10104]: creating device node '/dev/dsp'
Sep 8 20:28:45 localhost udev[10107]: creating device node '/dev/audio'
Sep 8 20:28:45 localhost udev[10084]: creating device node '/dev/adsp'
Sep 8 20:28:45 localhost udev[10092]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D0p' becomes 'snd/%k'
Sep 8 20:28:45 localhost udev[10092]: creating device node '/dev/snd/pcmC0D0p'
Sep 8 20:28:45 localhost udev[10076]: creating device node '/dev/snd/pcmC0D1c'
Sep 8 20:28:45 localhost udev[10129]: creating device node '/dev/mixer'
09-08-2005, 07:10 AM
#5
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
hi there,
i had a problem once with one box that could not save sound state also... what i did?
1. run alsamixer and set the volumes as desired
2. copy /etc/asound.state /etc/asound.state.ref
3. add the following line to your rc.local(or whatever your distro uses) script..
Code:
cp /etc/asound.state.ref /etc/asound.state
and voila... i know that is quick and dirty.. but it works..
regards,
slackie1000
All times are GMT -5. The time now is 10:57 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News