From: dellstar on 31 Mar 2010 03:44 Hi, Slackware 12.2 I had no problem with sound and audio during an uptime of about 130 days. Then, a brief power outage, a reboot, and no sound. $ uname -a Linux dellstar 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 i686 Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz GenuineIntel GNU/Linux from lspci 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller $ ls -l /dev/dsp* /bin/ls: cannot access /dev/dsp*: No such file or directory $ ls -l /dev/audio* /bin/ls: cannot access /dev/audio*: No such file or directory $ ls -l /dev |grep audio crw-rw---- 1 root audio 14, 1 2010-03-31 02:25 sequencer crw-rw---- 1 root audio 14, 8 2010-03-31 02:25 sequencer2 $ ls -l /dev/snd/* crw-rw---- 1 root audio 116, 1 2010-03-31 02:25 /dev/snd/seq crw-rw---- 1 root audio 116, 33 2010-03-31 02:22 /dev/snd/timer $ alsamixer alsamixer: function snd_ctl_open failed for default: No such file or directory $ amixer amixer: Mixer attach default error: No such file or directory $ cat /proc/asound/cards --- no soundcards --- $ /sbin/lsmod |grep snd snd_seq_dummy 6788 0 snd_seq_oss 33408 0 snd_seq_midi_event 10240 1 snd_seq_oss snd_seq 50928 5 snd_seq_dummy,snd_seq_oss,\ snd_seq_midi_event snd_seq_device 10380 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 40480 0 snd_mixer_oss 17920 1 snd_pcm_oss snd_hda_intel 20504 0 snd_hda_codec 254212 1 snd_hda_intel snd_pcm 70788 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec snd_timer 23176 2 snd_seq,snd_pcm snd 51748 9 snd_seq_oss,snd_seq,snd_seq_device, snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer soundcore 10080 1 snd snd_page_alloc 11400 2 snd_hda_intel,snd_pcm $ mplayer *mp3 [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0' [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default [AO_ALSA] Playback open error: No such file or directory [AO ESD] esd_open_sound failed: No such file or directory [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0' [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default mcop warning: user defined signal handler found for SIG_PIPE, overriding [AO SDL] Unable to open audio: No available audio device DVB card number must be between 1 and 4 I seem to be missing some audio device files, but I don't know how to get them back. Thanks, Kurt Kehler kmk at pa dot net
From: Mikhail Zotov on 31 Mar 2010 08:15 On Wed, 31 Mar 2010 03:44:08 -0400 dellstar <noone(a)example.net> wrote: > Hi, > > Slackware 12.2 > > I had no problem with sound and audio during an uptime of about 130 > days. Then, a brief power outage, a reboot, and no sound. > > $ uname -a > Linux dellstar 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 > i686 Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz GenuineIntel > GNU/Linux > > from lspci > 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) > HD Audio Controller > > $ ls -l /dev/dsp* > /bin/ls: cannot access /dev/dsp*: No such file or directory > $ ls -l /dev/audio* > /bin/ls: cannot access /dev/audio*: No such file or directory > > $ ls -l /dev |grep audio > crw-rw---- 1 root audio 14, 1 2010-03-31 02:25 sequencer > crw-rw---- 1 root audio 14, 8 2010-03-31 02:25 sequencer2 > > $ ls -l /dev/snd/* > crw-rw---- 1 root audio 116, 1 2010-03-31 02:25 /dev/snd/seq > crw-rw---- 1 root audio 116, 33 2010-03-31 02:22 /dev/snd/timer .... > I seem to be missing some audio device files, but I don't know > how to get them back. I think, they are created by udevd at startup. [Before anybody suggests something smarter,] I suggest you make sure udevd is running. Start it if not (/etc/rc.d/rc.udev start), restart otherwise and check if necessary devices appear. -- Mikhail -- uckpeHHe, Muxau/\
From: Clemens Ladisch on 6 Apr 2010 07:13 Mikhail Zotov wrote: > dellstar <noone(a)example.net> wrote: > > $ ls -l /dev/snd/* > > crw-rw---- 1 root audio 116, 1 2010-03-31 02:25 /dev/snd/seq > > crw-rw---- 1 root audio 116, 33 2010-03-31 02:22 /dev/snd/timer > ... > > I seem to be missing some audio device files, but I don't know > > how to get them back. > > I think, they are created by udevd at startup. And the seq/timer files did get created, so this is not a udev problem. The snd-hda-intel driver should log some error message when it does not attach to the device. Kurt, plase look at the end of the output of "dmesg" after running "rmmod snd-hda-intel; modprobe snd-hda-intel". Regards, Clemens
From: Kurt Kehler on 7 Apr 2010 02:55 On Tue, 06 Apr 2010 13:13:47 +0200, Clemens Ladisch <clemens(a)ladisch.de> wrote: > Mikhail Zotov wrote: >> dellstar <noone(a)example.net> wrote: >> > $ ls -l /dev/snd/* >> > crw-rw---- 1 root audio 116, 1 2010-03-31 02:25 /dev/snd/seq >> > crw-rw---- 1 root audio 116, 33 2010-03-31 02:22 /dev/snd/timer >> ... >> > I seem to be missing some audio device files, but I don't know >> > how to get them back. >> >> I think, they are created by udevd at startup. > > And the seq/timer files did get created, so this is not a udev problem. > > The snd-hda-intel driver should log some error message when it does not > attach to the device. Kurt, plase look at the end of the output of > "dmesg" after running "rmmod snd-hda-intel; modprobe snd-hda-intel". First, I want to thank Mikhail for his reply though it did not help. Neither my original article nor Mikhail's made it to my news provider and I did not want to reply from Google Groups. Clemens, your reply did make it so I now have a way to respond. I tried "rmmod snd-hda-intel; modprobe snd-hda-intel" and it made no change in dmesg's output. I also grepped for snd-hda-intel in /var/log/* and didn't find anything. I have installed a second version of Slack 12.2 on this hard drive and sound works. On the original install, I have added most of the security patches. Maybe one of these had an unintended effect. I have added linuxant's driver to make a Conexant Systems, HSF softmodem work with linux. The driver added some files to /etc/rc.d/ and lines to /etc/modprobe.conf. The power outage would have been the first time through the boot sequence for many of the patches and the softmodem driver. Disabling the modem software didn't bring the sound back. Thanks, Kurt Kehler kmk at pa dot net
From: Clemens Ladisch on 7 Apr 2010 03:27
Kurt Kehler wrote: > On Tue, 06 Apr 2010 13:13:47 +0200, Clemens Ladisch <clemens(a)ladisch.de> wrote: > > The snd-hda-intel driver should log some error message when it does not > > attach to the device. Kurt, plase look at the end of the output of > > "dmesg" after running "rmmod snd-hda-intel; modprobe snd-hda-intel". > > I tried "rmmod snd-hda-intel; modprobe snd-hda-intel" and it made > no change in dmesg's output. This indicates that the driver doesn't even try to attach to the device. Since the device is there, according to lspci, this means that some other driver has grabbed it. > I have added linuxant's driver to make a Conexant Systems, HSF > softmodem work with linux. The hardware of softmodems is a cheap 8 kHz sound card that uses the same interface as normal onboard sound cards. However, a proper softmodem driver would not try to attach to normal devices; it should be possible to configure it to ignore your sound device. > Disabling the modem software didn't bring the sound back. It's likely that the softmodem driver did not get removed. Regards, Clemens |