|
Bugzilla – Full Text Bug Listing |
| Summary: | sound card disappears every time I reboot | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Thorsten Staerk <suse> |
| Component: | YaST2 | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | per, suse-beta |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | 32bit | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | reconfigured sound, then drew the log | ||
|
Description
Thorsten Staerk
2005-10-25 20:17:13 UTC
Check /etc/sysconfig/hardware/hwcfg-* file whether any of them contains the corresponding sound driver module. If not, the yast configuration didn't work by any reason. Also, check the mixer status when it happens. Some volumes might be muted acciedentally by apps. kolossus:~ # lsmod > beforeyastsound.txt
kolossus:~ # yast2 sound
kolossus:~ # lsmod > afteryastsound.txt
kolossus:~ # diff beforeyastsound.txt afteryastsound.txt
1a2,13
> snd_pcm_oss 67616 0
> snd_mixer_oss 24704 1 snd_pcm_oss
> snd_seq 62864 0
> snd_seq_device 13068 1 snd_seq
> snd_intel8x0 39040 0
> snd_ac97_codec 98428 1 snd_intel8x0
> snd_ac97_bus 6400 1 snd_ac97_codec
> snd_pcm 109700 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
> snd_timer 31108 2 snd_seq,snd_pcm
> snd 71300 8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> snd_page_alloc 15112 2 snd_intel8x0,snd_pcm
> soundcore 13920 1 snd
kolossus:~ # ll /etc/sysconfig/hardware/
total 43
drwxr-xr-x 4 root root 584 Oct 6 22:44 .
drwxr-xr-x 8 root root 1664 Oct 6 23:18 ..
-rw-r--r-- 1 root root 1165 Sep 9 18:15 config
-rw-r--r-- 1 root root 49 Oct 21 2004 hwcfg-bus-pci-0000:02:08.0
-rw-r--r-- 1 root root 11 May 19 03:04 hwcfg-disk-id-SATA_Maxtor_6Y080L0_Y2GKSHNE
-rw-r--r-- 1 root root 13 Oct 21 2004 hwcfg-disk-id-SATA_Maxtor_6Y080L0_Y2GQP16E
-rw-r--r-- 1 root root 13 Oct 21 2004 hwcfg-disk-id-SATA_SAMSUNG_DVD-ROM_SD-616
-rw-r--r-- 1 root root 13 Oct 21 2004 hwcfg-disk-id-SATA__NEC_DVD+RW_ND-2100A
-rw-r--r-- 1 root root 29 May 19 03:05 hwcfg-static-printer
-rw-r--r-- 1 root root 27 May 18 21:08 hwcfg-vpid-32902-9424
-rw-r--r-- 1 root root 27 May 18 21:08 hwcfg-vpid-32902-9427-4136-372
-rw-r--r-- 1 root root 27 May 18 21:08 hwcfg-vpid-32902-9585
drwxr-xr-x 2 root root 496 Oct 6 22:44 scripts
drwxr-xr-x 2 root root 240 Oct 6 22:44 skel
kolossus:~ #
hmmm... don't know what to do with the listing in /etc/sysconfig/hardware... Is my soundcard saved ?
You can run "grep snd /etc/sysconfig/hardware/hwcfg-*". kolossus:~ # grep snd /etc/sysconfig/hardware/hwcfg-* kolossus:~ # yast2 sound kolossus:~ # grep snd /etc/sysconfig/hardware/hwcfg-* kolossus:~ # before the yast2 sound, sound did not work, after it, it worked. So, the only difference between working sound and non-working sound are the loaded drivers. *** Bug 133226 has been marked as a duplicate of this bug. *** Yast loads the modules, but hwcfg file is still missing when configuration is finished... Please, attach y2log (http://www.opensuse.org/Bug_Reporting_FAQ#YaST) Created attachment 57294 [details]
reconfigured sound, then drew the log
I have this problem on my Acer TravelMate 803 also (module snd_intel8x0). (If you need logs from me, just ask.) hackish solution for me is to create a file /etc/init.d/after.local like the following: scorpio:~ # cat /etc/init.d/after.local modprobe snd_pcm_oss modprobe snd_mixer_oss modprobe snd_seq modprobe snd_seq_device modprobe snd_intel8x0 modprobe snd_ac97_codec modprobe snd_ac97_bus modprobe snd_pcm modprobe snd_timer modprobe snd modprobe snd_page_alloc modprobe soundcore scorpio:~ # Christian, please see my comment 3 to find out which modules you need. /etc/init.d/alsasound reads /etc/modprobe.d/sound and loads the drivers (line 103) if they are in the typical alias-form (line 83). Problem is, /etc/modprobe.de/sound only contains one module after calling yast2 sound. Oh, it seems that this is duplicate of #116483. Please, remove the card, save the setup (finish the yast module). Then start the module again and configure the card. Does solve your problem? (In reply to comment #10) > Christian, please see my comment 3 to find out which modules you need. echo 'a3998fa3f22d990966baaaca5c646470 /etc/SuSE-release' |md5sum -c \ && modprobe snd-intel8x0 in boot.local is enough for my system - it also loads the other listed modules. Why I call md5sum before? I want to automatically re-test when upgrading to 10.1 beta ;-) Ladislav, yes, it solves my problem - now I know how I solved this problem for SUSE 9.3! *** This bug has been marked as a duplicate of 116483 *** |