Bruno Posted October 14, 2003 Share Posted October 14, 2003 Wel I have not fiddled much on the sound of 9.2, because there was still a bug with playing XMMS . . . . Yes my reply had the "unknown-forum-bug" . . . reported already long ago, still no solution, but very rare ;)Working on SuSEB) Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 14, 2003 Share Posted October 14, 2003 Owyn Suse does have more or less the same for devices/services/programs, but does give a couple of errors if I do: ./soundchk.sh >soundSuse.txt sound: unknown service alsa: unknown service soundchk.sh v1.02 - Running Sound Configuration Checks Identifying System Linux dolphin.lan 2.4.20-4GB-athlon #1 Mon Mar 17 17:56:47 UTC 2003 i686 unknown unknown GNU/Linux Checking Devices lrwxrwxrwx 1 root root 5 2003-10-04 22:04 adsp -> adsp0 crw------- 1 bruno audio 14, 12 2003-03-14 14:07 adsp0 crw------- 1 bruno audio 14, 28 2003-03-14 14:07 adsp1 crw------- 1 bruno audio 14, 44 2003-03-14 14:07 adsp2 crw------- 1 bruno audio 14, 60 2003-03-14 14:07 adsp3 lrwxrwxrwx 1 root root 4 2003-10-04 22:04 dsp -> dsp0 crw------- 1 bruno audio 14, 3 2003-03-14 14:07 dsp0 crw------- 1 bruno audio 14, 19 2003-03-14 14:07 dsp1 crw------- 1 bruno audio 14, 35 2003-03-14 14:07 dsp2 crw------- 1 bruno audio 14, 51 2003-03-14 14:07 dsp3 crw-rw---- 1 root root 55, 0 2003-03-14 14:07 dsp56k lrwxrwxrwx 1 root root 16 2003-10-04 22:04 snd -> /proc/asound/dev lrwxrwxrwx 1 root root 24 2003-10-04 22:04 sndstat -> /proc/asound/oss/sndstat Checking Driver 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50) Checking Actual Driver in Use (/etc/modules.conf) # These aliases will be changed by YaST2 sound configurator. # take a look at the files on /usr/src/linux/Documentation/sound. alias sound off # Alsa sound support. # Warning: please don't modify comments over aliases 'snd-card-#' alias char-major-116 snd #alias sound-slot-1 nvaudio options snd-via8233 snd_ac97_clock=48000 snd_enable=1 snd_index=0 # YaST2: sound system dependent part alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-slot-1 off alias sound-service-1-0 off alias sound-slot-2 off alias sound-service-2-0 off alias sound-slot-3 off alias sound-service-3-0 off options snd snd_cards_limit=1 snd_major=116 alias snd-card-0 snd-via8233 alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-11 snd-mixer-oss alias sound-service-0-12 snd-pcm-oss Checking if Module Loaded snd-pcm-oss 50144 0 (autoclean) snd-mixer-oss 15704 0 (autoclean) [snd-pcm-oss] snd-via8233 14916 0 snd-pcm 71168 0 [snd-pcm-oss snd-via8233] snd-timer 13376 0 [snd-pcm] snd-ac97-codec 35696 0 [snd-via8233] snd-mpu401-uart 3840 0 [snd-via8233] snd-rawmidi 15584 0 [snd-mpu401-uart] snd-seq-device 4512 0 [snd-rawmidi] snd 40900 0 [snd-pcm-oss snd-mixer-oss snd-via8233 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 3748 0 [snd] Checking if services configured to be run on initlevel 3 Checking if Sound services configured Checking if Alsa service configured Checking if Sound Volume muted Test not available on this system Checking which program uses the sound card End of ChecksPlaying Chopin this time from CD ;) Bruno Quote Link to comment Share on other sites More sharing options...
Owyn Posted October 14, 2003 Author Share Posted October 14, 2003 Suse does have more or less the same for devices/services/programs, but does give a couple of errors if I do:./soundchk.sh >soundSuse.txtsound: unknown servicealsa: unknown serviceThe services problem is the same one I saw from Jason. Either they are not required in Suse or are called something different.I am starting to think that fuser is a bit brain-damaged, or at least unreliable. Will see what I can find out."fuser /dev/adsp" might work on Suse. Just guessing.Sideways Thought: Is there a way to display the devices in use by a specific process? If so, I could find artsd and go explicity from there. That also makes me wonder (again) why Ross had artsd running more than once. kdeinit should only start it once."ps -A -f | grep -i artsd | grep -v grep"Yep. I will add it to the script. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 14, 2003 Share Posted October 14, 2003 Owyn,Will try those commands . . in the mean time here is a second output from SuSE, now playing Goa-Trance in XMMS ( a slight bit heavier ): soundchk.sh v1.02 - Running Sound Configuration ChecksIdentifying SystemLinux dolpnin.lan 2.4.20-4GB-athlon #1 Mon Mar 17 17:56:47 UTC 2003 i686 unknown unknown GNU/LinuxChecking Deviceslrwxrwxrwx 1 root root 5 2003-10-04 22:04 adsp -> adsp0crw------- 1 bruno audio 14, 12 2003-03-14 14:07 adsp0crw------- 1 bruno audio 14, 28 2003-03-14 14:07 adsp1crw------- 1 bruno audio 14, 44 2003-03-14 14:07 adsp2crw------- 1 bruno audio 14, 60 2003-03-14 14:07 adsp3lrwxrwxrwx 1 root root 4 2003-10-04 22:04 dsp -> dsp0crw------- 1 bruno audio 14, 3 2003-03-14 14:07 dsp0crw------- 1 bruno audio 14, 19 2003-03-14 14:07 dsp1crw------- 1 bruno audio 14, 35 2003-03-14 14:07 dsp2crw------- 1 bruno audio 14, 51 2003-03-14 14:07 dsp3crw-rw---- 1 root root 55, 0 2003-03-14 14:07 dsp56klrwxrwxrwx 1 root root 16 2003-10-04 22:04 snd -> /proc/asound/devlrwxrwxrwx 1 root root 24 2003-10-04 22:04 sndstat -> /proc/asound/oss/sndstatChecking DriverChecking Actual Driver in Use (/etc/modules.conf)# These aliases will be changed by YaST2 sound configurator.# take a look at the files on /usr/src/linux/Documentation/sound.alias sound off# Alsa sound support. # Warning: please don't modify comments over aliases 'snd-card-#'alias char-major-116 snd#alias sound-slot-1 nvaudiooptions snd-via8233 snd_ac97_clock=48000 snd_enable=1 snd_index=0# YaST2: sound system dependent partalias sound-slot-0 snd-card-0alias sound-service-0-0 snd-mixer-ossalias sound-slot-1 offalias sound-service-1-0 offalias sound-slot-2 offalias sound-service-2-0 offalias sound-slot-3 offalias sound-service-3-0 offoptions snd snd_cards_limit=1 snd_major=116alias snd-card-0 snd-via8233alias sound-service-0-1 snd-seq-ossalias sound-service-0-3 snd-pcm-ossalias sound-service-0-8 snd-seq-ossalias sound-service-0-11 snd-mixer-ossalias sound-service-0-12 snd-pcm-ossChecking if Module Loadedsnd-pcm-oss 50144 1 (autoclean)snd-mixer-oss 15704 0 (autoclean) [snd-pcm-oss]snd-via8233 14916 1snd-pcm 71168 0 [snd-pcm-oss snd-via8233]snd-timer 13376 0 [snd-pcm]snd-ac97-codec 35696 0 [snd-via8233]snd-mpu401-uart 3840 0 [snd-via8233]snd-rawmidi 15584 0 [snd-mpu401-uart]snd-seq-device 4512 0 [snd-rawmidi]snd 40900 0 [snd-pcm-oss snd-mixer-oss snd-via8233 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]soundcore 3748 0 [snd]Checking if services configured to be run on initlevel 3Checking if Sound services configuredChecking if Alsa service configuredChecking if Sound Volume mutedTest not available on this systemChecking which program uses the sound card USER PID ACCESS COMMAND/dev/dsp bruno 2056 f.... xmms bruno 2057 f.... xmms bruno 2058 f.... xmms bruno 2059 f.... xmms bruno 2062 f.... xmms bruno 2063 f.... xmms bruno 2064 f.... xmmsEnd of Checks Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 14, 2003 Share Posted October 14, 2003 Owyn,On Suse:ps -A -f | grep -i artsd | grep -v grep:bruno 1672 1650 0 21:25 ? 00:00:00 /opt/kde3/bin/artsd -F 10 -S 4096 -s 5 -m artsmessage -l 3 -fB) Bruno Quote Link to comment Share on other sites More sharing options...
Owyn Posted October 14, 2003 Author Share Posted October 14, 2003 Owyn,On Suse:ps -A -f | grep -i artsd | grep -v grep:bruno 1672 1650 0 21:25 ? 00:00:00 /opt/kde3/bin/artsd -F 10 -S 4096 -s 5 -m artsmessage -l 3 -fB) BrunoThanks. I am now in Konqueror->help:artsbuilder to decode the switches. Won't change the script but will help to understand what is happening.Later. Quote Link to comment Share on other sites More sharing options...
linuxdude32 Posted October 14, 2003 Share Posted October 14, 2003 Version 1.02 tested on SuSE 8.2 (I'm using a kernel provided by Win4Lin for SuSE): # ./soundchk.shsoundchk.sh v1.02 - Running Sound Configuration ChecksIdentifying SystemLinux sheridan 2.4.20-4GB #1 Tue May 13 08:07:43 PDT 2003 i686 unknown unknown GNU/LinuxChecking Deviceslrwxrwxrwx 1 root root 5 2003-08-31 20:36 adsp -> adsp0crw------- 1 jay audio 14, 12 2003-03-14 08:07 adsp0crw------- 1 jay audio 14, 28 2003-03-14 08:07 adsp1crw------- 1 jay audio 14, 44 2003-03-14 08:07 adsp2crw------- 1 jay audio 14, 60 2003-03-14 08:07 adsp3lrwxrwxrwx 1 root root 4 2003-08-31 20:36 dsp -> dsp0crw------- 1 jay audio 14, 3 2003-03-14 08:07 dsp0crw------- 1 jay audio 14, 19 2003-03-14 08:07 dsp1crw------- 1 jay audio 14, 35 2003-03-14 08:07 dsp2crw------- 1 jay audio 14, 51 2003-03-14 08:07 dsp3crw-rw---- 1 root root 55, 0 2003-03-14 08:07 dsp56klrwxrwxrwx 1 root root 16 2003-08-31 20:36 snd -> /proc/asound/devlrwxrwxrwx 1 root root 24 2003-08-31 20:36 sndstat -> /proc/asound/oss/sndstatChecking Driver00:0b.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)Checking Actual Driver in Use (/etc/modules.conf)# These aliases will be changed by YaST2 sound configurator.# take a look at the files on /usr/src/linux/Documentation/sound.alias sound off# Alsa sound support.# Warning: please don't modify comments over aliases 'snd-card-#'alias char-major-116 snd#alias sound-slot-1 nvaudiooptions snd-cs46xx snd_enable=1 snd_external_amp=0 snd_index=0 snd_mmap_valid=0 snd_thinkpad=0# YaST2: sound system dependent partalias sound-slot-0 snd-card-0alias sound-service-0-0 snd-mixer-ossalias sound-slot-1 offalias sound-service-1-0 offalias sound-slot-2 offalias sound-service-2-0 offalias sound-slot-3 offalias sound-service-3-0 offoptions snd snd_cards_limit=1 snd_major=116# gZD2.kEZ_kK3OAS1:CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator]alias snd-card-0 snd-cs46xxalias sound-service-0-1 snd-seq-ossalias sound-service-0-3 snd-pcm-ossalias sound-service-0-8 snd-seq-ossalias sound-service-0-11 snd-mixer-ossalias sound-service-0-12 snd-pcm-ossChecking if Module Loadedsnd-pcm-oss 45888 0 (autoclean)snd-mixer-oss 13560 1 (autoclean) [snd-pcm-oss]snd-seq-midi 4448 0 (unused)snd-seq-midi-event 2984 0 [snd-seq-midi]snd-seq 39184 0 [snd-seq-midi snd-seq-midi-event]snd-cs46xx 69864 1gameport 1404 0 [snd-cs46xx]snd-pcm 62912 0 [snd-pcm-oss snd-cs46xx]snd-timer 11904 0 [snd-seq snd-pcm]snd-ac97-codec 31152 0 [snd-cs46xx]snd-rawmidi 13824 0 [snd-seq-midi snd-cs46xx]snd-seq-device 4000 0 [snd-seq-midi snd-seq snd-rawmidi]snd 35940 0 [snd-pcm-oss snd-mixer-oss snd-seq-midi snd-seq-midi-event snd-seq snd-cs46xx snd-pcm snd-timer snd-ac97-codec snd-rawmidi snd-seq-device]soundcore 3396 0 [snd]Checking if services configured to be run on initlevel 3Checking if Sound services configuredsound: unknown serviceChecking if Alsa service configuredalsa: unknown serviceChecking if Sound Volume mutedTest not available on this systemChecking which program uses the sound cardEnd of Checks Quote Link to comment Share on other sites More sharing options...
teacher Posted November 9, 2003 Share Posted November 9, 2003 Owyn I ran your script on Fedora this morning. Was trying to see why Fedora would not play sound. It identified my sound card and then when it asked if I heard sound and I selected no, it said sorry. Don't you just love it? Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux Checking Devicescrw------- 1 julia root 14, 3 Sep 15 09:40 dspcrw------- 1 julia root 14, 19 Sep 15 09:40 dsp1crw------- 1 julia root 55, 0 Sep 15 09:40 dsp56kcrw------- 1 root root 101, 1 Sep 15 09:40 mdsp1crw------- 1 root root 101, 10 Sep 15 09:40 mdsp10crw------- 1 root root 101, 11 Sep 15 09:40 mdsp11crw------- 1 root root 101, 12 Sep 15 09:40 mdsp12crw------- 1 root root 101, 13 Sep 15 09:40 mdsp13crw------- 1 root root 101, 14 Sep 15 09:40 mdsp14crw------- 1 root root 101, 15 Sep 15 09:40 mdsp15crw------- 1 root root 101, 16 Sep 15 09:40 mdsp16crw------- 1 root root 101, 2 Sep 15 09:40 mdsp2crw------- 1 root root 101, 3 Sep 15 09:40 mdsp3crw------- 1 root root 101, 4 Sep 15 09:40 mdsp4crw------- 1 root root 101, 5 Sep 15 09:40 mdsp5crw------- 1 root root 101, 6 Sep 15 09:40 mdsp6crw------- 1 root root 101, 7 Sep 15 09:40 mdsp7crw------- 1 root root 101, 8 Sep 15 09:40 mdsp8crw------- 1 root root 101, 9 Sep 15 09:40 mdsp9crw------- 1 root root 101, 0 Sep 15 09:40 mdspstat Checking Driver./soundchk.sh: line 25: lspci: command not found Checking Actual Driver in Use (/etc/modules.conf)alias sound-slot-0 i810_audiopost-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : Checking if Module Loadedi810_audio 27752 2ac97_codec 17192 0 [i810_audio]soundcore 6468 2 [i810_audio] Checking if services configured to be run on initlevel 3Checking if Sound services configurederror reading information on service sound: No such file or directory Checking if Alsa service configurederror reading information on service alsa: No such file or directory Checking if Sound Volume mutedvol 67, 67pcm 67, 67speaker 67, 67line 67, 67, Pmic 0, 0, Rcd 67, 67, Ppcm2 56, 56igain 67, 67, Pline1 67, 67, Pphin 67, 67, Pphout 67, 67video 67, 67, P Checking which program uses the sound card Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 9, 2003 Author Share Posted November 9, 2003 Julia:I did not bother to download Fedora due to lack of support for alsa and the problems listed in the reviews.AFAIK, any working non-alsa configuration in other distros should work in Fedora.I will download Fedora today and we can review fixes if any tonight. At the minimum I can get the script customized to work in Fedora (which should also cover RH9). Quote Link to comment Share on other sites More sharing options...
teacher Posted November 9, 2003 Share Posted November 9, 2003 I think I am going to dump Fedora. I will look at Red Hat. I need to be prepared for questions from my daughter. Any time I try to install sndconfig it locks up and shuts down! Not a good sign. Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 9, 2003 Author Share Posted November 9, 2003 I think I am going to dump Fedora. I will look at Red Hat. I need to be prepared for questions from my daughter. Any time I try to install sndconfig it locks up and shuts down! Not a good sign. Ok. I don't think I will bother with burning these ISOs (just got CD3 down) then. Will do minimal install of RH9 later and double check soundchk.sh. Don't think RedHat or Fedora is going to be part of my future plans. Quote Link to comment Share on other sites More sharing options...
linuxdude32 Posted November 9, 2003 Share Posted November 9, 2003 Thought you might find this helpful, Owyn. Was reading a book on Webmin and discovered that Webmin uses /etc/issue to determine what distro is being used. It might help to grep that when checking for particular distros. Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 10, 2003 Author Share Posted November 10, 2003 Tx Jason. Will check into it. Hopefully I will not have to get to fancy for this script. "if test -x" and "grep" have gone a long way so far. Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 24, 2003 Author Share Posted November 24, 2003 soundchk.sh 1.03 released.Includes additional tests from alsa aadebug script. Quote Link to comment Share on other sites More sharing options...
Bruno Posted November 24, 2003 Share Posted November 24, 2003 Hi Owyn,LOL, soundchk.sh 1.03 . . . . . . is this a beta or an RC version ? When are you planning the stable 2.0 ? No, seriously: good stuff owyn ! Thanks. Bruno Quote Link to comment Share on other sites More sharing options...
teacher Posted November 24, 2003 Share Posted November 24, 2003 Does this mean you have an updated script you want us to run? If so, where do you have it posted? Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 25, 2003 Author Share Posted November 25, 2003 Does this mean you have an updated script you want us to run? If so, where do you have it posted?The new version is in the first post for this topic. I always update the initial post for changes and then announce the change with a new post.Re-testing is not required unless you are curious about the changes. Quote Link to comment Share on other sites More sharing options...
Owyn Posted November 25, 2003 Author Share Posted November 25, 2003 Rev 1.04 released. Updated script in first post for this topic.Fixed typo in lspci grep in rev 1.03Added check for artsd configurationAdded check for using cdromAnd Bruno, this is about as stable as it gets. It will continue to be enhanced as needs be. If I find something that needs to be fixed, I will fix it, but I don't know of anything else, today. Can't say anything about tomorrow. Quote Link to comment Share on other sites More sharing options...
teacher Posted November 25, 2003 Share Posted November 25, 2003 Sounds like a winner. We know if you can think up anything new you will tweak it until you have that included as well! Great work! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.